@paraspell/sdk-dedot 14.2.2 → 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 +5 -12
- package/package.json +6 -6
package/dist/index.mjs
CHANGED
|
@@ -500,9 +500,7 @@ var _transform = function transform(obj) {
|
|
|
500
500
|
return {
|
|
501
501
|
type: key,
|
|
502
502
|
value: {
|
|
503
|
-
network:
|
|
504
|
-
type: "Any"
|
|
505
|
-
} : undefined,
|
|
503
|
+
network: undefined,
|
|
506
504
|
id: value.id
|
|
507
505
|
}
|
|
508
506
|
};
|
|
@@ -549,9 +547,7 @@ var _transform = function transform(obj) {
|
|
|
549
547
|
return {
|
|
550
548
|
type: key,
|
|
551
549
|
value: {
|
|
552
|
-
network:
|
|
553
|
-
type: "Any"
|
|
554
|
-
} : undefined,
|
|
550
|
+
network: undefined,
|
|
555
551
|
key: value.key
|
|
556
552
|
}
|
|
557
553
|
};
|
|
@@ -688,7 +684,9 @@ var clientPool = createClientCache(MAX_CLIENTS, /*#__PURE__*/function () {
|
|
|
688
684
|
return _ref.apply(this, arguments);
|
|
689
685
|
};
|
|
690
686
|
}(), function (_key, entry) {
|
|
691
|
-
|
|
687
|
+
entry.client.disconnect()["catch"](function () {
|
|
688
|
+
/* ignore */
|
|
689
|
+
});
|
|
692
690
|
}, EXTENSION_MS);
|
|
693
691
|
var createDedotClient = /*#__PURE__*/function () {
|
|
694
692
|
var _ref2 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee2(ws) {
|
|
@@ -874,11 +872,6 @@ var DedotApi = /*#__PURE__*/function (_PolkadotApi) {
|
|
|
874
872
|
}
|
|
875
873
|
return getPaymentInfo;
|
|
876
874
|
}()
|
|
877
|
-
}, {
|
|
878
|
-
key: "getEvmStorage",
|
|
879
|
-
value: function getEvmStorage(contract, slot) {
|
|
880
|
-
return this.api.query.evm.accountStorages(contract, slot);
|
|
881
|
-
}
|
|
882
875
|
}, {
|
|
883
876
|
key: "getMethod",
|
|
884
877
|
value: function getMethod(tx) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@paraspell/sdk-dedot",
|
|
3
|
-
"version": "14.
|
|
3
|
+
"version": "14.3.0",
|
|
4
4
|
"description": "Dedot-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-
|
|
26
|
-
"@paraspell/sdk-
|
|
25
|
+
"@paraspell/sdk-common": "14.3.0",
|
|
26
|
+
"@paraspell/sdk-core": "14.3.0"
|
|
27
27
|
},
|
|
28
28
|
"peerDependencies": {
|
|
29
29
|
"dedot": ">= 1.3.0",
|
|
@@ -36,10 +36,10 @@
|
|
|
36
36
|
"@rollup/plugin-babel": "^7.1.0",
|
|
37
37
|
"@rollup/plugin-json": "^6.1.0",
|
|
38
38
|
"@rollup/plugin-typescript": "^12.3.0",
|
|
39
|
-
"@vitest/coverage-v8": "^4.1.
|
|
39
|
+
"@vitest/coverage-v8": "^4.1.11",
|
|
40
40
|
"dotenv": "^17.4.2",
|
|
41
|
-
"rollup": "^4.62.
|
|
42
|
-
"rollup-plugin-dts": "^6.
|
|
41
|
+
"rollup": "^4.62.5",
|
|
42
|
+
"rollup-plugin-dts": "^6.5.1"
|
|
43
43
|
},
|
|
44
44
|
"scripts": {
|
|
45
45
|
"compile": "tsc --noEmit",
|