@paraspell/sdk-core 11.9.1 → 11.9.3
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.cjs +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +4 -4
package/dist/index.cjs
CHANGED
|
@@ -2711,7 +2711,7 @@ var createChainClient = /*#__PURE__*/function () {
|
|
|
2711
2711
|
while (1) switch (_context.n) {
|
|
2712
2712
|
case 0:
|
|
2713
2713
|
wsUrl = getChainProviders(chain);
|
|
2714
|
-
return _context.a(2, api.createApiInstance(wsUrl));
|
|
2714
|
+
return _context.a(2, api.createApiInstance(wsUrl, chain));
|
|
2715
2715
|
}
|
|
2716
2716
|
}, _callee);
|
|
2717
2717
|
}));
|
package/dist/index.d.ts
CHANGED
|
@@ -1432,7 +1432,7 @@ interface IPolkadotApi<TApi, TRes> {
|
|
|
1432
1432
|
getConfig(): TBuilderOptions<TApiOrUrl<TApi>> | undefined;
|
|
1433
1433
|
getApi(): TApi;
|
|
1434
1434
|
init(chain: TChain, clientTtlMs?: number): Promise<void>;
|
|
1435
|
-
createApiInstance: (wsUrl: string | string[]) => Promise<TApi>;
|
|
1435
|
+
createApiInstance: (wsUrl: string | string[], chain: TSubstrateChain) => Promise<TApi>;
|
|
1436
1436
|
accountToHex(address: string, isPrefixed?: boolean): string;
|
|
1437
1437
|
accountToUint8a(address: string): Uint8Array;
|
|
1438
1438
|
callTxMethod(serializedCall: TSerializedApiCall): TRes;
|
package/dist/index.mjs
CHANGED
|
@@ -2712,7 +2712,7 @@ var createChainClient = /*#__PURE__*/function () {
|
|
|
2712
2712
|
while (1) switch (_context.n) {
|
|
2713
2713
|
case 0:
|
|
2714
2714
|
wsUrl = getChainProviders(chain);
|
|
2715
|
-
return _context.a(2, api.createApiInstance(wsUrl));
|
|
2715
|
+
return _context.a(2, api.createApiInstance(wsUrl, chain));
|
|
2716
2716
|
}
|
|
2717
2717
|
}, _callee);
|
|
2718
2718
|
}));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@paraspell/sdk-core",
|
|
3
|
-
"version": "11.9.
|
|
3
|
+
"version": "11.9.3",
|
|
4
4
|
"description": "SDK core for ParaSpell XCM/XCMP tool for developers",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -26,9 +26,9 @@
|
|
|
26
26
|
"@noble/hashes": "^1.8.0",
|
|
27
27
|
"@scure/base": "^2.0.0",
|
|
28
28
|
"viem": "^2.37.9",
|
|
29
|
-
"@paraspell/
|
|
30
|
-
"@paraspell/
|
|
31
|
-
"@paraspell/
|
|
29
|
+
"@paraspell/assets": "11.9.3",
|
|
30
|
+
"@paraspell/sdk-common": "11.9.3",
|
|
31
|
+
"@paraspell/pallets": "11.9.3"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"@babel/plugin-syntax-import-attributes": "^7.27.1",
|