@reown/appkit-core-react-native 0.0.0-feat-onramp-20250722205908 → 0.0.0-feat-coinbase-20250723185200

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 (195) hide show
  1. package/lib/commonjs/controllers/AccountController.js +20 -17
  2. package/lib/commonjs/controllers/AccountController.js.map +1 -1
  3. package/lib/commonjs/controllers/ApiController.js +28 -16
  4. package/lib/commonjs/controllers/ApiController.js.map +1 -1
  5. package/lib/commonjs/controllers/BlockchainApiController.js +204 -74
  6. package/lib/commonjs/controllers/BlockchainApiController.js.map +1 -1
  7. package/lib/commonjs/controllers/ConnectionController.js +8 -11
  8. package/lib/commonjs/controllers/ConnectionController.js.map +1 -1
  9. package/lib/commonjs/controllers/ConnectionsController.js +387 -0
  10. package/lib/commonjs/controllers/ConnectionsController.js.map +1 -0
  11. package/lib/commonjs/controllers/EnsController.js +4 -4
  12. package/lib/commonjs/controllers/EnsController.js.map +1 -1
  13. package/lib/commonjs/controllers/EventsController.js +4 -4
  14. package/lib/commonjs/controllers/EventsController.js.map +1 -1
  15. package/lib/commonjs/controllers/ModalController.js +6 -7
  16. package/lib/commonjs/controllers/ModalController.js.map +1 -1
  17. package/lib/commonjs/controllers/OnRampController.js +22 -69
  18. package/lib/commonjs/controllers/OnRampController.js.map +1 -1
  19. package/lib/commonjs/controllers/OptionsController.js +17 -3
  20. package/lib/commonjs/controllers/OptionsController.js.map +1 -1
  21. package/lib/commonjs/controllers/RouterController.js +1 -22
  22. package/lib/commonjs/controllers/RouterController.js.map +1 -1
  23. package/lib/commonjs/controllers/SendController.js +101 -101
  24. package/lib/commonjs/controllers/SendController.js.map +1 -1
  25. package/lib/commonjs/controllers/SnackController.js +29 -5
  26. package/lib/commonjs/controllers/SnackController.js.map +1 -1
  27. package/lib/commonjs/controllers/SwapController.js +151 -150
  28. package/lib/commonjs/controllers/SwapController.js.map +1 -1
  29. package/lib/commonjs/controllers/ThemeController.js +9 -1
  30. package/lib/commonjs/controllers/ThemeController.js.map +1 -1
  31. package/lib/commonjs/controllers/TransactionsController.js +25 -21
  32. package/lib/commonjs/controllers/TransactionsController.js.map +1 -1
  33. package/lib/commonjs/index.js +3 -24
  34. package/lib/commonjs/index.js.map +1 -1
  35. package/lib/commonjs/utils/AssetUtil.js +3 -15
  36. package/lib/commonjs/utils/AssetUtil.js.map +1 -1
  37. package/lib/commonjs/utils/ConstantsUtil.js +538 -9
  38. package/lib/commonjs/utils/ConstantsUtil.js.map +1 -1
  39. package/lib/commonjs/utils/CoreHelperUtil.js +12 -6
  40. package/lib/commonjs/utils/CoreHelperUtil.js.map +1 -1
  41. package/lib/commonjs/utils/FetchUtil.js +9 -28
  42. package/lib/commonjs/utils/FetchUtil.js.map +1 -1
  43. package/lib/commonjs/utils/StorageUtil.js +90 -95
  44. package/lib/commonjs/utils/StorageUtil.js.map +1 -1
  45. package/lib/commonjs/utils/SwapApiUtil.js +15 -21
  46. package/lib/commonjs/utils/SwapApiUtil.js.map +1 -1
  47. package/lib/module/controllers/AccountController.js +20 -17
  48. package/lib/module/controllers/AccountController.js.map +1 -1
  49. package/lib/module/controllers/ApiController.js +27 -16
  50. package/lib/module/controllers/ApiController.js.map +1 -1
  51. package/lib/module/controllers/BlockchainApiController.js +203 -73
  52. package/lib/module/controllers/BlockchainApiController.js.map +1 -1
  53. package/lib/module/controllers/ConnectionController.js +8 -11
  54. package/lib/module/controllers/ConnectionController.js.map +1 -1
  55. package/lib/module/controllers/ConnectionsController.js +382 -0
  56. package/lib/module/controllers/ConnectionsController.js.map +1 -0
  57. package/lib/module/controllers/EnsController.js +2 -2
  58. package/lib/module/controllers/EnsController.js.map +1 -1
  59. package/lib/module/controllers/EventsController.js +1 -1
  60. package/lib/module/controllers/EventsController.js.map +1 -1
  61. package/lib/module/controllers/ModalController.js +6 -7
  62. package/lib/module/controllers/ModalController.js.map +1 -1
  63. package/lib/module/controllers/OnRampController.js +23 -70
  64. package/lib/module/controllers/OnRampController.js.map +1 -1
  65. package/lib/module/controllers/OptionsController.js +17 -3
  66. package/lib/module/controllers/OptionsController.js.map +1 -1
  67. package/lib/module/controllers/RouterController.js +1 -22
  68. package/lib/module/controllers/RouterController.js.map +1 -1
  69. package/lib/module/controllers/SendController.js +98 -98
  70. package/lib/module/controllers/SendController.js.map +1 -1
  71. package/lib/module/controllers/SnackController.js +29 -5
  72. package/lib/module/controllers/SnackController.js.map +1 -1
  73. package/lib/module/controllers/SwapController.js +151 -150
  74. package/lib/module/controllers/SwapController.js.map +1 -1
  75. package/lib/module/controllers/ThemeController.js +9 -1
  76. package/lib/module/controllers/ThemeController.js.map +1 -1
  77. package/lib/module/controllers/TransactionsController.js +23 -19
  78. package/lib/module/controllers/TransactionsController.js.map +1 -1
  79. package/lib/module/index.js +1 -4
  80. package/lib/module/index.js.map +1 -1
  81. package/lib/module/utils/AssetUtil.js +3 -15
  82. package/lib/module/utils/AssetUtil.js.map +1 -1
  83. package/lib/module/utils/ConstantsUtil.js +538 -9
  84. package/lib/module/utils/ConstantsUtil.js.map +1 -1
  85. package/lib/module/utils/CoreHelperUtil.js +12 -6
  86. package/lib/module/utils/CoreHelperUtil.js.map +1 -1
  87. package/lib/module/utils/FetchUtil.js +9 -28
  88. package/lib/module/utils/FetchUtil.js.map +1 -1
  89. package/lib/module/utils/StorageUtil.js +92 -95
  90. package/lib/module/utils/StorageUtil.js.map +1 -1
  91. package/lib/module/utils/SwapApiUtil.js +15 -21
  92. package/lib/module/utils/SwapApiUtil.js.map +1 -1
  93. package/lib/typescript/controllers/AccountController.d.ts +4 -4
  94. package/lib/typescript/controllers/AccountController.d.ts.map +1 -1
  95. package/lib/typescript/controllers/ApiController.d.ts +3 -2
  96. package/lib/typescript/controllers/ApiController.d.ts.map +1 -1
  97. package/lib/typescript/controllers/BlockchainApiController.d.ts +29 -15
  98. package/lib/typescript/controllers/BlockchainApiController.d.ts.map +1 -1
  99. package/lib/typescript/controllers/ConnectionController.d.ts +5 -16
  100. package/lib/typescript/controllers/ConnectionController.d.ts.map +1 -1
  101. package/lib/typescript/controllers/ConnectionsController.d.ts +53 -0
  102. package/lib/typescript/controllers/ConnectionsController.d.ts.map +1 -0
  103. package/lib/typescript/controllers/ModalController.d.ts +1 -1
  104. package/lib/typescript/controllers/ModalController.d.ts.map +1 -1
  105. package/lib/typescript/controllers/NetworkController.d.ts +1 -1
  106. package/lib/typescript/controllers/NetworkController.d.ts.map +1 -1
  107. package/lib/typescript/controllers/OnRampController.d.ts +1 -3
  108. package/lib/typescript/controllers/OnRampController.d.ts.map +1 -1
  109. package/lib/typescript/controllers/OptionsController.d.ts +8 -2
  110. package/lib/typescript/controllers/OptionsController.d.ts.map +1 -1
  111. package/lib/typescript/controllers/PublicStateController.d.ts +1 -1
  112. package/lib/typescript/controllers/PublicStateController.d.ts.map +1 -1
  113. package/lib/typescript/controllers/RouterController.d.ts +4 -16
  114. package/lib/typescript/controllers/RouterController.d.ts.map +1 -1
  115. package/lib/typescript/controllers/SendController.d.ts +5 -7
  116. package/lib/typescript/controllers/SendController.d.ts.map +1 -1
  117. package/lib/typescript/controllers/SnackController.d.ts +3 -3
  118. package/lib/typescript/controllers/SnackController.d.ts.map +1 -1
  119. package/lib/typescript/controllers/SwapController.d.ts +12 -11
  120. package/lib/typescript/controllers/SwapController.d.ts.map +1 -1
  121. package/lib/typescript/controllers/ThemeController.d.ts +1 -1
  122. package/lib/typescript/controllers/ThemeController.d.ts.map +1 -1
  123. package/lib/typescript/controllers/TransactionsController.d.ts +3 -3
  124. package/lib/typescript/controllers/TransactionsController.d.ts.map +1 -1
  125. package/lib/typescript/index.d.ts +1 -4
  126. package/lib/typescript/index.d.ts.map +1 -1
  127. package/lib/typescript/utils/AssetUtil.d.ts +2 -3
  128. package/lib/typescript/utils/AssetUtil.d.ts.map +1 -1
  129. package/lib/typescript/utils/ConstantsUtil.d.ts +422 -3
  130. package/lib/typescript/utils/ConstantsUtil.d.ts.map +1 -1
  131. package/lib/typescript/utils/CoreHelperUtil.d.ts +5 -4
  132. package/lib/typescript/utils/CoreHelperUtil.d.ts.map +1 -1
  133. package/lib/typescript/utils/FetchUtil.d.ts +1 -1
  134. package/lib/typescript/utils/FetchUtil.d.ts.map +1 -1
  135. package/lib/typescript/utils/StorageUtil.d.ts +18 -14
  136. package/lib/typescript/utils/StorageUtil.d.ts.map +1 -1
  137. package/lib/typescript/utils/SwapApiUtil.d.ts +3 -3
  138. package/lib/typescript/utils/SwapApiUtil.d.ts.map +1 -1
  139. package/lib/typescript/utils/TypeUtil.d.ts +42 -195
  140. package/lib/typescript/utils/TypeUtil.d.ts.map +1 -1
  141. package/package.json +4 -5
  142. package/src/controllers/AccountController.ts +23 -27
  143. package/src/controllers/ApiController.ts +29 -10
  144. package/src/controllers/BlockchainApiController.ts +179 -65
  145. package/src/controllers/ConnectionController.ts +14 -29
  146. package/src/controllers/ConnectionsController.ts +509 -0
  147. package/src/controllers/EnsController.ts +2 -2
  148. package/src/controllers/EventsController.ts +1 -1
  149. package/src/controllers/ModalController.ts +8 -8
  150. package/src/controllers/NetworkController.ts +1 -1
  151. package/src/controllers/OnRampController.ts +35 -99
  152. package/src/controllers/OptionsController.ts +27 -13
  153. package/src/controllers/PublicStateController.ts +1 -1
  154. package/src/controllers/RouterController.ts +5 -54
  155. package/src/controllers/SendController.ts +124 -113
  156. package/src/controllers/SnackController.ts +31 -5
  157. package/src/controllers/SwapController.ts +174 -181
  158. package/src/controllers/ThemeController.ts +11 -2
  159. package/src/controllers/TransactionsController.ts +26 -20
  160. package/src/index.ts +3 -6
  161. package/src/utils/AssetUtil.ts +4 -20
  162. package/src/utils/ConstantsUtil.ts +544 -9
  163. package/src/utils/CoreHelperUtil.ts +35 -8
  164. package/src/utils/FetchUtil.ts +10 -31
  165. package/src/utils/StorageUtil.ts +167 -105
  166. package/src/utils/SwapApiUtil.ts +27 -38
  167. package/src/utils/TypeUtil.ts +43 -198
  168. package/lib/commonjs/controllers/ConnectorController.js +0 -49
  169. package/lib/commonjs/controllers/ConnectorController.js.map +0 -1
  170. package/lib/commonjs/controllers/WebviewController.js +0 -52
  171. package/lib/commonjs/controllers/WebviewController.js.map +0 -1
  172. package/lib/commonjs/utils/ConnectionUtil.js +0 -33
  173. package/lib/commonjs/utils/ConnectionUtil.js.map +0 -1
  174. package/lib/commonjs/utils/NetworkUtil.js +0 -46
  175. package/lib/commonjs/utils/NetworkUtil.js.map +0 -1
  176. package/lib/module/controllers/ConnectorController.js +0 -44
  177. package/lib/module/controllers/ConnectorController.js.map +0 -1
  178. package/lib/module/controllers/WebviewController.js +0 -47
  179. package/lib/module/controllers/WebviewController.js.map +0 -1
  180. package/lib/module/utils/ConnectionUtil.js +0 -27
  181. package/lib/module/utils/ConnectionUtil.js.map +0 -1
  182. package/lib/module/utils/NetworkUtil.js +0 -40
  183. package/lib/module/utils/NetworkUtil.js.map +0 -1
  184. package/lib/typescript/controllers/ConnectorController.d.ts +0 -18
  185. package/lib/typescript/controllers/ConnectorController.d.ts.map +0 -1
  186. package/lib/typescript/controllers/WebviewController.d.ts +0 -21
  187. package/lib/typescript/controllers/WebviewController.d.ts.map +0 -1
  188. package/lib/typescript/utils/ConnectionUtil.d.ts +0 -4
  189. package/lib/typescript/utils/ConnectionUtil.d.ts.map +0 -1
  190. package/lib/typescript/utils/NetworkUtil.d.ts +0 -8
  191. package/lib/typescript/utils/NetworkUtil.d.ts.map +0 -1
  192. package/src/controllers/ConnectorController.ts +0 -63
  193. package/src/controllers/WebviewController.ts +0 -63
  194. package/src/utils/ConnectionUtil.ts +0 -27
  195. package/src/utils/NetworkUtil.ts +0 -33
