Skip to content

Commit

Permalink
chore: version
Browse files Browse the repository at this point in the history
  • Loading branch information
hstove committed Jul 21, 2022
1 parent 4055962 commit 9d38924
Show file tree
Hide file tree
Showing 5 changed files with 63 additions and 62 deletions.
5 changes: 0 additions & 5 deletions .changeset/silly-lizards-happen.md

This file was deleted.

6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# clarigen-deno

## 0.4.2

### Patch Changes

- [`4055962`](https://github.com/mechanismHQ/clarigen-deno/commit/4055962941a091ab12bbdd256be5629e803ba542) Thanks [@hstove](https://github.com/hstove)! - Adds `tx*` helpers to `Chain` for simpler DX

## 0.4.1

### Patch Changes
Expand Down
110 changes: 55 additions & 55 deletions artifacts/clarigen/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,61 @@ export type OkType<R> = R extends ResponseOk<infer V, unknown> ? V : never;
export type ErrType<R> = R extends ResponseErr<unknown, infer V> ? V : never;

export const contracts = {
ftTrait: {
'functions': {},
'maps': {},
'variables': {},
constants: {},
'fungible_tokens': [],
'non_fungible_tokens': [],
contractName: 'ft-trait',
},
counter: {
'functions': {
decrement: {
'name': 'decrement',
'access': 'public',
'args': [{ 'name': 'step', 'type': 'uint128' }],
'outputs': {
'type': { 'response': { 'ok': 'uint128', 'error': 'none' } },
},
} as TypedAbiFunction<
[step: TypedAbiArg<number | bigint, 'step'>],
Response<bigint, null>
>,
increment: {
'name': 'increment',
'access': 'public',
'args': [{ 'name': 'step', 'type': 'uint128' }],
'outputs': {
'type': { 'response': { 'ok': 'uint128', 'error': 'none' } },
},
} as TypedAbiFunction<
[step: TypedAbiArg<number | bigint, 'step'>],
Response<bigint, null>
>,
readCounter: {
'name': 'read-counter',
'access': 'read_only',
'args': [],
'outputs': {
'type': { 'response': { 'ok': 'uint128', 'error': 'none' } },
},
} as TypedAbiFunction<[], Response<bigint, null>>,
},
'maps': {},
'variables': {
counter: {
name: 'counter',
type: 'uint128',
access: 'variable',
} as TypedAbiVariable<bigint>,
},
constants: {},
'fungible_tokens': [],
'non_fungible_tokens': [],
contractName: 'counter',
},
tester: {
'functions': {
complexArgs: {
Expand Down Expand Up @@ -264,61 +319,6 @@ export const contracts = {
'non_fungible_tokens': [],
contractName: 'tester',
},
ftTrait: {
'functions': {},
'maps': {},
'variables': {},
constants: {},
'fungible_tokens': [],
'non_fungible_tokens': [],
contractName: 'ft-trait',
},
counter: {
'functions': {
decrement: {
'name': 'decrement',
'access': 'public',
'args': [{ 'name': 'step', 'type': 'uint128' }],
'outputs': {
'type': { 'response': { 'ok': 'uint128', 'error': 'none' } },
},
} as TypedAbiFunction<
[step: TypedAbiArg<number | bigint, 'step'>],
Response<bigint, null>
>,
increment: {
'name': 'increment',
'access': 'public',
'args': [{ 'name': 'step', 'type': 'uint128' }],
'outputs': {
'type': { 'response': { 'ok': 'uint128', 'error': 'none' } },
},
} as TypedAbiFunction<
[step: TypedAbiArg<number | bigint, 'step'>],
Response<bigint, null>
>,
readCounter: {
'name': 'read-counter',
'access': 'read_only',
'args': [],
'outputs': {
'type': { 'response': { 'ok': 'uint128', 'error': 'none' } },
},
} as TypedAbiFunction<[], Response<bigint, null>>,
},
'maps': {},
'variables': {
counter: {
name: 'counter',
type: 'uint128',
access: 'variable',
} as TypedAbiVariable<bigint>,
},
constants: {},
'fungible_tokens': [],
'non_fungible_tokens': [],
contractName: 'counter',
},
} as const;

export const accounts = {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "clarigen-deno",
"version": "0.4.1",
"version": "0.4.2",
"main": "index.js",
"author": "''",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion src/cli/version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const VERSION = '0.4.1';
export const VERSION = '0.4.2';

0 comments on commit 9d38924

Please sign in to comment.