Skip to content

Commit f3c7a9f

Browse files
committed
version 0.1.6
1 parent 2746bd2 commit f3c7a9f

File tree

13 files changed

+986
-577
lines changed

13 files changed

+986
-577
lines changed

Cargo.lock

Lines changed: 944 additions & 552 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/commands/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,4 +52,4 @@ Arguments:
5252

5353
Managing tasks for the project
5454

55-
[\> `beaker task`'s subcommands](./beaker_task.md)
55+
[\> `beaker task`'s subcommands](./beaker_task.md)

packages/cli/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ description = "CosmWasm swiss-army knife configured for Osmosis by default, but
33
edition = "2021"
44
license = "MIT OR Apache-2.0"
55
name = "beaker"
6-
version = "0.1.5"
6+
version = "0.1.6"
77

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

ts/beaker-console/dist/index.cjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* beaker-console v0.1.5
2+
* beaker-console v0.1.6
33
* (c) Supanat Potiwarakorn
44
* Released under the MIT OR Apache-2.0 License.
55
*/

ts/beaker-console/dist/index.esm.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ts/beaker-console/dist/index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ts/beaker-console/dist/index.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* beaker-console v0.1.5
2+
* beaker-console v0.1.6
33
* (c) Supanat Potiwarakorn
44
* Released under the MIT OR Apache-2.0 License.
55
*/

ts/beaker-console/dist/index.umd.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ts/beaker-console/dist/index.umd.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ts/beaker-console/docs/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ beaker
4545

4646
#### Defined in
4747

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

5050
___
5151

@@ -66,7 +66,7 @@ ___
6666

6767
#### Defined in
6868

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

7171
___
7272

@@ -89,4 +89,4 @@ ___
8989

9090
#### Defined in
9191

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

ts/beaker-console/docs/classes/Account.md

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
# Class: Account
44

5+
Account instance with baked-in client and utility methods
6+
57
## Table of contents
68

79
### Constructors
@@ -35,7 +37,7 @@
3537

3638
#### Defined in
3739

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

4042
## Properties
4143

@@ -45,7 +47,7 @@
4547

4648
#### Defined in
4749

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

5052
___
5153

@@ -55,7 +57,7 @@ ___
5557

5658
#### Defined in
5759

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

6062
___
6163

@@ -65,14 +67,16 @@ ___
6567

6668
#### Defined in
6769

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

7072
## Methods
7173

7274
### getBalance
7375

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

78+
Get balances for specific denom, only support native coin
79+
7680
#### Parameters
7781

7882
| Name | Type |
@@ -85,7 +89,7 @@ ___
8589

8690
#### Defined in
8791

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

9094
___
9195

@@ -106,4 +110,4 @@ ___
106110

107111
#### Defined in
108112

109-
[src/account.ts:38](https://github.com/osmosis-labs/beaker/blob/47fee14/ts/beaker-console/src/account.ts#L38)
113+
[src/account.ts:38](https://github.com/osmosis-labs/beaker/blob/2746bd2/ts/beaker-console/src/account.ts#L38)

ts/beaker-console/docs/classes/Contract.md

Lines changed: 20 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
# Class: Contract
44

5+
Contract instance with baked-in client
6+
57
## Table of contents
68

79
### Constructors
@@ -35,7 +37,7 @@
3537

3638
#### Defined in
3739

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

4042
## Properties
4143

@@ -45,7 +47,7 @@
4547

4648
#### Defined in
4749

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

5052
___
5153

@@ -55,14 +57,17 @@ ___
5557

5658
#### Defined in
5759

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

6062
## Methods
6163

6264
### execute
6365

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

68+
Execute the contract.
69+
example usage: `contract.execute(xmsg).by(signerAccount)`
70+
6671
#### Parameters
6772

6873
| Name | Type | Default value |
@@ -81,42 +86,48 @@ ___
8186

8287
#### Defined in
8388

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

8691
___
8792

8893
### getCode
8994

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

97+
Get code details
98+
9299
#### Returns
93100

94101
`Promise`<`CodeDetails`\>
95102

96103
#### Defined in
97104

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

100107
___
101108

102109
### getInfo
103110

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

113+
Get contract info
114+
106115
#### Returns
107116

108117
`Promise`<`Contract`\>
109118

110119
#### Defined in
111120

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

114123
___
115124

116125
### query
117126

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

129+
Query the contract by passing query message
130+
120131
#### Parameters
121132

122133
| Name | Type |
@@ -127,6 +138,8 @@ ___
127138

128139
`Promise`<`unknown`\>
129140

141+
query result
142+
130143
#### Defined in
131144

132-
[src/contract.ts:43](https://github.com/osmosis-labs/beaker/blob/47fee14/ts/beaker-console/src/contract.ts#L43)
145+
[src/contract.ts:43](https://github.com/osmosis-labs/beaker/blob/2746bd2/ts/beaker-console/src/contract.ts#L43)

ts/beaker-console/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "beaker-console",
3-
"version": "0.1.5",
3+
"version": "0.1.6",
44
"description": "",
55
"cdn": "dist/index.umd.js",
66
"main": "dist/index.js",

0 commit comments

Comments
 (0)