@paraspell/sdk-core 10.8.0 → 10.8.2
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 +76 -40
- package/dist/index.d.ts +7 -0
- package/dist/index.mjs +76 -40
- package/package.json +11 -11
package/dist/index.cjs
CHANGED
|
@@ -264,7 +264,7 @@ function _regenerator() {
|
|
|
264
264
|
i = p[t],
|
|
265
265
|
d = G.p,
|
|
266
266
|
l = i[2];
|
|
267
|
-
r > 3 ? (o = l === n) && (
|
|
267
|
+
r > 3 ? (o = l === n) && (u = i[(c = i[4]) ? 5 : (c = 3, 3)], i[4] = i[5] = e) : i[0] <= d && ((o = r < 2 && d < i[1]) ? (c = 0, G.v = n, G.n = i[1]) : d < l && (o = r < 3 || i[0] > n || n > l) && (i[4] = r, i[5] = n, G.n = l, c = 0));
|
|
268
268
|
}
|
|
269
269
|
if (o || r > 1) return a;
|
|
270
270
|
throw y = true, n;
|
|
@@ -737,7 +737,7 @@ var AssetHubPolkadot$1 = {
|
|
|
737
737
|
},
|
|
738
738
|
{
|
|
739
739
|
name: "Dwellir",
|
|
740
|
-
endpoint: "wss://asset-hub-polkadot-rpc.dwellir.com"
|
|
740
|
+
endpoint: "wss://asset-hub-polkadot-rpc.n.dwellir.com"
|
|
741
741
|
},
|
|
742
742
|
{
|
|
743
743
|
name: "Dwellir Tunisia",
|
|
@@ -792,7 +792,7 @@ var Acala$1 = {
|
|
|
792
792
|
},
|
|
793
793
|
{
|
|
794
794
|
name: "Dwellir",
|
|
795
|
-
endpoint: "wss://acala-rpc.dwellir.com"
|
|
795
|
+
endpoint: "wss://acala-rpc.n.dwellir.com"
|
|
796
796
|
},
|
|
797
797
|
{
|
|
798
798
|
name: "IBP1",
|
|
@@ -801,10 +801,6 @@ var Acala$1 = {
|
|
|
801
801
|
{
|
|
802
802
|
name: "IBP2",
|
|
803
803
|
endpoint: "wss://acala.dotters.network"
|
|
804
|
-
},
|
|
805
|
-
{
|
|
806
|
-
name: "OnFinality",
|
|
807
|
-
endpoint: "wss://acala-polkadot.api.onfinality.io/public-ws"
|
|
808
804
|
}
|
|
809
805
|
]
|
|
810
806
|
};
|
|
@@ -846,7 +842,7 @@ var Astar$1 = {
|
|
|
846
842
|
},
|
|
847
843
|
{
|
|
848
844
|
name: "Dwellir",
|
|
849
|
-
endpoint: "wss://astar-rpc.dwellir.com"
|
|
845
|
+
endpoint: "wss://astar-rpc.n.dwellir.com"
|
|
850
846
|
},
|
|
851
847
|
{
|
|
852
848
|
name: "OnFinality",
|
|
@@ -878,6 +874,10 @@ var BifrostPolkadot$1 = {
|
|
|
878
874
|
{
|
|
879
875
|
name: "LiebiEU",
|
|
880
876
|
endpoint: "wss://eu.bifrost-polkadot-rpc.liebi.com/ws"
|
|
877
|
+
},
|
|
878
|
+
{
|
|
879
|
+
name: "RadiumBlock",
|
|
880
|
+
endpoint: "wss://bifrost.public.curie.radiumblock.co/ws"
|
|
881
881
|
}
|
|
882
882
|
]
|
|
883
883
|
};
|
|
@@ -888,7 +888,7 @@ var BridgeHubPolkadot$1 = {
|
|
|
888
888
|
providers: [
|
|
889
889
|
{
|
|
890
890
|
name: "Dwellir",
|
|
891
|
-
endpoint: "wss://bridge-hub-polkadot-rpc.dwellir.com"
|
|
891
|
+
endpoint: "wss://bridge-hub-polkadot-rpc.n.dwellir.com"
|
|
892
892
|
},
|
|
893
893
|
{
|
|
894
894
|
name: "Dwellir Tunisia",
|
|
@@ -931,7 +931,7 @@ var BridgeHubKusama$1 = {
|
|
|
931
931
|
providers: [
|
|
932
932
|
{
|
|
933
933
|
name: "Dwellir",
|
|
934
|
-
endpoint: "wss://bridge-hub-kusama-rpc.dwellir.com"
|
|
934
|
+
endpoint: "wss://bridge-hub-kusama-rpc.n.dwellir.com"
|
|
935
935
|
},
|
|
936
936
|
{
|
|
937
937
|
name: "Dwellir Tunisia",
|
|
@@ -949,6 +949,10 @@ var BridgeHubKusama$1 = {
|
|
|
949
949
|
name: "LuckyFriday",
|
|
950
950
|
endpoint: "wss://rpc-bridge-hub-kusama.luckyfriday.io"
|
|
951
951
|
},
|
|
952
|
+
{
|
|
953
|
+
name: "OnFinality",
|
|
954
|
+
endpoint: "wss://bridgehub-kusama.api.onfinality.io/public-ws"
|
|
955
|
+
},
|
|
952
956
|
{
|
|
953
957
|
name: "Parity",
|
|
954
958
|
endpoint: "wss://kusama-bridge-hub-rpc.polkadot.io"
|
|
@@ -968,14 +972,14 @@ var Centrifuge$1 = {
|
|
|
968
972
|
info: "centrifuge",
|
|
969
973
|
paraId: 2031,
|
|
970
974
|
providers: [
|
|
971
|
-
{
|
|
972
|
-
name: "LuckyFriday",
|
|
973
|
-
endpoint: "wss://rpc-centrifuge.luckyfriday.io"
|
|
974
|
-
},
|
|
975
975
|
{
|
|
976
976
|
name: "Centrifuge",
|
|
977
977
|
endpoint: "wss://fullnode.centrifuge.io"
|
|
978
978
|
},
|
|
979
|
+
{
|
|
980
|
+
name: "LuckyFriday",
|
|
981
|
+
endpoint: "wss://rpc-centrifuge.luckyfriday.io"
|
|
982
|
+
},
|
|
979
983
|
{
|
|
980
984
|
name: "OnFinality",
|
|
981
985
|
endpoint: "wss://centrifuge-parachain.api.onfinality.io/public-ws"
|
|
@@ -1004,7 +1008,7 @@ var Darwinia$1 = {
|
|
|
1004
1008
|
},
|
|
1005
1009
|
{
|
|
1006
1010
|
name: "Dwellir",
|
|
1007
|
-
endpoint: "wss://darwinia-rpc.dwellir.com"
|
|
1011
|
+
endpoint: "wss://darwinia-rpc.n.dwellir.com"
|
|
1008
1012
|
},
|
|
1009
1013
|
{
|
|
1010
1014
|
name: "Subquery",
|
|
@@ -1115,7 +1119,7 @@ var AssetHubKusama$1 = {
|
|
|
1115
1119
|
providers: [
|
|
1116
1120
|
{
|
|
1117
1121
|
name: "Dwellir",
|
|
1118
|
-
endpoint: "wss://asset-hub-kusama-rpc.dwellir.com"
|
|
1122
|
+
endpoint: "wss://asset-hub-kusama-rpc.n.dwellir.com"
|
|
1119
1123
|
},
|
|
1120
1124
|
{
|
|
1121
1125
|
name: "Dwellir Tunisia",
|
|
@@ -1133,6 +1137,10 @@ var AssetHubKusama$1 = {
|
|
|
1133
1137
|
name: "LuckyFriday",
|
|
1134
1138
|
endpoint: "wss://rpc-asset-hub-kusama.luckyfriday.io"
|
|
1135
1139
|
},
|
|
1140
|
+
{
|
|
1141
|
+
name: "OnFinality",
|
|
1142
|
+
endpoint: "wss://assethub-kusama.api.onfinality.io/public-ws"
|
|
1143
|
+
},
|
|
1136
1144
|
{
|
|
1137
1145
|
name: "Parity",
|
|
1138
1146
|
endpoint: "wss://kusama-asset-hub-rpc.polkadot.io"
|
|
@@ -1224,7 +1232,7 @@ var Encointer$1 = {
|
|
|
1224
1232
|
providers: [
|
|
1225
1233
|
{
|
|
1226
1234
|
name: "Dwellir",
|
|
1227
|
-
endpoint: "wss://encointer-kusama-rpc.dwellir.com"
|
|
1235
|
+
endpoint: "wss://encointer-kusama-rpc.n.dwellir.com"
|
|
1228
1236
|
},
|
|
1229
1237
|
{
|
|
1230
1238
|
name: "Encointer Association",
|
|
@@ -1293,10 +1301,6 @@ var BifrostKusama$1 = {
|
|
|
1293
1301
|
{
|
|
1294
1302
|
name: "LiebiUS",
|
|
1295
1303
|
endpoint: "wss://us.bifrost-rpc.liebi.com/ws"
|
|
1296
|
-
},
|
|
1297
|
-
{
|
|
1298
|
-
name: "RadiumBlock",
|
|
1299
|
-
endpoint: "wss://bifrost.public.curie.radiumblock.co/ws"
|
|
1300
1304
|
}
|
|
1301
1305
|
]
|
|
1302
1306
|
};
|
|
@@ -1334,7 +1338,7 @@ var Crab$1 = {
|
|
|
1334
1338
|
},
|
|
1335
1339
|
{
|
|
1336
1340
|
name: "Dwellir",
|
|
1337
|
-
endpoint: "wss://darwiniacrab-rpc.dwellir.com"
|
|
1341
|
+
endpoint: "wss://darwiniacrab-rpc.n.dwellir.com"
|
|
1338
1342
|
}
|
|
1339
1343
|
]
|
|
1340
1344
|
};
|
|
@@ -1361,11 +1365,7 @@ var Karura$1 = {
|
|
|
1361
1365
|
},
|
|
1362
1366
|
{
|
|
1363
1367
|
name: "Dwellir",
|
|
1364
|
-
endpoint: "wss://karura-rpc.dwellir.com"
|
|
1365
|
-
},
|
|
1366
|
-
{
|
|
1367
|
-
name: "OnFinality",
|
|
1368
|
-
endpoint: "wss://karura.api.onfinality.io/public-ws"
|
|
1368
|
+
endpoint: "wss://karura-rpc.n.dwellir.com"
|
|
1369
1369
|
}
|
|
1370
1370
|
]
|
|
1371
1371
|
};
|
|
@@ -1393,10 +1393,6 @@ var Moonriver$1 = {
|
|
|
1393
1393
|
name: "Allnodes",
|
|
1394
1394
|
endpoint: "wss://moonriver-rpc.publicnode.com"
|
|
1395
1395
|
},
|
|
1396
|
-
{
|
|
1397
|
-
name: "Blast",
|
|
1398
|
-
endpoint: "wss://moonriver.public.blastapi.io"
|
|
1399
|
-
},
|
|
1400
1396
|
{
|
|
1401
1397
|
name: "Dwellir",
|
|
1402
1398
|
endpoint: "wss://moonriver-rpc.n.dwellir.com"
|
|
@@ -1419,6 +1415,17 @@ var Moonriver$1 = {
|
|
|
1419
1415
|
}
|
|
1420
1416
|
]
|
|
1421
1417
|
};
|
|
1418
|
+
var Laos$1 = {
|
|
1419
|
+
name: "Laos",
|
|
1420
|
+
info: "laos",
|
|
1421
|
+
paraId: 3370,
|
|
1422
|
+
providers: [
|
|
1423
|
+
{
|
|
1424
|
+
name: "laosfoundation.io",
|
|
1425
|
+
endpoint: "wss://rpc.laos.laosfoundation.io"
|
|
1426
|
+
}
|
|
1427
|
+
]
|
|
1428
|
+
};
|
|
1422
1429
|
var Quartz$1 = {
|
|
1423
1430
|
name: "QUARTZ by UNIQUE",
|
|
1424
1431
|
info: "quartz",
|
|
@@ -1547,13 +1554,9 @@ var Shiden$1 = {
|
|
|
1547
1554
|
name: "Astar",
|
|
1548
1555
|
endpoint: "wss://rpc.shiden.astar.network"
|
|
1549
1556
|
},
|
|
1550
|
-
{
|
|
1551
|
-
name: "Blast",
|
|
1552
|
-
endpoint: "wss://shiden.public.blastapi.io"
|
|
1553
|
-
},
|
|
1554
1557
|
{
|
|
1555
1558
|
name: "Dwellir",
|
|
1556
|
-
endpoint: "wss://shiden-rpc.dwellir.com"
|
|
1559
|
+
endpoint: "wss://shiden-rpc.n.dwellir.com"
|
|
1557
1560
|
},
|
|
1558
1561
|
{
|
|
1559
1562
|
name: "OnFinality",
|
|
@@ -1685,7 +1688,7 @@ var Collectives$1 = {
|
|
|
1685
1688
|
providers: [
|
|
1686
1689
|
{
|
|
1687
1690
|
name: "Dwellir",
|
|
1688
|
-
endpoint: "wss://collectives-polkadot-rpc.dwellir.com"
|
|
1691
|
+
endpoint: "wss://collectives-polkadot-rpc.n.dwellir.com"
|
|
1689
1692
|
},
|
|
1690
1693
|
{
|
|
1691
1694
|
name: "Dwellir Tunisia",
|
|
@@ -1728,7 +1731,7 @@ var Phala$1 = {
|
|
|
1728
1731
|
providers: [
|
|
1729
1732
|
{
|
|
1730
1733
|
name: "Dwellir",
|
|
1731
|
-
endpoint: "wss://phala-rpc.dwellir.com"
|
|
1734
|
+
endpoint: "wss://phala-rpc.n.dwellir.com"
|
|
1732
1735
|
},
|
|
1733
1736
|
{
|
|
1734
1737
|
name: "Helikon",
|
|
@@ -1861,7 +1864,7 @@ var Polkadot = {
|
|
|
1861
1864
|
},
|
|
1862
1865
|
{
|
|
1863
1866
|
name: "Dwellir",
|
|
1864
|
-
endpoint: "wss://polkadot-rpc.dwellir.com"
|
|
1867
|
+
endpoint: "wss://polkadot-rpc.n.dwellir.com"
|
|
1865
1868
|
},
|
|
1866
1869
|
{
|
|
1867
1870
|
name: "Dwellir Tunisia",
|
|
@@ -1916,7 +1919,7 @@ var Kusama = {
|
|
|
1916
1919
|
},
|
|
1917
1920
|
{
|
|
1918
1921
|
name: "Dwellir",
|
|
1919
|
-
endpoint: "wss://kusama-rpc.dwellir.com"
|
|
1922
|
+
endpoint: "wss://kusama-rpc.n.dwellir.com"
|
|
1920
1923
|
},
|
|
1921
1924
|
{
|
|
1922
1925
|
name: "Dwellir Tunisia",
|
|
@@ -1980,6 +1983,7 @@ var configs = {
|
|
|
1980
1983
|
Karura: Karura$1,
|
|
1981
1984
|
Kintsugi: Kintsugi$1,
|
|
1982
1985
|
Moonriver: Moonriver$1,
|
|
1986
|
+
Laos: Laos$1,
|
|
1983
1987
|
Quartz: Quartz$1,
|
|
1984
1988
|
RobonomicsKusama: RobonomicsKusama$1,
|
|
1985
1989
|
RobonomicsPolkadot: RobonomicsPolkadot$1,
|
|
@@ -8954,6 +8958,37 @@ var Kintsugi = /*#__PURE__*/function (_ParachainNode) {
|
|
|
8954
8958
|
}]);
|
|
8955
8959
|
}(ParachainNode);
|
|
8956
8960
|
|
|
8961
|
+
var Laos = /*#__PURE__*/function (_ParachainNode) {
|
|
8962
|
+
function Laos() {
|
|
8963
|
+
_classCallCheck(this, Laos);
|
|
8964
|
+
return _callSuper(this, Laos, ['Laos', 'laos', 'polkadot', sdkCommon.Version.V4]);
|
|
8965
|
+
}
|
|
8966
|
+
_inherits(Laos, _ParachainNode);
|
|
8967
|
+
return _createClass(Laos, [{
|
|
8968
|
+
key: "transferPolkadotXCM",
|
|
8969
|
+
value: function transferPolkadotXCM(input) {
|
|
8970
|
+
var scenario = input.scenario,
|
|
8971
|
+
asset = input.asset,
|
|
8972
|
+
destination = input.destination;
|
|
8973
|
+
if (scenario !== 'ParaToPara') {
|
|
8974
|
+
throw new ScenarioNotSupportedError(this.node, scenario);
|
|
8975
|
+
}
|
|
8976
|
+
if (asset.symbol !== this.getNativeAssetSymbol()) {
|
|
8977
|
+
throw new assets.InvalidCurrencyError("Asset ".concat(asset.symbol, " is not supported by node ").concat(this.node, "."));
|
|
8978
|
+
}
|
|
8979
|
+
if (destination === 'AssetHubPolkadot') {
|
|
8980
|
+
throw new TransferToAhNotSupported('Transfer from Laos to AssetHubPolkadot is not supported.');
|
|
8981
|
+
}
|
|
8982
|
+
return transferPolkadotXcm(input, 'limited_reserve_transfer_assets', 'Unlimited');
|
|
8983
|
+
}
|
|
8984
|
+
}, {
|
|
8985
|
+
key: "transferRelayToPara",
|
|
8986
|
+
value: function transferRelayToPara() {
|
|
8987
|
+
throw new NodeNotSupportedError();
|
|
8988
|
+
}
|
|
8989
|
+
}]);
|
|
8990
|
+
}(ParachainNode);
|
|
8991
|
+
|
|
8957
8992
|
var Manta = /*#__PURE__*/function (_ParachainNode) {
|
|
8958
8993
|
function Manta() {
|
|
8959
8994
|
_classCallCheck(this, Manta);
|
|
@@ -9785,6 +9820,7 @@ var nodes = function nodes() {
|
|
|
9785
9820
|
Karura: new Karura(),
|
|
9786
9821
|
Kintsugi: new Kintsugi(),
|
|
9787
9822
|
Moonriver: new Moonriver(),
|
|
9823
|
+
Laos: new Laos(),
|
|
9788
9824
|
Quartz: new Quartz(),
|
|
9789
9825
|
RobonomicsKusama: new RobonomicsKusama(),
|
|
9790
9826
|
RobonomicsPolkadot: new RobonomicsPolkadot(),
|
package/dist/index.d.ts
CHANGED
|
@@ -1510,6 +1510,12 @@ declare class Kintsugi<TApi, TRes> extends ParachainNode<TApi, TRes> implements
|
|
|
1510
1510
|
transferLocalNonNativeAsset(options: TTransferLocalOptions<TApi, TRes>): TRes;
|
|
1511
1511
|
}
|
|
1512
1512
|
|
|
1513
|
+
declare class Laos<TApi, TRes> extends ParachainNode<TApi, TRes> implements IPolkadotXCMTransfer {
|
|
1514
|
+
constructor();
|
|
1515
|
+
transferPolkadotXCM<TApi, TRes>(input: TPolkadotXCMTransferOptions<TApi, TRes>): Promise<TRes>;
|
|
1516
|
+
transferRelayToPara(): TSerializedApiCall;
|
|
1517
|
+
}
|
|
1518
|
+
|
|
1513
1519
|
declare class Manta<TApi, TRes> extends ParachainNode<TApi, TRes> implements IXTokensTransfer {
|
|
1514
1520
|
static readonly NATIVE_ASSET_ID = 1n;
|
|
1515
1521
|
constructor();
|
|
@@ -1665,6 +1671,7 @@ declare const nodes: <TApi, TRes>() => {
|
|
|
1665
1671
|
Karura: Karura<TApi, TRes>;
|
|
1666
1672
|
Kintsugi: Kintsugi<TApi, TRes>;
|
|
1667
1673
|
Moonriver: Moonriver<TApi, TRes>;
|
|
1674
|
+
Laos: Laos<TApi, TRes>;
|
|
1668
1675
|
Quartz: Quartz<TApi, TRes>;
|
|
1669
1676
|
RobonomicsKusama: RobonomicsKusama<TApi, TRes>;
|
|
1670
1677
|
RobonomicsPolkadot: RobonomicsPolkadot<TApi, TRes>;
|
package/dist/index.mjs
CHANGED
|
@@ -265,7 +265,7 @@ function _regenerator() {
|
|
|
265
265
|
i = p[t],
|
|
266
266
|
d = G.p,
|
|
267
267
|
l = i[2];
|
|
268
|
-
r > 3 ? (o = l === n) && (
|
|
268
|
+
r > 3 ? (o = l === n) && (u = i[(c = i[4]) ? 5 : (c = 3, 3)], i[4] = i[5] = e) : i[0] <= d && ((o = r < 2 && d < i[1]) ? (c = 0, G.v = n, G.n = i[1]) : d < l && (o = r < 3 || i[0] > n || n > l) && (i[4] = r, i[5] = n, G.n = l, c = 0));
|
|
269
269
|
}
|
|
270
270
|
if (o || r > 1) return a;
|
|
271
271
|
throw y = true, n;
|
|
@@ -738,7 +738,7 @@ var AssetHubPolkadot$1 = {
|
|
|
738
738
|
},
|
|
739
739
|
{
|
|
740
740
|
name: "Dwellir",
|
|
741
|
-
endpoint: "wss://asset-hub-polkadot-rpc.dwellir.com"
|
|
741
|
+
endpoint: "wss://asset-hub-polkadot-rpc.n.dwellir.com"
|
|
742
742
|
},
|
|
743
743
|
{
|
|
744
744
|
name: "Dwellir Tunisia",
|
|
@@ -793,7 +793,7 @@ var Acala$1 = {
|
|
|
793
793
|
},
|
|
794
794
|
{
|
|
795
795
|
name: "Dwellir",
|
|
796
|
-
endpoint: "wss://acala-rpc.dwellir.com"
|
|
796
|
+
endpoint: "wss://acala-rpc.n.dwellir.com"
|
|
797
797
|
},
|
|
798
798
|
{
|
|
799
799
|
name: "IBP1",
|
|
@@ -802,10 +802,6 @@ var Acala$1 = {
|
|
|
802
802
|
{
|
|
803
803
|
name: "IBP2",
|
|
804
804
|
endpoint: "wss://acala.dotters.network"
|
|
805
|
-
},
|
|
806
|
-
{
|
|
807
|
-
name: "OnFinality",
|
|
808
|
-
endpoint: "wss://acala-polkadot.api.onfinality.io/public-ws"
|
|
809
805
|
}
|
|
810
806
|
]
|
|
811
807
|
};
|
|
@@ -847,7 +843,7 @@ var Astar$1 = {
|
|
|
847
843
|
},
|
|
848
844
|
{
|
|
849
845
|
name: "Dwellir",
|
|
850
|
-
endpoint: "wss://astar-rpc.dwellir.com"
|
|
846
|
+
endpoint: "wss://astar-rpc.n.dwellir.com"
|
|
851
847
|
},
|
|
852
848
|
{
|
|
853
849
|
name: "OnFinality",
|
|
@@ -879,6 +875,10 @@ var BifrostPolkadot$1 = {
|
|
|
879
875
|
{
|
|
880
876
|
name: "LiebiEU",
|
|
881
877
|
endpoint: "wss://eu.bifrost-polkadot-rpc.liebi.com/ws"
|
|
878
|
+
},
|
|
879
|
+
{
|
|
880
|
+
name: "RadiumBlock",
|
|
881
|
+
endpoint: "wss://bifrost.public.curie.radiumblock.co/ws"
|
|
882
882
|
}
|
|
883
883
|
]
|
|
884
884
|
};
|
|
@@ -889,7 +889,7 @@ var BridgeHubPolkadot$1 = {
|
|
|
889
889
|
providers: [
|
|
890
890
|
{
|
|
891
891
|
name: "Dwellir",
|
|
892
|
-
endpoint: "wss://bridge-hub-polkadot-rpc.dwellir.com"
|
|
892
|
+
endpoint: "wss://bridge-hub-polkadot-rpc.n.dwellir.com"
|
|
893
893
|
},
|
|
894
894
|
{
|
|
895
895
|
name: "Dwellir Tunisia",
|
|
@@ -932,7 +932,7 @@ var BridgeHubKusama$1 = {
|
|
|
932
932
|
providers: [
|
|
933
933
|
{
|
|
934
934
|
name: "Dwellir",
|
|
935
|
-
endpoint: "wss://bridge-hub-kusama-rpc.dwellir.com"
|
|
935
|
+
endpoint: "wss://bridge-hub-kusama-rpc.n.dwellir.com"
|
|
936
936
|
},
|
|
937
937
|
{
|
|
938
938
|
name: "Dwellir Tunisia",
|
|
@@ -950,6 +950,10 @@ var BridgeHubKusama$1 = {
|
|
|
950
950
|
name: "LuckyFriday",
|
|
951
951
|
endpoint: "wss://rpc-bridge-hub-kusama.luckyfriday.io"
|
|
952
952
|
},
|
|
953
|
+
{
|
|
954
|
+
name: "OnFinality",
|
|
955
|
+
endpoint: "wss://bridgehub-kusama.api.onfinality.io/public-ws"
|
|
956
|
+
},
|
|
953
957
|
{
|
|
954
958
|
name: "Parity",
|
|
955
959
|
endpoint: "wss://kusama-bridge-hub-rpc.polkadot.io"
|
|
@@ -969,14 +973,14 @@ var Centrifuge$1 = {
|
|
|
969
973
|
info: "centrifuge",
|
|
970
974
|
paraId: 2031,
|
|
971
975
|
providers: [
|
|
972
|
-
{
|
|
973
|
-
name: "LuckyFriday",
|
|
974
|
-
endpoint: "wss://rpc-centrifuge.luckyfriday.io"
|
|
975
|
-
},
|
|
976
976
|
{
|
|
977
977
|
name: "Centrifuge",
|
|
978
978
|
endpoint: "wss://fullnode.centrifuge.io"
|
|
979
979
|
},
|
|
980
|
+
{
|
|
981
|
+
name: "LuckyFriday",
|
|
982
|
+
endpoint: "wss://rpc-centrifuge.luckyfriday.io"
|
|
983
|
+
},
|
|
980
984
|
{
|
|
981
985
|
name: "OnFinality",
|
|
982
986
|
endpoint: "wss://centrifuge-parachain.api.onfinality.io/public-ws"
|
|
@@ -1005,7 +1009,7 @@ var Darwinia$1 = {
|
|
|
1005
1009
|
},
|
|
1006
1010
|
{
|
|
1007
1011
|
name: "Dwellir",
|
|
1008
|
-
endpoint: "wss://darwinia-rpc.dwellir.com"
|
|
1012
|
+
endpoint: "wss://darwinia-rpc.n.dwellir.com"
|
|
1009
1013
|
},
|
|
1010
1014
|
{
|
|
1011
1015
|
name: "Subquery",
|
|
@@ -1116,7 +1120,7 @@ var AssetHubKusama$1 = {
|
|
|
1116
1120
|
providers: [
|
|
1117
1121
|
{
|
|
1118
1122
|
name: "Dwellir",
|
|
1119
|
-
endpoint: "wss://asset-hub-kusama-rpc.dwellir.com"
|
|
1123
|
+
endpoint: "wss://asset-hub-kusama-rpc.n.dwellir.com"
|
|
1120
1124
|
},
|
|
1121
1125
|
{
|
|
1122
1126
|
name: "Dwellir Tunisia",
|
|
@@ -1134,6 +1138,10 @@ var AssetHubKusama$1 = {
|
|
|
1134
1138
|
name: "LuckyFriday",
|
|
1135
1139
|
endpoint: "wss://rpc-asset-hub-kusama.luckyfriday.io"
|
|
1136
1140
|
},
|
|
1141
|
+
{
|
|
1142
|
+
name: "OnFinality",
|
|
1143
|
+
endpoint: "wss://assethub-kusama.api.onfinality.io/public-ws"
|
|
1144
|
+
},
|
|
1137
1145
|
{
|
|
1138
1146
|
name: "Parity",
|
|
1139
1147
|
endpoint: "wss://kusama-asset-hub-rpc.polkadot.io"
|
|
@@ -1225,7 +1233,7 @@ var Encointer$1 = {
|
|
|
1225
1233
|
providers: [
|
|
1226
1234
|
{
|
|
1227
1235
|
name: "Dwellir",
|
|
1228
|
-
endpoint: "wss://encointer-kusama-rpc.dwellir.com"
|
|
1236
|
+
endpoint: "wss://encointer-kusama-rpc.n.dwellir.com"
|
|
1229
1237
|
},
|
|
1230
1238
|
{
|
|
1231
1239
|
name: "Encointer Association",
|
|
@@ -1294,10 +1302,6 @@ var BifrostKusama$1 = {
|
|
|
1294
1302
|
{
|
|
1295
1303
|
name: "LiebiUS",
|
|
1296
1304
|
endpoint: "wss://us.bifrost-rpc.liebi.com/ws"
|
|
1297
|
-
},
|
|
1298
|
-
{
|
|
1299
|
-
name: "RadiumBlock",
|
|
1300
|
-
endpoint: "wss://bifrost.public.curie.radiumblock.co/ws"
|
|
1301
1305
|
}
|
|
1302
1306
|
]
|
|
1303
1307
|
};
|
|
@@ -1335,7 +1339,7 @@ var Crab$1 = {
|
|
|
1335
1339
|
},
|
|
1336
1340
|
{
|
|
1337
1341
|
name: "Dwellir",
|
|
1338
|
-
endpoint: "wss://darwiniacrab-rpc.dwellir.com"
|
|
1342
|
+
endpoint: "wss://darwiniacrab-rpc.n.dwellir.com"
|
|
1339
1343
|
}
|
|
1340
1344
|
]
|
|
1341
1345
|
};
|
|
@@ -1362,11 +1366,7 @@ var Karura$1 = {
|
|
|
1362
1366
|
},
|
|
1363
1367
|
{
|
|
1364
1368
|
name: "Dwellir",
|
|
1365
|
-
endpoint: "wss://karura-rpc.dwellir.com"
|
|
1366
|
-
},
|
|
1367
|
-
{
|
|
1368
|
-
name: "OnFinality",
|
|
1369
|
-
endpoint: "wss://karura.api.onfinality.io/public-ws"
|
|
1369
|
+
endpoint: "wss://karura-rpc.n.dwellir.com"
|
|
1370
1370
|
}
|
|
1371
1371
|
]
|
|
1372
1372
|
};
|
|
@@ -1394,10 +1394,6 @@ var Moonriver$1 = {
|
|
|
1394
1394
|
name: "Allnodes",
|
|
1395
1395
|
endpoint: "wss://moonriver-rpc.publicnode.com"
|
|
1396
1396
|
},
|
|
1397
|
-
{
|
|
1398
|
-
name: "Blast",
|
|
1399
|
-
endpoint: "wss://moonriver.public.blastapi.io"
|
|
1400
|
-
},
|
|
1401
1397
|
{
|
|
1402
1398
|
name: "Dwellir",
|
|
1403
1399
|
endpoint: "wss://moonriver-rpc.n.dwellir.com"
|
|
@@ -1420,6 +1416,17 @@ var Moonriver$1 = {
|
|
|
1420
1416
|
}
|
|
1421
1417
|
]
|
|
1422
1418
|
};
|
|
1419
|
+
var Laos$1 = {
|
|
1420
|
+
name: "Laos",
|
|
1421
|
+
info: "laos",
|
|
1422
|
+
paraId: 3370,
|
|
1423
|
+
providers: [
|
|
1424
|
+
{
|
|
1425
|
+
name: "laosfoundation.io",
|
|
1426
|
+
endpoint: "wss://rpc.laos.laosfoundation.io"
|
|
1427
|
+
}
|
|
1428
|
+
]
|
|
1429
|
+
};
|
|
1423
1430
|
var Quartz$1 = {
|
|
1424
1431
|
name: "QUARTZ by UNIQUE",
|
|
1425
1432
|
info: "quartz",
|
|
@@ -1548,13 +1555,9 @@ var Shiden$1 = {
|
|
|
1548
1555
|
name: "Astar",
|
|
1549
1556
|
endpoint: "wss://rpc.shiden.astar.network"
|
|
1550
1557
|
},
|
|
1551
|
-
{
|
|
1552
|
-
name: "Blast",
|
|
1553
|
-
endpoint: "wss://shiden.public.blastapi.io"
|
|
1554
|
-
},
|
|
1555
1558
|
{
|
|
1556
1559
|
name: "Dwellir",
|
|
1557
|
-
endpoint: "wss://shiden-rpc.dwellir.com"
|
|
1560
|
+
endpoint: "wss://shiden-rpc.n.dwellir.com"
|
|
1558
1561
|
},
|
|
1559
1562
|
{
|
|
1560
1563
|
name: "OnFinality",
|
|
@@ -1686,7 +1689,7 @@ var Collectives$1 = {
|
|
|
1686
1689
|
providers: [
|
|
1687
1690
|
{
|
|
1688
1691
|
name: "Dwellir",
|
|
1689
|
-
endpoint: "wss://collectives-polkadot-rpc.dwellir.com"
|
|
1692
|
+
endpoint: "wss://collectives-polkadot-rpc.n.dwellir.com"
|
|
1690
1693
|
},
|
|
1691
1694
|
{
|
|
1692
1695
|
name: "Dwellir Tunisia",
|
|
@@ -1729,7 +1732,7 @@ var Phala$1 = {
|
|
|
1729
1732
|
providers: [
|
|
1730
1733
|
{
|
|
1731
1734
|
name: "Dwellir",
|
|
1732
|
-
endpoint: "wss://phala-rpc.dwellir.com"
|
|
1735
|
+
endpoint: "wss://phala-rpc.n.dwellir.com"
|
|
1733
1736
|
},
|
|
1734
1737
|
{
|
|
1735
1738
|
name: "Helikon",
|
|
@@ -1862,7 +1865,7 @@ var Polkadot = {
|
|
|
1862
1865
|
},
|
|
1863
1866
|
{
|
|
1864
1867
|
name: "Dwellir",
|
|
1865
|
-
endpoint: "wss://polkadot-rpc.dwellir.com"
|
|
1868
|
+
endpoint: "wss://polkadot-rpc.n.dwellir.com"
|
|
1866
1869
|
},
|
|
1867
1870
|
{
|
|
1868
1871
|
name: "Dwellir Tunisia",
|
|
@@ -1917,7 +1920,7 @@ var Kusama = {
|
|
|
1917
1920
|
},
|
|
1918
1921
|
{
|
|
1919
1922
|
name: "Dwellir",
|
|
1920
|
-
endpoint: "wss://kusama-rpc.dwellir.com"
|
|
1923
|
+
endpoint: "wss://kusama-rpc.n.dwellir.com"
|
|
1921
1924
|
},
|
|
1922
1925
|
{
|
|
1923
1926
|
name: "Dwellir Tunisia",
|
|
@@ -1981,6 +1984,7 @@ var configs = {
|
|
|
1981
1984
|
Karura: Karura$1,
|
|
1982
1985
|
Kintsugi: Kintsugi$1,
|
|
1983
1986
|
Moonriver: Moonriver$1,
|
|
1987
|
+
Laos: Laos$1,
|
|
1984
1988
|
Quartz: Quartz$1,
|
|
1985
1989
|
RobonomicsKusama: RobonomicsKusama$1,
|
|
1986
1990
|
RobonomicsPolkadot: RobonomicsPolkadot$1,
|
|
@@ -8955,6 +8959,37 @@ var Kintsugi = /*#__PURE__*/function (_ParachainNode) {
|
|
|
8955
8959
|
}]);
|
|
8956
8960
|
}(ParachainNode);
|
|
8957
8961
|
|
|
8962
|
+
var Laos = /*#__PURE__*/function (_ParachainNode) {
|
|
8963
|
+
function Laos() {
|
|
8964
|
+
_classCallCheck(this, Laos);
|
|
8965
|
+
return _callSuper(this, Laos, ['Laos', 'laos', 'polkadot', Version.V4]);
|
|
8966
|
+
}
|
|
8967
|
+
_inherits(Laos, _ParachainNode);
|
|
8968
|
+
return _createClass(Laos, [{
|
|
8969
|
+
key: "transferPolkadotXCM",
|
|
8970
|
+
value: function transferPolkadotXCM(input) {
|
|
8971
|
+
var scenario = input.scenario,
|
|
8972
|
+
asset = input.asset,
|
|
8973
|
+
destination = input.destination;
|
|
8974
|
+
if (scenario !== 'ParaToPara') {
|
|
8975
|
+
throw new ScenarioNotSupportedError(this.node, scenario);
|
|
8976
|
+
}
|
|
8977
|
+
if (asset.symbol !== this.getNativeAssetSymbol()) {
|
|
8978
|
+
throw new InvalidCurrencyError("Asset ".concat(asset.symbol, " is not supported by node ").concat(this.node, "."));
|
|
8979
|
+
}
|
|
8980
|
+
if (destination === 'AssetHubPolkadot') {
|
|
8981
|
+
throw new TransferToAhNotSupported('Transfer from Laos to AssetHubPolkadot is not supported.');
|
|
8982
|
+
}
|
|
8983
|
+
return transferPolkadotXcm(input, 'limited_reserve_transfer_assets', 'Unlimited');
|
|
8984
|
+
}
|
|
8985
|
+
}, {
|
|
8986
|
+
key: "transferRelayToPara",
|
|
8987
|
+
value: function transferRelayToPara() {
|
|
8988
|
+
throw new NodeNotSupportedError();
|
|
8989
|
+
}
|
|
8990
|
+
}]);
|
|
8991
|
+
}(ParachainNode);
|
|
8992
|
+
|
|
8958
8993
|
var Manta = /*#__PURE__*/function (_ParachainNode) {
|
|
8959
8994
|
function Manta() {
|
|
8960
8995
|
_classCallCheck(this, Manta);
|
|
@@ -9786,6 +9821,7 @@ var nodes = function nodes() {
|
|
|
9786
9821
|
Karura: new Karura(),
|
|
9787
9822
|
Kintsugi: new Kintsugi(),
|
|
9788
9823
|
Moonriver: new Moonriver(),
|
|
9824
|
+
Laos: new Laos(),
|
|
9789
9825
|
Quartz: new Quartz(),
|
|
9790
9826
|
RobonomicsKusama: new RobonomicsKusama(),
|
|
9791
9827
|
RobonomicsPolkadot: new RobonomicsPolkadot(),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@paraspell/sdk-core",
|
|
3
|
-
"version": "10.8.
|
|
3
|
+
"version": "10.8.2",
|
|
4
4
|
"description": "SDK core for ParaSpell XCM/XCMP tool for developers",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -25,10 +25,10 @@
|
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"@noble/hashes": "^1.8.0",
|
|
27
27
|
"@scure/base": "^1.2.6",
|
|
28
|
-
"viem": "^2.
|
|
29
|
-
"@paraspell/
|
|
30
|
-
"@paraspell/sdk-common": "10.8.
|
|
31
|
-
"@paraspell/
|
|
28
|
+
"viem": "^2.31.6",
|
|
29
|
+
"@paraspell/assets": "10.8.2",
|
|
30
|
+
"@paraspell/sdk-common": "10.8.2",
|
|
31
|
+
"@paraspell/pallets": "10.8.2"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"@babel/plugin-syntax-import-attributes": "^7.27.1",
|
|
@@ -38,12 +38,12 @@
|
|
|
38
38
|
"@polkadot/types": "^16.1.1",
|
|
39
39
|
"@rollup/plugin-babel": "^6.0.4",
|
|
40
40
|
"@rollup/plugin-json": "^6.1.0",
|
|
41
|
-
"@rollup/plugin-typescript": "^12.1.
|
|
42
|
-
"@vitest/coverage-v8": "^3.
|
|
43
|
-
"axios": "^1.
|
|
44
|
-
"dotenv": "^
|
|
45
|
-
"prettier": "^3.
|
|
46
|
-
"rollup": "^4.
|
|
41
|
+
"@rollup/plugin-typescript": "^12.1.4",
|
|
42
|
+
"@vitest/coverage-v8": "^3.2.4",
|
|
43
|
+
"axios": "^1.10.0",
|
|
44
|
+
"dotenv": "^17.0.0",
|
|
45
|
+
"prettier": "^3.6.2",
|
|
46
|
+
"rollup": "^4.44.1",
|
|
47
47
|
"rollup-plugin-dts": "^6.2.1",
|
|
48
48
|
"ts-morph": "^26.0.0",
|
|
49
49
|
"ts-node": "^10.9.2",
|