@paraspell/sdk-common 10.4.6 → 10.4.8
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 +5 -0
- package/dist/index.d.ts +3 -1
- package/dist/index.mjs +5 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -235,6 +235,10 @@ var hasJunction = function hasJunction(multiLocation, junctionType, junctionValu
|
|
|
235
235
|
});
|
|
236
236
|
};
|
|
237
237
|
|
|
238
|
+
var replaceBigInt = function replaceBigInt(_key, value) {
|
|
239
|
+
return typeof value === 'bigint' ? value.toString() : value;
|
|
240
|
+
};
|
|
241
|
+
|
|
238
242
|
exports.NODES_WITH_RELAY_CHAINS = NODES_WITH_RELAY_CHAINS;
|
|
239
243
|
exports.NODES_WITH_RELAY_CHAINS_DOT_KSM = NODES_WITH_RELAY_CHAINS_DOT_KSM;
|
|
240
244
|
exports.NODE_NAMES = NODE_NAMES;
|
|
@@ -245,3 +249,4 @@ exports.isDotKsmBridge = isDotKsmBridge;
|
|
|
245
249
|
exports.isPrimitive = isPrimitive;
|
|
246
250
|
exports.isRelayChain = isRelayChain;
|
|
247
251
|
exports.isTMultiLocation = isTMultiLocation;
|
|
252
|
+
exports.replaceBigInt = replaceBigInt;
|
package/dist/index.d.ts
CHANGED
|
@@ -123,5 +123,7 @@ declare const isRelayChain: (node: TNodeWithRelayChains) => node is "Polkadot" |
|
|
|
123
123
|
|
|
124
124
|
declare const hasJunction: (multiLocation: TMultiLocation, junctionType: TJunctionType, junctionValue?: unknown) => boolean;
|
|
125
125
|
|
|
126
|
-
|
|
126
|
+
declare const replaceBigInt: (_key: string, value: unknown) => unknown;
|
|
127
|
+
|
|
128
|
+
export { NODES_WITH_RELAY_CHAINS, NODES_WITH_RELAY_CHAINS_DOT_KSM, NODE_NAMES, NODE_NAMES_DOT_KSM, Parents, Version, deepEqual, hasJunction, isDotKsmBridge, isPrimitive, isRelayChain, isTMultiLocation, replaceBigInt };
|
|
127
129
|
export type { TEcosystemType, TJunction, TJunctionGeneralIndex, TJunctionParachain, TJunctionType, TJunctions, TMultiLocation, TNode, TNodeDotKsmWithRelayChains, TNodePolkadotKusama, TNodeWithRelayChains, TRelayChainSymbol };
|
package/dist/index.mjs
CHANGED
|
@@ -233,4 +233,8 @@ var hasJunction = function hasJunction(multiLocation, junctionType, junctionValu
|
|
|
233
233
|
});
|
|
234
234
|
};
|
|
235
235
|
|
|
236
|
-
|
|
236
|
+
var replaceBigInt = function replaceBigInt(_key, value) {
|
|
237
|
+
return typeof value === 'bigint' ? value.toString() : value;
|
|
238
|
+
};
|
|
239
|
+
|
|
240
|
+
export { NODES_WITH_RELAY_CHAINS, NODES_WITH_RELAY_CHAINS_DOT_KSM, NODE_NAMES, NODE_NAMES_DOT_KSM, Parents, Version, _deepEqual as deepEqual, hasJunction, isDotKsmBridge, isPrimitive, isRelayChain, isTMultiLocation, replaceBigInt };
|