Skip to content

Commit

Permalink
v0.1.2 (#32)
Browse files Browse the repository at this point in the history
* doc: unreleased -> v0.1.2

* v0.1.2
  • Loading branch information
byeongsu-hong authored Jan 31, 2023
1 parent 4f5f9ed commit c11a312
Show file tree
Hide file tree
Showing 20 changed files with 133 additions and 11 deletions.
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
# Changelog

## Unreleased
## v0.1.2

- common
- [#29](https://github.com/many-things/ibcx-contracts/pull/29) Add force migration rule
- airdrop
- [#31](https://github.com/many-things/ibcx-contracts/pull/31) Closable airdrop
- core
- [#25](https://github.com/many-things/ibcx-contracts/pull/25) Make simulation query to return fee-reflected result
- [#30](https://github.com/many-things/ibcx-contracts/pull/30) Change the type of `funds` in `QueryMsg::SimulateMint`
Expand Down
17 changes: 17 additions & 0 deletions ts/sdk/dist/index.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -264,13 +264,30 @@ var AirdropClient = /** @class */ (function (_super) {
});
});
};
_this.close = function (_a, fee, memo, funds) {
var id = _a.id;
if (fee === void 0) { fee = "auto"; }
return __awaiter(_this, void 0, void 0, function () {
return __generator(this, function (_b) {
switch (_b.label) {
case 0: return [4 /*yield*/, this.client.execute(this.sender, this.contractAddress, {
close: {
id: id
}
}, fee, memo, funds)];
case 1: return [2 /*return*/, _b.sent()];
}
});
});
};
_this.client = client;
_this.sender = sender;
_this.contractAddress = contractAddress;
_this.register = _this.register.bind(_this);
_this.fund = _this.fund.bind(_this);
_this.claim = _this.claim.bind(_this);
_this.multiClaim = _this.multiClaim.bind(_this);
_this.close = _this.close.bind(_this);
return _this;
}
return AirdropClient;
Expand Down
2 changes: 1 addition & 1 deletion ts/sdk/dist/index.cjs.map

Large diffs are not rendered by default.

17 changes: 17 additions & 0 deletions ts/sdk/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/sdk/dist/index.esm.js.map

Large diffs are not rendered by default.

17 changes: 17 additions & 0 deletions ts/sdk/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/sdk/dist/index.js.map

Large diffs are not rendered by default.

17 changes: 17 additions & 0 deletions ts/sdk/dist/index.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -260,13 +260,30 @@ var AirdropClient = /** @class */ (function (_super) {
});
});
};
_this.close = function (_a, fee, memo, funds) {
var id = _a.id;
if (fee === void 0) { fee = "auto"; }
return __awaiter(_this, void 0, void 0, function () {
return __generator(this, function (_b) {
switch (_b.label) {
case 0: return [4 /*yield*/, this.client.execute(this.sender, this.contractAddress, {
close: {
id: id
}
}, fee, memo, funds)];
case 1: return [2 /*return*/, _b.sent()];
}
});
});
};
_this.client = client;
_this.sender = sender;
_this.contractAddress = contractAddress;
_this.register = _this.register.bind(_this);
_this.fund = _this.fund.bind(_this);
_this.claim = _this.claim.bind(_this);
_this.multiClaim = _this.multiClaim.bind(_this);
_this.close = _this.close.bind(_this);
return _this;
}
return AirdropClient;
Expand Down
2 changes: 1 addition & 1 deletion ts/sdk/dist/index.mjs.map

Large diffs are not rendered by default.

17 changes: 17 additions & 0 deletions ts/sdk/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/sdk/dist/index.umd.js.map

Large diffs are not rendered by default.

Loading

0 comments on commit c11a312

Please sign in to comment.