@paraspell/sdk-common 10.4.3 → 10.4.4

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 CHANGED
@@ -110,6 +110,16 @@ exports.Parents = void 0;
110
110
  Parents[Parents["TWO"] = 2] = "TWO";
111
111
  })(exports.Parents || (exports.Parents = {}));
112
112
 
113
+ /**
114
+ * The XCM version.
115
+ */
116
+ exports.Version = void 0;
117
+ (function (Version) {
118
+ Version["V3"] = "V3";
119
+ Version["V4"] = "V4";
120
+ Version["V5"] = "V5";
121
+ })(exports.Version || (exports.Version = {}));
122
+
113
123
  var isPrimitive = function isPrimitive(obj) {
114
124
  return obj !== Object(obj);
115
125
  };
package/dist/index.d.ts CHANGED
@@ -97,6 +97,15 @@ type TNodeDotKsmWithRelayChains = Exclude<TNodeWithRelayChains, 'Ethereum'>;
97
97
  type TEcosystemType = 'polkadot' | 'kusama' | 'ethereum';
98
98
  type TRelayChainSymbol = 'DOT' | 'KSM';
99
99
 
100
+ /**
101
+ * The XCM version.
102
+ */
103
+ declare enum Version {
104
+ V3 = "V3",
105
+ V4 = "V4",
106
+ V5 = "V5"
107
+ }
108
+
100
109
  declare const isTMultiLocation: (value: unknown) => value is TMultiLocation;
101
110
 
102
111
  declare const isPrimitive: (obj: unknown) => boolean;
@@ -114,5 +123,5 @@ declare const isRelayChain: (node: TNodeWithRelayChains) => node is "Polkadot" |
114
123
 
115
124
  declare const hasJunction: (multiLocation: TMultiLocation, junctionType: TJunctionType, junctionValue?: unknown) => boolean;
116
125
 
117
- export { NODES_WITH_RELAY_CHAINS, NODES_WITH_RELAY_CHAINS_DOT_KSM, NODE_NAMES, NODE_NAMES_DOT_KSM, Parents, deepEqual, hasJunction, isDotKsmBridge, isPrimitive, isRelayChain, isTMultiLocation };
126
+ 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 };
118
127
  export type { TEcosystemType, TJunction, TJunctionGeneralIndex, TJunctionParachain, TJunctionType, TJunctions, TMultiLocation, TNode, TNodeDotKsmWithRelayChains, TNodePolkadotKusama, TNodeWithRelayChains, TRelayChainSymbol };
package/dist/index.mjs CHANGED
@@ -108,6 +108,16 @@ var Parents;
108
108
  Parents[Parents["TWO"] = 2] = "TWO";
109
109
  })(Parents || (Parents = {}));
110
110
 
111
+ /**
112
+ * The XCM version.
113
+ */
114
+ var Version;
115
+ (function (Version) {
116
+ Version["V3"] = "V3";
117
+ Version["V4"] = "V4";
118
+ Version["V5"] = "V5";
119
+ })(Version || (Version = {}));
120
+
111
121
  var isPrimitive = function isPrimitive(obj) {
112
122
  return obj !== Object(obj);
113
123
  };
@@ -223,4 +233,4 @@ var hasJunction = function hasJunction(multiLocation, junctionType, junctionValu
223
233
  });
224
234
  };
225
235
 
226
- export { NODES_WITH_RELAY_CHAINS, NODES_WITH_RELAY_CHAINS_DOT_KSM, NODE_NAMES, NODE_NAMES_DOT_KSM, Parents, _deepEqual as deepEqual, hasJunction, isDotKsmBridge, isPrimitive, isRelayChain, isTMultiLocation };
236
+ 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 };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@paraspell/sdk-common",
3
- "version": "10.4.3",
3
+ "version": "10.4.4",
4
4
  "description": "SDK common code for ParaSpell XCM/XCMP tool for developers",
5
5
  "repository": {
6
6
  "type": "git",