@@ -1,3 +1,4 @@
1
+ import { type CaipAddress } from '@reown/appkit-common-react-native';
1
2
  import type { SwapInputTarget, SwapTokenWithBalance } from '../utils/TypeUtil';
2
3
  export declare const INITIAL_GAS_LIMIT = 150000;
3
4
  export declare const TO_AMOUNT_DECIMALS = 6;
@@ -10,8 +11,7 @@ type TransactionParams = {
10
11
  toAmount: string;
11
12
  };
12
13
  export interface SwapControllerState {
13
- initializing: boolean;
14
- initialized: boolean;
14
+ loadingTokens: boolean;
15
15
  loadingPrices: boolean;
16
16
  loadingQuote?: boolean;
17
17
  loadingApprovalTransaction?: boolean;
@@ -28,7 +28,6 @@ export interface SwapControllerState {
28
28
  toTokenAmount: string;
29
29
  toTokenPriceInUSD: number;
30
30
  networkPrice: string;
31
- networkBalanceInUSD: string;
32
31
  networkTokenSymbol: string;
33
32
  inputError: string | undefined;
34
33
  slippage: number;
@@ -49,7 +48,8 @@ export declare const SwapController: {
49
48
  subscribe(callback: (newState: SwapControllerState) => void): () => void;
50
49
  subscribeKey<K extends keyof SwapControllerState>(key: K, callback: (value: SwapControllerState[K]) => void): () => void;
51
50
  getParams(): {
52
- networkAddress: string;
51
+ networkAddress: `${string}:${string}:${string}`;
52
+ network: import("@reown/appkit-common-react-native").AppKitNetwork;
53
53
  fromAddress: string;
54
54
  fromCaipAddress: `${string}:${string}:${string}` | undefined;
55
55
  sourceTokenAddress: `${string}:${string}:${string}` | undefined;
@@ -65,15 +65,13 @@ export declare const SwapController: {
65
65
  isAuthConnector: boolean;
66
66
  };
67
67
  switchTokens(): void;
68
- resetState(): void;
69
68
  fetchTokens(): Promise<void>;
70
69
  getTokenList(): Promise<void>;
71
- getMyTokensWithBalance(forceUpdate?: string): Promise<void>;
72
- getFilteredPopularTokens(): SwapTokenWithBalance[] | undefined;
70
+ getMyTokensWithBalance(forceUpdate?: CaipAddress[]): Promise<void>;
71
+ getFilteredPopularTokens(balances?: SwapTokenWithBalance[]): SwapTokenWithBalance[] | undefined;
73
72
  setSourceToken(sourceToken: SwapTokenWithBalance | undefined): void;
74
73
  setSourceTokenAmount(amount: string): void;
75
- initializeState(): Promise<void>;
76
- getAddressPrice(address: string): Promise<number>;
74
+ getAddressPrice(address: CaipAddress): Promise<number>;
77
75
  getNetworkTokenPrice(): Promise<void>;
78
76
  getInitialGasPrice(): Promise<{
79
77
  gasPrice: null;
@@ -88,7 +86,7 @@ export declare const SwapController: {
88
86
  setBalances(balances: SwapTokenWithBalance[]): void;
89
87
  setToToken(toToken: SwapTokenWithBalance | undefined): void;
90
88
  setToTokenAmount(amount: string): void;
91
- setTokenPrice(address: string, target: SwapInputTarget): Promise<void>;
89
+ setTokenPrice(address: CaipAddress, target: SwapInputTarget): Promise<void>;
92
90
  swapTokens(): Promise<void>;
93
91
  getTransaction(): Promise<TransactionParams | undefined>;
94
92
  createAllowanceTransaction(): Promise<{
@@ -108,7 +106,10 @@ export declare const SwapController: {
108
106
  toAmount: string;
109
107
  } | undefined>;
110
108
  sendTransactionForApproval(data: TransactionParams): Promise<void>;
111
- sendTransactionForSwap(data: TransactionParams | undefined): Promise<`0x${string}` | null | undefined>;
109
+ sendTransactionForSwap(data: TransactionParams | undefined): Promise<string | null | undefined>;
110
+ clearTransactionLoaders(): void;
111
+ clearTokens(): void;
112
+ resetState(): void;
112
113
  hasInsufficientToken(sourceTokenAmount: string, sourceTokenAddress: string): boolean;
113
114
  setTransactionDetails(): void;
114
115
  };
@@ -1 +1 @@
1
- {"version":3,"file":"SwapController.d.ts","sourceRoot":"","sources":["../../../src/controllers/SwapController.ts"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAE,eAAe,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AAS/E,eAAO,MAAM,iBAAiB,SAAS,CAAC;AACxC,eAAO,MAAM,kBAAkB,IAAI,CAAC;AAGpC,KAAK,iBAAiB,GAAG;IACvB,IAAI,EAAE,MAAM,CAAC;IACb,EAAE,EAAE,MAAM,CAAC;IACX,GAAG,EAAE,MAAM,CAAC;IACZ,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC;AAYF,MAAM,WAAW,mBAAmB;IAElC,YAAY,EAAE,OAAO,CAAC;IACtB,WAAW,EAAE,OAAO,CAAC;IACrB,aAAa,EAAE,OAAO,CAAC;IACvB,YAAY,CAAC,EAAE,OA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AAM;;CAiD3E,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import type { ThemeMode, ThemeVariables } from '@reown/appkit-common-react-native';
2
2
  export interface ThemeControllerState {
3
3
  themeMode?: ThemeMode;
4
- themeVariables: ThemeVariables;
4
+ themeVariables?: ThemeVariables;
5
5
  }
6
6
  export declare const ThemeController: {
7
7
  state: ThemeControllerState;
@@ -1 +1 @@
1
- {"version":3,"file":"ThemeController.d.ts","sourceRoot":"","sources":["../../../src/controllers/ThemeController.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,mCAAmC,CAAC;AAGnF,MAAM,WAAW,oBAAoB;IACnC,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,cAAc,EAAE,cAAc,CAAC;CAChC;AASD,eAAO,MAAM,eAAe;;mCAGK,oBAAoB,KAAK,IAAI;4BAIpC,oBAAoB,CAAC,WAAW,CAAC;sCAIvB,oBAAoB,CAAC,gBAAgB,CAAC;CAGzE,CAAC"}
1
+ {"version":3,"file":"ThemeController.d.ts","sourceRoot":"","sources":["../../../src/controllers/ThemeController.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,mCAAmC,CAAC;AAGnF,MAAM,WAAW,oBAAoB;IACnC,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,cAAc,CAAC,EAAE,cAAc,CAAC;CACjC;AASD,eAAO,MAAM,eAAe;;mCAGK,oBAAoB,KAAK,IAAI;4BAIpC,oBAAoB,CAAC,WAAW,CAAC;sCAQvB,oBAAoB,CAAC,gBAAgB,CAAC;CAOzE,CAAC"}
@@ -1,4 +1,4 @@
1
- import type { Transaction } from '@reown/appkit-common-react-native';
1
+ import type { CaipAddress, Transaction } from '@reown/appkit-common-react-native';
2
2
  type TransactionByMonthMap = Record<string, Transaction[]>;
3
3
  type TransactionByYearMap = Record<string, TransactionByMonthMap>;
4
4
  export interface TransactionsControllerState {
@@ -10,12 +10,12 @@ export interface TransactionsControllerState {
10
10
  export declare const TransactionsController: {
11
11
  state: TransactionsControllerState;
12
12
  subscribe(callback: (newState: TransactionsControllerState) => void): () => void;
13
- fetchTransactions(accountAddress?: string, reset?: boolean): Promise<void>;
13
+ fetchTransactions(accountAddress: CaipAddress, reset?: boolean): Promise<void>;
14
14
  getTransactionsByYearAndMonth(transactions: Transaction[]): TransactionByYearMap;
15
15
  filterSpamTransactions(transactions: Transaction[]): Transaction[];
16
16
  filterByConnectedChain(transactions: Transaction[]): Transaction[];
17
17
  clearCursor(): void;
18
- resetTransactions(): void;
18
+ resetState(): void;
19
19
  };
20
20
  export {};
21
21
  //# sourceMappingURL=TransactionsController.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"TransactionsController.d.ts","sourceRoot":"","sources":["../../../src/controllers/TransactionsController.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mCAAmC,CAAC;AAUrE,KAAK,qBAAqB,GAAG,MAAM,CAAC,MAAM,EAAE,WAAW,EAAE,CAAC,CAAC;AAC3D,KAAK,oBAAoB,GAAG,MAAM,CAAC,MAAM,EAAE,qBAAqB,CAAC,CAAC;AAElE,MAAM,WAAW,2BAA2B;IAC1C,YAAY,EAAE,WAAW,EAAE,CAAC;IAC5B,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,EAAE,OAAO,CAAC;IACf,IAAI,EAAE,MAAM,GAAG,SAAS,CAAC;CAC1B;AAWD,eAAO,MAAM,sBAAsB;;mCAGF,2BAA2B,KAAK,IAAI;uCAI1B,MAAM,UAAU,OAAO;gDAmDpB,WAAW,EAAE;yCAyBpB,WAAW,EAAE;yCAUb,WAAW,EAAE;;;CAmBnD,CAAC"}
1
+ {"version":3,"file":"TransactionsController.d.ts","sourceRoot":"","sources":["../../../src/controllers/TransactionsController.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,mCAAmC,CAAC;AASlF,KAAK,qBAAqB,GAAG,MAAM,CAAC,MAAM,EAAE,WAAW,EAAE,CAAC,CAAC;AAC3D,KAAK,oBAAoB,GAAG,MAAM,CAAC,MAAM,EAAE,qBAAqB,CAAC,CAAC;AAElE,MAAM,WAAW,2BAA2B;IAC1C,YAAY,EAAE,WAAW,EAAE,CAAC;IAC5B,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,EAAE,OAAO,CAAC;IACf,IAAI,EAAE,MAAM,GAAG,SAAS,CAAC;CAC1B;AAWD,eAAO,MAAM,sBAAsB;;mCAGF,2BAA2B,KAAK,IAAI;sCAI3B,WAAW,UAAU,OAAO;gDA0DxB,WAAW,EAAE;yCAyBpB,WAAW,EAAE;yCAUb,WAAW,EAAE;;;CAmBnD,CAAC"}
@@ -3,7 +3,7 @@ export { RouterController, type RouterControllerState } from './controllers/Rout
3
3
  export { AccountController, type AccountControllerState } from './controllers/AccountController';
4
4
  export { NetworkController, type NetworkControllerClient, type NetworkControllerState } from './controllers/NetworkController';
5
5
  export { ConnectionController, type ConnectionControllerClient, type ConnectionControllerState } from './controllers/ConnectionController';
6
- export { ConnectorController, type ConnectorControllerState } from './controllers/ConnectorController';
6
+ export { ConnectionsController, type ConnectionsControllerState } from './controllers/ConnectionsController';
7
7
  export { SnackController, type SnackControllerState } from './controllers/SnackController';
8
8
  export { ApiController, type ApiControllerState } from './controllers/ApiController';
9
9
  export { AssetController, type AssetControllerState } from './controllers/AssetController';
@@ -17,15 +17,12 @@ export { EnsController, type EnsControllerState } from './controllers/EnsControl
17
17
  export { TransactionsController, type TransactionsControllerState } from './controllers/TransactionsController';
18
18
  export { SendController, type SendControllerState } from './controllers/SendController';
19
19
  export { OnRampController, type OnRampControllerState } from './controllers/OnRampController';
20
- export { WebviewController, type WebviewControllerState } from './controllers/WebviewController';
21
20
  export { ApiUtil } from './utils/ApiUtil';
22
21
  export { AssetUtil } from './utils/AssetUtil';
23
- export { ConnectionUtil } from './utils/ConnectionUtil';
24
22
  export { ConstantsUtil } from './utils/ConstantsUtil';
25
23
  export { CoreHelperUtil } from './utils/CoreHelperUtil';
26
24
  export { StorageUtil } from './utils/StorageUtil';
27
25
  export { EventUtil } from './utils/EventUtil';
28
26
  export { RouterUtil } from './utils/RouterUtil';
29
- export { NetworkUtil } from './utils/NetworkUtil';
30
27
  export type * from './utils/TypeUtil';
31
28
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EACL,eAAe,EACf,KAAK,wBAAwB,EAC7B,KAAK,oBAAoB,EAC1B,MAAM,+BAA+B,CAAC;AAEvC,OAAO,EAAE,gBAAgB,EAAE,KAAK,qBAAqB,EAAE,MAAM,gCAAgC,CAAC;AAE9F,OAAO,EAAE,iBAAiB,EAAE,KAAK,sBAAsB,EAAE,MAAM,iCAAiC,CAAC;AAEjG,OAAO,EACL,iBAAiB,EACjB,KAAK,uBAAuB,EAC5B,KAAK,sBAAsB,EAC5B,MAAM,iCAAiC,CAAC;AAEzC,OAAO,EACL,oBAAoB,EACpB,KAAK,0BAA0B,EAC/B,KAAK,yBAAyB,EAC/B,MAAM,oCAAoC,CAAC;AAE5C,OAAO,EACL,mBAAmB,EACnB,KAAK,wBAAwB,EAC9B,MAAM,mCAAmC,CAAC;AAE3C,OAAO,EAAE,eAAe,EAAE,KAAK,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AAE3F,OAAO,EAAE,aAAa,EAAE,KAAK,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AAErF,OAAO,EAAE,eAAe,EAAE,KAAK,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AAE3F,OAAO,EAAE,eAAe,EAAE,KAAK,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AAE3F,OAAO,EAAE,iBAAiB,EAAE,KAAK,sBAAsB,EAAE,MAAM,iCAAiC,CAAC;AAEjG,OAAO,EACL,qBAAqB,EACr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AAE,cAAc,EAAE,KAAK,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AAExF,OAAO,EAAE,gBAAgB,EAAE,KAAK,qBAAqB,EAAE,MAAM,gCAAgC,CAAC;AAG9F,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAC1C,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AACtD,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAClD,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAEhD,mBAAmB,kBAAkB,CAAC"}
@@ -1,7 +1,6 @@
1
- import type { CaipNetwork, Connector, WcWallet } from './TypeUtil';
1
+ import type { WcWallet } from './TypeUtil';
2
2
  export declare const AssetUtil: {
3
3
  getWalletImage(wallet?: WcWallet): string | undefined;
4
- getNetworkImage(network?: CaipNetwork): string | undefined;
5
- getConnectorImage(connector?: Connector): string | undefined;
4
+ getConnectorImage(imageId?: string): string | undefined;
6
5
  };
7
6
  //# sourceMappingURL=AssetUtil.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"AssetUtil.d.ts","sourceRoot":"","sources":["../../../src/utils/AssetUtil.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEnE,eAAO,MAAM,SAAS;4BACI,QAAQ;8BAYN,WAAW;kCAYP,SAAS;CAWxC,CAAC"}
1
+ {"version":3,"file":"AssetUtil.d.ts","sourceRoot":"","sources":["../../../src/utils/AssetUtil.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAE3C,eAAO,MAAM,SAAS;4BACI,QAAQ;gCAYJ,MAAM;CAOnC,CAAC"}
@@ -5,7 +5,6 @@ export declare const OnRampErrorType: {
5
5
  readonly INVALID_AMOUNT: "INVALID_AMOUNT";
6
6
  readonly INCOMPATIBLE_REQUEST: "INCOMPATIBLE_REQUEST";
7
7
  readonly BAD_REQUEST: "BAD_REQUEST";
8
- readonly NO_VALID_QUOTES: "NO_VALID_QUOTES";
9
8
  readonly FAILED_TO_LOAD: "FAILED_TO_LOAD";
10
9
  readonly FAILED_TO_LOAD_COUNTRIES: "FAILED_TO_LOAD_COUNTRIES";
11
10
  readonly FAILED_TO_LOAD_PROVIDERS: "FAILED_TO_LOAD_PROVIDERS";
@@ -20,14 +19,18 @@ export declare const ConstantsUtil: {
20
19
  ONE_SEC_MS: number;
21
20
  EMAIL_REGEX: RegExp;
22
21
  LINKING_ERROR: string;
23
- NATIVE_TOKEN_ADDRESS: string;
22
+ NATIVE_TOKEN_ADDRESS: {
23
+ readonly eip155: "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee";
24
+ readonly solana: "So11111111111111111111111111111111111111111";
25
+ readonly polkadot: "0x";
26
+ readonly bip122: "0x";
27
+ };
24
28
  ONRAMP_ERROR_TYPES: {
25
29
  readonly AMOUNT_TOO_LOW: "INVALID_AMOUNT_TOO_LOW";
26
30
  readonly AMOUNT_TOO_HIGH: "INVALID_AMOUNT_TOO_HIGH";
27
31
  readonly INVALID_AMOUNT: "INVALID_AMOUNT";
28
32
  readonly INCOMPATIBLE_REQUEST: "INCOMPATIBLE_REQUEST";
29
33
  readonly BAD_REQUEST: "BAD_REQUEST";
30
- readonly NO_VALID_QUOTES: "NO_VALID_QUOTES";
31
34
  readonly FAILED_TO_LOAD: "FAILED_TO_LOAD";
32
35
  readonly FAILED_TO_LOAD_COUNTRIES: "FAILED_TO_LOAD_COUNTRIES";
33
36
  readonly FAILED_TO_LOAD_PROVIDERS: "FAILED_TO_LOAD_PROVIDERS";
@@ -38,9 +41,264 @@ export declare const ConstantsUtil: {
38
41
  };
39
42
  SWAP_SUGGESTED_TOKENS: string[];
40
43
  SWAP_POPULAR_TOKENS: string[];
44
+ ACTIVITY_SUPPORTED_CHAINS: string[];
41
45
  SWAP_SUPPORTED_NETWORKS: string[];
46
+ SEND_SUPPORTED_NAMESPACES: string[];
42
47
  CONVERT_SLIPPAGE_TOLERANCE: number;
43
48
  DEFAULT_FEATURES: Features;
49
+ COUNTRY_CURRENCIES: {
50
+ AD: string;
51
+ AE: string;
52
+ AF: string;
53
+ AG: string;
54
+ AI: string;
55
+ AL: string;
56
+ AM: string;
57
+ AN: string;
58
+ AO: string;
59
+ AQ: string;
60
+ AR: string;
61
+ AS: string;
62
+ AT: string;
63
+ AU: string;
64
+ AW: string;
65
+ AX: string;
66
+ AZ: string;
67
+ BA: string;
68
+ BB: string;
69
+ BD: string;
70
+ BE: string;
71
+ BF: string;
72
+ BG: string;
73
+ BH: string;
74
+ BI: string;
75
+ BJ: string;
76
+ BL: string;
77
+ BM: string;
78
+ BN: string;
79
+ BO: string;
80
+ BQ: string;
81
+ BR: string;
82
+ BS: string;
83
+ BT: string;
84
+ BV: string;
85
+ BW: string;
86
+ BY: string;
87
+ BZ: string;
88
+ CA: string;
89
+ CC: string;
90
+ CD: string;
91
+ CF: string;
92
+ CG: string;
93
+ CH: string;
94
+ CI: string;
95
+ CK: string;
96
+ CL: string;
97
+ CM: string;
98
+ CN: string;
99
+ CO: string;
100
+ CR: string;
101
+ CU: string;
102
+ CV: string;
103
+ CW: string;
104
+ CX: string;
105
+ CY: string;
106
+ CZ: string;
107
+ DE: string;
108
+ DJ: string;
109
+ DK: string;
110
+ DM: string;
111
+ DO: string;
112
+ DZ: string;
113
+ EC: string;
114
+ EE: string;
115
+ EG: string;
116
+ EH: string;
117
+ ER: string;
118
+ ES: string;
119
+ ET: string;
120
+ FI: string;
121
+ FJ: string;
122
+ FK: string;
123
+ FM: string;
124
+ FO: string;
125
+ FR: string;
126
+ GA: string;
127
+ GB: string;
128
+ GD: string;
129
+ GE: string;
130
+ GF: string;
131
+ GG: string;
132
+ GH: string;
133
+ GI: string;
134
+ GL: string;
135
+ GM: string;
136
+ GN: string;
137
+ GP: string;
138
+ GQ: string;
139
+ GR: string;
140
+ GS: string;
141
+ GT: string;
142
+ GU: string;
143
+ GW: string;
144
+ GY: string;
145
+ HK: string;
146
+ HM: string;
147
+ HN: string;
148
+ HR: string;
149
+ HT: string;
150
+ HU: string;
151
+ ID: string;
152
+ IE: string;
153
+ IL: string;
154
+ IM: string;
155
+ IN: string;
156
+ IO: string;
157
+ IQ: string;
158
+ IR: string;
159
+ IS: string;
160
+ IT: string;
161
+ JE: string;
162
+ JM: string;
163
+ JO: string;
164
+ JP: string;
165
+ KE: string;
166
+ KG: string;
167
+ KH: string;
168
+ KI: string;
169
+ KM: string;
170
+ KN: string;
171
+ KP: string;
172
+ KR: string;
173
+ KW: string;
174
+ KY: string;
175
+ KZ: string;
176
+ LA: string;
177
+ LB: string;
178
+ LC: string;
179
+ LI: string;
180
+ LK: string;
181
+ LR: string;
182
+ LS: string;
183
+ LT: string;
184
+ LU: string;
185
+ LV: string;
186
+ LY: string;
187
+ MA: string;
188
+ MC: string;
189
+ MD: string;
190
+ ME: string;
191
+ MF: string;
192
+ MG: string;
193
+ MH: string;
194
+ MK: string;
195
+ ML: string;
196
+ MM: string;
197
+ MN: string;
198
+ MO: string;
199
+ MP: string;
200
+ MQ: string;
201
+ MR: string;
202
+ MS: string;
203
+ MT: string;
204
+ MU: string;
205
+ MV: string;
206
+ MW: string;
207
+ MX: string;
208
+ MY: string;
209
+ MZ: string;
210
+ NA: string;
211
+ NC: string;
212
+ NE: string;
213
+ NF: string;
214
+ NG: string;
215
+ NI: string;
216
+ NL: string;
217
+ NO: string;
218
+ NP: string;
219
+ NR: string;
220
+ NU: string;
221
+ NZ: string;
222
+ OM: string;
223
+ PA: string;
224
+ PE: string;
225
+ PF: string;
226
+ PG: string;
227
+ PH: string;
228
+ PK: string;
229
+ PL: string;
230
+ PM: string;
231
+ PN: string;
232
+ PR: string;
233
+ PS: string;
234
+ PT: string;
235
+ PW: string;
236
+ PY: string;
237
+ QA: string;
238
+ RE: string;
239
+ RO: string;
240
+ RS: string;
241
+ RU: string;
242
+ RW: string;
243
+ SA: string;
244
+ SB: string;
245
+ SC: string;
246
+ SD: string;
247
+ SE: string;
248
+ SG: string;
249
+ SH: string;
250
+ SI: string;
251
+ SJ: string;
252
+ SK: string;
253
+ SL: string;
254
+ SM: string;
255
+ SN: string;
256
+ SO: string;
257
+ SR: string;
258
+ SS: string;
259
+ ST: string;
260
+ SV: string;
261
+ SX: string;
262
+ SY: string;
263
+ SZ: string;
264
+ TC: string;
265
+ TD: string;
266
+ TF: string;
267
+ TG: string;
268
+ TH: string;
269
+ TJ: string;
270
+ TK: string;
271
+ TL: string;
272
+ TM: string;
273
+ TN: string;
274
+ TO: string;
275
+ TR: string;
276
+ TT: string;
277
+ TV: string;
278
+ TW: string;
279
+ TZ: string;
280
+ UA: string;
281
+ UG: string;
282
+ UM: string;
283
+ US: string;
284
+ UY: string;
285
+ UZ: string;
286
+ VA: string;
287
+ VC: string;
288
+ VE: string;
289
+ VG: string;
290
+ VI: string;
291
+ VN: string;
292
+ VU: string;
293
+ WF: string;
294
+ WS: string;
295
+ XK: string;
296
+ YE: string;
297
+ YT: string;
298
+ ZA: string;
299
+ ZM: string;
300
+ ZW: string;
301
+ };
44
302
  NETWORK_DEFAULT_CURRENCIES: {
45
303
  'eip155:1': string;
46
304
  'eip155:56': string;
@@ -66,5 +324,166 @@ export declare const ConstantsUtil: {
66
324
  'eip155:1101': string;
67
325
  'eip155:196': string;
68
326
  };
327
+ COUNTRY_DEFAULT_PAYMENT_METHOD: {
328
+ AE: string[];
329
+ AR: string[];
330
+ AT: string[];
331
+ AU: string[];
332
+ BD: string[];
333
+ BE: string[];
334
+ BG: string[];
335
+ BR: string[];
336
+ CA: string[];
337
+ CH: string[];
338
+ CL: string[];
339
+ CN: string[];
340
+ CO: string[];
341
+ CY: string[];
342
+ CZ: string[];
343
+ DE: string[];
344
+ DK: string[];
345
+ EC: string[];
346
+ EE: string[];
347
+ ES: string[];
348
+ FI: string[];
349
+ FR: string[];
350
+ GB: string[];
351
+ GR: string[];
352
+ HK: string[];
353
+ HR: string[];
354
+ HU: string[];
355
+ ID: string[];
356
+ IE: string[];
357
+ IL: string[];
358
+ IN: string[];
359
+ IT: string[];
360
+ JP: string[];
361
+ KE: string[];
362
+ KR: string[];
363
+ LT: string[];
364
+ LV: string[];
365
+ MA: string[];
366
+ MX: string[];
367
+ MY: string[];
368
+ NG: string[];
369
+ NL: string[];
370
+ NO: string[];
371
+ NP: string[];
372
+ NZ: string[];
373
+ PH: string[];
374
+ PK: string[];
375
+ PL: string[];
376
+ PR: string[];
377
+ PT: string[];
378
+ RO: string[];
379
+ SA: string[];
380
+ SE: string[];
381
+ SG: string[];
382
+ SI: string[];
383
+ SK: string[];
384
+ TH: string[];
385
+ TR: string[];
386
+ TW: string[];
387
+ UA: string[];
388
+ US: string[];
389
+ VN: string[];
390
+ ZA: string[];
391
+ };
392
+ CURRENCY_SUGGESTED_VALUES: {
393
+ AED: number[];
394
+ AMD: number[];
395
+ ANG: number[];
396
+ AOA: number[];
397
+ ARS: number[];
398
+ AUD: number[];
399
+ AZN: number[];
400
+ BDT: number[];
401
+ BGN: number[];
402
+ BHD: number[];
403
+ BOB: number[];
404
+ BRL: number[];
405
+ BWP: number[];
406
+ CAD: number[];
407
+ CHF: number[];
408
+ CLP: number[];
409
+ CNY: number[];
410
+ COP: number[];
411
+ CRC: number[];
412
+ CZK: number[];
413
+ DKK: number[];
414
+ DOP: number[];
415
+ DZD: number[];
416
+ EGP: number[];
417
+ EUR: number[];
418
+ GBP: number[];
419
+ GEL: number[];
420
+ GHS: number[];
421
+ GTQ: number[];
422
+ HKD: number[];
423
+ HNL: number[];
424
+ HRK: number[];
425
+ HTG: number[];
426
+ HUF: number[];
427
+ IDR: number[];
428
+ ILS: number[];
429
+ INR: number[];
430
+ IQD: number[];
431
+ ISK: number[];
432
+ JOD: number[];
433
+ JPY: number[];
434
+ KES: number[];
435
+ KGS: number[];
436
+ KHR: number[];
437
+ KRW: number[];
438
+ KWD: number[];
439
+ KZT: number[];
440
+ LAK: number[];
441
+ LBP: number[];
442
+ LKR: number[];
443
+ MAD: number[];
444
+ MDL: number[];
445
+ MMK: number[];
446
+ MNT: number[];
447
+ MWK: number[];
448
+ MXN: number[];
449
+ MYR: number[];
450
+ NGN: number[];
451
+ NIO: number[];
452
+ NOK: number[];
453
+ NPR: number[];
454
+ NZD: number[];
455
+ OMR: number[];
456
+ PAB: number[];
457
+ PEN: number[];
458
+ PGK: number[];
459
+ PHP: number[];
460
+ PKR: number[];
461
+ PLN: number[];
462
+ PYG: number[];
463
+ QAR: number[];
464
+ RON: number[];
465
+ RSD: number[];
466
+ RWF: number[];
467
+ SAR: number[];
468
+ SEK: number[];
469
+ SGD: number[];
470
+ THB: number[];
471
+ TJS: number[];
472
+ TND: number[];
473
+ TRY: number[];
474
+ TWD: number[];
475
+ TZS: number[];
476
+ UAH: number[];
477
+ UGX: number[];
478
+ USD: number[];
479
+ UYU: number[];
480
+ UZS: number[];
481
+ VND: number[];
482
+ XAF: number[];
483
+ XCD: number[];
484
+ XOF: number[];
485
+ ZAR: number[];
486
+ ZMW: number[];
487
+ };
69
488
  };
70
489
  //# sourceMappingURL=ConstantsUtil.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ConstantsUtil.d.ts","sourceRoot":"","sources":["../../../src/utils/ConstantsUtil.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAU3C,eAAO,MAAM,eAAe;;;;;;;;;;;;;;CAclB,CAAC;AAEX,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiKzB,CAAC"}
1
+ {"version":3,"file":"ConstantsUtil.d.ts","sourceRoot":"","sources":["../../../src/utils/ConstantsUtil.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAU3C,eAAO,MAAM,eAAe;;;;;;;;;;;;;CAalB,CAAC;AAEX,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwrBzB,CAAC"}
@@ -1,5 +1,5 @@
1
- import { type Balance } from '@reown/appkit-common-react-native';
2
- import type { CaipAddress, CaipNetwork, DataWallet, LinkingRecord } from './TypeUtil';
1
+ import { BlockchainAdapter, type Balance, type CaipAddress, type CaipNetwork, type ChainNamespace, type SocialProvider, type LinkingRecord } from '@reown/appkit-common-react-native';
2
+ import type { DataWallet, SdkVersion } from './TypeUtil';
3
3
  export declare const CoreHelperUtil: {
4
4
  isPairingExpired(expiry?: number): boolean;
5
5
  isAllowedRetry(lastRetry: number): boolean;
@@ -10,10 +10,10 @@ export declare const CoreHelperUtil: {
10
10
  isHttpUrl(url: string): boolean;
11
11
  isLinkModeURL(url?: string): boolean;
12
12
  formatNativeUrl(appUrl: string, wcUri: string): LinkingRecord;
13
- formatUniversalUrl(appUrl: string, wcUri: string): LinkingRecord;
13
+ formatUniversalUrl(appUrl: string, wcUri: string, provider?: SocialProvider): LinkingRecord;
14
14
  openLink(url: string): Promise<void>;
15
15
  formatBalance(balance: string | undefined, symbol: string | undefined, decimals?: number): string;
16
- isAddress(address: string, chain?: string): boolean;
16
+ isAddress(address: string, namespace?: ChainNamespace): boolean;
17
17
  getApiUrl(): string;
18
18
  getBlockchainApiUrl(): string;
19
19
  getBlockchainStagingApiUrl(): string;
@@ -37,5 +37,6 @@ export declare const CoreHelperUtil: {
37
37
  };
38
38
  sortNetworks(approvedCaipNetworkIds: `${string}:${string}`[] | undefined, requestedCaipNetworks?: CaipNetwork[]): CaipNetwork[];
39
39
  debounce<F extends (...args: any[]) => any>(func: F, wait: number): (...args: Parameters<F>) => void;
40
+ generateSdkVersion(adapters: BlockchainAdapter[], version: string): SdkVersion;
40
41
  };
41
42
  //# sourceMappingURL=CoreHelperUtil.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"CoreHelperUtil.d.ts","sourceRoot":"","sources":["../../../src/utils/CoreHelperUtil.ts"],"names":[],"mappings":"AAGA,OAAO,EAAoC,KAAK,OAAO,EAAE,MAAM,mCAAmC,CAAC;AAInG,OAAO,KAAK,EAAE,WAAW,EAAE,WAAW,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AA0BtF,eAAO,MAAM,cAAc;8BACC,MAAM;8BAIN,MAAM;;8BAQN,WAAW,GAAG,SAAS;iCAIpB,WAAW,GAAG,SAAS;uBAI3B,MAAM;mBAMhB,MAAM;wBAID,MAAM;4BAQF,MAAM,SAAS,MAAM,GAAG,aAAa;+BA2BlC,MAAM,SAAS,MAAM,GAAG,aAAa;kBAuB5C,MAAM;2BAQH,MAAM,GAAG,SAAS,UAAU,MAAM,GAAG,SAAS;uBAgBlD,MAAM,mBAAqB,OAAO;;;;;;;;sBAmFnC,GAAG,GAAG,MAAM;2BAYD,UAAU,GAAG,QAAQ,OAAO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