Skip to content

Commit

Permalink
version 0.1.6
Browse files Browse the repository at this point in the history
  • Loading branch information
iboss-ptk committed Jun 15, 2023
1 parent 2746bd2 commit f3c7a9f
Show file tree
Hide file tree
Showing 13 changed files with 986 additions and 577 deletions.
1,496 changes: 944 additions & 552 deletions Cargo.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/commands/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,4 @@ Arguments:

Managing tasks for the project

[\> `beaker task`'s subcommands](./beaker_task.md)
[\> `beaker task`'s subcommands](./beaker_task.md)
2 changes: 1 addition & 1 deletion packages/cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ description = "CosmWasm swiss-army knife configured for Osmosis by default, but
edition = "2021"
license = "MIT OR Apache-2.0"
name = "beaker"
version = "0.1.5"
version = "0.1.6"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

Expand Down
2 changes: 1 addition & 1 deletion ts/beaker-console/dist/index.cjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* beaker-console v0.1.5
* beaker-console v0.1.6
* (c) Supanat Potiwarakorn
* Released under the MIT OR Apache-2.0 License.
*/
Expand Down
2 changes: 1 addition & 1 deletion ts/beaker-console/dist/index.esm.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion ts/beaker-console/dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion ts/beaker-console/dist/index.mjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* beaker-console v0.1.5
* beaker-console v0.1.6
* (c) Supanat Potiwarakorn
* Released under the MIT OR Apache-2.0 License.
*/
Expand Down
2 changes: 1 addition & 1 deletion ts/beaker-console/dist/index.umd.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion ts/beaker-console/dist/index.umd.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions ts/beaker-console/docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ beaker

#### Defined in

[src/utils.ts:21](https://github.com/osmosis-labs/beaker/blob/47fee14/ts/beaker-console/src/utils.ts#L21)
[src/utils.ts:21](https://github.com/osmosis-labs/beaker/blob/2746bd2/ts/beaker-console/src/utils.ts#L21)

___

Expand All @@ -66,7 +66,7 @@ ___

#### Defined in

[src/account.ts:92](https://github.com/osmosis-labs/beaker/blob/47fee14/ts/beaker-console/src/account.ts#L92)
[src/account.ts:92](https://github.com/osmosis-labs/beaker/blob/2746bd2/ts/beaker-console/src/account.ts#L92)

___

Expand All @@ -89,4 +89,4 @@ ___

#### Defined in

[src/contract.ts:63](https://github.com/osmosis-labs/beaker/blob/47fee14/ts/beaker-console/src/contract.ts#L63)
[src/contract.ts:63](https://github.com/osmosis-labs/beaker/blob/2746bd2/ts/beaker-console/src/contract.ts#L63)
16 changes: 10 additions & 6 deletions ts/beaker-console/docs/classes/Account.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

# Class: Account

Account instance with baked-in client and utility methods

## Table of contents

### Constructors
Expand Down Expand Up @@ -35,7 +37,7 @@

#### Defined in

[src/account.ts:28](https://github.com/osmosis-labs/beaker/blob/47fee14/ts/beaker-console/src/account.ts#L28)
[src/account.ts:28](https://github.com/osmosis-labs/beaker/blob/2746bd2/ts/beaker-console/src/account.ts#L28)

## Properties

Expand All @@ -45,7 +47,7 @@

#### Defined in

[src/account.ts:26](https://github.com/osmosis-labs/beaker/blob/47fee14/ts/beaker-console/src/account.ts#L26)
[src/account.ts:26](https://github.com/osmosis-labs/beaker/blob/2746bd2/ts/beaker-console/src/account.ts#L26)

___

Expand All @@ -55,7 +57,7 @@ ___

#### Defined in

[src/account.ts:24](https://github.com/osmosis-labs/beaker/blob/47fee14/ts/beaker-console/src/account.ts#L24)
[src/account.ts:24](https://github.com/osmosis-labs/beaker/blob/2746bd2/ts/beaker-console/src/account.ts#L24)

___

Expand All @@ -65,14 +67,16 @@ ___

#### Defined in

[src/account.ts:25](https://github.com/osmosis-labs/beaker/blob/47fee14/ts/beaker-console/src/account.ts#L25)
[src/account.ts:25](https://github.com/osmosis-labs/beaker/blob/2746bd2/ts/beaker-console/src/account.ts#L25)

## Methods

### getBalance

**getBalance**(`denom`): `Promise`<`Coin`\>

Get balances for specific denom, only support native coin

#### Parameters

| Name | Type |
Expand All @@ -85,7 +89,7 @@ ___

#### Defined in

[src/account.ts:52](https://github.com/osmosis-labs/beaker/blob/47fee14/ts/beaker-console/src/account.ts#L52)
[src/account.ts:52](https://github.com/osmosis-labs/beaker/blob/2746bd2/ts/beaker-console/src/account.ts#L52)

___

Expand All @@ -106,4 +110,4 @@ ___

#### Defined in

[src/account.ts:38](https://github.com/osmosis-labs/beaker/blob/47fee14/ts/beaker-console/src/account.ts#L38)
[src/account.ts:38](https://github.com/osmosis-labs/beaker/blob/2746bd2/ts/beaker-console/src/account.ts#L38)
27 changes: 20 additions & 7 deletions ts/beaker-console/docs/classes/Contract.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

# Class: Contract

Contract instance with baked-in client

## Table of contents

### Constructors
Expand Down Expand Up @@ -35,7 +37,7 @@

#### Defined in

[src/contract.ts:20](https://github.com/osmosis-labs/beaker/blob/47fee14/ts/beaker-console/src/contract.ts#L20)
[src/contract.ts:20](https://github.com/osmosis-labs/beaker/blob/2746bd2/ts/beaker-console/src/contract.ts#L20)

## Properties

Expand All @@ -45,7 +47,7 @@

#### Defined in

[src/contract.ts:17](https://github.com/osmosis-labs/beaker/blob/47fee14/ts/beaker-console/src/contract.ts#L17)
[src/contract.ts:17](https://github.com/osmosis-labs/beaker/blob/2746bd2/ts/beaker-console/src/contract.ts#L17)

___

Expand All @@ -55,14 +57,17 @@ ___

#### Defined in

[src/contract.ts:18](https://github.com/osmosis-labs/beaker/blob/47fee14/ts/beaker-console/src/contract.ts#L18)
[src/contract.ts:18](https://github.com/osmosis-labs/beaker/blob/2746bd2/ts/beaker-console/src/contract.ts#L18)

## Methods

### execute

**execute**(`xmsg`, `senderAddress`, `fee?`): `Object`

Execute the contract.
example usage: `contract.execute(xmsg).by(signerAccount)`

#### Parameters

| Name | Type | Default value |
Expand All @@ -81,42 +86,48 @@ ___

#### Defined in

[src/contract.ts:51](https://github.com/osmosis-labs/beaker/blob/47fee14/ts/beaker-console/src/contract.ts#L51)
[src/contract.ts:51](https://github.com/osmosis-labs/beaker/blob/2746bd2/ts/beaker-console/src/contract.ts#L51)

___

### getCode

**getCode**(): `Promise`<`CodeDetails`\>

Get code details

#### Returns

`Promise`<`CodeDetails`\>

#### Defined in

[src/contract.ts:35](https://github.com/osmosis-labs/beaker/blob/47fee14/ts/beaker-console/src/contract.ts#L35)
[src/contract.ts:35](https://github.com/osmosis-labs/beaker/blob/2746bd2/ts/beaker-console/src/contract.ts#L35)

___

### getInfo

**getInfo**(): `Promise`<`Contract`\>

Get contract info

#### Returns

`Promise`<`Contract`\>

#### Defined in

[src/contract.ts:28](https://github.com/osmosis-labs/beaker/blob/47fee14/ts/beaker-console/src/contract.ts#L28)
[src/contract.ts:28](https://github.com/osmosis-labs/beaker/blob/2746bd2/ts/beaker-console/src/contract.ts#L28)

___

### query

**query**(`qmsg`): `Promise`<`unknown`\>

Query the contract by passing query message

#### Parameters

| Name | Type |
Expand All @@ -127,6 +138,8 @@ ___

`Promise`<`unknown`\>

query result

#### Defined in

[src/contract.ts:43](https://github.com/osmosis-labs/beaker/blob/47fee14/ts/beaker-console/src/contract.ts#L43)
[src/contract.ts:43](https://github.com/osmosis-labs/beaker/blob/2746bd2/ts/beaker-console/src/contract.ts#L43)
2 changes: 1 addition & 1 deletion ts/beaker-console/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "beaker-console",
"version": "0.1.5",
"version": "0.1.6",
"description": "",
"cdn": "dist/index.umd.js",
"main": "dist/index.js",
Expand Down

0 comments on commit f3c7a9f

Please sign in to comment.