@reown/appkit-controllers 1.7.2-rc1 → 1.7.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.
@@ -32,7 +32,7 @@ export declare const AccountController: {
32
32
  subscribe(callback: (val: AccountControllerState) => void): () => void;
33
33
  subscribeKey<K extends keyof AccountControllerState>(property: K, callback: (val: AccountControllerState[K]) => void, chain?: ChainNamespace): () => void;
34
34
  setStatus(status: AccountControllerState["status"], chain: ChainNamespace | undefined): void;
35
- getCaipAddress(chain: ChainNamespace | undefined): `solana:${string}:${string}` | `solana:${number}:${string}` | `polkadot:${string}:${string}` | `polkadot:${number}:${string}` | `bip122:${string}:${string}` | `bip122:${number}:${string}` | `eip155:${string}:${string}` | `eip155:${number}:${string}` | undefined;
35
+ getCaipAddress(chain: ChainNamespace | undefined): `eip155:${string}:${string}` | `eip155:${number}:${string}` | `solana:${string}:${string}` | `solana:${number}:${string}` | `polkadot:${string}:${string}` | `polkadot:${number}:${string}` | `bip122:${string}:${string}` | `bip122:${number}:${string}` | undefined;
36
36
  setCaipAddress(caipAddress: AccountControllerState["caipAddress"], chain: ChainNamespace | undefined): void;
37
37
  setBalance(balance: AccountControllerState["balance"], balanceSymbol: AccountControllerState["balanceSymbol"], chain: ChainNamespace): void;
38
38
  setProfileName(profileName: AccountControllerState["profileName"], chain: ChainNamespace): void;
@@ -35,7 +35,7 @@ export declare const BlockchainApiController: {
35
35
  allowance: string;
36
36
  }>;
37
37
  fetchGasPrice({ chainId }: BlockchainApiGasPriceRequest): Promise<BlockchainApiGasPriceResponse>;
38
- generateSwapCalldata({ amount, from, to, userAddress }: BlockchainApiGenerateSwapCalldataRequest): Promise<BlockchainApiGenerateSwapCalldataResponse>;
38
+ generateSwapCalldata({ amount, from, to, userAddress, disableEstimate }: BlockchainApiGenerateSwapCalldataRequest): Promise<BlockchainApiGenerateSwapCalldataResponse>;
39
39
  generateApproveCalldata({ from, to, userAddress }: BlockchainApiGenerateApproveCalldataRequest): Promise<BlockchainApiGenerateApproveCalldataResponse>;
40
40
  getBalance(address: string, chainId?: string, forceUpdate?: string): Promise<BlockchainApiBalanceResponse>;
41
41
  lookupEnsName(name: string): Promise<BlockchainApiLookupEnsName | {
@@ -47,7 +47,7 @@ export declare const ChainController: {
47
47
  setRequestedCaipNetworks(requestedCaipNetworks: CaipNetwork[], chain: ChainNamespace): void;
48
48
  getAllApprovedCaipNetworkIds(): CaipNetworkId[];
49
49
  getActiveCaipNetwork(): CaipNetwork | undefined;
50
- getActiveCaipAddress(): `solana:${string}:${string}` | `solana:${number}:${string}` | `polkadot:${string}:${string}` | `polkadot:${number}:${string}` | `bip122:${string}:${string}` | `bip122:${number}:${string}` | `eip155:${string}:${string}` | `eip155:${number}:${string}` | undefined;
50
+ getActiveCaipAddress(): `eip155:${string}:${string}` | `eip155:${number}:${string}` | `solana:${string}:${string}` | `solana:${number}:${string}` | `polkadot:${string}:${string}` | `polkadot:${number}:${string}` | `bip122:${string}:${string}` | `bip122:${number}:${string}` | undefined;
51
51
  getApprovedCaipNetworkIds(namespace: ChainNamespace): CaipNetworkId[];
52
52
  setApprovedCaipNetworksData(namespace: ChainNamespace): Promise<void>;
53
53
  checkIfSupportedNetwork(namespace: ChainNamespace, caipNetwork?: CaipNetwork): boolean;
@@ -70,6 +70,6 @@ export declare const ChainController: {
70
70
  * @param namespace - The namespace to get the requested CaipNetwork IDs for
71
71
  * @returns The requested CaipNetwork IDs
72
72
  */
73
- getRequestedCaipNetworkIds(): (`solana:${string}` | `solana:${number}` | `polkadot:${string}` | `polkadot:${number}` | `bip122:${string}` | `bip122:${number}` | `eip155:${string}` | `eip155:${number}`)[];
73
+ getRequestedCaipNetworkIds(): (`eip155:${string}` | `eip155:${number}` | `solana:${string}` | `solana:${number}` | `polkadot:${string}` | `polkadot:${number}` | `bip122:${string}` | `bip122:${number}`)[];
74
74
  };
75
75
  export {};
@@ -228,7 +228,7 @@ export declare const OptionsController: {
228
228
  | undefined;
229
229
  readonly projectId: ProjectId;
230
230
  readonly customRpcUrls?: {
231
- readonly [x: `solana:${string}`]: readonly {
231
+ readonly [x: `eip155:${string}`]: readonly {
232
232
  readonly url: string;
233
233
  readonly config?: {
234
234
  readonly batch?: boolean | {
@@ -236,11 +236,9 @@ export declare const OptionsController: {
236
236
  readonly wait?: number | undefined | undefined;
237
237
  } | undefined;
238
238
  readonly fetchOptions?: {
239
- readonly cache?: RequestCache | undefined;
240
- readonly credentials?: RequestCredentials | undefined;
241
- readonly headers?: {
239
+ readonly headers?: readonly (readonly [string, string])[] | {
242
240
  readonly [x: string]: string;
243
- } | readonly (readonly [string, string])[] | {
241
+ } | {
244
242
  readonly append: (name: string, value: string) => void;
245
243
  readonly delete: (name: string) => void;
246
244
  readonly get: (name: string) => string | null;
@@ -253,14 +251,6 @@ export declare const OptionsController: {
253
251
  readonly values: () => HeadersIterator<string>;
254
252
  readonly [Symbol.iterator]: () => HeadersIterator<[string, string]>;
255
253
  } | undefined;
256
- readonly integrity?: string | undefined;
257
- readonly keepalive?: boolean | undefined;
258
- readonly method?: string | undefined;
259
- readonly mode?: RequestMode | undefined;
260
- readonly priority?: RequestPriority | undefined;
261
- readonly redirect?: RequestRedirect | undefined;
262
- readonly referrer?: string | undefined;
263
- readonly referrerPolicy?: ReferrerPolicy | undefined;
264
254
  readonly signal?: {
265
255
  readonly aborted: boolean;
266
256
  readonly onabort: ((this: AbortSignal, ev: Event) => any) | null;
@@ -281,7 +271,17 @@ export declare const OptionsController: {
281
271
  readonly any: (signals: Iterable<AbortSignal>) => AbortSignal;
282
272
  readonly dispatchEvent: (event: Event) => boolean;
283
273
  } | null | undefined;
274
+ readonly cache?: RequestCache | undefined;
275
+ readonly method?: string | undefined;
276
+ readonly redirect?: RequestRedirect | undefined;
284
277
  readonly window?: null | undefined;
278
+ readonly referrerPolicy?: ReferrerPolicy | undefined;
279
+ readonly credentials?: RequestCredentials | undefined;
280
+ readonly integrity?: string | undefined;
281
+ readonly keepalive?: boolean | undefined;
282
+ readonly mode?: RequestMode | undefined;
283
+ readonly priority?: RequestPriority | undefined;
284
+ readonly referrer?: string | undefined;
285
285
  } | undefined;
286
286
  readonly onFetchRequest?: ((request: Request, init: RequestInit) => import("viem").MaybePromise<void | undefined | (RequestInit & {
287
287
  url?: string | undefined;
@@ -307,7 +307,7 @@ export declare const OptionsController: {
307
307
  readonly timeout?: number | undefined;
308
308
  } | undefined;
309
309
  }[];
310
- readonly [x: `solana:${number}`]: readonly {
310
+ readonly [x: `eip155:${number}`]: readonly {
311
311
  readonly url: string;
312
312
  readonly config?: {
313
313
  readonly batch?: boolean | {
@@ -315,11 +315,9 @@ export declare const OptionsController: {
315
315
  readonly wait?: number | undefined | undefined;
316
316
  } | undefined;
317
317
  readonly fetchOptions?: {
318
- readonly cache?: RequestCache | undefined;
319
- readonly credentials?: RequestCredentials | undefined;
320
- readonly headers?: {
318
+ readonly headers?: readonly (readonly [string, string])[] | {
321
319
  readonly [x: string]: string;
322
- } | readonly (readonly [string, string])[] | {
320
+ } | {
323
321
  readonly append: (name: string, value: string) => void;
324
322
  readonly delete: (name: string) => void;
325
323
  readonly get: (name: string) => string | null;
@@ -332,14 +330,6 @@ export declare const OptionsController: {
332
330
  readonly values: () => HeadersIterator<string>;
333
331
  readonly [Symbol.iterator]: () => HeadersIterator<[string, string]>;
334
332
  } | undefined;
335
- readonly integrity?: string | undefined;
336
- readonly keepalive?: boolean | undefined;
337
- readonly method?: string | undefined;
338
- readonly mode?: RequestMode | undefined;
339
- readonly priority?: RequestPriority | undefined;
340
- readonly redirect?: RequestRedirect | undefined;
341
- readonly referrer?: string | undefined;
342
- readonly referrerPolicy?: ReferrerPolicy | undefined;
343
333
  readonly signal?: {
344
334
  readonly aborted: boolean;
345
335
  readonly onabort: ((this: AbortSignal, ev: Event) => any) | null;
@@ -360,7 +350,17 @@ export declare const OptionsController: {
360
350
  readonly any: (signals: Iterable<AbortSignal>) => AbortSignal;
361
351
  readonly dispatchEvent: (event: Event) => boolean;
362
352
  } | null | undefined;
353
+ readonly cache?: RequestCache | undefined;
354
+ readonly method?: string | undefined;
355
+ readonly redirect?: RequestRedirect | undefined;
363
356
  readonly window?: null | undefined;
357
+ readonly referrerPolicy?: ReferrerPolicy | undefined;
358
+ readonly credentials?: RequestCredentials | undefined;
359
+ readonly integrity?: string | undefined;
360
+ readonly keepalive?: boolean | undefined;
361
+ readonly mode?: RequestMode | undefined;
362
+ readonly priority?: RequestPriority | undefined;
363
+ readonly referrer?: string | undefined;
364
364
  } | undefined;
365
365
  readonly onFetchRequest?: ((request: Request, init: RequestInit) => import("viem").MaybePromise<void | undefined | (RequestInit & {
366
366
  url?: string | undefined;
@@ -386,7 +386,7 @@ export declare const OptionsController: {
386
386
  readonly timeout?: number | undefined;
387
387
  } | undefined;
388
388
  }[];
389
- readonly [x: `polkadot:${string}`]: readonly {
389
+ readonly [x: `solana:${string}`]: readonly {
390
390
  readonly url: string;
391
391
  readonly config?: {
392
392
  readonly batch?: boolean | {
@@ -394,11 +394,9 @@ export declare const OptionsController: {
394
394
  readonly wait?: number | undefined | undefined;
395
395
  } | undefined;
396
396
  readonly fetchOptions?: {
397
- readonly cache?: RequestCache | undefined;
398
- readonly credentials?: RequestCredentials | undefined;
399
- readonly headers?: {
397
+ readonly headers?: readonly (readonly [string, string])[] | {
400
398
  readonly [x: string]: string;
401
- } | readonly (readonly [string, string])[] | {
399
+ } | {
402
400
  readonly append: (name: string, value: string) => void;
403
401
  readonly delete: (name: string) => void;
404
402
  readonly get: (name: string) => string | null;
@@ -411,14 +409,6 @@ export declare const OptionsController: {
411
409
  readonly values: () => HeadersIterator<string>;
412
410
  readonly [Symbol.iterator]: () => HeadersIterator<[string, string]>;
413
411
  } | undefined;
414
- readonly integrity?: string | undefined;
415
- readonly keepalive?: boolean | undefined;
416
- readonly method?: string | undefined;
417
- readonly mode?: RequestMode | undefined;
418
- readonly priority?: RequestPriority | undefined;
419
- readonly redirect?: RequestRedirect | undefined;
420
- readonly referrer?: string | undefined;
421
- readonly referrerPolicy?: ReferrerPolicy | undefined;
422
412
  readonly signal?: {
423
413
  readonly aborted: boolean;
424
414
  readonly onabort: ((this: AbortSignal, ev: Event) => any) | null;
@@ -439,7 +429,17 @@ export declare const OptionsController: {
439
429
  readonly any: (signals: Iterable<AbortSignal>) => AbortSignal;
440
430
  readonly dispatchEvent: (event: Event) => boolean;
441
431
  } | null | undefined;
432
+ readonly cache?: RequestCache | undefined;
433
+ readonly method?: string | undefined;
434
+ readonly redirect?: RequestRedirect | undefined;
442
435
  readonly window?: null | undefined;
436
+ readonly referrerPolicy?: ReferrerPolicy | undefined;
437
+ readonly credentials?: RequestCredentials | undefined;
438
+ readonly integrity?: string | undefined;
439
+ readonly keepalive?: boolean | undefined;
440
+ readonly mode?: RequestMode | undefined;
441
+ readonly priority?: RequestPriority | undefined;
442
+ readonly referrer?: string | undefined;
443
443
  } | undefined;
444
444
  readonly onFetchRequest?: ((request: Request, init: RequestInit) => import("viem").MaybePromise<void | undefined | (RequestInit & {
445
445
  url?: string | undefined;
@@ -465,7 +465,7 @@ export declare const OptionsController: {
465
465
  readonly timeout?: number | undefined;
466
466
  } | undefined;
467
467
  }[];
468
- readonly [x: `polkadot:${number}`]: readonly {
468
+ readonly [x: `solana:${number}`]: readonly {
469
469
  readonly url: string;
470
470
  readonly config?: {
471
471
  readonly batch?: boolean | {
@@ -473,11 +473,9 @@ export declare const OptionsController: {
473
473
  readonly wait?: number | undefined | undefined;
474
474
  } | undefined;
475
475
  readonly fetchOptions?: {
476
- readonly cache?: RequestCache | undefined;
477
- readonly credentials?: RequestCredentials | undefined;
478
- readonly headers?: {
476
+ readonly headers?: readonly (readonly [string, string])[] | {
479
477
  readonly [x: string]: string;
480
- } | readonly (readonly [string, string])[] | {
478
+ } | {
481
479
  readonly append: (name: string, value: string) => void;
482
480
  readonly delete: (name: string) => void;
483
481
  readonly get: (name: string) => string | null;
@@ -490,14 +488,6 @@ export declare const OptionsController: {
490
488
  readonly values: () => HeadersIterator<string>;
491
489
  readonly [Symbol.iterator]: () => HeadersIterator<[string, string]>;
492
490
  } | undefined;
493
- readonly integrity?: string | undefined;
494
- readonly keepalive?: boolean | undefined;
495
- readonly method?: string | undefined;
496
- readonly mode?: RequestMode | undefined;
497
- readonly priority?: RequestPriority | undefined;
498
- readonly redirect?: RequestRedirect | undefined;
499
- readonly referrer?: string | undefined;
500
- readonly referrerPolicy?: ReferrerPolicy | undefined;
501
491
  readonly signal?: {
502
492
  readonly aborted: boolean;
503
493
  readonly onabort: ((this: AbortSignal, ev: Event) => any) | null;
@@ -518,7 +508,17 @@ export declare const OptionsController: {
518
508
  readonly any: (signals: Iterable<AbortSignal>) => AbortSignal;
519
509
  readonly dispatchEvent: (event: Event) => boolean;
520
510
  } | null | undefined;
511
+ readonly cache?: RequestCache | undefined;
512
+ readonly method?: string | undefined;
513
+ readonly redirect?: RequestRedirect | undefined;
521
514
  readonly window?: null | undefined;
515
+ readonly referrerPolicy?: ReferrerPolicy | undefined;
516
+ readonly credentials?: RequestCredentials | undefined;
517
+ readonly integrity?: string | undefined;
518
+ readonly keepalive?: boolean | undefined;
519
+ readonly mode?: RequestMode | undefined;
520
+ readonly priority?: RequestPriority | undefined;
521
+ readonly referrer?: string | undefined;
522
522
  } | undefined;
523
523
  readonly onFetchRequest?: ((request: Request, init: RequestInit) => import("viem").MaybePromise<void | undefined | (RequestInit & {
524
524
  url?: string | undefined;
@@ -544,7 +544,7 @@ export declare const OptionsController: {
544
544
  readonly timeout?: number | undefined;
545
545
  } | undefined;
546
546
  }[];
547
- readonly [x: `bip122:${string}`]: readonly {
547
+ readonly [x: `polkadot:${string}`]: readonly {
548
548
  readonly url: string;
549
549
  readonly config?: {
550
550
  readonly batch?: boolean | {
@@ -552,11 +552,9 @@ export declare const OptionsController: {
552
552
  readonly wait?: number | undefined | undefined;
553
553
  } | undefined;
554
554
  readonly fetchOptions?: {
555
- readonly cache?: RequestCache | undefined;
556
- readonly credentials?: RequestCredentials | undefined;
557
- readonly headers?: {
555
+ readonly headers?: readonly (readonly [string, string])[] | {
558
556
  readonly [x: string]: string;
559
- } | readonly (readonly [string, string])[] | {
557
+ } | {
560
558
  readonly append: (name: string, value: string) => void;
561
559
  readonly delete: (name: string) => void;
562
560
  readonly get: (name: string) => string | null;
@@ -569,14 +567,6 @@ export declare const OptionsController: {
569
567
  readonly values: () => HeadersIterator<string>;
570
568
  readonly [Symbol.iterator]: () => HeadersIterator<[string, string]>;
571
569
  } | undefined;
572
- readonly integrity?: string | undefined;
573
- readonly keepalive?: boolean | undefined;
574
- readonly method?: string | undefined;
575
- readonly mode?: RequestMode | undefined;
576
- readonly priority?: RequestPriority | undefined;
577
- readonly redirect?: RequestRedirect | undefined;
578
- readonly referrer?: string | undefined;
579
- readonly referrerPolicy?: ReferrerPolicy | undefined;
580
570
  readonly signal?: {
581
571
  readonly aborted: boolean;
582
572
  readonly onabort: ((this: AbortSignal, ev: Event) => any) | null;
@@ -597,7 +587,17 @@ export declare const OptionsController: {
597
587
  readonly any: (signals: Iterable<AbortSignal>) => AbortSignal;
598
588
  readonly dispatchEvent: (event: Event) => boolean;
599
589
  } | null | undefined;
590
+ readonly cache?: RequestCache | undefined;
591
+ readonly method?: string | undefined;
592
+ readonly redirect?: RequestRedirect | undefined;
600
593
  readonly window?: null | undefined;
594
+ readonly referrerPolicy?: ReferrerPolicy | undefined;
595
+ readonly credentials?: RequestCredentials | undefined;
596
+ readonly integrity?: string | undefined;
597
+ readonly keepalive?: boolean | undefined;
598
+ readonly mode?: RequestMode | undefined;
599
+ readonly priority?: RequestPriority | undefined;
600
+ readonly referrer?: string | undefined;
601
601
  } | undefined;
602
602
  readonly onFetchRequest?: ((request: Request, init: RequestInit) => import("viem").MaybePromise<void | undefined | (RequestInit & {
603
603
  url?: string | undefined;
@@ -623,7 +623,7 @@ export declare const OptionsController: {
623
623
  readonly timeout?: number | undefined;
624
624
  } | undefined;
625
625
  }[];
626
- readonly [x: `bip122:${number}`]: readonly {
626
+ readonly [x: `polkadot:${number}`]: readonly {
627
627
  readonly url: string;
628
628
  readonly config?: {
629
629
  readonly batch?: boolean | {
@@ -631,11 +631,9 @@ export declare const OptionsController: {
631
631
  readonly wait?: number | undefined | undefined;
632
632
  } | undefined;
633
633
  readonly fetchOptions?: {
634
- readonly cache?: RequestCache | undefined;
635
- readonly credentials?: RequestCredentials | undefined;
636
- readonly headers?: {
634
+ readonly headers?: readonly (readonly [string, string])[] | {
637
635
  readonly [x: string]: string;
638
- } | readonly (readonly [string, string])[] | {
636
+ } | {
639
637
  readonly append: (name: string, value: string) => void;
640
638
  readonly delete: (name: string) => void;
641
639
  readonly get: (name: string) => string | null;
@@ -648,14 +646,6 @@ export declare const OptionsController: {
648
646
  readonly values: () => HeadersIterator<string>;
649
647
  readonly [Symbol.iterator]: () => HeadersIterator<[string, string]>;
650
648
  } | undefined;
651
- readonly integrity?: string | undefined;
652
- readonly keepalive?: boolean | undefined;
653
- readonly method?: string | undefined;
654
- readonly mode?: RequestMode | undefined;
655
- readonly priority?: RequestPriority | undefined;
656
- readonly redirect?: RequestRedirect | undefined;
657
- readonly referrer?: string | undefined;
658
- readonly referrerPolicy?: ReferrerPolicy | undefined;
659
649
  readonly signal?: {
660
650
  readonly aborted: boolean;
661
651
  readonly onabort: ((this: AbortSignal, ev: Event) => any) | null;
@@ -676,7 +666,17 @@ export declare const OptionsController: {
676
666
  readonly any: (signals: Iterable<AbortSignal>) => AbortSignal;
677
667
  readonly dispatchEvent: (event: Event) => boolean;
678
668
  } | null | undefined;
669
+ readonly cache?: RequestCache | undefined;
670
+ readonly method?: string | undefined;
671
+ readonly redirect?: RequestRedirect | undefined;
679
672
  readonly window?: null | undefined;
673
+ readonly referrerPolicy?: ReferrerPolicy | undefined;
674
+ readonly credentials?: RequestCredentials | undefined;
675
+ readonly integrity?: string | undefined;
676
+ readonly keepalive?: boolean | undefined;
677
+ readonly mode?: RequestMode | undefined;
678
+ readonly priority?: RequestPriority | undefined;
679
+ readonly referrer?: string | undefined;
680
680
  } | undefined;
681
681
  readonly onFetchRequest?: ((request: Request, init: RequestInit) => import("viem").MaybePromise<void | undefined | (RequestInit & {
682
682
  url?: string | undefined;
@@ -702,7 +702,7 @@ export declare const OptionsController: {
702
702
  readonly timeout?: number | undefined;
703
703
  } | undefined;
704
704
  }[];
705
- readonly [x: `eip155:${string}`]: readonly {
705
+ readonly [x: `bip122:${string}`]: readonly {
706
706
  readonly url: string;
707
707
  readonly config?: {
708
708
  readonly batch?: boolean | {
@@ -710,11 +710,9 @@ export declare const OptionsController: {
710
710
  readonly wait?: number | undefined | undefined;
711
711
  } | undefined;
712
712
  readonly fetchOptions?: {
713
- readonly cache?: RequestCache | undefined;
714
- readonly credentials?: RequestCredentials | undefined;
715
- readonly headers?: {
713
+ readonly headers?: readonly (readonly [string, string])[] | {
716
714
  readonly [x: string]: string;
717
- } | readonly (readonly [string, string])[] | {
715
+ } | {
718
716
  readonly append: (name: string, value: string) => void;
719
717
  readonly delete: (name: string) => void;
720
718
  readonly get: (name: string) => string | null;
@@ -727,14 +725,6 @@ export declare const OptionsController: {
727
725
  readonly values: () => HeadersIterator<string>;
728
726
  readonly [Symbol.iterator]: () => HeadersIterator<[string, string]>;
729
727
  } | undefined;
730
- readonly integrity?: string | undefined;
731
- readonly keepalive?: boolean | undefined;
732
- readonly method?: string | undefined;
733
- readonly mode?: RequestMode | undefined;
734
- readonly priority?: RequestPriority | undefined;
735
- readonly redirect?: RequestRedirect | undefined;
736
- readonly referrer?: string | undefined;
737
- readonly referrerPolicy?: ReferrerPolicy | undefined;
738
728
  readonly signal?: {
739
729
  readonly aborted: boolean;
740
730
  readonly onabort: ((this: AbortSignal, ev: Event) => any) | null;
@@ -755,7 +745,17 @@ export declare const OptionsController: {
755
745
  readonly any: (signals: Iterable<AbortSignal>) => AbortSignal;
756
746
  readonly dispatchEvent: (event: Event) => boolean;
757
747
  } | null | undefined;
748
+ readonly cache?: RequestCache | undefined;
749
+ readonly method?: string | undefined;
750
+ readonly redirect?: RequestRedirect | undefined;
758
751
  readonly window?: null | undefined;
752
+ readonly referrerPolicy?: ReferrerPolicy | undefined;
753
+ readonly credentials?: RequestCredentials | undefined;
754
+ readonly integrity?: string | undefined;
755
+ readonly keepalive?: boolean | undefined;
756
+ readonly mode?: RequestMode | undefined;
757
+ readonly priority?: RequestPriority | undefined;
758
+ readonly referrer?: string | undefined;
759
759
  } | undefined;
760
760
  readonly onFetchRequest?: ((request: Request, init: RequestInit) => import("viem").MaybePromise<void | undefined | (RequestInit & {
761
761
  url?: string | undefined;
@@ -781,7 +781,7 @@ export declare const OptionsController: {
781
781
  readonly timeout?: number | undefined;
782
782
  } | undefined;
783
783
  }[];
784
- readonly [x: `eip155:${number}`]: readonly {
784
+ readonly [x: `bip122:${number}`]: readonly {
785
785
  readonly url: string;
786
786
  readonly config?: {
787
787
  readonly batch?: boolean | {
@@ -789,11 +789,9 @@ export declare const OptionsController: {
789
789
  readonly wait?: number | undefined | undefined;
790
790
  } | undefined;
791
791
  readonly fetchOptions?: {
792
- readonly cache?: RequestCache | undefined;
793
- readonly credentials?: RequestCredentials | undefined;
794
- readonly headers?: {
792
+ readonly headers?: readonly (readonly [string, string])[] | {
795
793
  readonly [x: string]: string;
796
- } | readonly (readonly [string, string])[] | {
794
+ } | {
797
795
  readonly append: (name: string, value: string) => void;
798
796
  readonly delete: (name: string) => void;
799
797
  readonly get: (name: string) => string | null;
@@ -806,14 +804,6 @@ export declare const OptionsController: {
806
804
  readonly values: () => HeadersIterator<string>;
807
805
  readonly [Symbol.iterator]: () => HeadersIterator<[string, string]>;
808
806
  } | undefined;
809
- readonly integrity?: string | undefined;
810
- readonly keepalive?: boolean | undefined;
811
- readonly method?: string | undefined;
812
- readonly mode?: RequestMode | undefined;
813
- readonly priority?: RequestPriority | undefined;
814
- readonly redirect?: RequestRedirect | undefined;
815
- readonly referrer?: string | undefined;
816
- readonly referrerPolicy?: ReferrerPolicy | undefined;
817
807
  readonly signal?: {
818
808
  readonly aborted: boolean;
819
809
  readonly onabort: ((this: AbortSignal, ev: Event) => any) | null;
@@ -834,7 +824,17 @@ export declare const OptionsController: {
834
824
  readonly any: (signals: Iterable<AbortSignal>) => AbortSignal;
835
825
  readonly dispatchEvent: (event: Event) => boolean;
836
826
  } | null | undefined;
827
+ readonly cache?: RequestCache | undefined;
828
+ readonly method?: string | undefined;
829
+ readonly redirect?: RequestRedirect | undefined;
837
830
  readonly window?: null | undefined;
831
+ readonly referrerPolicy?: ReferrerPolicy | undefined;
832
+ readonly credentials?: RequestCredentials | undefined;
833
+ readonly integrity?: string | undefined;
834
+ readonly keepalive?: boolean | undefined;
835
+ readonly mode?: RequestMode | undefined;
836
+ readonly priority?: RequestPriority | undefined;
837
+ readonly referrer?: string | undefined;
838
838
  } | undefined;
839
839
  readonly onFetchRequest?: ((request: Request, init: RequestInit) => import("viem").MaybePromise<void | undefined | (RequestInit & {
840
840
  url?: string | undefined;
@@ -865,44 +865,44 @@ export declare const OptionsController: {
865
865
  readonly includeWalletIds?: readonly string[] | undefined;
866
866
  readonly excludeWalletIds?: readonly string[] | undefined;
867
867
  readonly tokens?: {
868
- readonly [x: `solana:${string}`]: {
868
+ readonly [x: `eip155:${string}`]: {
869
869
  readonly address: string;
870
870
  readonly image?: string | undefined;
871
871
  };
872
- readonly [x: `solana:${number}`]: {
872
+ readonly [x: `eip155:${number}`]: {
873
873
  readonly address: string;
874
874
  readonly image?: string | undefined;
875
875
  };
876
- readonly [x: `polkadot:${string}`]: {
876
+ readonly [x: `solana:${string}`]: {
877
877
  readonly address: string;
878
878
  readonly image?: string | undefined;
879
879
  };
880
- readonly [x: `polkadot:${number}`]: {
880
+ readonly [x: `solana:${number}`]: {
881
881
  readonly address: string;
882
882
  readonly image?: string | undefined;
883
883
  };
884
- readonly [x: `bip122:${string}`]: {
884
+ readonly [x: `polkadot:${string}`]: {
885
885
  readonly address: string;
886
886
  readonly image?: string | undefined;
887
887
  };
888
- readonly [x: `bip122:${number}`]: {
888
+ readonly [x: `polkadot:${number}`]: {
889
889
  readonly address: string;
890
890
  readonly image?: string | undefined;
891
891
  };
892
- readonly [x: `eip155:${string}`]: {
892
+ readonly [x: `bip122:${string}`]: {
893
893
  readonly address: string;
894
894
  readonly image?: string | undefined;
895
895
  };
896
- readonly [x: `eip155:${number}`]: {
896
+ readonly [x: `bip122:${number}`]: {
897
897
  readonly address: string;
898
898
  readonly image?: string | undefined;
899
899
  };
900
900
  } | undefined;
901
901
  readonly customWallets?: readonly {
902
- readonly id: string;
903
902
  readonly name: string;
904
- readonly homepage?: string | undefined;
903
+ readonly id: string;
905
904
  readonly image_url?: string | undefined;
905
+ readonly homepage?: string | undefined;
906
906
  readonly mobile_link?: string | null | undefined;
907
907
  readonly desktop_link?: string | null | undefined;
908
908
  readonly webapp_link?: string | null | undefined;
@@ -64,9 +64,9 @@ export declare const SwapController: {
64
64
  getParams(): {
65
65
  networkAddress: string;
66
66
  fromAddress: string;
67
- fromCaipAddress: `solana:${string}:${string}` | `solana:${number}:${string}` | `polkadot:${string}:${string}` | `polkadot:${number}:${string}` | `bip122:${string}:${string}` | `bip122:${number}:${string}` | `eip155:${string}:${string}` | `eip155:${number}:${string}` | undefined;
68
- sourceTokenAddress: `solana:${string}:${string}` | `solana:${number}:${string}` | `polkadot:${string}:${string}` | `polkadot:${number}:${string}` | `bip122:${string}:${string}` | `bip122:${number}:${string}` | `eip155:${string}:${string}` | `eip155:${number}:${string}` | undefined;
69
- toTokenAddress: `solana:${string}:${string}` | `solana:${number}:${string}` | `polkadot:${string}:${string}` | `polkadot:${number}:${string}` | `bip122:${string}:${string}` | `bip122:${number}:${string}` | `eip155:${string}:${string}` | `eip155:${number}:${string}` | undefined;
67
+ fromCaipAddress: `eip155:${string}:${string}` | `eip155:${number}:${string}` | `solana:${string}:${string}` | `solana:${number}:${string}` | `polkadot:${string}:${string}` | `polkadot:${number}:${string}` | `bip122:${string}:${string}` | `bip122:${number}:${string}` | undefined;
68
+ sourceTokenAddress: `eip155:${string}:${string}` | `eip155:${number}:${string}` | `solana:${string}:${string}` | `solana:${number}:${string}` | `polkadot:${string}:${string}` | `polkadot:${number}:${string}` | `bip122:${string}:${string}` | `bip122:${number}:${string}` | undefined;
69
+ toTokenAddress: `eip155:${string}:${string}` | `eip155:${number}:${string}` | `solana:${string}:${string}` | `solana:${number}:${string}` | `polkadot:${string}:${string}` | `polkadot:${number}:${string}` | `bip122:${string}:${string}` | `bip122:${number}:${string}` | undefined;
70
70
  toTokenAmount: string;
71
71
  toTokenDecimals: number | undefined;
72
72
  sourceTokenAmount: string;
@@ -60,14 +60,14 @@ export declare const ConstantsUtil: {
60
60
  email: true;
61
61
  emailShowWallets: true;
62
62
  socials: SocialProvider[];
63
- connectorTypeOrder: ("walletConnect" | "recent" | "injected" | "featured" | "custom" | "external" | "recommended")[];
63
+ connectorTypeOrder: ("custom" | "featured" | "recommended" | "walletConnect" | "recent" | "injected" | "external")[];
64
64
  history: true;
65
65
  analytics: true;
66
66
  allWallets: true;
67
67
  legalCheckbox: false;
68
68
  smartSessions: false;
69
69
  collapseWallets: false;
70
- walletFeaturesOrder: ("swaps" | "send" | "receive" | "onramp")[];
70
+ walletFeaturesOrder: ("swaps" | "onramp" | "receive" | "send")[];
71
71
  connectMethodsOrder: undefined;
72
72
  };
73
73
  DEFAULT_ACCOUNT_TYPES: {
@@ -1,5 +1,5 @@
1
1
  import type { Features, FeaturesKeys } from './TypeUtil.js';
2
2
  export declare const OptionsUtil: {
3
3
  getFeatureValue(key: FeaturesKeys, features?: Features): boolean | import("./TypeUtil.js").SocialProvider[] | import("./TypeUtil.js").ConnectorTypeOrder[] | import("./TypeUtil.js").WalletFeature[] | import("./TypeUtil.js").ConnectMethod[] | undefined;
4
- filterSocialsByPlatform<T>(socials: Features["socials"]): import("./TypeUtil.js").SocialProvider[] | T;
4
+ filterSocialsByPlatform<T>(socials: Features["socials"]): T | import("./TypeUtil.js").SocialProvider[];
5
5
  };
@@ -10,7 +10,7 @@ export declare const StorageUtil: {
10
10
  isCacheExpired(timestamp: number, cacheExpiry: number): boolean;
11
11
  getActiveNetworkProps(): {
12
12
  namespace: ChainNamespace | undefined;
13
- caipNetworkId: `solana:${string}` | `solana:${number}` | `polkadot:${string}` | `polkadot:${number}` | `bip122:${string}` | `bip122:${number}` | `eip155:${string}` | `eip155:${number}` | undefined;
13
+ caipNetworkId: `eip155:${string}` | `eip155:${number}` | `solana:${string}` | `solana:${number}` | `polkadot:${string}` | `polkadot:${number}` | `bip122:${string}` | `bip122:${number}` | undefined;
14
14
  chainId: string | number | undefined;
15
15
  };
16
16
  setWalletConnectDeepLink({ name, href }: {
@@ -21,7 +21,7 @@ export declare const StorageUtil: {
21
21
  deleteWalletConnectDeepLink(): void;
22
22
  setActiveNamespace(namespace: ChainNamespace): void;
23
23
  setActiveCaipNetworkId(caipNetworkId: CaipNetworkId): void;
24
- getActiveCaipNetworkId(): `solana:${string}` | `polkadot:${string}` | `bip122:${string}` | `eip155:${string}` | undefined;
24
+ getActiveCaipNetworkId(): `eip155:${string}` | `solana:${string}` | `polkadot:${string}` | `bip122:${string}` | undefined;
25
25
  deleteActiveCaipNetworkId(): void;
26
26
  deleteConnectedConnectorId(namespace: ChainNamespace): void;
27
27
  setAppKitRecent(wallet: WcWallet): void;
@@ -226,6 +226,7 @@ export interface BlockchainApiGenerateSwapCalldataRequest {
226
226
  slippage: string;
227
227
  permit?: string;
228
228
  };
229
+ disableEstimate?: boolean;
229
230
  }
230
231
  export interface BlockchainApiGenerateSwapCalldataResponse {
231
232
  tx: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reown/appkit-controllers",
3
- "version": "1.7.2-rc1",
3
+ "version": "1.7.2",
4
4
  "sideEffects": false,
5
5
  "type": "module",
6
6
  "main": "./dist/esm/exports/index.js",
@@ -45,8 +45,8 @@
45
45
  "@walletconnect/universal-provider": "2.19.1",
46
46
  "valtio": "1.13.2",
47
47
  "viem": ">=2.23.11",
48
- "@reown/appkit-common": "1.7.2-rc1",
49
- "@reown/appkit-wallet": "1.7.2-rc1"
48
+ "@reown/appkit-common": "1.7.2",
49
+ "@reown/appkit-wallet": "1.7.2"
50
50
  },
51
51
  "devDependencies": {
52
52
  "@vitest/coverage-v8": "2.1.9",