@paraspell/sdk-pjs 14.2.1 → 14.3.0
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/index.mjs +3 -6
- package/package.json +6 -6
package/dist/index.mjs
CHANGED
|
@@ -454,7 +454,9 @@ var clientPool = createClientCache(MAX_CLIENTS, /*#__PURE__*/function () {
|
|
|
454
454
|
return _ref.apply(this, arguments);
|
|
455
455
|
};
|
|
456
456
|
}(), function (_key, entry) {
|
|
457
|
-
|
|
457
|
+
entry.client.disconnect()["catch"](function () {
|
|
458
|
+
/* ignore */
|
|
459
|
+
});
|
|
458
460
|
}, EXTENSION_MS);
|
|
459
461
|
var createPolkadotJsClient = /*#__PURE__*/function () {
|
|
460
462
|
var _ref2 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee2(ws) {
|
|
@@ -661,11 +663,6 @@ var PolkadotJsApi = /*#__PURE__*/function (_PolkadotApi) {
|
|
|
661
663
|
}
|
|
662
664
|
return getPaymentInfo;
|
|
663
665
|
}()
|
|
664
|
-
}, {
|
|
665
|
-
key: "getEvmStorage",
|
|
666
|
-
value: function getEvmStorage(contract, slot) {
|
|
667
|
-
return Promise.resolve(this.api.query.evm.accountStorages.key(contract, slot));
|
|
668
|
-
}
|
|
669
666
|
}, {
|
|
670
667
|
key: "getMethod",
|
|
671
668
|
value: function getMethod(tx) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@paraspell/sdk-pjs",
|
|
3
|
-
"version": "14.
|
|
3
|
+
"version": "14.3.0",
|
|
4
4
|
"description": "Polkadot.js based SDK for ParaSpell XCM/XCMP tool for developers",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -22,8 +22,8 @@
|
|
|
22
22
|
"dist"
|
|
23
23
|
],
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@paraspell/sdk-common": "14.
|
|
26
|
-
"@paraspell/sdk-core": "14.
|
|
25
|
+
"@paraspell/sdk-common": "14.3.0",
|
|
26
|
+
"@paraspell/sdk-core": "14.3.0"
|
|
27
27
|
},
|
|
28
28
|
"peerDependencies": {
|
|
29
29
|
"@polkadot/api": ">= 16.0 < 17",
|
|
@@ -38,10 +38,10 @@
|
|
|
38
38
|
"@rollup/plugin-babel": "^7.1.0",
|
|
39
39
|
"@rollup/plugin-json": "^6.1.0",
|
|
40
40
|
"@rollup/plugin-typescript": "^12.3.0",
|
|
41
|
-
"@vitest/coverage-v8": "^4.1.
|
|
41
|
+
"@vitest/coverage-v8": "^4.1.11",
|
|
42
42
|
"dotenv": "^17.4.2",
|
|
43
|
-
"rollup": "^4.62.
|
|
44
|
-
"rollup-plugin-dts": "^6.
|
|
43
|
+
"rollup": "^4.62.5",
|
|
44
|
+
"rollup-plugin-dts": "^6.5.1"
|
|
45
45
|
},
|
|
46
46
|
"scripts": {
|
|
47
47
|
"compile": "tsc --noEmit",
|