@paraspell/sdk-dedot 14.4.3 → 14.5.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 +2 -2
- package/package.json +7 -7
package/dist/index.mjs
CHANGED
|
@@ -803,7 +803,7 @@ var DedotApi = /*#__PURE__*/function (_PolkadotApi) {
|
|
|
803
803
|
var _this$convertToDedotC2 = this.convertToDedotCall(serialized),
|
|
804
804
|
module = _this$convertToDedotC2.module,
|
|
805
805
|
method = _this$convertToDedotC2.method;
|
|
806
|
-
return this.api.query[module][method](params.length > 1 ? params
|
|
806
|
+
return this.api.query[module][method](_transform(params.length > 1 ? params : params[0]));
|
|
807
807
|
}
|
|
808
808
|
}, {
|
|
809
809
|
key: "queryRuntimeApi",
|
|
@@ -932,7 +932,7 @@ var DedotApi = /*#__PURE__*/function (_PolkadotApi) {
|
|
|
932
932
|
while (1) switch (_context4.n) {
|
|
933
933
|
case 0:
|
|
934
934
|
rpcModule = this.api.rpc["".concat(module, "_").concat(method)];
|
|
935
|
-
if (
|
|
935
|
+
if (rpcModule) {
|
|
936
936
|
_context4.n = 1;
|
|
937
937
|
break;
|
|
938
938
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@paraspell/sdk-dedot",
|
|
3
|
-
"version": "14.
|
|
3
|
+
"version": "14.5.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-common": "14.
|
|
26
|
-
"@paraspell/sdk-core": "14.
|
|
25
|
+
"@paraspell/sdk-common": "14.5.0",
|
|
26
|
+
"@paraspell/sdk-core": "14.5.0"
|
|
27
27
|
},
|
|
28
28
|
"peerDependencies": {
|
|
29
29
|
"dedot": ">= 1.4.0",
|
|
@@ -35,10 +35,10 @@
|
|
|
35
35
|
"@codecov/rollup-plugin": "^2.0.1",
|
|
36
36
|
"@rollup/plugin-babel": "^7.1.0",
|
|
37
37
|
"@rollup/plugin-json": "^6.1.0",
|
|
38
|
-
"@rollup/plugin-typescript": "^12.3.
|
|
39
|
-
"@vitest/coverage-v8": "^5.0.
|
|
40
|
-
"dotenv": "^18.0.
|
|
41
|
-
"rollup": "^4.
|
|
38
|
+
"@rollup/plugin-typescript": "^12.3.1",
|
|
39
|
+
"@vitest/coverage-v8": "^5.0.5",
|
|
40
|
+
"dotenv": "^18.0.9",
|
|
41
|
+
"rollup": "^4.66.0",
|
|
42
42
|
"rollup-plugin-dts": "^6.5.1"
|
|
43
43
|
},
|
|
44
44
|
"scripts": {
|