@paraspell/sdk 10.10.11 → 10.11.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/README.md +33 -4
- package/dist/index.cjs +255 -240
- package/dist/index.d.ts +2 -2
- package/dist/index.mjs +256 -241
- package/package.json +10 -10
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as _paraspell_sdk_core from '@paraspell/sdk-core';
|
|
2
2
|
import { TApiOrUrl, Foreign, ForeignAbstract, Native, Override, findAsset, getAllAssetsSymbols, getAssetDecimals, getAssetId, getAssets, getAssetsObject, getExistentialDeposit, getNativeAssetSymbol, getNativeAssets, getOtherAssets, getRelayChainSymbol, getSupportedAssets, getTNode, hasSupportForAsset, isNodeEvm, TNodeDotKsmWithRelayChains, TEvmBuilderOptions, TNodeWithRelayChains, TCurrencyInputWithAmount, GeneralBuilder as GeneralBuilder$1, TSendBaseOptions, TGetXcmFeeBaseOptions } from '@paraspell/sdk-core';
|
|
3
3
|
export * from '@paraspell/sdk-core';
|
|
4
|
-
import { TEvmNodeFrom } from '@paraspell/sdk-core/src';
|
|
4
|
+
import { TEvmNodeFrom, TBuilderOptions } from '@paraspell/sdk-core/src';
|
|
5
5
|
import * as polkadot_api from 'polkadot-api';
|
|
6
6
|
import { PolkadotClient, UnsafeTransaction } from 'polkadot-api';
|
|
7
7
|
import { WalletClient } from 'viem';
|
|
@@ -177,7 +177,7 @@ declare class EvmBuilderCore<TApi, TRes, T extends Partial<TEvmBuilderOptions<TA
|
|
|
177
177
|
* @param api - The API instance to use for building transactions. If not provided, a new instance will be created.
|
|
178
178
|
* @returns A new Builder instance.
|
|
179
179
|
*/
|
|
180
|
-
declare const Builder: (api?: TPapiApiOrUrl) => GeneralBuilder$1<PolkadotClient, TPapiTransaction, object>;
|
|
180
|
+
declare const Builder: (api?: TBuilderOptions<TPapiApiOrUrl>) => GeneralBuilder$1<PolkadotClient, TPapiTransaction, object>;
|
|
181
181
|
type GeneralBuilder<T extends Partial<TSendBaseOptions> = object> = GeneralBuilder$1<PolkadotClient, TPapiTransaction, T>;
|
|
182
182
|
declare const EvmBuilder: () => EvmBuilderCore<unknown, unknown, {
|
|
183
183
|
api: _paraspell_sdk_core.IPolkadotApi<PolkadotClient, TPapiTransaction>;
|