@paraspell/sdk-core 8.14.0 → 8.15.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.cjs CHANGED
@@ -8064,14 +8064,15 @@ var buildClaimAssetsInput = function buildClaimAssetsInput(_ref) {
8064
8064
 
8065
8065
  var claimAssets = /*#__PURE__*/function () {
8066
8066
  var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(options) {
8067
- var api, node, args, module, call;
8067
+ var api, node, address, args, module, call;
8068
8068
  return _regeneratorRuntime().wrap(function _callee$(_context) {
8069
8069
  while (1) switch (_context.prev = _context.next) {
8070
8070
  case 0:
8071
- api = options.api, node = options.node;
8072
- _context.next = 3;
8071
+ api = options.api, node = options.node, address = options.address;
8072
+ validateAddress(address, node);
8073
+ _context.next = 4;
8073
8074
  return api.init(node, TX_CLIENT_TIMEOUT_MS);
8074
- case 3:
8075
+ case 4:
8075
8076
  args = buildClaimAssetsInput(options);
8076
8077
  module = sdkCommon.isRelayChain(node) ? 'XcmPallet' : 'PolkadotXcm';
8077
8078
  call = {
@@ -8080,7 +8081,7 @@ var claimAssets = /*#__PURE__*/function () {
8080
8081
  parameters: args
8081
8082
  };
8082
8083
  return _context.abrupt("return", api.callTxMethod(call));
8083
- case 7:
8084
+ case 8:
8084
8085
  case "end":
8085
8086
  return _context.stop();
8086
8087
  }
package/dist/index.mjs CHANGED
@@ -8065,14 +8065,15 @@ var buildClaimAssetsInput = function buildClaimAssetsInput(_ref) {
8065
8065
 
8066
8066
  var claimAssets = /*#__PURE__*/function () {
8067
8067
  var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(options) {
8068
- var api, node, args, module, call;
8068
+ var api, node, address, args, module, call;
8069
8069
  return _regeneratorRuntime().wrap(function _callee$(_context) {
8070
8070
  while (1) switch (_context.prev = _context.next) {
8071
8071
  case 0:
8072
- api = options.api, node = options.node;
8073
- _context.next = 3;
8072
+ api = options.api, node = options.node, address = options.address;
8073
+ validateAddress(address, node);
8074
+ _context.next = 4;
8074
8075
  return api.init(node, TX_CLIENT_TIMEOUT_MS);
8075
- case 3:
8076
+ case 4:
8076
8077
  args = buildClaimAssetsInput(options);
8077
8078
  module = isRelayChain(node) ? 'XcmPallet' : 'PolkadotXcm';
8078
8079
  call = {
@@ -8081,7 +8082,7 @@ var claimAssets = /*#__PURE__*/function () {
8081
8082
  parameters: args
8082
8083
  };
8083
8084
  return _context.abrupt("return", api.callTxMethod(call));
8084
- case 7:
8085
+ case 8:
8085
8086
  case "end":
8086
8087
  return _context.stop();
8087
8088
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@paraspell/sdk-core",
3
- "version": "8.14.0",
3
+ "version": "8.15.0",
4
4
  "description": "SDK core for ParaSpell XCM/XCMP tool for developers",
5
5
  "repository": {
6
6
  "type": "git",
@@ -25,9 +25,9 @@
25
25
  "dependencies": {
26
26
  "ethers": "^6.13.7",
27
27
  "viem": "^2.28.1",
28
- "@paraspell/pallets": "8.14.0",
29
- "@paraspell/assets": "8.14.0",
30
- "@paraspell/sdk-common": "8.14.0"
28
+ "@paraspell/sdk-common": "8.15.0",
29
+ "@paraspell/pallets": "8.15.0",
30
+ "@paraspell/assets": "8.15.0"
31
31
  },
32
32
  "devDependencies": {
33
33
  "@babel/plugin-syntax-import-attributes": "^7.27.1",