@paraspell/pallets 14.3.4 → 14.3.5
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.d.ts +3 -2
- package/dist/index.mjs +11 -2
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -3,7 +3,8 @@ import { ParaSpellError, TSubstrateChain } from '@paraspell/sdk-common';
|
|
|
3
3
|
declare const CROSSCHAIN_PALLETS: readonly ["XTokens", "PolkadotXcm", "XcmPallet"];
|
|
4
4
|
declare const ASSETS_PALLETS: readonly ["Balances", "Tokens", "Currencies", "Assets", "ForeignAssets", "AssetManager", "System", "Fungibles", "OrmlTokens"];
|
|
5
5
|
declare const OTHER_PALLETS: readonly ["Utility", "AssetConversion", "Unique"];
|
|
6
|
-
declare const
|
|
6
|
+
declare const BRIDGE_PALLETS: readonly ["BridgeKusamaMessages", "BridgePolkadotMessages"];
|
|
7
|
+
declare const PALLETS: readonly ["XTokens", "PolkadotXcm", "XcmPallet", "Balances", "Tokens", "Currencies", "Assets", "ForeignAssets", "AssetManager", "System", "Fungibles", "OrmlTokens", "Utility", "AssetConversion", "Unique", "BridgeKusamaMessages", "BridgePolkadotMessages"];
|
|
7
8
|
declare const NATIVE_ASSETS_PALLET_PRIORITY: readonly ["Balances", "Currencies", "Tokens"];
|
|
8
9
|
declare const OTHER_ASSETS_PALLET_PRIORITY: readonly ["Currencies", "Tokens", "Assets", "ForeignAssets", "AssetManager", "Fungibles", "OrmlTokens"];
|
|
9
10
|
|
|
@@ -77,5 +78,5 @@ declare const hasPalletImpl: <TCustomChain extends string = never>(chain: TSubst
|
|
|
77
78
|
declare const getXcmPallet: <TCustomChain extends string = never>(chain: TSubstrateChain | TCustomChain) => TPallet;
|
|
78
79
|
declare const getXcmPalletImpl: <TCustomChain extends string = never>(chain: TSubstrateChain | TCustomChain, ctx?: TPalletsCtx) => TPallet;
|
|
79
80
|
|
|
80
|
-
export { ASSETS_PALLETS, CROSSCHAIN_PALLETS, NATIVE_ASSETS_PALLET_PRIORITY, OTHER_ASSETS_PALLET_PRIORITY, OTHER_PALLETS, PALLETS, XcmPalletNotFoundError, getDefaultPallet, getNativeAssetsPallet, getOtherAssetsPallets, getPalletIndex, getSupportedPallets, getSupportedPalletsDetails, getXcmPallet, getXcmPalletImpl, hasPallet, hasPalletImpl };
|
|
81
|
+
export { ASSETS_PALLETS, BRIDGE_PALLETS, CROSSCHAIN_PALLETS, NATIVE_ASSETS_PALLET_PRIORITY, OTHER_ASSETS_PALLET_PRIORITY, OTHER_PALLETS, PALLETS, XcmPalletNotFoundError, getDefaultPallet, getNativeAssetsPallet, getOtherAssetsPallets, getPalletIndex, getSupportedPallets, getSupportedPalletsDetails, getXcmPallet, getXcmPalletImpl, hasPallet, hasPalletImpl };
|
|
81
82
|
export type { TAssetsPallet, TCrosschainPallet, TCustomChainPallets, TPallet, TPalletDetails, TPalletEntry, TPalletJsonMap, TPalletMap, TPalletsCtx };
|
package/dist/index.mjs
CHANGED
|
@@ -3,7 +3,8 @@ import { ParaSpellError, isCustomChain } from '@paraspell/sdk-common';
|
|
|
3
3
|
var CROSSCHAIN_PALLETS = ['XTokens', 'PolkadotXcm', 'XcmPallet'];
|
|
4
4
|
var ASSETS_PALLETS = ['Balances', 'Tokens', 'Currencies', 'Assets', 'ForeignAssets', 'AssetManager', 'System', 'Fungibles', 'OrmlTokens'];
|
|
5
5
|
var OTHER_PALLETS = ['Utility', 'AssetConversion', 'Unique'];
|
|
6
|
-
var
|
|
6
|
+
var BRIDGE_PALLETS = ['BridgeKusamaMessages', 'BridgePolkadotMessages'];
|
|
7
|
+
var PALLETS = [].concat(CROSSCHAIN_PALLETS, ASSETS_PALLETS, OTHER_PALLETS, BRIDGE_PALLETS);
|
|
7
8
|
var NATIVE_ASSETS_PALLET_PRIORITY = ['Balances', 'Currencies', 'Tokens'];
|
|
8
9
|
var OTHER_ASSETS_PALLET_PRIORITY = ['Currencies', 'Tokens', 'Assets', 'ForeignAssets', 'AssetManager', 'Fungibles', 'OrmlTokens'];
|
|
9
10
|
|
|
@@ -610,6 +611,10 @@ var BridgeHubPolkadot = {
|
|
|
610
611
|
{
|
|
611
612
|
name: "PolkadotXcm",
|
|
612
613
|
index: 31
|
|
614
|
+
},
|
|
615
|
+
{
|
|
616
|
+
name: "BridgeKusamaMessages",
|
|
617
|
+
index: 53
|
|
613
618
|
}
|
|
614
619
|
],
|
|
615
620
|
nativeAssets: "Balances",
|
|
@@ -626,6 +631,10 @@ var BridgeHubKusama = {
|
|
|
626
631
|
{
|
|
627
632
|
name: "PolkadotXcm",
|
|
628
633
|
index: 31
|
|
634
|
+
},
|
|
635
|
+
{
|
|
636
|
+
name: "BridgePolkadotMessages",
|
|
637
|
+
index: 53
|
|
629
638
|
}
|
|
630
639
|
],
|
|
631
640
|
nativeAssets: "Balances",
|
|
@@ -1371,4 +1380,4 @@ var getXcmPalletImpl = function getXcmPalletImpl(chain, ctx) {
|
|
|
1371
1380
|
throw new XcmPalletNotFoundError(chain);
|
|
1372
1381
|
};
|
|
1373
1382
|
|
|
1374
|
-
export { ASSETS_PALLETS, CROSSCHAIN_PALLETS, NATIVE_ASSETS_PALLET_PRIORITY, OTHER_ASSETS_PALLET_PRIORITY, OTHER_PALLETS, PALLETS, XcmPalletNotFoundError, getDefaultPallet, getNativeAssetsPallet, getOtherAssetsPallets, getPalletIndex, getSupportedPallets, getSupportedPalletsDetails, getXcmPallet, getXcmPalletImpl, hasPallet, hasPalletImpl };
|
|
1383
|
+
export { ASSETS_PALLETS, BRIDGE_PALLETS, CROSSCHAIN_PALLETS, NATIVE_ASSETS_PALLET_PRIORITY, OTHER_ASSETS_PALLET_PRIORITY, OTHER_PALLETS, PALLETS, XcmPalletNotFoundError, getDefaultPallet, getNativeAssetsPallet, getOtherAssetsPallets, getPalletIndex, getSupportedPallets, getSupportedPalletsDetails, getXcmPallet, getXcmPalletImpl, hasPallet, hasPalletImpl };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@paraspell/pallets",
|
|
3
|
-
"version": "14.3.
|
|
3
|
+
"version": "14.3.5",
|
|
4
4
|
"description": "Pallets for ParaSpell XCM/XCMP tool for developers",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"dist"
|
|
23
23
|
],
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@paraspell/sdk-common": "14.3.
|
|
25
|
+
"@paraspell/sdk-common": "14.3.5"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"@babel/plugin-syntax-import-attributes": "^7.29.7",
|