@paraspell/sdk 8.0.1 → 8.0.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.
Files changed (2) hide show
  1. package/dist/index.d.ts +3 -3
  2. package/package.json +2 -2
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as _paraspell_sdk_core from '@paraspell/sdk-core';
2
- import { TApiOrUrl, Foreign, ForeignAbstract, Native, Override, getAllAssetsSymbols, getAssetBySymbolOrId, getAssetDecimals, getAssetId, getAssets, getAssetsObject, getExistentialDeposit, getNativeAssetSymbol, getNativeAssets, getOtherAssets, getRelayChainSymbol, getSupportedAssets, getTNode, hasSupportForAsset, isNodeEvm, TOptionalEvmBuilderOptions, IPolkadotApi, TNodePolkadotKusama, TCurrencyCoreV1WithAmount, GeneralBuilder as GeneralBuilder$1, IFinalBuilderWithOptions as IFinalBuilderWithOptions$1, TNodeDotKsmWithRelayChains } from '@paraspell/sdk-core';
2
+ import { TApiOrUrl, Foreign, ForeignAbstract, Native, Override, getAllAssetsSymbols, getAssetBySymbolOrId, getAssetDecimals, getAssetId, getAssets, getAssetsObject, getExistentialDeposit, getNativeAssetSymbol, getNativeAssets, getOtherAssets, getRelayChainSymbol, getSupportedAssets, getTNode, hasSupportForAsset, isNodeEvm, TOptionalEvmBuilderOptions, IPolkadotApi, TNodeDotKsmWithRelayChains, TCurrencyInputWithAmount, GeneralBuilder as GeneralBuilder$1, IFinalBuilderWithOptions as IFinalBuilderWithOptions$1 } from '@paraspell/sdk-core';
3
3
  export * from '@paraspell/sdk-core';
4
4
  import * as polkadot_api from 'polkadot-api';
5
5
  import { PolkadotClient, UnsafeTransaction } from 'polkadot-api';
@@ -134,14 +134,14 @@ declare class EvmBuilderClass<TApi, TRes> {
134
134
  * @param node - The Polkadot node to which the transfer will be made.
135
135
  * @returns An instance of EvmBuilder
136
136
  */
137
- to(node: TNodePolkadotKusama): this;
137
+ to(node: TNodeDotKsmWithRelayChains): this;
138
138
  /**
139
139
  * Specifies the currency to transfer.
140
140
  *
141
141
  * @param currency - The currency to be transferred.
142
142
  * @returns An instance of EvmBuilder
143
143
  */
144
- currency(currency: TCurrencyCoreV1WithAmount): this;
144
+ currency(currency: TCurrencyInputWithAmount): this;
145
145
  /**
146
146
  * Specifies the recipient address on Polkadot.
147
147
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@paraspell/sdk",
3
- "version": "8.0.1",
3
+ "version": "8.0.2",
4
4
  "description": "SDK for ParaSpell XCM/XCMP tool for developers",
5
5
  "repository": "@paraspell/sdk",
6
6
  "license": "MIT",
@@ -21,7 +21,7 @@
21
21
  "dependencies": {
22
22
  "ethers": "^6.13.4",
23
23
  "viem": "^2.21.58",
24
- "@paraspell/sdk-core": "8.0.1"
24
+ "@paraspell/sdk-core": "8.0.2"
25
25
  },
26
26
  "peerDependencies": {
27
27
  "polkadot-api": ">= 1.8.1 < 2"