@reown/appkit-core-react-native 0.0.0-feat-multi-siwe-20250623183423 → 0.0.0-feat-onramp-20250625192635
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/lib/commonjs/controllers/ApiController.js +11 -11
- package/lib/commonjs/controllers/ApiController.js.map +1 -1
- package/lib/commonjs/controllers/BlockchainApiController.js +24 -102
- package/lib/commonjs/controllers/BlockchainApiController.js.map +1 -1
- package/lib/commonjs/controllers/ConnectionController.js +1 -7
- package/lib/commonjs/controllers/ConnectionController.js.map +1 -1
- package/lib/commonjs/controllers/ConnectorController.js +0 -1
- package/lib/commonjs/controllers/ConnectorController.js.map +1 -1
- package/lib/commonjs/controllers/ModalController.js.map +1 -1
- package/lib/commonjs/controllers/OnRampController.js +41 -18
- package/lib/commonjs/controllers/OnRampController.js.map +1 -1
- package/lib/commonjs/controllers/OptionsController.js +3 -8
- package/lib/commonjs/controllers/OptionsController.js.map +1 -1
- package/lib/commonjs/controllers/RouterController.js.map +1 -1
- package/lib/commonjs/controllers/SendController.js +5 -5
- package/lib/commonjs/controllers/SendController.js.map +1 -1
- package/lib/commonjs/controllers/SwapController.js +40 -51
- package/lib/commonjs/controllers/SwapController.js.map +1 -1
- package/lib/commonjs/controllers/ThemeController.js +1 -9
- package/lib/commonjs/controllers/ThemeController.js.map +1 -1
- package/lib/commonjs/controllers/TransactionsController.js +2 -2
- package/lib/commonjs/controllers/TransactionsController.js.map +1 -1
- package/lib/commonjs/index.js +3 -3
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/utils/AssetUtil.js +6 -5
- package/lib/commonjs/utils/AssetUtil.js.map +1 -1
- package/lib/commonjs/utils/ConnectionUtil.js +33 -0
- package/lib/commonjs/utils/ConnectionUtil.js.map +1 -0
- package/lib/commonjs/utils/ConstantsUtil.js +7 -537
- package/lib/commonjs/utils/ConstantsUtil.js.map +1 -1
- package/lib/commonjs/utils/CoreHelperUtil.js.map +1 -1
- package/lib/commonjs/utils/StorageUtil.js +33 -67
- package/lib/commonjs/utils/StorageUtil.js.map +1 -1
- package/lib/commonjs/utils/SwapApiUtil.js +10 -19
- package/lib/commonjs/utils/SwapApiUtil.js.map +1 -1
- package/lib/module/controllers/ApiController.js +11 -11
- package/lib/module/controllers/ApiController.js.map +1 -1
- package/lib/module/controllers/BlockchainApiController.js +24 -102
- package/lib/module/controllers/BlockchainApiController.js.map +1 -1
- package/lib/module/controllers/ConnectionController.js +1 -7
- package/lib/module/controllers/ConnectionController.js.map +1 -1
- package/lib/module/controllers/ConnectorController.js +0 -1
- package/lib/module/controllers/ConnectorController.js.map +1 -1
- package/lib/module/controllers/ModalController.js.map +1 -1
- package/lib/module/controllers/OnRampController.js +41 -18
- package/lib/module/controllers/OnRampController.js.map +1 -1
- package/lib/module/controllers/OptionsController.js +3 -8
- package/lib/module/controllers/OptionsController.js.map +1 -1
- package/lib/module/controllers/RouterController.js.map +1 -1
- package/lib/module/controllers/SendController.js +5 -5
- package/lib/module/controllers/SendController.js.map +1 -1
- package/lib/module/controllers/SwapController.js +40 -51
- package/lib/module/controllers/SwapController.js.map +1 -1
- package/lib/module/controllers/ThemeController.js +1 -9
- package/lib/module/controllers/ThemeController.js.map +1 -1
- package/lib/module/controllers/TransactionsController.js +2 -2
- package/lib/module/controllers/TransactionsController.js.map +1 -1
- package/lib/module/index.js +1 -1
- package/lib/module/index.js.map +1 -1
- package/lib/module/utils/AssetUtil.js +6 -5
- package/lib/module/utils/AssetUtil.js.map +1 -1
- package/lib/module/utils/ConnectionUtil.js +27 -0
- package/lib/module/utils/ConnectionUtil.js.map +1 -0
- package/lib/module/utils/ConstantsUtil.js +7 -537
- package/lib/module/utils/ConstantsUtil.js.map +1 -1
- package/lib/module/utils/CoreHelperUtil.js.map +1 -1
- package/lib/module/utils/StorageUtil.js +33 -67
- package/lib/module/utils/StorageUtil.js.map +1 -1
- package/lib/module/utils/SwapApiUtil.js +10 -19
- package/lib/module/utils/SwapApiUtil.js.map +1 -1
- package/lib/typescript/controllers/AccountController.d.ts +2 -2
- package/lib/typescript/controllers/AccountController.d.ts.map +1 -1
- package/lib/typescript/controllers/ApiController.d.ts +1 -1
- package/lib/typescript/controllers/ApiController.d.ts.map +1 -1
- package/lib/typescript/controllers/BlockchainApiController.d.ts +3 -15
- package/lib/typescript/controllers/BlockchainApiController.d.ts.map +1 -1
- package/lib/typescript/controllers/ConnectionController.d.ts +0 -2
- package/lib/typescript/controllers/ConnectionController.d.ts.map +1 -1
- package/lib/typescript/controllers/ConnectorController.d.ts.map +1 -1
- package/lib/typescript/controllers/ModalController.d.ts +1 -1
- package/lib/typescript/controllers/ModalController.d.ts.map +1 -1
- package/lib/typescript/controllers/NetworkController.d.ts +1 -1
- package/lib/typescript/controllers/NetworkController.d.ts.map +1 -1
- package/lib/typescript/controllers/OnRampController.d.ts +3 -1
- package/lib/typescript/controllers/OnRampController.d.ts.map +1 -1
- package/lib/typescript/controllers/OptionsController.d.ts +2 -5
- package/lib/typescript/controllers/OptionsController.d.ts.map +1 -1
- package/lib/typescript/controllers/PublicStateController.d.ts +1 -1
- package/lib/typescript/controllers/PublicStateController.d.ts.map +1 -1
- package/lib/typescript/controllers/RouterController.d.ts +1 -2
- package/lib/typescript/controllers/RouterController.d.ts.map +1 -1
- package/lib/typescript/controllers/SwapController.d.ts +1 -1
- package/lib/typescript/controllers/SwapController.d.ts.map +1 -1
- package/lib/typescript/controllers/ThemeController.d.ts +1 -1
- package/lib/typescript/controllers/ThemeController.d.ts.map +1 -1
- package/lib/typescript/index.d.ts +1 -1
- package/lib/typescript/index.d.ts.map +1 -1
- package/lib/typescript/utils/AssetUtil.d.ts +2 -2
- package/lib/typescript/utils/AssetUtil.d.ts.map +1 -1
- package/lib/typescript/utils/ConnectionUtil.d.ts +4 -0
- package/lib/typescript/utils/ConnectionUtil.d.ts.map +1 -0
- package/lib/typescript/utils/ConstantsUtil.d.ts +1 -421
- package/lib/typescript/utils/ConstantsUtil.d.ts.map +1 -1
- package/lib/typescript/utils/CoreHelperUtil.d.ts +2 -2
- package/lib/typescript/utils/CoreHelperUtil.d.ts.map +1 -1
- package/lib/typescript/utils/FetchUtil.d.ts +1 -1
- package/lib/typescript/utils/FetchUtil.d.ts.map +1 -1
- package/lib/typescript/utils/NetworkUtil.d.ts +1 -1
- package/lib/typescript/utils/NetworkUtil.d.ts.map +1 -1
- package/lib/typescript/utils/StorageUtil.d.ts +4 -14
- package/lib/typescript/utils/StorageUtil.d.ts.map +1 -1
- package/lib/typescript/utils/SwapApiUtil.d.ts.map +1 -1
- package/lib/typescript/utils/TypeUtil.d.ts +32 -5
- package/lib/typescript/utils/TypeUtil.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/controllers/AccountController.ts +2 -2
- package/src/controllers/ApiController.ts +7 -12
- package/src/controllers/BlockchainApiController.ts +27 -135
- package/src/controllers/ConnectionController.ts +2 -10
- package/src/controllers/ConnectorController.ts +0 -1
- package/src/controllers/ModalController.ts +1 -2
- package/src/controllers/NetworkController.ts +1 -1
- package/src/controllers/OnRampController.ts +63 -27
- package/src/controllers/OptionsController.ts +13 -14
- package/src/controllers/PublicStateController.ts +1 -1
- package/src/controllers/RouterController.ts +1 -2
- package/src/controllers/SendController.ts +5 -5
- package/src/controllers/SwapController.ts +48 -58
- package/src/controllers/ThemeController.ts +2 -11
- package/src/controllers/TransactionsController.ts +2 -2
- package/src/index.ts +1 -5
- package/src/utils/AssetUtil.ts +7 -5
- package/src/utils/ConnectionUtil.ts +27 -0
- package/src/utils/ConstantsUtil.ts +7 -542
- package/src/utils/CoreHelperUtil.ts +3 -8
- package/src/utils/FetchUtil.ts +1 -1
- package/src/utils/NetworkUtil.ts +1 -1
- package/src/utils/StorageUtil.ts +39 -82
- package/src/utils/SwapApiUtil.ts +10 -22
- package/src/utils/TypeUtil.ts +39 -8
- package/lib/commonjs/controllers/ConnectionsController.js +0 -215
- package/lib/commonjs/controllers/ConnectionsController.js.map +0 -1
- package/lib/module/controllers/ConnectionsController.js +0 -210
- package/lib/module/controllers/ConnectionsController.js.map +0 -1
- package/lib/typescript/controllers/ConnectionsController.d.ts +0 -44
- package/lib/typescript/controllers/ConnectionsController.d.ts.map +0 -1
- package/src/controllers/ConnectionsController.ts +0 -305
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SwapController.d.ts","sourceRoot":"","sources":["../../../src/controllers/SwapController.ts"],"names":[],"mappings":"
|
|
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,OAAO,CAAC;IACvB,0BAA0B,CAAC,EAAE,OAAO,CAAC;IACrC,uBAAuB,CAAC,EAAE,OAAO,CAAC;IAClC,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAG7B,UAAU,EAAE,OAAO,CAAC;IAGpB,mBAAmB,EAAE,iBAAiB,GAAG,SAAS,CAAC;IACnD,eAAe,EAAE,iBAAiB,GAAG,SAAS,CAAC;IAC/C,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAG1B,WAAW,CAAC,EAAE,oBAAoB,CAAC;IACnC,iBAAiB,EAAE,MAAM,CAAC;IAC1B,qBAAqB,EAAE,MAAM,CAAC;IAC9B,OAAO,CAAC,EAAE,oBAAoB,CAAC;IAC/B,aAAa,EAAE,MAAM,CAAC;IACtB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,YAAY,EAAE,MAAM,CAAC;IACrB,mBAAmB,EAAE,MAAM,CAAC;IAC5B,kBAAkB,EAAE,MAAM,CAAC;IAC3B,UAAU,EAAE,MAAM,GAAG,SAAS,CAAC;IAG/B,QAAQ,EAAE,MAAM,CAAC;IAGjB,MAAM,CAAC,EAAE,oBAAoB,EAAE,CAAC;IAChC,eAAe,CAAC,EAAE,oBAAoB,EAAE,CAAC;IACzC,aAAa,CAAC,EAAE,oBAAoB,EAAE,CAAC;IACvC,WAAW,CAAC,EAAE,oBAAoB,EAAE,CAAC;IACrC,mBAAmB,CAAC,EAAE,oBAAoB,EAAE,CAAC;IAC7C,cAAc,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAGvC,MAAM,EAAE,MAAM,CAAC;IACf,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,WAAW,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC,WAAW,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC,WAAW,EAAE,MAAM,GAAG,SAAS,CAAC;CACjC;AAyDD,eAAO,MAAM,cAAc;;mCAGM,mBAAmB,KAAK,IAAI;2GAI2B,IAAI;;;;;;;;;;;;;;;;;;;;;yCA+H/C,MAAM;;gCAiBrB,oBAAoB,GAAG,SAAS;iCAa/B,MAAM;;6BA2BJ,MAAM;;;;;;;;;;;;0BA8Df,oBAAoB,EAAE;wBAqBxB,oBAAoB,GAAG,SAAS;6BAa3B,MAAM;2BAMF,MAAM,UAAU,eAAe;;;;;;;;;;;;;;;;;;;qCAmPrB,iBAAiB;iCAwCrB,iBAAiB,GAAG,SAAS;4CA6FxB,MAAM,sBAAsB,MAAM;;CA2C3E,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
|
|
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":"
|
|
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"}
|
|
@@ -3,7 +3,6 @@ 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 { ConnectionsController, type ConnectionsControllerState } from './controllers/ConnectionsController';
|
|
7
6
|
export { ConnectorController, type ConnectorControllerState } from './controllers/ConnectorController';
|
|
8
7
|
export { SnackController, type SnackControllerState } from './controllers/SnackController';
|
|
9
8
|
export { ApiController, type ApiControllerState } from './controllers/ApiController';
|
|
@@ -21,6 +20,7 @@ export { OnRampController, type OnRampControllerState } from './controllers/OnRa
|
|
|
21
20
|
export { WebviewController, type WebviewControllerState } from './controllers/WebviewController';
|
|
22
21
|
export { ApiUtil } from './utils/ApiUtil';
|
|
23
22
|
export { AssetUtil } from './utils/AssetUtil';
|
|
23
|
+
export { ConnectionUtil } from './utils/ConnectionUtil';
|
|
24
24
|
export { ConstantsUtil } from './utils/ConstantsUtil';
|
|
25
25
|
export { CoreHelperUtil } from './utils/CoreHelperUtil';
|
|
26
26
|
export { StorageUtil } from './utils/StorageUtil';
|
|
@@ -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,
|
|
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,EACrB,KAAK,0BAA0B,EAChC,MAAM,qCAAqC,CAAC;AAE7C,OAAO,EAAE,uBAAuB,EAAE,MAAM,uCAAuC,CAAC;AAEhF,OAAO,EAAE,cAAc,EAAE,KAAK,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AAExF,OAAO,EAAE,gBAAgB,EAAE,KAAK,qBAAqB,EAAE,MAAM,gCAAgC,CAAC;AAE9F,OAAO,EAAE,aAAa,EAAE,KAAK,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AAErF,OAAO,EACL,sBAAsB,EACtB,KAAK,2BAA2B,EACjC,MAAM,sCAAsC,CAAC;AAE9C,OAAO,EAAE,cAAc,EAAE,KAAK,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AAExF,OAAO,EAAE,gBAAgB,EAAE,KAAK,qBAAqB,EAAE,MAAM,gCAAgC,CAAC;AAC9F,OAAO,EAAE,iBAAiB,EAAE,KAAK,sBAAsB,EAAE,MAAM,iCAAiC,CAAC;AAGjG,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAC1C,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AACxD,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;AAChD,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAElD,mBAAmB,kBAAkB,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type { Connector, WcWallet } from './TypeUtil';
|
|
1
|
+
import type { CaipNetwork, Connector, WcWallet } from './TypeUtil';
|
|
2
2
|
export declare const AssetUtil: {
|
|
3
3
|
getWalletImage(wallet?: WcWallet): string | undefined;
|
|
4
|
-
getNetworkImage(
|
|
4
|
+
getNetworkImage(network?: CaipNetwork): string | undefined;
|
|
5
5
|
getConnectorImage(connector?: Connector): string | undefined;
|
|
6
6
|
};
|
|
7
7
|
//# 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,SAAS,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;
|
|
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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ConnectionUtil.d.ts","sourceRoot":"","sources":["../../../src/utils/ConnectionUtil.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,cAAc;;CAmB1B,CAAC"}
|
|
@@ -19,12 +19,7 @@ export declare const ConstantsUtil: {
|
|
|
19
19
|
ONE_SEC_MS: number;
|
|
20
20
|
EMAIL_REGEX: RegExp;
|
|
21
21
|
LINKING_ERROR: string;
|
|
22
|
-
NATIVE_TOKEN_ADDRESS:
|
|
23
|
-
readonly eip155: "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee";
|
|
24
|
-
readonly solana: "So11111111111111111111111111111111111111111";
|
|
25
|
-
readonly polkadot: "0x";
|
|
26
|
-
readonly bip122: "0x";
|
|
27
|
-
};
|
|
22
|
+
NATIVE_TOKEN_ADDRESS: string;
|
|
28
23
|
ONRAMP_ERROR_TYPES: {
|
|
29
24
|
readonly AMOUNT_TOO_LOW: "INVALID_AMOUNT_TOO_LOW";
|
|
30
25
|
readonly AMOUNT_TOO_HIGH: "INVALID_AMOUNT_TOO_HIGH";
|
|
@@ -41,263 +36,9 @@ export declare const ConstantsUtil: {
|
|
|
41
36
|
};
|
|
42
37
|
SWAP_SUGGESTED_TOKENS: string[];
|
|
43
38
|
SWAP_POPULAR_TOKENS: string[];
|
|
44
|
-
ACTIVITY_SUPPORTED_CHAINS: string[];
|
|
45
39
|
SWAP_SUPPORTED_NETWORKS: string[];
|
|
46
40
|
CONVERT_SLIPPAGE_TOLERANCE: number;
|
|
47
41
|
DEFAULT_FEATURES: Features;
|
|
48
|
-
COUNTRY_CURRENCIES: {
|
|
49
|
-
AD: string;
|
|
50
|
-
AE: string;
|
|
51
|
-
AF: string;
|
|
52
|
-
AG: string;
|
|
53
|
-
AI: string;
|
|
54
|
-
AL: string;
|
|
55
|
-
AM: string;
|
|
56
|
-
AN: string;
|
|
57
|
-
AO: string;
|
|
58
|
-
AQ: string;
|
|
59
|
-
AR: string;
|
|
60
|
-
AS: string;
|
|
61
|
-
AT: string;
|
|
62
|
-
AU: string;
|
|
63
|
-
AW: string;
|
|
64
|
-
AX: string;
|
|
65
|
-
AZ: string;
|
|
66
|
-
BA: string;
|
|
67
|
-
BB: string;
|
|
68
|
-
BD: string;
|
|
69
|
-
BE: string;
|
|
70
|
-
BF: string;
|
|
71
|
-
BG: string;
|
|
72
|
-
BH: string;
|
|
73
|
-
BI: string;
|
|
74
|
-
BJ: string;
|
|
75
|
-
BL: string;
|
|
76
|
-
BM: string;
|
|
77
|
-
BN: string;
|
|
78
|
-
BO: string;
|
|
79
|
-
BQ: string;
|
|
80
|
-
BR: string;
|
|
81
|
-
BS: string;
|
|
82
|
-
BT: string;
|
|
83
|
-
BV: string;
|
|
84
|
-
BW: string;
|
|
85
|
-
BY: string;
|
|
86
|
-
BZ: string;
|
|
87
|
-
CA: string;
|
|
88
|
-
CC: string;
|
|
89
|
-
CD: string;
|
|
90
|
-
CF: string;
|
|
91
|
-
CG: string;
|
|
92
|
-
CH: string;
|
|
93
|
-
CI: string;
|
|
94
|
-
CK: string;
|
|
95
|
-
CL: string;
|
|
96
|
-
CM: string;
|
|
97
|
-
CN: string;
|
|
98
|
-
CO: string;
|
|
99
|
-
CR: string;
|
|
100
|
-
CU: string;
|
|
101
|
-
CV: string;
|
|
102
|
-
CW: string;
|
|
103
|
-
CX: string;
|
|
104
|
-
CY: string;
|
|
105
|
-
CZ: string;
|
|
106
|
-
DE: string;
|
|
107
|
-
DJ: string;
|
|
108
|
-
DK: string;
|
|
109
|
-
DM: string;
|
|
110
|
-
DO: string;
|
|
111
|
-
DZ: string;
|
|
112
|
-
EC: string;
|
|
113
|
-
EE: string;
|
|
114
|
-
EG: string;
|
|
115
|
-
EH: string;
|
|
116
|
-
ER: string;
|
|
117
|
-
ES: string;
|
|
118
|
-
ET: string;
|
|
119
|
-
FI: string;
|
|
120
|
-
FJ: string;
|
|
121
|
-
FK: string;
|
|
122
|
-
FM: string;
|
|
123
|
-
FO: string;
|
|
124
|
-
FR: string;
|
|
125
|
-
GA: string;
|
|
126
|
-
GB: string;
|
|
127
|
-
GD: string;
|
|
128
|
-
GE: string;
|
|
129
|
-
GF: string;
|
|
130
|
-
GG: string;
|
|
131
|
-
GH: string;
|
|
132
|
-
GI: string;
|
|
133
|
-
GL: string;
|
|
134
|
-
GM: string;
|
|
135
|
-
GN: string;
|
|
136
|
-
GP: string;
|
|
137
|
-
GQ: string;
|
|
138
|
-
GR: string;
|
|
139
|
-
GS: string;
|
|
140
|
-
GT: string;
|
|
141
|
-
GU: string;
|
|
142
|
-
GW: string;
|
|
143
|
-
GY: string;
|
|
144
|
-
HK: string;
|
|
145
|
-
HM: string;
|
|
146
|
-
HN: string;
|
|
147
|
-
HR: string;
|
|
148
|
-
HT: string;
|
|
149
|
-
HU: string;
|
|
150
|
-
ID: string;
|
|
151
|
-
IE: string;
|
|
152
|
-
IL: string;
|
|
153
|
-
IM: string;
|
|
154
|
-
IN: string;
|
|
155
|
-
IO: string;
|
|
156
|
-
IQ: string;
|
|
157
|
-
IR: string;
|
|
158
|
-
IS: string;
|
|
159
|
-
IT: string;
|
|
160
|
-
JE: string;
|
|
161
|
-
JM: string;
|
|
162
|
-
JO: string;
|
|
163
|
-
JP: string;
|
|
164
|
-
KE: string;
|
|
165
|
-
KG: string;
|
|
166
|
-
KH: string;
|
|
167
|
-
KI: string;
|
|
168
|
-
KM: string;
|
|
169
|
-
KN: string;
|
|
170
|
-
KP: string;
|
|
171
|
-
KR: string;
|
|
172
|
-
KW: string;
|
|
173
|
-
KY: string;
|
|
174
|
-
KZ: string;
|
|
175
|
-
LA: string;
|
|
176
|
-
LB: string;
|
|
177
|
-
LC: string;
|
|
178
|
-
LI: string;
|
|
179
|
-
LK: string;
|
|
180
|
-
LR: string;
|
|
181
|
-
LS: string;
|
|
182
|
-
LT: string;
|
|
183
|
-
LU: string;
|
|
184
|
-
LV: string;
|
|
185
|
-
LY: string;
|
|
186
|
-
MA: string;
|
|
187
|
-
MC: string;
|
|
188
|
-
MD: string;
|
|
189
|
-
ME: string;
|
|
190
|
-
MF: string;
|
|
191
|
-
MG: string;
|
|
192
|
-
MH: string;
|
|
193
|
-
MK: string;
|
|
194
|
-
ML: string;
|
|
195
|
-
MM: string;
|
|
196
|
-
MN: string;
|
|
197
|
-
MO: string;
|
|
198
|
-
MP: string;
|
|
199
|
-
MQ: string;
|
|
200
|
-
MR: string;
|
|
201
|
-
MS: string;
|
|
202
|
-
MT: string;
|
|
203
|
-
MU: string;
|
|
204
|
-
MV: string;
|
|
205
|
-
MW: string;
|
|
206
|
-
MX: string;
|
|
207
|
-
MY: string;
|
|
208
|
-
MZ: string;
|
|
209
|
-
NA: string;
|
|
210
|
-
NC: string;
|
|
211
|
-
NE: string;
|
|
212
|
-
NF: string;
|
|
213
|
-
NG: string;
|
|
214
|
-
NI: string;
|
|
215
|
-
NL: string;
|
|
216
|
-
NO: string;
|
|
217
|
-
NP: string;
|
|
218
|
-
NR: string;
|
|
219
|
-
NU: string;
|
|
220
|
-
NZ: string;
|
|
221
|
-
OM: string;
|
|
222
|
-
PA: string;
|
|
223
|
-
PE: string;
|
|
224
|
-
PF: string;
|
|
225
|
-
PG: string;
|
|
226
|
-
PH: string;
|
|
227
|
-
PK: string;
|
|
228
|
-
PL: string;
|
|
229
|
-
PM: string;
|
|
230
|
-
PN: string;
|
|
231
|
-
PR: string;
|
|
232
|
-
PS: string;
|
|
233
|
-
PT: string;
|
|
234
|
-
PW: string;
|
|
235
|
-
PY: string;
|
|
236
|
-
QA: string;
|
|
237
|
-
RE: string;
|
|
238
|
-
RO: string;
|
|
239
|
-
RS: string;
|
|
240
|
-
RU: string;
|
|
241
|
-
RW: string;
|
|
242
|
-
SA: string;
|
|
243
|
-
SB: string;
|
|
244
|
-
SC: string;
|
|
245
|
-
SD: string;
|
|
246
|
-
SE: string;
|
|
247
|
-
SG: string;
|
|
248
|
-
SH: string;
|
|
249
|
-
SI: string;
|
|
250
|
-
SJ: string;
|
|
251
|
-
SK: string;
|
|
252
|
-
SL: string;
|
|
253
|
-
SM: string;
|
|
254
|
-
SN: string;
|
|
255
|
-
SO: string;
|
|
256
|
-
SR: string;
|
|
257
|
-
SS: string;
|
|
258
|
-
ST: string;
|
|
259
|
-
SV: string;
|
|
260
|
-
SX: string;
|
|
261
|
-
SY: string;
|
|
262
|
-
SZ: string;
|
|
263
|
-
TC: string;
|
|
264
|
-
TD: string;
|
|
265
|
-
TF: string;
|
|
266
|
-
TG: string;
|
|
267
|
-
TH: string;
|
|
268
|
-
TJ: string;
|
|
269
|
-
TK: string;
|
|
270
|
-
TL: string;
|
|
271
|
-
TM: string;
|
|
272
|
-
TN: string;
|
|
273
|
-
TO: string;
|
|
274
|
-
TR: string;
|
|
275
|
-
TT: string;
|
|
276
|
-
TV: string;
|
|
277
|
-
TW: string;
|
|
278
|
-
TZ: string;
|
|
279
|
-
UA: string;
|
|
280
|
-
UG: string;
|
|
281
|
-
UM: string;
|
|
282
|
-
US: string;
|
|
283
|
-
UY: string;
|
|
284
|
-
UZ: string;
|
|
285
|
-
VA: string;
|
|
286
|
-
VC: string;
|
|
287
|
-
VE: string;
|
|
288
|
-
VG: string;
|
|
289
|
-
VI: string;
|
|
290
|
-
VN: string;
|
|
291
|
-
VU: string;
|
|
292
|
-
WF: string;
|
|
293
|
-
WS: string;
|
|
294
|
-
XK: string;
|
|
295
|
-
YE: string;
|
|
296
|
-
YT: string;
|
|
297
|
-
ZA: string;
|
|
298
|
-
ZM: string;
|
|
299
|
-
ZW: string;
|
|
300
|
-
};
|
|
301
42
|
NETWORK_DEFAULT_CURRENCIES: {
|
|
302
43
|
'eip155:1': string;
|
|
303
44
|
'eip155:56': string;
|
|
@@ -323,166 +64,5 @@ export declare const ConstantsUtil: {
|
|
|
323
64
|
'eip155:1101': string;
|
|
324
65
|
'eip155:196': string;
|
|
325
66
|
};
|
|
326
|
-
COUNTRY_DEFAULT_PAYMENT_METHOD: {
|
|
327
|
-
AE: string[];
|
|
328
|
-
AR: string[];
|
|
329
|
-
AT: string[];
|
|
330
|
-
AU: string[];
|
|
331
|
-
BD: string[];
|
|
332
|
-
BE: string[];
|
|
333
|
-
BG: string[];
|
|
334
|
-
BR: string[];
|
|
335
|
-
CA: string[];
|
|
336
|
-
CH: string[];
|
|
337
|
-
CL: string[];
|
|
338
|
-
CN: string[];
|
|
339
|
-
CO: string[];
|
|
340
|
-
CY: string[];
|
|
341
|
-
CZ: string[];
|
|
342
|
-
DE: string[];
|
|
343
|
-
DK: string[];
|
|
344
|
-
EC: string[];
|
|
345
|
-
EE: string[];
|
|
346
|
-
ES: string[];
|
|
347
|
-
FI: string[];
|
|
348
|
-
FR: string[];
|
|
349
|
-
GB: string[];
|
|
350
|
-
GR: string[];
|
|
351
|
-
HK: string[];
|
|
352
|
-
HR: string[];
|
|
353
|
-
HU: string[];
|
|
354
|
-
ID: string[];
|
|
355
|
-
IE: string[];
|
|
356
|
-
IL: string[];
|
|
357
|
-
IN: string[];
|
|
358
|
-
IT: string[];
|
|
359
|
-
JP: string[];
|
|
360
|
-
KE: string[];
|
|
361
|
-
KR: string[];
|
|
362
|
-
LT: string[];
|
|
363
|
-
LV: string[];
|
|
364
|
-
MA: string[];
|
|
365
|
-
MX: string[];
|
|
366
|
-
MY: string[];
|
|
367
|
-
NG: string[];
|
|
368
|
-
NL: string[];
|
|
369
|
-
NO: string[];
|
|
370
|
-
NP: string[];
|
|
371
|
-
NZ: string[];
|
|
372
|
-
PH: string[];
|
|
373
|
-
PK: string[];
|
|
374
|
-
PL: string[];
|
|
375
|
-
PR: string[];
|
|
376
|
-
PT: string[];
|
|
377
|
-
RO: string[];
|
|
378
|
-
SA: string[];
|
|
379
|
-
SE: string[];
|
|
380
|
-
SG: string[];
|
|
381
|
-
SI: string[];
|
|
382
|
-
SK: string[];
|
|
383
|
-
TH: string[];
|
|
384
|
-
TR: string[];
|
|
385
|
-
TW: string[];
|
|
386
|
-
UA: string[];
|
|
387
|
-
US: string[];
|
|
388
|
-
VN: string[];
|
|
389
|
-
ZA: string[];
|
|
390
|
-
};
|
|
391
|
-
CURRENCY_SUGGESTED_VALUES: {
|
|
392
|
-
AED: number[];
|
|
393
|
-
AMD: number[];
|
|
394
|
-
ANG: number[];
|
|
395
|
-
AOA: number[];
|
|
396
|
-
ARS: number[];
|
|
397
|
-
AUD: number[];
|
|
398
|
-
AZN: number[];
|
|
399
|
-
BDT: number[];
|
|
400
|
-
BGN: number[];
|
|
401
|
-
BHD: number[];
|
|
402
|
-
BOB: number[];
|
|
403
|
-
BRL: number[];
|
|
404
|
-
BWP: number[];
|
|
405
|
-
CAD: number[];
|
|
406
|
-
CHF: number[];
|
|
407
|
-
CLP: number[];
|
|
408
|
-
CNY: number[];
|
|
409
|
-
COP: number[];
|
|
410
|
-
CRC: number[];
|
|
411
|
-
CZK: number[];
|
|
412
|
-
DKK: number[];
|
|
413
|
-
DOP: number[];
|
|
414
|
-
DZD: number[];
|
|
415
|
-
EGP: number[];
|
|
416
|
-
EUR: number[];
|
|
417
|
-
GBP: number[];
|
|
418
|
-
GEL: number[];
|
|
419
|
-
GHS: number[];
|
|
420
|
-
GTQ: number[];
|
|
421
|
-
HKD: number[];
|
|
422
|
-
HNL: number[];
|
|
423
|
-
HRK: number[];
|
|
424
|
-
HTG: number[];
|
|
425
|
-
HUF: number[];
|
|
426
|
-
IDR: number[];
|
|
427
|
-
ILS: number[];
|
|
428
|
-
INR: number[];
|
|
429
|
-
IQD: number[];
|
|
430
|
-
ISK: number[];
|
|
431
|
-
JOD: number[];
|
|
432
|
-
JPY: number[];
|
|
433
|
-
KES: number[];
|
|
434
|
-
KGS: number[];
|
|
435
|
-
KHR: number[];
|
|
436
|
-
KRW: number[];
|
|
437
|
-
KWD: number[];
|
|
438
|
-
KZT: number[];
|
|
439
|
-
LAK: number[];
|
|
440
|
-
LBP: number[];
|
|
441
|
-
LKR: number[];
|
|
442
|
-
MAD: number[];
|
|
443
|
-
MDL: number[];
|
|
444
|
-
MMK: number[];
|
|
445
|
-
MNT: number[];
|
|
446
|
-
MWK: number[];
|
|
447
|
-
MXN: number[];
|
|
448
|
-
MYR: number[];
|
|
449
|
-
NGN: number[];
|
|
450
|
-
NIO: number[];
|
|
451
|
-
NOK: number[];
|
|
452
|
-
NPR: number[];
|
|
453
|
-
NZD: number[];
|
|
454
|
-
OMR: number[];
|
|
455
|
-
PAB: number[];
|
|
456
|
-
PEN: number[];
|
|
457
|
-
PGK: number[];
|
|
458
|
-
PHP: number[];
|
|
459
|
-
PKR: number[];
|
|
460
|
-
PLN: number[];
|
|
461
|
-
PYG: number[];
|
|
462
|
-
QAR: number[];
|
|
463
|
-
RON: number[];
|
|
464
|
-
RSD: number[];
|
|
465
|
-
RWF: number[];
|
|
466
|
-
SAR: number[];
|
|
467
|
-
SEK: number[];
|
|
468
|
-
SGD: number[];
|
|
469
|
-
THB: number[];
|
|
470
|
-
TJS: number[];
|
|
471
|
-
TND: number[];
|
|
472
|
-
TRY: number[];
|
|
473
|
-
TWD: number[];
|
|
474
|
-
TZS: number[];
|
|
475
|
-
UAH: number[];
|
|
476
|
-
UGX: number[];
|
|
477
|
-
USD: number[];
|
|
478
|
-
UYU: number[];
|
|
479
|
-
UZS: number[];
|
|
480
|
-
VND: number[];
|
|
481
|
-
XAF: number[];
|
|
482
|
-
XCD: number[];
|
|
483
|
-
XOF: number[];
|
|
484
|
-
ZAR: number[];
|
|
485
|
-
ZMW: number[];
|
|
486
|
-
};
|
|
487
67
|
};
|
|
488
68
|
//# sourceMappingURL=ConstantsUtil.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConstantsUtil.d.ts","sourceRoot":"","sources":["../../../src/utils/ConstantsUtil.ts"],"names":[],"mappings":"
|
|
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;;;;;;;;;;;;;CAalB,CAAC;AAEX,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiKzB,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { type Balance
|
|
2
|
-
import type { DataWallet, LinkingRecord } from './TypeUtil';
|
|
1
|
+
import { type Balance } from '@reown/appkit-common-react-native';
|
|
2
|
+
import type { CaipAddress, CaipNetwork, DataWallet, LinkingRecord } from './TypeUtil';
|
|
3
3
|
export declare const CoreHelperUtil: {
|
|
4
4
|
isPairingExpired(expiry?: number): boolean;
|
|
5
5
|
isAllowedRetry(lastRetry: number): boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CoreHelperUtil.d.ts","sourceRoot":"","sources":["../../../src/utils/CoreHelperUtil.ts"],"names":[],"mappings":"AAGA,OAAO,
|
|
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,CAAC;wBAiBtC,MAAM;yBAIL,QAAQ,OAAO,CAAC,EAAE;;;;;;;sCAUL,OAAO,EAAE;;;;yCAiBjB,GAAG,MAAM,IAAI,MAAM,EAAE,EAAE,GAAG,SAAS,0BACpC,WAAW,EAAE;iCAiBT,GAAG,EAAE,KAAK,GAAG,iBAAiB,MAAM;CAalE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FetchUtil.d.ts","sourceRoot":"","sources":["../../../src/utils/FetchUtil.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAG/C,UAAU,OAAO;IACf,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC1B;AAED,UAAU,gBAAgB;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,CAAC,EAAE,
|
|
1
|
+
{"version":3,"file":"FetchUtil.d.ts","sourceRoot":"","sources":["../../../src/utils/FetchUtil.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAG/C,UAAU,OAAO;IACf,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC1B;AAED,UAAU,gBAAgB;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,CAAC,EAAE,YAAY,CAAC;IACvB,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,SAAS,CAAC,CAAC;IAC5C,KAAK,CAAC,EAAE,YAAY,CAAC;IACrB,MAAM,CAAC,EAAE,WAAW,CAAC;CACtB;AAED,UAAU,aAAc,SAAQ,gBAAgB;IAC9C,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CAChC;AAGD,qBAAa,SAAS;IACb,OAAO,EAAE,OAAO,CAAC,SAAS,CAAC,CAAC;IAC5B,QAAQ,EAAE,OAAO,CAAC,UAAU,CAAC,CAAC;gBAElB,EAAE,OAAO,EAAE,QAAQ,EAAE,EAAE,OAAO;IAKpC,GAAG,CAAC,CAAC,EAAE,EAAE,OAAO,EAAE,MAAM,EAAE,GAAG,IAAI,EAAE,EAAE,gBAAgB;IAOrD,IAAI,CAAC,CAAC,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,EAAE,GAAG,IAAI,EAAE,EAAE,aAAa;IAYzD,GAAG,CAAC,CAAC,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,EAAE,GAAG,IAAI,EAAE,EAAE,aAAa;IAYxD,MAAM,CAAC,CAAC,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,EAAE,GAAG,IAAI,EAAE,EAAE,aAAa;IAY3D,UAAU,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC;IAgBtE,OAAO,CAAC,SAAS;YAiBH,eAAe;CAqB9B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NetworkUtil.d.ts","sourceRoot":"","sources":["../../../src/utils/NetworkUtil.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"NetworkUtil.d.ts","sourceRoot":"","sources":["../../../src/utils/NetworkUtil.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAErD,eAAO,MAAM,WAAW;iCACa,WAAW;;;;CAuB/C,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { OnRampCountry, OnRampFiatCurrency, OnRampFiatLimit, OnRampServiceProvider, WcWallet } from './TypeUtil';
|
|
2
|
-
import { type SocialProvider, type
|
|
1
|
+
import type { OnRampCountry, OnRampCountryDefaults, OnRampFiatCurrency, OnRampFiatLimit, OnRampServiceProvider, WcWallet } from './TypeUtil';
|
|
2
|
+
import { type SocialProvider, type ConnectorType } from '@reown/appkit-common-react-native';
|
|
3
3
|
export declare const StorageUtil: {
|
|
4
4
|
setWalletConnectDeepLink({ href, name }: {
|
|
5
5
|
href: string;
|
|
@@ -13,15 +13,6 @@ export declare const StorageUtil: {
|
|
|
13
13
|
setConnectedConnector(connectorType: ConnectorType): Promise<void>;
|
|
14
14
|
getConnectedConnector(): Promise<ConnectorType | undefined>;
|
|
15
15
|
removeConnectedConnector(): Promise<void>;
|
|
16
|
-
setConnectedConnectors({ type, namespaces }: {
|
|
17
|
-
type: New_ConnectorType;
|
|
18
|
-
namespaces: string[];
|
|
19
|
-
}): Promise<void>;
|
|
20
|
-
getConnectedConnectors(): Promise<{
|
|
21
|
-
type: New_ConnectorType;
|
|
22
|
-
namespaces: string[];
|
|
23
|
-
}[]>;
|
|
24
|
-
removeConnectedConnectors(type: New_ConnectorType): Promise<void>;
|
|
25
16
|
setConnectedWalletImageUrl(url: string): Promise<void>;
|
|
26
17
|
getConnectedWalletImageUrl(): Promise<string | null | undefined>;
|
|
27
18
|
removeConnectedWalletImageUrl(): Promise<void>;
|
|
@@ -34,14 +25,13 @@ export declare const StorageUtil: {
|
|
|
34
25
|
getOnRampPreferredFiatCurrency(): Promise<OnRampFiatCurrency | undefined>;
|
|
35
26
|
setOnRampCountries(countries: OnRampCountry[]): Promise<void>;
|
|
36
27
|
getOnRampCountries(): Promise<OnRampCountry[]>;
|
|
28
|
+
setOnRampCountriesDefaults(countriesDefaults: OnRampCountryDefaults[]): Promise<void>;
|
|
29
|
+
getOnRampCountriesDefaults(): Promise<OnRampCountryDefaults[]>;
|
|
37
30
|
setOnRampServiceProviders(serviceProviders: OnRampServiceProvider[]): Promise<void>;
|
|
38
31
|
getOnRampServiceProviders(): Promise<OnRampServiceProvider[]>;
|
|
39
32
|
setOnRampFiatLimits(fiatLimits: OnRampFiatLimit[]): Promise<void>;
|
|
40
33
|
getOnRampFiatLimits(): Promise<OnRampFiatLimit[]>;
|
|
41
34
|
setOnRampFiatCurrencies(fiatCurrencies: OnRampFiatCurrency[]): Promise<void>;
|
|
42
35
|
getOnRampFiatCurrencies(): Promise<OnRampFiatCurrency[]>;
|
|
43
|
-
setActiveNamespace(namespace?: ChainNamespace): Promise<void>;
|
|
44
|
-
getActiveNamespace(): Promise<ChainNamespace | undefined>;
|
|
45
|
-
removeActiveNamespace(): Promise<void>;
|
|
46
36
|
};
|
|
47
37
|
//# sourceMappingURL=StorageUtil.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StorageUtil.d.ts","sourceRoot":"","sources":["../../../src/utils/StorageUtil.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,aAAa,EACb,kBAAkB,EAClB,eAAe,EACf,qBAAqB,EACrB,QAAQ,EACT,MAAM,YAAY,CAAC;AACpB,OAAO,EAEL,KAAK,cAAc,EACnB,KAAK,
|
|
1
|
+
{"version":3,"file":"StorageUtil.d.ts","sourceRoot":"","sources":["../../../src/utils/StorageUtil.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,aAAa,EACb,qBAAqB,EACrB,kBAAkB,EAClB,eAAe,EACf,qBAAqB,EACrB,QAAQ,EACT,MAAM,YAAY,CAAC;AACpB,OAAO,EAEL,KAAK,cAAc,EACnB,KAAK,aAAa,EACnB,MAAM,mCAAmC,CAAC;AAgB3C,eAAO,MAAM,WAAW;;cAC2B,MAAM;cAAQ,MAAM;;;;4BA6BvC,QAAQ;8BAuBN,QAAQ,EAAE;wBAQhB,QAAQ,QAAQ,EAAE,CAAC;yCAYF,aAAa;6BAQzB,QAAQ,aAAa,GAAG,SAAS,CAAC;;oCAoB3B,MAAM;;;yCA0BD,cAAc;;;uCA4BhB,aAAa;;6CAoBP,kBAAkB;;kCAoB7B,aAAa,EAAE;;kDAoBC,qBAAqB,EAAE;;gDAoCzB,qBAAqB,EAAE;;oCAqCnC,eAAe,EAAE;;4CAoCT,kBAAkB,EAAE;;CAmCnE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SwapApiUtil.d.ts","sourceRoot":"","sources":["../../../src/utils/SwapApiUtil.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SwapApiUtil.d.ts","sourceRoot":"","sources":["../../../src/utils/SwapApiUtil.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,4BAA4B,EAC5B,iCAAiC,EACjC,oBAAoB,EACrB,MAAM,YAAY,CAAC;AAIpB,eAAO,MAAM,WAAW;;;2BA8BD,MAAM;6BACJ,MAAM;;yCAqBc,MAAM;uCAgBd,4BAA4B,CAAC,UAAU,CAAC;;CA4B5E,CAAC"}
|