@paraspell/sdk-core 12.10.0-rc.2 → 13.0.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/dist/index.mjs +7 -10
- package/package.json +6 -6
package/dist/index.mjs
CHANGED
|
@@ -9636,7 +9636,7 @@ var createTxOverrideAmount = /*#__PURE__*/function () {
|
|
|
9636
9636
|
}();
|
|
9637
9637
|
var createTransferOrSwapAll = /*#__PURE__*/function () {
|
|
9638
9638
|
var _ref3 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee3(options) {
|
|
9639
|
-
var api, from, swapOptions,
|
|
9639
|
+
var api, from, swapOptions, tx;
|
|
9640
9640
|
return _regenerator().w(function (_context3) {
|
|
9641
9641
|
while (1) switch (_context3.n) {
|
|
9642
9642
|
case 0:
|
|
@@ -9651,19 +9651,16 @@ var createTransferOrSwapAll = /*#__PURE__*/function () {
|
|
|
9651
9651
|
return builder.build();
|
|
9652
9652
|
}));
|
|
9653
9653
|
case 1:
|
|
9654
|
-
_t = api.api;
|
|
9655
|
-
_t2 = from;
|
|
9656
9654
|
_context3.n = 2;
|
|
9657
9655
|
return createTransfer(options);
|
|
9658
9656
|
case 2:
|
|
9659
|
-
|
|
9660
|
-
|
|
9657
|
+
tx = _context3.v;
|
|
9658
|
+
return _context3.a(2, [{
|
|
9661
9659
|
type: 'TRANSFER',
|
|
9662
|
-
api:
|
|
9663
|
-
chain:
|
|
9664
|
-
tx:
|
|
9665
|
-
};
|
|
9666
|
-
return _context3.a(2, [_t4]);
|
|
9660
|
+
api: api.api,
|
|
9661
|
+
chain: from,
|
|
9662
|
+
tx: tx
|
|
9663
|
+
}]);
|
|
9667
9664
|
}
|
|
9668
9665
|
}, _callee3);
|
|
9669
9666
|
}));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@paraspell/sdk-core",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "13.0.0",
|
|
4
4
|
"description": "SDK core for ParaSpell XCM/XCMP tool for developers",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -25,13 +25,13 @@
|
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"@noble/hashes": "^2.0.1",
|
|
27
27
|
"@scure/base": "^2.0.0",
|
|
28
|
-
"viem": "2.47.
|
|
29
|
-
"@paraspell/assets": "
|
|
30
|
-
"@paraspell/pallets": "
|
|
31
|
-
"@paraspell/sdk-common": "
|
|
28
|
+
"viem": "^2.47.6",
|
|
29
|
+
"@paraspell/assets": "13.0.0",
|
|
30
|
+
"@paraspell/pallets": "13.0.0",
|
|
31
|
+
"@paraspell/sdk-common": "13.0.0"
|
|
32
32
|
},
|
|
33
33
|
"peerDependencies": {
|
|
34
|
-
"@paraspell/swap": "12.10.0-rc.
|
|
34
|
+
"@paraspell/swap": "12.10.0-rc.3"
|
|
35
35
|
},
|
|
36
36
|
"peerDependenciesMeta": {
|
|
37
37
|
"@paraspell/swap": {
|