@paraspell/sdk-core 11.9.0 → 11.9.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.d.ts CHANGED
@@ -452,6 +452,7 @@ declare class GeneralBuilder<TApi, TRes, T extends Partial<TSendBaseOptions> = o
452
452
  */
453
453
  buildBatch(this: GeneralBuilder<TApi, TRes, TSendBaseOptions>, options?: TBatchOptions): Promise<TRes>;
454
454
  protected buildInternal<TOptions extends TSendBaseOptions>(this: GeneralBuilder<TApi, TRes, TOptions>): Promise<TBuildInternalRes<TApi, TRes, TOptions>>;
455
+ private prepareNormalizedOptions;
455
456
  /**
456
457
  * Builds and returns the transfer extrinsic.
457
458
  *
@@ -1431,7 +1432,7 @@ interface IPolkadotApi<TApi, TRes> {
1431
1432
  getConfig(): TBuilderOptions<TApiOrUrl<TApi>> | undefined;
1432
1433
  getApi(): TApi;
1433
1434
  init(chain: TChain, clientTtlMs?: number): Promise<void>;
1434
- createApiInstance: (wsUrl: string | string[]) => Promise<TApi>;
1435
+ createApiInstance: (wsUrl: string | string[], chain: TSubstrateChain) => Promise<TApi>;
1435
1436
  accountToHex(address: string, isPrefixed?: boolean): string;
1436
1437
  accountToUint8a(address: string): Uint8Array;
1437
1438
  callTxMethod(serializedCall: TSerializedApiCall): TRes;