diff --git a/examples/simple-project/__tests__/test-simple-project.ava.js b/examples/simple-project/__tests__/test-simple-project.ava.js new file mode 100644 index 00000000..12eddbb4 --- /dev/null +++ b/examples/simple-project/__tests__/test-simple-project.ava.js @@ -0,0 +1,41 @@ +/** + * This test demonstrates basic behavior of near-workspaces, making simple + * function calls and view calls to the contract from + * https://github.com/near-examples/rust-status-message + * + * Note that the same tests will be run on both a local sandbox environment and + * on testnet by using the `test:sandbox` and `test:testnet` scripts in + * package.json. + */ +import {Worker, NEAR} from 'near-workspaces'; +import test from 'ava'; + +test.beforeEach(async t => { + // Init the worker and start a Sandbox server + const worker = await Worker.init(); + + // Prepare sandbox for tests, create accounts, deploy contracts, etx. + const root = worker.rootAccount; + const contract = await root.devDeploy( + // source code: https://github.com/NEARFoundation/near-smart-contract-rust-template/tree/main + 'contracts/near_smart_contract_rust_template.wasm', + {initialBalance: NEAR.parse('30 N').toJSON()}, + ); + const ali = await root.createSubAccount('ali', {initialBalance: NEAR.parse('3 N').toJSON()}); + + // Save state for test runs, it is unique for each test + t.context.worker = worker; + t.context.accounts = {root, contract, ali}; +}); + +test.afterEach.always(async t => { + // Stop Sandbox server + await t.context.worker.tearDown().catch(error => { + console.log('Failed to tear down the worker:', error); + }); +}); + +test('Root call new', async t => { + const {contract, ali} = t.context.accounts; + await ali.call(contract, 'new', {}); +}); diff --git a/examples/simple-project/contracts/near_smart_contract_rust_template.wasm b/examples/simple-project/contracts/near_smart_contract_rust_template.wasm new file mode 100755 index 00000000..bb53c198 Binary files /dev/null and b/examples/simple-project/contracts/near_smart_contract_rust_template.wasm differ diff --git a/packages/js/dist/account/account-manager.js b/packages/js/dist/account/account-manager.js index 21478934..c15230bd 100644 --- a/packages/js/dist/account/account-manager.js +++ b/packages/js/dist/account/account-manager.js @@ -1,7 +1,11 @@ "use strict"; var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { if (k2 === undefined) k2 = k; - Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); }) : (function(o, m, k, k2) { if (k2 === undefined) k2 = k; o[k2] = m[k]; diff --git a/packages/js/dist/account/account-manager.js.map b/packages/js/dist/account/account-manager.js.map index 767fcf86..23c39fb9 100644 --- a/packages/js/dist/account/account-manager.js.map +++ b/packages/js/dist/account/account-manager.js.map @@ -1 +1 @@ -{"version":3,"file":"account-manager.js","sourceRoot":"","sources":["../../src/account/account-manager.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,2CAA6B;AAC7B,iDAAmC;AACnC,qDAAuC;AACvC,2CAAgC;AAChC,oCAAkE;AAClE,oCAAoJ;AACpJ,sDAAiD;AACjD,gDAA2C;AAC3C,wCAA2C;AAC3C,8DAAwD;AACxD,uCAAkC;AAElC,mCAAuC;AAGvC,MAAsB,cAAc;IAGlC,YACY,MAAc;QAAd,WAAM,GAAN,MAAM,CAAQ;QAH1B,oBAAe,GAAgB,IAAI,GAAG,EAAE,CAAC;IAItC,CAAC;IAEJ,MAAM,CAAC,MAAM,CACX,MAAc;QAEd,MAAM,EAAC,OAAO,EAAC,GAAG,MAAM,CAAC;QACzB,QAAQ,OAAO,EAAE;YACf,KAAK,SAAS;gBACZ,OAAO,IAAI,cAAc,CAAC,MAAM,CAAC,CAAC;YACpC,KAAK,SAAS;gBACZ,OAAO,IAAI,cAAc,CAAC,MAAM,CAAC,CAAC;YACpC,OAAO,CAAC,CAAC,MAAM,IAAI,KAAK,CAAC,oBAAoB,OAAiB,oCAAoC,CAAC,CAAC;SACrG;IACH,CAAC;IAED,KAAK,CAAC,WAAW,CAAC,SAAiB;QACjC,OAAO,IAAI,CAAC,QAAQ,CAAC,WAAW,CAAC,SAAS,CAAC,CAAC;IAC9C,CAAC;IAED,UAAU,CAAC,SAAiB;QAC1B,OAAO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CAAC,CAAC;SAC/C;QAED,OAAO,eAAe,CAAC;IACzB,CAAC;CACF;AA7BD,gDA6BC"} \ No newline at end of file +{"version":3,"file":"account-manager.js","sourceRoot":"","sources":["../../src/account/account-manager.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,2CAA6B;AAC7B,iDAAmC;AACnC,qDAAuC;AACvC,2CAAgC;AAChC,oCAAkE;AAClE,oCAAoJ;AACpJ,sDAAiD;AACjD,gDAA2C;AAC3C,wCAA2C;AAC3C,8DAAwD;AACxD,uCAAkC;AAElC,mCAAuC;AAGvC,MAAsB,cAAc;IAGlC,YACY,MAAc;QAAd,WAAM,GAAN,MAAM,CAAQ;QAH1B,oBAAe,GAAgB,IAAI,GAAG,EAAE,CAAC;IAItC,CAAC;IAEJ,MAAM,CAAC,MAAM,CACX,MAAc;QAEd,MAAM,EAAC,OAAO,EAAC,GAAG,MAAM,CAAC;QACzB,QAAQ,OAAO,EAAE;YACf,KAAK,SAAS;gBACZ,OAAO,IAAI,cAAc,CAAC,MAAM,CAAC,CAAC;YACpC,KAAK,SAAS;gBACZ,OAAO,IAAI,cAAc,CAAC,MAAM,CAAC,CAAC;YACpC,OAAO,CAAC,CAAC,MAAM,IAAI,KAAK,CAAC,oBAAoB,OAAiB,oCAAoC,CAAC,CAAC;SACrG;IACH,CAAC;IAED,KAAK,CAAC,WAAW,CAAC,SAAiB;QACjC,OAAO,IAAI,CAAC,QAAQ,CAAC,WAAW,CAAC,SAAS,CAAC,CAAC;IAC9C,CAAC;IAED,UAAU,CAAC,SAAiB;QAC1B,OAAO,IAAI,iBAAO,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC;IACtC,CAAC;IAED,gBAAgB,CAAC,SAAiB;QAChC,MAAM,KAAK,GAAG,SAAS,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;QACnC,IAAI,KAAK,CAAC,MAAM,KAAK,CAAC,EAAE;YACtB,OAAO,IAAI,CAAC,UAAU,CAAC,SAA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,CAAC,OAAO,CACpB,CAAC;QACF,OAAO,QAAQ,CAAC;IAClB,CAAC;IAED,IAAI,WAAW;QACb,OAAO,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,OAAO,EAAE,oBAAoB,CAAC,CAAC;IAC9D,CAAC;CACF;AA3BD,wCA2BC;AAED,MAAa,kBAAmB,SAAQ,yBAAW;IAEjD,YAA6B,OAAuB,EAAE,MAA6B,EAAE,QAA+B;QAClH,KAAK,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;QADG,YAAO,GAAP,OAAO,CAAgB;QAD5C,WAAM,GAAG,KAAK,CAAC;IAGvB,CAAC;IAED,aAAa;QACX,IAAI,CAAC,OAAO,CAAC,iBAAiB,CAAC,IAAI,CAAC,UAAU,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC;QAC/D,OAAO,KAAK,CAAC,aAAa,EAAE,CAAC;IAC/B,CAAC;IAED,aAAa,CAAC,aAAqB;QACjC,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC;QACnB,OAAO,KAAK,CAAC,aAAa,CAAC,aAAa,CAAC,CAAC;IAC5C,CAAC;IAED;;;;OAIG;IACH,KAAK,CAAC,QAAQ,CAAC,OAAiB;QAC9B,MAAM,eAAe,GAAG,MAAM,IAAI,CAAC,OAAO,CAAC,kBAAkB,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;QAC7E,IAAI,eAAe,CAAC,SAAS,IAAI,IAAI,CAAC,MAAM,EAAE;YAC5C,MAAM,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;SAC/C;QAED,OAAO,eAAe,CAAC;IACzB,CAAC;CACF;AA7BD,gDA6BC"} \ No newline at end of file diff --git a/packages/js/dist/account/account.d.ts b/packages/js/dist/account/account.d.ts index 0c4f63a8..59a35d70 100644 --- a/packages/js/dist/account/account.d.ts +++ b/packages/js/dist/account/account.d.ts @@ -1,4 +1,5 @@ /// +/// import { URL } from 'url'; import { Buffer } from 'buffer'; import BN from 'bn.js'; diff --git a/packages/js/dist/account/account.d.ts.map b/packages/js/dist/account/account.d.ts.map index 15ba9108..9c0ce4df 100644 --- a/packages/js/dist/account/account.d.ts.map +++ b/packages/js/dist/account/account.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"account.d.ts","sourceRoot":"","sources":["../../src/account/account.ts"],"names":[],"mappings":";AAAA,OAAO,EAAC,GAAG,EAAC,MAAM,KAAK,CAAC;AACxB,OAAO,EAAC,MAAM,EAAC,MAAM,QAAQ,CAAC;AAE9B,OAAO,EAAE,MAAM,OAAO,CAAC;AACvB,OAAO,EAAC,IAAI,EAAC,MAAM,YAAY,CAAC;AAEhC,OAAO,EAEL,OAAO,EACP,SAAS,EACT,UAAU,EACV,cAAc,EACd,IAAI,EACJ,WAAW,EACX,KAAK,EACL,SAAS,EACT,aAAa,EACb,aAAa,EACd,MAAM,UAAU,CAAC;AAClB,OAAO,EAAC,WAAW,EAAC,MAAM,gBAAgB,CAAC;AAC3C,OAAO,EAAC,aAAa,EAAC,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAAC,eAAe,EAAC,MAAM,YAAY,CAAC;AAE3C,OAAO,EAAC,iBAAiB,EAAmB,MAAM,uBAAuB,CAAC;AAC1E,OAAO,EAAC,aAAa,EAAkB,WAAW,EAAiB,OAAO,EAAC,MAAM,WAAW,CAAC;AAC7F,OAAO,EAAC,WAAW,EAAC,MAAM,gBAAgB,CAAC;AAC3C,OAAO,EAAC,kBAAkB,EAAC,MAAM,wBAAwB,CAAC;AAE1D,qBAAa,OAAQ,YAAW,WAAW;IAEvC,OAAO,CAAC,QAAQ,CAAC,UAAU;IAC3B,OAAO,CAAC,QAAQ,CAAC,OAAO;gBADP,UAAU,EAAE,MAAM,EAClB,OAAO,EAAE,kBAAkB;IAGxC,WAAW,IAAI,OAAO,CAAC,WAAW,CAAC;IAInC,MAAM,IAAI,OAAO,CAAC,OAAO,CAAC;IAIhC,SAAS,KAAK,QAAQ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AO,CAAC,KAAK,CAAC;IAOvD,UAAU,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC,KAAK,CAAC;IAMxE,QAAQ,CAAC,SAAS,EAAE,MAAM,GAAG,WAAW,EAAE,MAAM,EAAE,MAAM,GAAG,EAAE,GAAG,OAAO,CAAC,iBAAiB,CAAC;cAIhF,qBAAqB,CACnC,SAAS,EAAE,MAAM,EACjB,EACE,OAAO,EACP,cAAc,EACd,YAAY,GACb,GAAE;QAAC,OAAO,CAAC,EAAE,OAAO,CAAC;QAAC,cAAc,CAAC,EAAE,MAAM,GAAG,EAAE,CAAC;QAAC,YAAY,CAAC,EAAE,OAAO,CAAA;KAAM,GAChF,OAAO,CAAC,WAAW,CAAC;YAUT,cAAc;IAI5B,OAAO,CAAC,aAAa;CAGtB"} \ No newline at end of file diff --git a/packages/js/dist/account/account.js b/packages/js/dist/account/account.js index 439c23dd..fd5f3402 100644 --- a/packages/js/dist/account/account.js +++ b/packages/js/dist/account/account.js @@ -1,7 +1,11 @@ "use strict"; var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { if (k2 === undefined) k2 = k; - Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); }) : (function(o, m, k, k2) { if (k2 === undefined) k2 = k; o[k2] = m[k]; diff --git a/packages/js/dist/account/account.js.map b/packages/js/dist/account/account.js.map index cefc3843..27732b9e 100644 --- a/packages/js/dist/account/account.js.map +++ b/packages/js/dist/account/account.js.map @@ -1 +1 @@ -{"version":3,"file":"account.js","sourceRoot":"","sources":["../../src/account/account.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AACA,mCAA8B;AAC9B,qCAA4B;AAG5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F;AAxZD,0BAwZC"} \ No newline at end of file +{"version":3,"file":"account.js","sourceRoot":"","sources":["../../src/account/account.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AACA,mCAA8B;AAC9B,qCAA4B;AAG5B,6CAA+B;AAC/B,oCAYkB;AAElB,sDAAgD;AAChD,wCAA2C;AAC3C,oCAA0E;AAC1E,8DAA0E;AAC1E,sCAA6F;AAI7F,MAAa,OAAO;IAClB,YACmB,UAAkB,EAClB,OAA2B;QAD3B,eAAU,GAAV,UAAU,CAAQ;QAClB,YAAO,GAAP,OAAO,CAAoB;IAC3C,CAAC;IAEJ,KAAK,CAAC,WAAW;QACf,OAAO,IAAI,CAAC,OAAO,CAAC,WAAW,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;IACnD,CAAC;IAED,KAAK,CAAC,MAAM;QACV,OAAO,IAAI,CAAC,QAAQ,CAAC,aAAa,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;IACrD,CAAC;IAED,IAAc,QAAQ;QACpB,OAAO,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC;IAC/B,CAAC;IAED,IAAI,SAAS;QACX,OAAO,IAAI,CAAC,UAAU,CAAC;IACzB,CAAC;IAED,KAAK,CAAC,gBAAgB;QACpB,OAAO,IAAI,CAAC,OAAO,CAAC,gBAAgB,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;IACvD,CAAC;IAED,KAAK,CAAC,OAAO;QACX,OAAO,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;IAC9C,CAAC;IAED,KAAK,CAAC,QAA8B;QAClC,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;IAC5C,CAAC;IAED,KAAK,CAAC,MAAM;QACV,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;IAC7C,CAAC;IAED,KAAK,CA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CAAC,OAAO,CAAC,MAAM,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC;IAC3F,CAAC;IAEO,aAAa;QACnB,OAAO,sBAAa,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC;IACzC,CAAC;CACF;AAxZD,0BAwZC"} \ No newline at end of file diff --git a/packages/js/dist/account/index.js b/packages/js/dist/account/index.js index fac830ac..5241593f 100644 --- a/packages/js/dist/account/index.js +++ b/packages/js/dist/account/index.js @@ -1,7 +1,11 @@ "use strict"; var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { if (k2 === undefined) k2 = k; - Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); }) : (function(o, m, k, k2) { if (k2 === undefined) k2 = k; o[k2] = m[k]; diff --git a/packages/js/dist/account/index.js.map b/packages/js/dist/account/index.js.map index a6b16130..7367f83f 100644 --- a/packages/js/dist/account/index.js.map +++ b/packages/js/dist/account/index.js.map @@ -1 +1 @@ -{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/account/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,iDAA+B;AAC/B,yDAAuC;AACvC,oDAAkC;AAClC,4CAA0B"} \ No newline at end of file +{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/account/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,iDAA+B;AAC/B,yDAAuC;AACvC,oDAAkC;AAClC,4CAA0B"} \ No newline at end of file diff --git a/packages/js/dist/account/near-account.d.ts b/packages/js/dist/account/near-account.d.ts index c7fb84ba..23b1aa9e 100644 --- a/packages/js/dist/account/near-account.d.ts +++ b/packages/js/dist/account/near-account.d.ts @@ -1,4 +1,5 @@ /// +/// import { URL } from 'url'; import { Buffer } from 'buffer'; import BN from 'bn.js'; diff --git a/packages/js/dist/account/near-account.d.ts.map b/packages/js/dist/account/near-account.d.ts.map index 1a3f316c..fa52c4ff 100644 --- a/packages/js/dist/account/near-account.d.ts.map +++ b/packages/js/dist/account/near-account.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"near-account.d.ts","sourceRoot":"","sources":["../../src/account/near-account.ts"],"names":[],"mappings":";AAAA,OAAO,EAAC,GAAG,EAAC,MAAM,KAAK,CAAC;AACxB,OAAO,EAAC,MAAM,EAAC,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,MAAM,OAAO,CAAC;AACvB,OAAO,EAAC,IAAI,EAAC,MAAM,YAAY,CAAC;AAChC,OAAO,EAAC,OAAO,EAAC,MAAM,aAAa,CAAC;AACpC,OAAO,EAAC,cAAc,EAAE,SAAS,EAAE,UAAU,EAAE,WAAW,EAAE,KAAK,EAAE,SAAS,EAAE,aAAa,EAAE,aAAa,EAAC,MAAM,UAAU,CAAC;AAC5H,OAAO,EAAC,aAAa,EAAC,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAAC,WAAW,EAAC,MAAM,gBAAgB,CAAC;AAC3C,OAAO,EAAC,iBAAiB,EAAC,MAAM,uBAAuB,CAAC;AACxD,OAAO,EAAC,aAAa,EAAE,WAAW,EAAE,OAAO,EAAC,MAAM,WAAW,CAAC;AAE9D,MAAM,WAAW,WAAW;IAC1B,yCAAyC;IACzC,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAE3B;;;OAGG;IACH,WAAW,IAAI,OAAO,CAAC,WAAW,CAAC,CAAC;IAGpC,gBAAgB,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IAElC,6CAA6C;IAC7C,OAAO,IAAI,OAAO,CAAC,cAAc,CAAC,CAAC;IACnC;;;;;;;;OAQG;IACH,KAAK,CAAC,QAAQ,EAAE,WAAW,GAAG,MAAM,GAAG,WAAW,CAAC;IACnD,oDAAoD;IACpD,MAAM,IAAI,OAAO,CAAC,OAAO,CAAC,CAAC;IA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;;;OAGG;IACH,cAAc,CAAC,SAAS,EAAE,MAAM,GAAG,MAAM,CAAC;IAC1C;;;OAGG;IACH,YAAY,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC;IAEzC;;OAEG;IACH,MAAM,IAAI,MAAM,CAAC;IAEjB;;;MAGE;IACF,QAAQ,CAAC,SAAS,EAAE,MAAM,GAAG,WAAW,EAAE,MAAM,EAAE,MAAM,GAAG,EAAE,GAAG,OAAO,CAAC,iBAAiB,CAAC,CAAC;IAE3F;;;;OAIG;IACH,aAAa,CAAC,WAAW,CAAC,EAAE,OAAO,CAAC,WAAW,CAAC,GAAG,OAAO,CAAC,KAAK,CAAC,CAAC;IAElE;;;;OAIG;IACH,eAAe,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,GAAG,OAAO,EAAE,eAAe,CAAC,EAAE,aAAa,GAAG,OAAO,CAAC,KAAK,CAAC,CAAC;IAEpG;;;;OAIG;IACH,cAAc,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC,KAAK,CAAC,CAAC;IAExD;;;;;;;OAOG;IACH,UAAU,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC,KAAK,CAAC,CAAC;CAC3E"} \ No newline at end of file +{"version":3,"file":"near-account.d.ts","sourceRoot":"","sources":["../../src/account/near-account.ts"],"names":[],"mappings":";;AAAA,OAAO,EAAC,GAAG,EAAC,MAAM,KAAK,CAAC;AACxB,OAAO,EAAC,MAAM,EAAC,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,MAAM,OAAO,CAAC;AACvB,OAAO,EAAC,IAAI,EAAC,MAAM,YAAY,CAAC;AAChC,OAAO,EAAC,OAAO,EAAC,MAAM,aAAa,CAAC;AACpC,OAAO,EAAC,cAAc,EAAE,SAAS,EAAE,UAAU,EAAE,WAAW,EAAE,KAAK,EAAE,SAAS,EAAE,aAAa,EAAE,aAAa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;IAEpG;;;;OAIG;IACH,cAAc,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC,KAAK,CAAC,CAAC;IAExD;;;;;;;OAOG;IACH,UAAU,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC,KAAK,CAAC,CAAC;CAC3E"} \ No newline at end of file diff --git a/packages/js/dist/account/utils.d.ts b/packages/js/dist/account/utils.d.ts index b55fb5f5..0d80a678 100644 --- a/packages/js/dist/account/utils.d.ts +++ b/packages/js/dist/account/utils.d.ts @@ -8,7 +8,7 @@ export interface KeyFilePrivate { export interface KeyFileSecret { secret_key: string; } -export declare type KeyFile = KeyFilePrivate | KeyFileSecret; +export type KeyFile = KeyFilePrivate | KeyFileSecret; export declare function getKeyFromFile(filePath: string, create?: boolean): Promise; export declare function hashPathBase64(s: string): string; export declare function sanitize(s: string): string; diff --git a/packages/js/dist/account/utils.d.ts.map b/packages/js/dist/account/utils.d.ts.map index 5fd68cc5..6d9d7467 100644 --- a/packages/js/dist/account/utils.d.ts.map +++ b/packages/js/dist/account/utils.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/account/utils.ts"],"names":[],"mappings":"AAIA,OAAO,EAAC,QAAQ,EAAC,MAAM,WAAW,CAAC;AACnC,OAAO,EAAC,OAAO,EAAiB,MAAM,UAAU,CAAC;AAEjD,wBAAgB,cAAc,IAAI,CAAC,MAAM,EAAE,MAAM,CAAC,CAMjD;AAED,wBAAgB,SAAS,IAAI,QAAQ,EAAE,CAMtC;AAED,MAAM,WAAW,cAAc;IAC7B,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,aAAa;IAC5B,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,oBAAY,OAAO,GAAG,cAAc,GAAG,aAAa,CAAC;AAErD,wBAAsB,cAAc,CAAC,QAAQ,EAAE,MAAM,EAAE,MAAM,UAAO,GAAG,OAAO,CAAC,OAAO,CAAC,CAkBtF;AAED,wBAAgB,cAAc,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,CAIhD;AAED,wBAAgB,QAAQ,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,CAE1C"} \ No newline at end of file +{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/account/utils.ts"],"names":[],"mappings":"AAIA,OAAO,EAAC,QAAQ,EAAC,MAAM,WAAW,CAAC;AACnC,OAAO,EAAC,OAAO,EAAiB,MAAM,UAAU,CAAC;AAEjD,wBAAgB,cAAc,IAAI,CAAC,MAAM,EAAE,MAAM,CAAC,CAMjD;AAED,wBAAgB,SAAS,IAAI,QAAQ,EAAE,CAMtC;AAED,MAAM,WAAW,cAAc;IAC7B,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,aAAa;IAC5B,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,MAAM,OAAO,GAAG,cAAc,GAAG,aAAa,CAAC;AAErD,wBAAsB,cAAc,CAAC,QAAQ,EAAE,MAAM,EAAE,MAAM,UAAO,GAAG,OAAO,CAAC,OAAO,CAAC,CAkBtF;AAED,wBAAgB,cAAc,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,CAIhD;AAED,wBAAgB,QAAQ,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,CAE1C"} \ No newline at end of file diff --git a/packages/js/dist/account/utils.js b/packages/js/dist/account/utils.js index d794b215..c61a9f81 100644 --- a/packages/js/dist/account/utils.js +++ b/packages/js/dist/account/utils.js @@ -1,7 +1,11 @@ "use strict"; var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { if (k2 === undefined) k2 = k; - Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); }) : (function(o, m, k, k2) { if (k2 === undefined) k2 = k; o[k2] = m[k]; diff --git a/packages/js/dist/account/utils.js.map b/packages/js/dist/account/utils.js.map index 38a49635..fde19482 100644 --- a/packages/js/dist/account/utils.js.map +++ b/packages/js/dist/account/utils.js.map @@ -1 +1 @@ -{"version":3,"file":"utils.js","sourceRoot":"","sources":["../../src/account/utils.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,gDAAkC;AAClC,mCAA8B;AAC9B,0DAA+B;AAC/B,0DAAkC;AAElC,oCAAiD;AAEjD,SAAgB,cAAc;IAC5B,MAAM,KAAK,GAAe,SAAS,EAAE,CAAC;IACtC,MAAM,KAAK,GAAe,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,WAAW,EAAE,CAAC,CAAC;IAC7D,+BAA+B;IAC/B,MAAM,CAAC,GAAG,KAAK,CAAC,MAAM,GAAG,CAAC,CAAC;IAC3B,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,WAAW,EAAG,EAAE,KAAK,CAAC,CAAC,CAAC,CAAC,aAAa,EAAG,CAAC,CAAC;AAC9D,CAAC;AAND,wCAMC;AAED,SAAgB,SAAS;IACvB,MAAM,kBAAkB,GAAG,KAAK,CAAC,iBAAiB,CAAC;IACnD,KAAK,CAAC,iBAAiB,GAAG,CAAC,CAAC,EAAE,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC;IAC9C,MAAM,KAAK,GAAG,IAAI,KAAK,EAAE,CAAC,KAAM,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,4CAA4C;IACvF,KAAK,CAAC,iBAAiB,GAAG,kBAAkB,CAAC;IAC7C,OAAO,KAA8B,CAAC;AACxC,CAAC;AAND,8BAMC;AAYM,KAAK,UAAU,cAAc,CAAC,QAAgB,EAAE,MAAM,GAAG,IAAI;;IAClE,IAAI;QACF,MAAM,OAAO,GAAG,O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ACrF,MAAM,MAAM,GAAG,mBAAS,CAAC,MAAM,CAAC,eAAM,CAAC,IAAI,CAAC,mBAAM,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;IAC3E,OAAO,MAAM,CAAC;AAChB,CAAC;AAJD,wCAIC;AAED,SAAgB,QAAQ,CAAC,CAAS;IAChC,OAAO,CAAC,CAAC,WAAW,EAAE,CAAC,OAAO,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;AAC7C,CAAC;AAFD,4BAEC"} \ No newline at end of file diff --git a/packages/js/dist/contract-state.js b/packages/js/dist/contract-state.js index a0199702..d616b0e6 100644 --- a/packages/js/dist/contract-state.js +++ b/packages/js/dist/contract-state.js @@ -1,7 +1,11 @@ "use strict"; var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { if (k2 === undefined) k2 = k; - Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); }) : (function(o, m, k, k2) { if (k2 === undefined) k2 = k; o[k2] = m[k]; diff --git a/packages/js/dist/contract-state.js.map b/packages/js/dist/contract-state.js.map index b8440220..239a60da 100644 --- a/packages/js/dist/contract-state.js.map +++ b/packages/js/dist/contract-state.js.map @@ -1 +1 @@ -{"version":3,"file":"contract-state.js","sourceRoot":"","sources":["../src/contract-state.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,mCAA8B;AAC9B,6CAA+B;AAE/B,MAAa,aAAa;IAExB,YAAY,SAA8C;QACxD,IAAI,CAAC,IAAI,GAAG,IAAI,GAAG,EAAE,CAAC;QACtB,KAAK,MAAM,EAAC,GAAG,EAAE,KAAK,EAAC,IAAI,SAAS,EAAE;YACpC,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,QAAQ,EAAE,EAAE,KAAK,CAAC,CAAC;SACtC;IACH,CAAC;IAED,MAAM,CAAC,GAAW;;QAChB,OAAO,MAAA,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,mCAAI,eAAM,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;IAC/C,CAAC;IAED,GAAG,CAAC,GAAW,EAAE,WAAsC;QACrD,MAAM,KAAK,GAAG,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC;QAC/B,IAAI,WAAW,EAAE;YACf,OAAO,KAAK,CAAC,WAAW,CAAC,WAAW,CAAC,MAAM,EAAE,WAAW,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;SACvE;QAED,OAAO,KAAK,CAAC,MAAM,EAAE,CAAC;IACxB,CAAC;CACF;AArBD,sCAqBC"} \ No newline at end of file +{"version":3,"file":"contract-state.js","sourceRoot":"","sources":["../src/contract-state.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,mCAA8B;AAC9B,6CAA+B;AAE/B,MAAa,aAAa;IAExB,YAAY,SAA8C;QACxD,IAAI,CAAC,IAAI,GAAG,IAAI,GAAG,EAAE,CAAC;QACtB,KAAK,MAAM,EAAC,GAAG,EAAE,KAAK,EAAC,IAAI,SAAS,EAAE;YACpC,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,QAAQ,EAAE,EAAE,KAAK,CAAC,CAAC;SACtC;IACH,CAAC;IAED,MAAM,CAAC,GAAW;;QAChB,OAAO,MAAA,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,mCAAI,eAAM,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;IAC/C,CAAC;IAED,GAAG,CAAC,GAAW,EAAE,WAAsC;QACrD,MAAM,KAAK,GAAG,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC;QAC/B,IAAI,WAAW,EAAE;YACf,OAAO,KAAK,CAAC,WAAW,CAAC,WAAW,CAAC,MAAM,EAAE,WAAW,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;SACvE;QAED,OAAO,KAAK,CAAC,MAAM,EAAE,CAAC;IACxB,CAAC;CACF;AArBD,sCAqBC"} \ No newline at end of file diff --git a/packages/js/dist/index.js b/packages/js/dist/index.js index bda74404..4974cfee 100644 --- a/packages/js/dist/index.js +++ b/packages/js/dist/index.js @@ -1,7 +1,11 @@ "use strict"; var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { if (k2 === undefined) k2 = k; - Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); }) : (function(o, m, k, k2) { if (k2 === undefined) k2 = k; o[k2] = m[k]; diff --git a/packages/js/dist/index.js.map b/packages/js/dist/index.js.map index eb4a23ae..7dc771e3 100644 --- a/packages/js/dist/index.js.map +++ b/packages/js/dist/index.js.map @@ -1 +1 @@ -{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAAA,iDAAmC;AAEnC,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,eAAe,EAAE;IAChC,OAAO,CAAC,GAAG,CAAC,YAAY,GAAG,MAAM,CAAC;CACnC;AAED,2CAAyB;AACzB,2CAAyB;AACzB,0CAAwB;AACxB,0CAAwB;AACxB,4CAA0B;AAC1B,uDAAqC;AACrC,4CAA0B;AAC1B,6CAA2B"} \ No newline at end of file +{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,iDAAmC;AAEnC,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,eAAe,EAAE;IAChC,OAAO,CAAC,GAAG,CAAC,YAAY,GAAG,MAAM,CAAC;CACnC;AAED,2CAAyB;AACzB,2CAAyB;AACzB,0CAAwB;AACxB,0CAAwB;AACxB,4CAA0B;AAC1B,uDAAqC;AACrC,4CAA0B;AAC1B,6CAA2B"} \ No newline at end of file diff --git a/packages/js/dist/internal-utils.d.ts b/packages/js/dist/internal-utils.d.ts index 87299c7c..a5190267 100644 --- a/packages/js/dist/internal-utils.d.ts +++ b/packages/js/dist/internal-utils.d.ts @@ -1,4 +1,5 @@ /// +/// import { PathLike } from 'fs'; import { spawn as _spawn } from 'child_process'; import { URL } from 'url'; diff --git a/packages/js/dist/internal-utils.d.ts.map b/packages/js/dist/internal-utils.d.ts.map index 2c4d6b37..01558148 100644 --- a/packages/js/dist/internal-utils.d.ts.map +++ b/packages/js/dist/internal-utils.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"internal-utils.d.ts","sourceRoot":"","sources":["../src/internal-utils.ts"],"names":[],"mappings":";AAEA,OAAO,EAAY,QAAQ,EAAC,MAAM,IAAI,CAAC;AAIvC,OAAO,EAAC,KAAK,IAAI,MAAM,EAAC,MAAM,eAAe,CAAC;AAC9C,OAAO,EAAC,GAAG,EAAC,MAAM,KAAK,CAAC;AAGxB,OAAO,EAAC,MAAM,EAAC,MAAM,cAAc,CAAC;AAGpC,OAAO,EAAC,mBAAmB,EAAC,MAAM,SAAS,CAAC;AAE5C,eAAO,MAAM,EAAE,iCAAoB,CAAC;AACpC,eAAO,MAAM,aAAa,EAAE,MAAM,OAAO,CAAC,MAAM,CAA6B,CAAC;AAE9E,wBAAsB,MAAM,CAAC,CAAC,EAAE,QAAQ,GAAG,OAAO,CAAC,OAAO,CAAC,CAW1D;AAED,wBAAsB,UAAU,CAAC,GAAG,EAAE,MAAM,EAAE,GAAG,IAAI,EAAE,MAAM,EAAE,GAAG,mBAAmB,CAGpF;AAED,OAAO,EAAC,MAAM,IAAI,KAAK,EAAC,CAAC;AAEzB,wBAAgB,KAAK,CAAC,GAAG,IAAI,EAAE,GA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AC;AAEhD,wBAAsB,YAAY,IAAI,OAAO,CAAC,MAAM,CAAC,CAOpD;AAED,wBAAgB,UAAU,CAAC,SAAS,EAAE,GAAG,GAAG,SAAS,IAAI,GAAG,GAAG,MAAM,CAEpE;AAED;;;;;;GAMG;AACH,wBAAsB,QAAQ,CAAC,YAAY,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAkBpE"} \ No newline at end of file diff --git a/packages/js/dist/internal-utils.js b/packages/js/dist/internal-utils.js index 62257a4b..0b81fb38 100644 --- a/packages/js/dist/internal-utils.js +++ b/packages/js/dist/internal-utils.js @@ -1,7 +1,11 @@ "use strict"; var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { if (k2 === undefined) k2 = k; - Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); }) : (function(o, m, k, k2) { if (k2 === undefined) k2 = k; o[k2] = m[k]; diff --git a/packages/js/dist/internal-utils.js.map b/packages/js/dist/internal-utils.js.map index 0b739e81..4bbc2904 100644 --- a/packages/js/dist/internal-utils.js.map +++ b/packages/js/dist/internal-utils.js.map @@ -1 +1 @@ -{"version":3,"file":"internal-utils.js","sourceRoot":"","sources":["../src/internal-utils.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sDAA8B;AAC9B,+BAAmC;AACnC,2BAAuC;AACvC,0CAAmC;AACnC,gDAAkC;AAClC,+BAA+B;AAC/B,iDAA8C;AA8B5B,sFA9BD,qBAAM,OA8BA;AA7BvB,6BAAwB;AACxB,qEAA6D;AAC7D,oDAA4B;AAE5B,2DAAsD;AACtD,wDAAgC;AAGnB,QAAA,EAAE,GAAG,IAAA,gBAAS,EAAC,gBAAM,CAAC,CAAC;AAC7B,MAAM,aAAa,GAA0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AAE,EAAE;QAC1B,MAAM,MAAM,CAAC,OAAO,EAAE,CAAC;KACxB;IAED,OAAO,MAAM,CAAC,OAAO,CAAC;AACxB,CAAC;AAPD,oCAOC;AAED,SAAgB,UAAU,CAAC,SAAc;IACvC,OAAO,OAAO,SAAS,KAAK,QAAQ,IAAI,SAAS,YAAY,SAAG,CAAC;AACnE,CAAC;AAFD,gCAEC;AAED;;;;;;GAMG;AACI,KAAK,UAAU,QAAQ,CAAC,YAAoB;IACjD,KAAK,MAAM,UAAU,IAAI,MAAM,CAAC,KAAK,EAAE;QACrC,IAAI;YACF,MAAM,IAAA,iBAAM,EAAC,UAAU,EAAE,cAAS,CAAC,IAAI,CAAC,CAAC,CAAC,uCAAuC;YACjF,MAAM,YAAY,GAAG,IAAA,WAAI,EAAC,IAAA,cAAO,EAAC,UAAU,CAAC,EAAE,YAAY,CAAC,CAAC;YAC7D,MAAM,IAAA,iBAAM,EAAC,YAAY,EAAE,cAAS,CAAC,IAAI,CAAC,CAAC,CAAC,uCAAuC;YACnF,OAAO,YAAY,CAAC;SACrB;QAAC,MAAM,GAAE;KACX;IAED,MAAM,GAAG,GAAG,iBAAO,CAAC,GAAG,EAAE,CAAC;IAC1B,MAAM,YAAY,GAAG,IAAA,WAAI,EAAC,GAAG,EAAE,YAAY,CAAC,CAAC;IAC7C,IAAI;QACF,MAAM,IAAA,iBAAM,EAAC,YAAY,EAAE,cAAS,CAAC,IAAI,CAAC,CAAC;QAC3C,OAAO,YAAY,CAAC;KACrB;IAAC,MAAM,GAAE;IAEV,MAAM,IAAI,KAAK,CAAC,mBAAmB,YAAY,0EAA0E,GAAG,GAAG,CAAC,CAAC;AACnI,CAAC;AAlBD,4BAkBC"} \ No newline at end of file +{"version":3,"file":"internal-utils.js","sourceRoot":"","sources":["../src/internal-utils.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sDAA8B;AAC9B,+BAAmC;AACnC,2BAAuC;AACvC,0CAAmC;AACnC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EAA0E,GAAG,GAAG,CAAC,CAAC;AACnI,CAAC;AAlBD,4BAkBC"} \ No newline at end of file diff --git a/packages/js/dist/record/index.js b/packages/js/dist/record/index.js index 29d382e6..3139442b 100644 --- a/packages/js/dist/record/index.js +++ b/packages/js/dist/record/index.js @@ -1,7 +1,11 @@ "use strict"; var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { if (k2 === undefined) k2 = k; - Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); }) : (function(o, m, k, k2) { if (k2 === undefined) k2 = k; o[k2] = m[k]; diff --git a/packages/js/dist/record/index.js.map b/packages/js/dist/record/index.js.map index ef9cd978..ded6976c 100644 --- a/packages/js/dist/record/index.js.map +++ b/packages/js/dist/record/index.js.map @@ -1 +1 @@ -{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/record/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,0CAAwB;AACxB,4CAA0B"} \ No newline at end of file +{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/record/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAwB;AACxB,4CAA0B"} \ No newline at end of file diff --git a/packages/js/dist/record/types.d.ts b/packages/js/dist/record/types.d.ts index 226eec52..b4a63fc8 100644 --- a/packages/js/dist/record/types.d.ts +++ b/packages/js/dist/record/types.d.ts @@ -39,7 +39,7 @@ export interface Data { value: string; }; } -export declare type StateRecord = Data | Account | AccessKey | Contract; +export type StateRecord = Data | Account | AccessKey | Contract; export interface Records { records: StateRecord[]; } diff --git a/packages/js/dist/record/types.d.ts.map b/packages/js/dist/record/types.d.ts.map index c798ff3f..520042be 100644 --- a/packages/js/dist/record/types.d.ts.map +++ b/packages/js/dist/record/types.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/record/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,0BAA0B,EAAC,MAAM,UAAU,CAAC;AAEpD,MAAM,WAAW,OAAO;IACtB,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,aAAa,CAAC;CAC3B;AAED,MAAM,WAAW,aAAa;IAC5B,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,YAAY,GAAG,0BAA0B,CAAC;CACvD;AAED,MAAM,WAAW,SAAS;IACxB,SAAS,EAAE;QACT,UAAU,EAAE,MAAM,CAAC;KACpB,GAAG,OAAO,CAAC;CACb;AAED,MAAM,WAAW,WAAW;IAC1B,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;IAClB,aAAa,EAAE,MAAM,CAAC;IACtB,OAAO,EAAE,IAAI,CAAC;CACf;AAED,MAAM,WAAW,OAAO;IACtB,OAAO,EAAE;QACP,UAAU,EAAE,MAAM,CAAC;QACnB,OAAO,EAAE,WAAW,CAAC;KACtB,CAAC;CACH;AAED,MAAM,WAAW,QAAQ;IACvB,QAAQ,EAAE;QACR,UAAU,EAAE,MAAM,CAAC;QACnB,qBAAqB;QACrB,IAAI,EAAE,MAAM,CAAC;KACd,CAAC;CACH;AAGD,MAAM,WAAW,IAAI;IACnB,IAAI,EAAE;QAAC,UAAU,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAC,CAAC;CAC7D;AAED,oBAAY,WAAW,GAAG,IAAI,GAAG,OAAO,GAAG,SAAS,GAAG,QAAQ,CAAC;AAEhE,MAAM,WAAW,OAAO;IACtB,OAAO,EAAE,WAAW,EAAE,CAAC;CACxB;AAED;;;;;;;;;;;;;;;GAeG"} \ No newline at end of file +{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/record/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,0BAA0B,EAAC,MAAM,UAAU,CAAC;AAEpD,MAAM,WAAW,OAAO;IACtB,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,aAAa,CAAC;CAC3B;AAED,MAAM,WAAW,aAAa;IAC5B,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,YAAY,GAAG,0BAA0B,CAAC;CACvD;AAED,MAAM,WAAW,SAAS;IACxB,SAAS,EAAE;QACT,UAAU,EAAE,MAAM,CAAC;KACpB,GAAG,OAAO,CAAC;CACb;AAED,MAAM,WAAW,WAAW;IAC1B,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;IAClB,aAAa,EAAE,MAAM,CAAC;IACtB,OAAO,EAAE,IAAI,CAAC;CACf;AAED,MAAM,WAAW,OAAO;IACtB,OAAO,EAAE;QACP,UAAU,EAAE,MAAM,CAAC;QACnB,OAAO,EAAE,WAAW,CAAC;KACtB,CAAC;CACH;AAED,MAAM,WAAW,QAAQ;IACvB,QAAQ,EAAE;QACR,UAAU,EAAE,MAAM,CAAC;QACnB,qBAAqB;QACrB,IAAI,EAAE,MAAM,CAAC;KACd,CAAC;CACH;AAGD,MAAM,WAAW,IAAI;IACnB,IAAI,EAAE;QAAC,UAAU,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAC,CAAC;CAC7D;AAED,MAAM,MAAM,WAAW,GAAG,IAAI,GAAG,OAAO,GAAG,SAAS,GAAG,QAAQ,CAAC;AAEhE,MAAM,WAAW,OAAO;IACtB,OAAO,EAAE,WAAW,EAAE,CAAC;CACxB;AAED;;;;;;;;;;;;;;;GAeG"} \ No newline at end of file diff --git a/packages/js/dist/server/index.js b/packages/js/dist/server/index.js index 7233d099..09c9c28d 100644 --- a/packages/js/dist/server/index.js +++ b/packages/js/dist/server/index.js @@ -1,7 +1,11 @@ "use strict"; var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { if (k2 === undefined) k2 = k; - Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); }) : (function(o, m, k, k2) { if (k2 === undefined) k2 = k; o[k2] = m[k]; diff --git a/packages/js/dist/server/index.js.map b/packages/js/dist/server/index.js.map index f95352b7..d580dada 100644 --- a/packages/js/dist/server/index.js.map +++ b/packages/js/dist/server/index.js.map @@ -1 +1 @@ -{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/server/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAAyB"} \ No newline at end of file +{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/server/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAAyB"} \ No newline at end of file diff --git a/packages/js/dist/server/server.js b/packages/js/dist/server/server.js index b33fef00..c09a2a6c 100644 --- a/packages/js/dist/server/server.js +++ b/packages/js/dist/server/server.js @@ -1,7 +1,11 @@ "use strict"; var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { if (k2 === undefined) k2 = k; - Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); }) : (function(o, m, k, k2) { if (k2 === undefined) k2 = k; o[k2] = m[k]; diff --git a/packages/js/dist/server/server.js.map b/packages/js/dist/server/server.js.map index 712235f5..6de93a12 100644 --- a/packages/js/dist/server/server.js.map +++ b/packages/js/dist/server/server.js.map @@ -1 +1 @@ -{"version":3,"file":"server.js","sourceRoot":"","sources":["../../src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AAA,sBAAK,EAAC,oBAAoB,IAAI,CAAC,IAAI,iBAAiB,CAAC,CAAC;aACvD;QACH,CAAC,CAAC,CAAC;QACH,MAAM,cAAc,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QAChC,OAAO,IAAI,CAAC;IACd,CAAC;IAED,KAAK,CAAC,KAAK;;QACT,IAAA,sBAAK,EAAC,iCAAiC,CAAC,CAAC;QACzC,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC;QACvB,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE;YACnC,OAAO,CAAC,KAAK,CACX,0CAA0C,MAAA,IAAI,CAAC,UAAU,CAAC,GAAG,mCAAI,WAAW,EAAE,CAC/E,CAAC;SACH;QAED,IAAI,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE;YAClB,MAAM,IAAA,mBAAE,EAAC,IAAI,CAAC,OAAO,CAAC,CAAC;SACxB;IACH,CAAC;IAEO,KAAK,CAAC,KAAK,CAAC,OAAe;QACjC,IAAA,sBAAK,EAAC,iCAAiC,CAAC,CAAC;QACzC,OAAO,IAAA,2BAAU,EAAC,aAAa,CAAC,OAAO,EAAE,QAAQ,EAAE,IAAI,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;IAC5E,CAAC;;AAnHH,sCAoHC;AAnHgB,sBAAQ,GAAW,WAAW,EAAE,CAAC"} \ No newline at end of file diff --git a/packages/js/dist/transaction-result.d.ts b/packages/js/dist/transaction-result.d.ts index 36c4b2d5..ddc62f2a 100644 --- a/packages/js/dist/transaction-result.d.ts +++ b/packages/js/dist/transaction-result.d.ts @@ -62,5 +62,5 @@ export declare class TransactionError extends Error { constructor(result: TransactionResult); parse(): ExecutionOutcome; } -export declare type TxResult = TransactionResult; +export type TxResult = TransactionResult; //# sourceMappingURL=transaction-result.d.ts.map \ No newline at end of file diff --git a/packages/js/dist/transaction-result.d.ts.map b/packages/js/dist/transaction-result.d.ts.map index 02bf35ea..88e97788 100644 --- a/packages/js/dist/transaction-result.d.ts.map +++ b/packages/js/dist/transaction-result.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"transaction-result.d.ts","sourceRoot":"","sources":["../src/transaction-result.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,GAAG,EAAC,MAAM,YAAY,CAAC;AAC/B,OAAO,EACL,MAAM,EACN,YAAY,EACZ,cAAc,EACd,gBAAgB,EAChB,sBAAsB,EACtB,eAAe,EACf,oBAAoB,EACpB,qBAAqB,EACrB,oBAAoB,EACpB,yBAAyB,EACzB,SAAS,EACV,MAAM,SAAS,CAAC;AAmBjB,qBAAa,cAAc;IACN,OAAO,EAAE,gBAAgB;gBAAzB,OAAO,EAAE,gBAAgB;IAE5C,IAAI,QAAQ,IAAI,KAAK,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAE7C;IAED,IAAI,MAAM,IAAI,eAAe,GAAG,oBAAoB,CAEnD;IAED,IAAI,SAAS,IAAI,OAAO,CAMvB;IAED,IAAI,SAAS,IAAI,OAAO,CAMvB;IAED,IAAI,eAAe,IAAI,eAAe,CAErC;IAED,WAAW,IAAI,GAAG;IAQlB,IAAI,YAAY,IAAI,MAAM,GAAG,SAAS,CAMrC;IAED,IAAI,gBAAgB,IAAI,cAAc,GAAG,SAAS,CAMjD;IAED,IAAI,cAAc,IAAI,MAAM,GAAG,SAAS,CAEvC;IAED,IAAI,WAAW,IAAI,MAAM,GAAG,SAAS,CAEpC;IAED,IAAI,IAAI,IAAI,MAAM,EAAE,CAEnB;IAED,IAAI,SAAS,IAAI,GAAG,CAEnB;CACF;AAED,qBAAa,iBAAiB;aAEV,MAAM,EAAE,qBAAqB;aAC7B,OAAO,EAAE,MAAM;aACf,KAAK,EAAE,MAAM;IAC7B,OAAO,CAAC,QAAQ,CAAC,MAAM;gBAHP,MAAM,EAAE,qBAAqB,EAC7B,OAAO,EAAE,MAAM,EACf,KAAK,EAAE,MAAM,EACZ,MAAM,EAAE,YAAY;IA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AAE,MAAM,EAAE,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,SAAS,CAAC;IACtB,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;CACnB;AAMD,qBAAa,gBAAiB,SAAQ,KAAK;gBAC7B,MAAM,EAAE,iBAAiB;IAIrC,KAAK,IAAI,gBAAgB;CAG1B;AAED,oBAAY,QAAQ,GAAG,iBAAiB,CAAC"} \ No newline at end of file +{"version":3,"file":"transaction-result.d.ts","sourceRoot":"","sources":["../src/transaction-result.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,GAAG,EAAC,MAAM,YAAY,CAAC;AAC/B,OAAO,EACL,MAAM,EACN,YAAY,EACZ,cAAc,EACd,gBAAgB,EAChB,sBAAsB,EACtB,eAAe,EACf,oBAAoB,EACpB,qBAAqB,EACrB,oBAAoB,EACpB,yBAAyB,EACzB,SAAS,EACV,MAAM,SAAS,CAAC;AAmBjB,qBAAa,cAAc;IACN,OAAO,EAAE,gBAAgB;gBAAzB,OAAO,EAAE,gBAAgB;IAE5C,IAAI,QAAQ,IAAI,KAAK,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAE7C;IAED,IAAI,MAAM,IAAI,eAAe,GAAG,oBAAoB,CAEnD;IAED,IAAI,SAAS,IAAI,OAAO,CAMvB;IAED,IAAI,SAAS,IAAI,OAAO,CAMvB;IAED,IAAI,eAAe,IAAI,eAAe,CAErC;IAED,WAAW,IAAI,GAAG;IAQlB,IAAI,YAAY,IAAI,MAAM,GAAG,SAAS,CAMrC;IAED,IAAI,gBAAgB,IAAI,cAAc,GAAG,SAAS,CAMjD;IAED,IAAI,cAAc,IAAI,MAAM,GAAG,SAAS,CAEvC;IAED,IAAI,WAAW,IAAI,MAAM,GAAG,SAAS,CAEpC;IAED,IAAI,IAAI,IAAI,MAAM,EAAE,CA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AED,IAAI,sBAAsB,IAAI,MAAM,EAAE,CAErC;IAED,IAAI,SAAS,IAAI,GAAG,CAGnB;IAED,6BAA6B,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO;IAIhE,WAAW,CAAC,CAAC,KAAK,CAAC;IAQnB,oBAAoB,IAAI,GAAG,EAAE;IAI7B,OAAO,IAAI,MAAM;CAGlB;AAED,MAAM,WAAW,kBAAkB;IACjC,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,SAAS,CAAC;IACtB,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;CACnB;AAMD,qBAAa,gBAAiB,SAAQ,KAAK;gBAC7B,MAAM,EAAE,iBAAiB;IAIrC,KAAK,IAAI,gBAAgB;CAG1B;AAED,MAAM,MAAM,QAAQ,GAAG,iBAAiB,CAAC"} \ No newline at end of file diff --git a/packages/js/dist/transaction.d.ts b/packages/js/dist/transaction.d.ts index 0a0cef86..38a789f4 100644 --- a/packages/js/dist/transaction.d.ts +++ b/packages/js/dist/transaction.d.ts @@ -1,4 +1,5 @@ /// +/// import { Buffer } from 'buffer'; import { URL } from 'url'; import { NEAR } from 'near-units'; diff --git a/packages/js/dist/transaction.d.ts.map b/packages/js/dist/transaction.d.ts.map index 64facd6c..772217b9 100644 --- a/packages/js/dist/transaction.d.ts.map +++ b/packages/js/dist/transaction.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"transaction.d.ts","sourceRoot":"","sources":["../src/transaction.ts"],"names":[],"mappings":";AAAA,OAAO,EAAC,MAAM,EAAC,MAAM,QAAQ,CAAC;AAE9B,OAAO,EAAC,GAAG,EAAC,MAAM,KAAK,CAAC;AACxB,OAAO,EAAC,IAAI,EAAC,MAAM,YAAY,CAAC;AAChC,OAAO,EAAC,iBAAiB,EAAC,MAAM,sB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,IAAI,EAAE,UAAU,GAAG,MAAM,GAAG,IAAI;IAK/C,YAAY,CACV,UAAU,EAAE,MAAM,EAClB,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,UAAU,EAC1C,EAEE,GAA+B,EAC/B,eAA4B,GAC7B,GAAE;QAAC,GAAG,CAAC,EAAE,EAAE,GAAG,MAAM,CAAC;QAAC,eAAe,CAAC,EAAE,EAAE,GAAG,MAAM,CAAA;KAAM,GACzD,IAAI;IAOP,KAAK,CAAC,MAAM,EAAE,EAAE,GAAG,MAAM,EAAE,SAAS,EAAE,SAAS,GAAG,MAAM,GAAG,IAAI;IAK/D,QAAQ,CAAC,MAAM,EAAE,MAAM,GAAG,EAAE,GAAG,IAAI;IAMnC,IAAI,cAAc,IAAI,OAAO,CAE5B;IAED,IAAI,cAAc,IAAI,IAAI,CAEzB;IAED,QAAQ,CAAC,QAAQ,CAAC,OAAO,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC,iBAAiB,CAAC;CACjE"} \ No newline at end of file diff --git a/packages/js/dist/transaction.js b/packages/js/dist/transaction.js index cd637814..77e595c3 100644 --- a/packages/js/dist/transaction.js +++ b/packages/js/dist/transaction.js @@ -1,7 +1,11 @@ "use strict"; var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { if (k2 === undefined) k2 = k; - Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); }) : (function(o, m, k, k2) { if (k2 === undefined) k2 = k; o[k2] = m[k]; diff --git a/packages/js/dist/transaction.js.map b/packages/js/dist/transaction.js.map index 9d646493..93540a24 100644 --- a/packages/js/dist/transaction.js.map +++ b/packages/js/dist/transaction.js.map @@ -1 +1 @@ -{"version":3,"file":"transaction.js","sourceRoot":"","sources":["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AAI,UAAE,CAAC,MAAM,CAAC,EAAE,iBAAS,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC;QACpE,OAAO,IAAI,CAAC;IACd,CAAC;IAED,QAAQ,CAAC,MAAmB;QAC1B,IAAI,CAAC,eAAe,GAAG,IAAA,iBAAS,EAAC,MAAM,CAAC,CAAC;QACzC,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAA,gBAAQ,EAAC,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC;QAClD,OAAO,IAAI,CAAC;IACd,CAAC;IAED,IAAI,cAAc;QAChB,OAAO,IAAI,CAAC,kBAAkB,CAAC;IACjC,CAAC;IAED,IAAI,cAAc;;QAChB,OAAO,MAAA,IAAI,CAAC,eAAe,mCAAI,iBAAI,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;IAChD,CAAC;CAGF;AAvFD,kCAuFC"} \ No newline at end of file diff --git a/packages/js/dist/types.d.ts b/packages/js/dist/types.d.ts index 34bb3ed8..40f9cac4 100644 --- a/packages/js/dist/types.d.ts +++ b/packages/js/dist/types.d.ts @@ -16,7 +16,7 @@ export { DEFAULT_FUNCTION_CALL_GAS } from 'near-api-js/lib/constants'; export declare class BN extends _BN { toJSON(): string; } -export declare type Args = Record | Uint8Array; +export type Args = Record | Uint8Array; export interface NamedAccount { accountId: string; } @@ -25,14 +25,14 @@ export interface CallOptions { attachedDeposit?: string | BN; signWithKey?: KeyPair; } -export declare type ChildProcessPromise = Promise>; +export type ChildProcessPromise = Promise>; export interface AccountBalance { total: NEAR; stateStaked: NEAR; staked: NEAR; available: NEAR; } -export declare type Network = 'testnet' | 'mainnet' | 'sandbox'; +export type Network = 'testnet' | 'mainnet' | 'sandbox'; export interface ClientConfig { network: Network; rootAccountId?: string; @@ -58,5 +58,5 @@ export interface StateItem { value: string; proof: string[]; } -export declare type Empty = {}; +export type Empty = {}; //# sourceMappingURL=types.d.ts.map \ No newline at end of file diff --git a/packages/js/dist/types.d.ts.map b/packages/js/dist/types.d.ts.map index acc14a9c..30491e9f 100644 --- a/packages/js/dist/types.d.ts.map +++ b/packages/js/dist/types.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":";AAAA,OAAO,EAAC,YAAY,EAAC,MAAM,eAAe,CAAC;AAC3C,OAAO,GAAG,MAAM,OAAO,CAAC;AACxB,OAAO,EAAC,OAAO,EAAC,MAAM,aAAa,CAAC;AACpC,OAAO,EAAC,MAAM,EAAC,MAAM,yBAAyB,CAAC;AAC/C,OAAO,EAAC,IAAI,EAAC,MAAM,YAAY,CAAC;AAChC,OAAO,EAAC,QAAQ,EAAC,MAAM,4BAA4B,CAAC;AAEpD,OAAO,EAAC,WAAW,EAAC,MAAM,kCAAkC,CAAC;AAC7D,OAAO,EAAC,OAAO,EAAE,UAAU,EAAC,MAAM,aAAa,CAAC;AAChD,OAAO,EAAC,SAAS,EAAE,cAAc,EAAC,MAAM,uBAAuB,CAAC;AAChE,OAAO,EACL,MAAM,EACN,aAAa,EACb,cAAc,EACd,YAAY,EACZ,QAAQ,EACR,KAAK,EACL,MAAM,EACN,SAAS,EACT,aAAa,EACb,aAAa,EACb,SAAS,GACV,MAAM,6BAA6B,CAAC;AAErC,OAAO,EAAC,eAAe,IAAI,OAAO,EAAC,MAAM,6CAA6C,CAAC;AACvF,OAAO,EAAC,QAAQ,EAAC,MAAM,4BAA4B,CAAC;AACpD,cAAc,oCAAoC,CAAC;AAEnD,OAAO,EAAC,yBAAyB,EAAC,MAAM,2BAA2B,CAAC;AAEpE,qBAAa,EAAG,SAAQ,GAAG;IACzB,MAAM,IAAI,MAAM;CAGjB;AAED,oBAAY,IAAI,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,UAAU,CAAC;AAEpD,MAAM,WAAW,YAAY;IAC3B,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,WAAW;IAC1B,GAAG,CAAC,EAA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AO,CAAC;CACvB;AAED,MAAM,MAAM,mBAAmB,GAAG,OAAO,CAAC,YAAY,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC;AAE1E,MAAM,WAAW,cAAc;IAC7B,KAAK,EAAE,IAAI,CAAC;IACZ,WAAW,EAAE,IAAI,CAAC;IAClB,MAAM,EAAE,IAAI,CAAC;IACb,SAAS,EAAE,IAAI,CAAC;CACjB;AAED,MAAM,MAAM,OAAO,GAAG,SAAS,GAAG,SAAS,GAAG,SAAS,CAAC;AAExD,MAAM,WAAW,YAAY;IAC3B,OAAO,EAAE,OAAO,CAAC;IACjB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,MAAO,SAAQ,YAAY;IAC1C,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,EAAE,EAAE,OAAO,CAAC;IACZ,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,QAAQ,CAAC,EAAE,QAAQ,CAAC;CACrB;AAED,eAAO,MAAM,gBAAgB,0CAA0C,CAAC;AACxE,eAAO,MAAM,gBAAgB,0CAA0C,CAAC;AAExE,MAAM,WAAW,SAAS;IACxB,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,EAAE,CAAC;CACjB;AAED,MAAM,MAAM,KAAK,GAAG,EAAE,CAAC"} \ No newline at end of file diff --git a/packages/js/dist/types.js b/packages/js/dist/types.js index 578a38ef..5b47ab93 100644 --- a/packages/js/dist/types.js +++ b/packages/js/dist/types.js @@ -1,7 +1,11 @@ "use strict"; var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { if (k2 === undefined) k2 = k; - Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); }) : (function(o, m, k, k2) { if (k2 === undefined) k2 = k; o[k2] = m[k]; diff --git a/packages/js/dist/types.js.map b/packages/js/dist/types.js.map index c3ba4fc8..b32f6e0d 100644 --- a/packages/js/dist/types.js.map +++ b/packages/js/dist/types.js.map @@ -1 +1 @@ -{"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AACA,kDAAwB;AAMxB,+DAA6D;AAArD,yGAAA,WAAW,OAAA;AACnB,2CAAgD;AAAxC,sGAAA,OAAO,OAAA;AAAE,yGAAA,UAAU,OAAA;AAC3B,+CAAgE;AAAxD,kGAAA,SAAS,OAAA;AAAE,uGAAA,cAAc,OAAA;AACjC,2DAYqC;AAXnC,qGAAA,MAAM,OAAA;AACN,4GAAA,aAAa,OAAA;AACb,6GAAA,cAAc,OAAA;AACd,2GAAA,YAAY,OAAA;AACZ,uGAAA,QAAQ,OAAA;AACR,oGAAA,KAAK,OAAA;AACL,qGAAA,MAAM,OAAA;AACN,wGAAA,SAAS,OAAA;AACT,4GAAA,aAAa,OAAA;AACb,4GAAA,aAAa,OAAA;AACb,wGAAA,SAAS,OAAA;AAGX,iFAAuF;AAA/E,4GAAA,eAAe,OAAW;AAClC,yDAAoD;AAA5C,sGAAA,QAAQ,OAAA;AAChB,qEAAmD;AAEnD,uDAAoE;AAA5D,sHAAA,yBAAyB,OAAA;AAEjC,MAAa,EAAG,SAAQ,eAAG;IACzB,MAAM;QACJ,OAAO,IAAI,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC;IAC3B,CAAC;CACF;AAJD,gBAIC;AA6CY,QAAA,gBAAgB,GAAG,uCAAuC,CAAC;AAC3D,QAAA,gBAAgB,GAAG,uCAAuC,CAAC"} \ No newline at end of file +{"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;AACA,kDAAwB;AAMxB,+DAA6D;AAArD,yGAAA,WAAW,OAAA;AACnB,2CAAgD;AAAxC,sGAAA,OAAO,OAAA;AAAE,yGAAA,UAAU,OAAA;AAC3B,+CAAgE;AAAxD,kGAAA,SAAS,OAAA;AAAE,uGAAA,cAAc,OAAA;AACjC,2DAYqC;AAXnC,qGAAA,MAAM,OAAA;AACN,4GAAA,aAAa,OAAA;AACb,6GAAA,cAAc,OAAA;AACd,2GAAA,YAAY,OAAA;AACZ,uGAAA,QAAQ,OAAA;AACR,oGAAA,KAAK,OAAA;AACL,qGAAA,MAAM,OAAA;AACN,wGAAA,SAAS,OAAA;AACT,4GAAA,aAAa,OAAA;AACb,4GAAA,aAAa,OAAA;AACb,wGAAA,SAAS,OAAA;AAGX,iFAAuF;AAA/E,4GAAA,eAAe,OAAW;AAClC,yDAAoD;AAA5C,sGAAA,QAAQ,OAAA;AAChB,qEAAmD;AAEnD,uDAAoE;AAA5D,sHAAA,yBAAyB,OAAA;AAEjC,MAAa,EAAG,SAAQ,eAAG;IACzB,MAAM;QACJ,OAAO,IAAI,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC;IAC3B,CAAC;CACF;AAJD,gBAIC;AA6CY,QAAA,gBAAgB,GAAG,uCAAuC,CAAC;AAC3D,QAAA,gBAAgB,GAAG,uCAAuC,CAAC"} \ No newline at end of file diff --git a/packages/js/dist/utils.js b/packages/js/dist/utils.js index e0b48ab0..2fdba77e 100644 --- a/packages/js/dist/utils.js +++ b/packages/js/dist/utils.js @@ -1,7 +1,11 @@ "use strict"; var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { if (k2 === undefined) k2 = k; - Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); }) : (function(o, m, k, k2) { if (k2 === undefined) k2 = k; o[k2] = m[k]; diff --git a/packages/js/dist/utils.js.map b/packages/js/dist/utils.js.map index 06fd15f1..5ab2e1a4 100644 --- a/packages/js/dist/utils.js.map +++ b/packages/js/dist/utils.js.map @@ -1 +1 @@ -{"version":3,"file":"utils.js","sourceRoot":"","sources":["../src/utils.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,mCAA8B;AAC9B,iDAAmC;AACnC,uCAAyB;AACzB,2CAA6B;AAC7B,qDAAuC;AACvC,0DAA+B;AAC/B,gDAAwB;AACxB,2CAAqC;AAGxB,QAAA,QAAQ,GAAG,iBAAI,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;AAEzC,SAAgB,OAAO,CAAC,MAAc;IACpC,OAAO,iBAAI,CAAC,KAAK,CAAC,GAAG,MAAM,GAAG,CAAC,CAAC,QAAQ,EAAE,CAAC;AAC7C,CAAC;AAFD,0BAEC;AAED,SAAgB,aAAa;IAC3B,OAAO,OAAO,CAAC,KAAK,CAAC,cAAc,CAAC,UAAU,EAAE,CAAC;AACnD,CAAC;AAFD,sCAEC;AAED,SAAgB,IAAI,CAAC,CAAkB;IACrC,IAAI,OAAO,CAAC,KAAK,QAAQ,IAAI,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,EAAE;QACjE,MAAM,IAAI,SAAS,CACjB,uDAAuD,CAAC,EAAE,CAC3D,CAAC;KACH;IAED,OAAO,MAAM,CAAC,CAAC,CAAC,GAAG,GAAG,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;AACpC,CAAC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L;AACH,CAAC;AAdD,8CAcC;AAED,SAAgB,YAAY;IAC1B,OAAO,IAAI,OAAO,CAAC,SAAS,CAAC,6BAA6B,CACxD,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,OAAO,EAAE,EAAE,mBAAmB,CAAC,CAC7C,CAAC;AACJ,CAAC;AAJD,oCAIC;AAED,SAAgB,UAAU,CAAC,MAAc,EAAE,MAAM,GAAG,CAAC;IACnD,OAAO,GAAG,MAAM,GAAG,IAAI,CAAC,GAAG,EAAE,GAAG,CAAC,EAAE,IAAI,MAAM,CAAC,EAAE,CAAC;AACnD,CAAC;AAFD,gCAEC;AAED,MAAM,uBAAuB,GAAG,QAAQ,CAAC;AAEzC,SAAgB,QAAQ,CAAC,CAAc;IACrC,IAAI,OAAO,CAAC,KAAK,QAAQ,IAAI,uBAAuB,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE;QAC5D,OAAO,gBAAG,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;KACrB;IAED,OAAO,gBAAG,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AACrB,CAAC;AAND,4BAMC;AAED,4FAA4F;AAC5F,cAAc;AACd,SAAgB,SAAS,CAAC,CAAc;IACtC,IAAI,OAAO,CAAC,KAAK,QAAQ,IAAI,uBAAuB,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE;QAC5D,OAAO,iBAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;KACtB;IAED,OAAO,iBAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AACtB,CAAC;AAND,8BAMC"} \ No newline at end of file diff --git a/packages/js/package.json b/packages/js/package.json index 0a2fc11f..f5fdaa5b 100644 --- a/packages/js/package.json +++ b/packages/js/package.json @@ -23,7 +23,7 @@ "fs-extra": "^10.0.0", "js-sha256": "^0.9.0", "near-api-js": "^v2.1.4", - "near-sandbox": "^0.0.15", + "near-sandbox": "^0.0.17", "near-units": "^0.1.9", "node-port-check": "^2.0.1", "promisify-child-process": "^4.1.1", diff --git a/yarn.lock b/yarn.lock index c769737e..1a685765 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5507,10 +5507,10 @@ near-api-js@^v2.1.4: node-fetch "^2.6.1" tweetnacl "^1.0.1" -near-sandbox@^0.0.15: - version "0.0.15" - resolved "https://registry.yarnpkg.com/near-sandbox/-/near-sandbox-0.0.15.tgz#6dc267b3437968bda84392a1443a98e54cb9f474" - integrity sha512-scFdPDoT8G0GteHJID8KLZQNGtg7zpjBnRZUZTjXVO8atKzHYw8iawpc+ekylErn5bbWG49Tv4KySBUv4chIRA== +near-sandbox@^0.0.17: + version "0.0.17" + resolved "https://registry.yarnpkg.com/near-sandbox/-/near-sandbox-0.0.17.tgz#cb65edb91d0fab7a21a71f62c93f40ca04ce7252" + integrity sha512-bL0We378hFZ0/xHAKP5mAWKS5OjzU6+VuvMlXpMwyFAwG2s5NwOnzRTezvYYwQNtG3iU+xvQ6jWvp7UO1STGLQ== dependencies: got "^11.8.2" tar "^6.1.0" @@ -7400,7 +7400,7 @@ typescript@>=4.3: resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.3.2.tgz#00d1c7c1c46928c5845c1ee8d0cc2791031d4c43" integrity sha512-6l+RyNy7oAHDfxC4FzSJcz9vnjTKxrLpDG5M2Vu4SHRVNg6xzqZp6LYSR9zjqQTu8DU/f5xwxUdADOkbrIX2gQ== -"typescript@^3 || ^4", typescript@^4.3.5, typescript@^4.6.X: +"typescript@^3 || ^4", typescript@^4.3.5, typescript@^4.6: version "4.9.5" resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.9.5.tgz#095979f9bcc0d09da324d58d03ce8f8374cbe65a" integrity sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g==