@paraspell/sdk 3.0.8 → 3.0.9

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
@@ -5599,10 +5599,7 @@ var BifrostKusama$1 = /*#__PURE__*/function (_ParachainNode) {
5599
5599
  _createClass(BifrostKusama, [{
5600
5600
  key: "transferXTokens",
5601
5601
  value: function transferXTokens(input) {
5602
- // Multiple asset options need addressing
5603
- var currencySelection = {
5604
- Native: input.currency
5605
- };
5602
+ var currencySelection = _defineProperty({}, input.currency === 'BNC' ? 'Native' : 'Token', input.currency);
5606
5603
  return XTokensTransferImpl.transferXTokens(input, currencySelection);
5607
5604
  }
5608
5605
  }]);
package/dist/index.mjs CHANGED
@@ -5597,10 +5597,7 @@ var BifrostKusama$1 = /*#__PURE__*/function (_ParachainNode) {
5597
5597
  _createClass(BifrostKusama, [{
5598
5598
  key: "transferXTokens",
5599
5599
  value: function transferXTokens(input) {
5600
- // Multiple asset options need addressing
5601
- var currencySelection = {
5602
- Native: input.currency
5603
- };
5600
+ var currencySelection = _defineProperty({}, input.currency === 'BNC' ? 'Native' : 'Token', input.currency);
5604
5601
  return XTokensTransferImpl.transferXTokens(input, currencySelection);
5605
5602
  }
5606
5603
  }]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@paraspell/sdk",
3
- "version": "3.0.8",
3
+ "version": "3.0.9",
4
4
  "description": "SDK for ParaSpell XCM/XCMP tool for developers",
5
5
  "repository": "@paraspell/sdk",
6
6
  "license": "MIT",