@aurigami/sdk 1.11.0-beta → 1.11.0-beta1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/interactors/PlyGame.d.ts +1 -0
- package/dist/sdk.cjs.development.js +23 -0
- package/dist/sdk.cjs.development.js.map +1 -1
- package/dist/sdk.cjs.production.min.js +1 -1
- package/dist/sdk.cjs.production.min.js.map +1 -1
- package/dist/sdk.esm.js +23 -0
- package/dist/sdk.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/interactors/PlyGame.ts +5 -0
package/dist/sdk.esm.js
CHANGED
|
@@ -4947,6 +4947,29 @@ var PlyGameReadWrite = /*#__PURE__*/function (_PlyGameRead) {
|
|
|
4947
4947
|
return makeBetOnce;
|
|
4948
4948
|
}();
|
|
4949
4949
|
|
|
4950
|
+
_proto2.approve = /*#__PURE__*/function () {
|
|
4951
|
+
var _approve = /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/runtime_1.mark(function _callee9(amount) {
|
|
4952
|
+
return runtime_1.wrap(function _callee9$(_context9) {
|
|
4953
|
+
while (1) {
|
|
4954
|
+
switch (_context9.prev = _context9.next) {
|
|
4955
|
+
case 0:
|
|
4956
|
+
return _context9.abrupt("return", this.env.ply.connect(this._networkConnection.signer).approve(this.env.plygame.address, amount.rawAmount()));
|
|
4957
|
+
|
|
4958
|
+
case 1:
|
|
4959
|
+
case "end":
|
|
4960
|
+
return _context9.stop();
|
|
4961
|
+
}
|
|
4962
|
+
}
|
|
4963
|
+
}, _callee9, this);
|
|
4964
|
+
}));
|
|
4965
|
+
|
|
4966
|
+
function approve(_x8) {
|
|
4967
|
+
return _approve.apply(this, arguments);
|
|
4968
|
+
}
|
|
4969
|
+
|
|
4970
|
+
return approve;
|
|
4971
|
+
}();
|
|
4972
|
+
|
|
4950
4973
|
return PlyGameReadWrite;
|
|
4951
4974
|
}(PlyGameRead);
|
|
4952
4975
|
var PlyGame = /*#__PURE__*/function (_BlockchainEntity) {
|