@paraspell/sdk-core 8.5.1 → 8.5.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 CHANGED
@@ -14714,7 +14714,7 @@ var generateAddressPayload = function generateAddressPayload(api, scenario, pall
14714
14714
  AccountId32: _objectSpread2(_objectSpread2({}, version === exports.Version.V1 && {
14715
14715
  network: 'any'
14716
14716
  }), {}, {
14717
- id: api.createAccountId(recipientAddress)
14717
+ id: api.accountToHex(recipientAddress)
14718
14718
  })
14719
14719
  })
14720
14720
  });
@@ -14735,7 +14735,7 @@ var generateAddressPayload = function generateAddressPayload(api, scenario, pall
14735
14735
  AccountId32: _objectSpread2(_objectSpread2({}, (version === exports.Version.V1 || version === exports.Version.V2) && {
14736
14736
  network: 'any'
14737
14737
  }), {}, {
14738
- id: api.createAccountId(recipientAddress)
14738
+ id: api.accountToHex(recipientAddress)
14739
14739
  })
14740
14740
  }]
14741
14741
  }
@@ -14754,7 +14754,7 @@ var generateAddressPayload = function generateAddressPayload(api, scenario, pall
14754
14754
  AccountId32: _objectSpread2(_objectSpread2({}, (version === exports.Version.V1 || version === exports.Version.V2) && {
14755
14755
  network: 'any'
14756
14756
  }), {}, {
14757
- id: api.createAccountId(recipientAddress)
14757
+ id: api.accountToHex(recipientAddress)
14758
14758
  })
14759
14759
  })
14760
14760
  });
@@ -14767,7 +14767,7 @@ var generateAddressPayload = function generateAddressPayload(api, scenario, pall
14767
14767
  }
14768
14768
  } : {
14769
14769
  AccountId32: {
14770
- id: api.createAccountId(recipientAddress)
14770
+ id: api.accountToHex(recipientAddress)
14771
14771
  }
14772
14772
  })
14773
14773
  });
@@ -15895,7 +15895,7 @@ var generateAddressMultiLocationV4 = function generateAddressMultiLocationV4(api
15895
15895
  }
15896
15896
  } : {
15897
15897
  AccountId32: {
15898
- id: api.createAccountId(address),
15898
+ id: api.accountToHex(address),
15899
15899
  network: null
15900
15900
  }
15901
15901
  }]
@@ -16673,7 +16673,7 @@ var getDestination = function getDestination(_ref) {
16673
16673
  }
16674
16674
  } : {
16675
16675
  AccountId32: {
16676
- id: api.createAccountId(recipientAddress)
16676
+ id: api.accountToHex(recipientAddress)
16677
16677
  }
16678
16678
  };
16679
16679
  return {
@@ -18836,7 +18836,7 @@ var buildBeneficiaryInput = function buildBeneficiaryInput(api, address) {
18836
18836
  }
18837
18837
  } : {
18838
18838
  AccountId32: {
18839
- id: api.createAccountId(address)
18839
+ id: api.accountToHex(address)
18840
18840
  }
18841
18841
  }
18842
18842
  }
package/dist/index.d.ts CHANGED
@@ -1294,7 +1294,6 @@ interface IPolkadotApi<TApi, TRes> {
1294
1294
  getApiOrUrl(): TApiOrUrl<TApi> | undefined;
1295
1295
  init(node: TNodeWithRelayChains): Promise<void>;
1296
1296
  createApiInstance: (wsUrl: string | string[]) => Promise<TApi>;
1297
- createAccountId(address: string): string;
1298
1297
  accountToHex(address: string, isPrefixed?: boolean): string;
1299
1298
  callTxMethod(serializedCall: TSerializedApiCall): TRes;
1300
1299
  callBatchMethod(calls: TRes[], mode: BatchMode): TRes;
package/dist/index.mjs CHANGED
@@ -14712,7 +14712,7 @@ var generateAddressPayload = function generateAddressPayload(api, scenario, pall
14712
14712
  AccountId32: _objectSpread2(_objectSpread2({}, version === Version.V1 && {
14713
14713
  network: 'any'
14714
14714
  }), {}, {
14715
- id: api.createAccountId(recipientAddress)
14715
+ id: api.accountToHex(recipientAddress)
14716
14716
  })
14717
14717
  })
14718
14718
  });
@@ -14733,7 +14733,7 @@ var generateAddressPayload = function generateAddressPayload(api, scenario, pall
14733
14733
  AccountId32: _objectSpread2(_objectSpread2({}, (version === Version.V1 || version === Version.V2) && {
14734
14734
  network: 'any'
14735
14735
  }), {}, {
14736
- id: api.createAccountId(recipientAddress)
14736
+ id: api.accountToHex(recipientAddress)
14737
14737
  })
14738
14738
  }]
14739
14739
  }
@@ -14752,7 +14752,7 @@ var generateAddressPayload = function generateAddressPayload(api, scenario, pall
14752
14752
  AccountId32: _objectSpread2(_objectSpread2({}, (version === Version.V1 || version === Version.V2) && {
14753
14753
  network: 'any'
14754
14754
  }), {}, {
14755
- id: api.createAccountId(recipientAddress)
14755
+ id: api.accountToHex(recipientAddress)
14756
14756
  })
14757
14757
  })
14758
14758
  });
@@ -14765,7 +14765,7 @@ var generateAddressPayload = function generateAddressPayload(api, scenario, pall
14765
14765
  }
14766
14766
  } : {
14767
14767
  AccountId32: {
14768
- id: api.createAccountId(recipientAddress)
14768
+ id: api.accountToHex(recipientAddress)
14769
14769
  }
14770
14770
  })
14771
14771
  });
@@ -15893,7 +15893,7 @@ var generateAddressMultiLocationV4 = function generateAddressMultiLocationV4(api
15893
15893
  }
15894
15894
  } : {
15895
15895
  AccountId32: {
15896
- id: api.createAccountId(address),
15896
+ id: api.accountToHex(address),
15897
15897
  network: null
15898
15898
  }
15899
15899
  }]
@@ -16671,7 +16671,7 @@ var getDestination = function getDestination(_ref) {
16671
16671
  }
16672
16672
  } : {
16673
16673
  AccountId32: {
16674
- id: api.createAccountId(recipientAddress)
16674
+ id: api.accountToHex(recipientAddress)
16675
16675
  }
16676
16676
  };
16677
16677
  return {
@@ -18834,7 +18834,7 @@ var buildBeneficiaryInput = function buildBeneficiaryInput(api, address) {
18834
18834
  }
18835
18835
  } : {
18836
18836
  AccountId32: {
18837
- id: api.createAccountId(address)
18837
+ id: api.accountToHex(address)
18838
18838
  }
18839
18839
  }
18840
18840
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@paraspell/sdk-core",
3
- "version": "8.5.1",
3
+ "version": "8.5.2",
4
4
  "description": "SDK core for ParaSpell XCM/XCMP tool for developers",
5
5
  "repository": {
6
6
  "type": "git",