@paraspell/sdk-pjs 8.2.2 → 8.3.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/README.md +3 -0
- package/dist/index.cjs +2 -2
- package/dist/index.mjs +2 -2
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -276,6 +276,9 @@ paraspell.assets.getTNode(nodeID: number)
|
|
|
276
276
|
|
|
277
277
|
// Import all compatible nodes as constant
|
|
278
278
|
paraspell.NODE_NAMES
|
|
279
|
+
|
|
280
|
+
// Get multilocation for asset id or symbol on specific chain
|
|
281
|
+
getAssetMultiLocation(chainFrom, { symbol: symbol } | { id: assetId })
|
|
279
282
|
```
|
|
280
283
|
|
|
281
284
|
### Parachain XCM Pallet queries
|
package/dist/index.cjs
CHANGED
|
@@ -455,8 +455,8 @@ var createContext = function createContext(executionUrl, config) {
|
|
|
455
455
|
polkadot: {
|
|
456
456
|
assetHubParaId: config.ASSET_HUB_PARAID,
|
|
457
457
|
bridgeHubParaId: config.BRIDGE_HUB_PARAID,
|
|
458
|
-
|
|
459
|
-
|
|
458
|
+
parachains: config.PARACHAINS,
|
|
459
|
+
relaychain: config.RELAY_CHAIN_URL
|
|
460
460
|
},
|
|
461
461
|
appContracts: {
|
|
462
462
|
gateway: config.GATEWAY_CONTRACT,
|
package/dist/index.mjs
CHANGED
|
@@ -454,8 +454,8 @@ var createContext = function createContext(executionUrl, config) {
|
|
|
454
454
|
polkadot: {
|
|
455
455
|
assetHubParaId: config.ASSET_HUB_PARAID,
|
|
456
456
|
bridgeHubParaId: config.BRIDGE_HUB_PARAID,
|
|
457
|
-
|
|
458
|
-
|
|
457
|
+
parachains: config.PARACHAINS,
|
|
458
|
+
relaychain: config.RELAY_CHAIN_URL
|
|
459
459
|
},
|
|
460
460
|
appContracts: {
|
|
461
461
|
gateway: config.GATEWAY_CONTRACT,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@paraspell/sdk-pjs",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.3.0",
|
|
4
4
|
"description": "Polkadot.js based SDK for ParaSpell XCM/XCMP tool for developers",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -26,8 +26,8 @@
|
|
|
26
26
|
"@snowbridge/api": "^0.1.32",
|
|
27
27
|
"@snowbridge/contract-types": "^0.1.32",
|
|
28
28
|
"ethers": "^6.13.5",
|
|
29
|
-
"viem": "^2.22.
|
|
30
|
-
"@paraspell/sdk-core": "8.
|
|
29
|
+
"viem": "^2.22.22",
|
|
30
|
+
"@paraspell/sdk-core": "8.3.0"
|
|
31
31
|
},
|
|
32
32
|
"peerDependencies": {
|
|
33
33
|
"@polkadot/api": ">= 15.0 < 16",
|