@reown/appkit-core-react-native 0.0.0-feat-onramp-20250626195202 → 0.0.0-feat-multi-social-20250630195637
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 +102 -24
- package/lib/commonjs/controllers/BlockchainApiController.js.map +1 -1
- package/lib/commonjs/controllers/ConnectionController.js +7 -5
- package/lib/commonjs/controllers/ConnectionController.js.map +1 -1
- package/lib/commonjs/controllers/ConnectionsController.js +217 -0
- package/lib/commonjs/controllers/ConnectionsController.js.map +1 -0
- package/lib/commonjs/controllers/ConnectorController.js +1 -0
- package/lib/commonjs/controllers/ConnectorController.js.map +1 -1
- package/lib/commonjs/controllers/EnsController.js +4 -4
- package/lib/commonjs/controllers/EnsController.js.map +1 -1
- package/lib/commonjs/controllers/EventsController.js +4 -4
- package/lib/commonjs/controllers/EventsController.js.map +1 -1
- package/lib/commonjs/controllers/ModalController.js.map +1 -1
- package/lib/commonjs/controllers/OnRampController.js +20 -60
- package/lib/commonjs/controllers/OnRampController.js.map +1 -1
- package/lib/commonjs/controllers/OptionsController.js +8 -3
- package/lib/commonjs/controllers/OptionsController.js.map +1 -1
- package/lib/commonjs/controllers/RouterController.js.map +1 -1
- package/lib/commonjs/controllers/SendController.js +10 -10
- package/lib/commonjs/controllers/SendController.js.map +1 -1
- package/lib/commonjs/controllers/SwapController.js +51 -40
- package/lib/commonjs/controllers/SwapController.js.map +1 -1
- package/lib/commonjs/controllers/ThemeController.js +9 -1
- package/lib/commonjs/controllers/ThemeController.js.map +1 -1
- package/lib/commonjs/controllers/TransactionsController.js +5 -5
- package/lib/commonjs/controllers/TransactionsController.js.map +1 -1
- package/lib/commonjs/index.js +3 -10
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/utils/AssetUtil.js +5 -6
- package/lib/commonjs/utils/AssetUtil.js.map +1 -1
- package/lib/commonjs/utils/ConstantsUtil.js +537 -8
- package/lib/commonjs/utils/ConstantsUtil.js.map +1 -1
- package/lib/commonjs/utils/CoreHelperUtil.js +3 -3
- package/lib/commonjs/utils/CoreHelperUtil.js.map +1 -1
- package/lib/commonjs/utils/StorageUtil.js +67 -33
- package/lib/commonjs/utils/StorageUtil.js.map +1 -1
- package/lib/commonjs/utils/SwapApiUtil.js +19 -10
- 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 +102 -24
- package/lib/module/controllers/BlockchainApiController.js.map +1 -1
- package/lib/module/controllers/ConnectionController.js +7 -5
- package/lib/module/controllers/ConnectionController.js.map +1 -1
- package/lib/module/controllers/ConnectionsController.js +212 -0
- package/lib/module/controllers/ConnectionsController.js.map +1 -0
- package/lib/module/controllers/ConnectorController.js +1 -0
- package/lib/module/controllers/ConnectorController.js.map +1 -1
- package/lib/module/controllers/EnsController.js +2 -2
- package/lib/module/controllers/EnsController.js.map +1 -1
- package/lib/module/controllers/EventsController.js +1 -1
- package/lib/module/controllers/EventsController.js.map +1 -1
- package/lib/module/controllers/ModalController.js.map +1 -1
- package/lib/module/controllers/OnRampController.js +20 -60
- package/lib/module/controllers/OnRampController.js.map +1 -1
- package/lib/module/controllers/OptionsController.js +8 -3
- package/lib/module/controllers/OptionsController.js.map +1 -1
- package/lib/module/controllers/RouterController.js.map +1 -1
- package/lib/module/controllers/SendController.js +7 -7
- package/lib/module/controllers/SendController.js.map +1 -1
- package/lib/module/controllers/SwapController.js +51 -40
- package/lib/module/controllers/SwapController.js.map +1 -1
- package/lib/module/controllers/ThemeController.js +9 -1
- package/lib/module/controllers/ThemeController.js.map +1 -1
- package/lib/module/controllers/TransactionsController.js +3 -3
- package/lib/module/controllers/TransactionsController.js.map +1 -1
- package/lib/module/index.js +1 -2
- package/lib/module/index.js.map +1 -1
- package/lib/module/utils/AssetUtil.js +5 -6
- package/lib/module/utils/AssetUtil.js.map +1 -1
- package/lib/module/utils/ConstantsUtil.js +537 -8
- package/lib/module/utils/ConstantsUtil.js.map +1 -1
- package/lib/module/utils/CoreHelperUtil.js +3 -3
- package/lib/module/utils/CoreHelperUtil.js.map +1 -1
- package/lib/module/utils/StorageUtil.js +67 -33
- package/lib/module/utils/StorageUtil.js.map +1 -1
- package/lib/module/utils/SwapApiUtil.js +19 -10
- 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 +15 -3
- package/lib/typescript/controllers/BlockchainApiController.d.ts.map +1 -1
- package/lib/typescript/controllers/ConnectionController.d.ts +2 -2
- package/lib/typescript/controllers/ConnectionController.d.ts.map +1 -1
- package/lib/typescript/controllers/ConnectionsController.d.ts +44 -0
- package/lib/typescript/controllers/ConnectionsController.d.ts.map +1 -0
- 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 +1 -3
- package/lib/typescript/controllers/OnRampController.d.ts.map +1 -1
- package/lib/typescript/controllers/OptionsController.d.ts +5 -2
- 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 +4 -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 -2
- 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/ConstantsUtil.d.ts +421 -1
- package/lib/typescript/utils/ConstantsUtil.d.ts.map +1 -1
- package/lib/typescript/utils/CoreHelperUtil.d.ts +3 -3
- 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 +14 -4
- 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 +8 -40
- package/lib/typescript/utils/TypeUtil.d.ts.map +1 -1
- package/package.json +4 -4
- package/src/controllers/AccountController.ts +2 -2
- package/src/controllers/ApiController.ts +12 -7
- package/src/controllers/BlockchainApiController.ts +135 -27
- package/src/controllers/ConnectionController.ts +10 -8
- package/src/controllers/ConnectionsController.ts +309 -0
- package/src/controllers/ConnectorController.ts +1 -0
- package/src/controllers/EnsController.ts +2 -2
- package/src/controllers/EventsController.ts +1 -1
- package/src/controllers/ModalController.ts +2 -1
- package/src/controllers/NetworkController.ts +1 -1
- package/src/controllers/OnRampController.ts +32 -91
- package/src/controllers/OptionsController.ts +14 -13
- package/src/controllers/PublicStateController.ts +1 -1
- package/src/controllers/RouterController.ts +3 -3
- package/src/controllers/SendController.ts +7 -7
- package/src/controllers/SwapController.ts +58 -48
- package/src/controllers/ThemeController.ts +11 -2
- package/src/controllers/TransactionsController.ts +3 -3
- package/src/index.ts +5 -2
- package/src/utils/AssetUtil.ts +5 -7
- package/src/utils/ConstantsUtil.ts +542 -8
- package/src/utils/CoreHelperUtil.ts +14 -6
- package/src/utils/FetchUtil.ts +1 -1
- package/src/utils/NetworkUtil.ts +1 -1
- package/src/utils/StorageUtil.ts +82 -39
- package/src/utils/SwapApiUtil.ts +22 -10
- package/src/utils/TypeUtil.ts +13 -48
- package/lib/commonjs/controllers/WebviewController.js +0 -52
- package/lib/commonjs/controllers/WebviewController.js.map +0 -1
- package/lib/commonjs/utils/ConnectionUtil.js +0 -33
- package/lib/commonjs/utils/ConnectionUtil.js.map +0 -1
- package/lib/module/controllers/WebviewController.js +0 -47
- package/lib/module/controllers/WebviewController.js.map +0 -1
- package/lib/module/utils/ConnectionUtil.js +0 -27
- package/lib/module/utils/ConnectionUtil.js.map +0 -1
- package/lib/typescript/controllers/WebviewController.d.ts +0 -21
- package/lib/typescript/controllers/WebviewController.d.ts.map +0 -1
- package/lib/typescript/utils/ConnectionUtil.d.ts +0 -4
- package/lib/typescript/utils/ConnectionUtil.d.ts.map +0 -1
- package/src/controllers/WebviewController.ts +0 -63
- package/src/utils/ConnectionUtil.ts +0 -27
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PublicStateController.d.ts","sourceRoot":"","sources":["../../../src/controllers/PublicStateController.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"PublicStateController.d.ts","sourceRoot":"","sources":["../../../src/controllers/PublicStateController.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,mCAAmC,CAAC;AAGvE,MAAM,WAAW,0BAA0B;IACzC,IAAI,EAAE,OAAO,CAAC;IACd,iBAAiB,CAAC,EAAE,aAAa,CAAC;CACnC;AAWD,eAAO,MAAM,qBAAqB;;mCAGD,0BAA0B,KAAK,IAAI;yHAMZ,IAAI;kBAK5C,QAAQ,0BAA0B,CAAC;CAGlD,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { CaipNetwork, SocialProvider } from '@reown/appkit-common-react-native';
|
|
2
|
+
import type { WcWallet, Connector, SwapInputTarget, OnRampTransactionResult } from '../utils/TypeUtil';
|
|
2
3
|
type TransactionAction = {
|
|
3
4
|
goBack: boolean;
|
|
4
5
|
view: RouterControllerState['view'] | null;
|
|
@@ -8,7 +9,7 @@ type TransactionAction = {
|
|
|
8
9
|
onCancel?: () => void;
|
|
9
10
|
};
|
|
10
11
|
export interface RouterControllerState {
|
|
11
|
-
view: 'Account' | 'AccountDefault' | 'AllWallets' | 'Connect' | 'ConnectSocials' | 'ConnectingExternal' | 'ConnectingSiwe' | 'ConnectingSocial' | '
|
|
12
|
+
view: 'Account' | 'AccountDefault' | 'AllWallets' | 'Connect' | 'ConnectSocials' | 'ConnectingExternal' | 'ConnectingSiwe' | 'ConnectingSocial' | 'ConnectingWalletConnect' | 'EmailVerifyDevice' | 'EmailVerifyOtp' | 'GetWallet' | 'Networks' | 'OnRamp' | 'OnRampCheckout' | 'OnRampLoading' | 'OnRampSettings' | 'OnRampTransaction' | 'SwitchNetwork' | 'Swap' | 'SwapSelectToken' | 'SwapPreview' | 'Transactions' | 'UnsupportedChain' | 'UpdateEmailPrimaryOtp' | 'UpdateEmailSecondaryOtp' | 'UpdateEmailWallet' | 'UpgradeEmailWallet' | 'UpgradeToSmartAccount' | 'WalletCompatibleNetworks' | 'WalletReceive' | 'WalletSend' | 'WalletSendPreview' | 'WalletSendSelectToken' | 'WhatIsANetwork' | 'WhatIsAWallet';
|
|
12
13
|
history: RouterControllerState['view'][];
|
|
13
14
|
data?: {
|
|
14
15
|
connector?: Connector;
|
|
@@ -18,6 +19,7 @@ export interface RouterControllerState {
|
|
|
18
19
|
newEmail?: string;
|
|
19
20
|
swapTarget?: SwapInputTarget;
|
|
20
21
|
onrampResult?: OnRampTransactionResult;
|
|
22
|
+
socialProvider?: SocialProvider;
|
|
21
23
|
};
|
|
22
24
|
transactionStack: TransactionAction[];
|
|
23
25
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RouterController.d.ts","sourceRoot":"","sources":["../../../src/controllers/RouterController.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,QAAQ,EACR,
|
|
1
|
+
{"version":3,"file":"RouterController.d.ts","sourceRoot":"","sources":["../../../src/controllers/RouterController.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,mCAAmC,CAAC;AAErF,OAAO,KAAK,EACV,QAAQ,EACR,SAAS,EACT,eAAe,EACf,uBAAuB,EACxB,MAAM,mBAAmB,CAAC;AAG3B,KAAK,iBAAiB,GAAG;IACvB,MAAM,EAAE,OAAO,CAAC;IAChB,IAAI,EAAE,qBAAqB,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;IAC3C,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;IACvB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;CACvB,CAAC;AAEF,MAAM,WAAW,qBAAqB;IACpC,IAAI,EACA,SAAS,GACT,gBAAgB,GAChB,YAAY,GACZ,SAAS,GACT,gBAAgB,GAChB,oBAAoB,GACpB,gBAAgB,GAChB,kBAAkB,GAClB,yBAAyB,GACzB,mBAAmB,GACnB,gBAAgB,GAChB,WAAW,GACX,UAAU,GACV,QAAQ,GACR,gBAAgB,GAChB,eAAe,GACf,gBAAgB,GAChB,mBAAmB,GACnB,eAAe,GACf,MAAM,GACN,iBAAiB,GACjB,aAAa,GACb,cAAc,GACd,kBAAkB,GAClB,uBAAuB,GACvB,yBAAyB,GACzB,mBAAmB,GACnB,oBAAoB,GACpB,uBAAuB,GACvB,0BAA0B,GAC1B,eAAe,GACf,YAAY,GACZ,mBAAmB,GACnB,uBAAuB,GACvB,gBAAgB,GAChB,eAAe,CAAC;IACpB,OAAO,EAAE,qBAAqB,CAAC,MAAM,CAAC,EAAE,CAAC;IACzC,IAAI,CAAC,EAAE;QACL,SAAS,CAAC,EAAE,SAAS,CAAC;QACtB,MAAM,CAAC,EAAE,QAAQ,CAAC;QAClB,OAAO,CAAC,EAAE,WAAW,CAAC;QACtB,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,UAAU,CAAC,EAAE,eAAe,CAAC;QAC7B,YAAY,CAAC,EAAE,uBAAuB,CAAC;QACvC,cAAc,CAAC,EAAE,cAAc,CAAC;KACjC,CAAC;IACF,gBAAgB,EAAE,iBAAiB,EAAE,CAAC;CACvC;AAUD,eAAO,MAAM,gBAAgB;;eAGhB,qBAAqB,CAAC,MAAM,CAAC,SAAS,qBAAqB,CAAC,MAAM,CAAC;iCAQjD,iBAAiB;iCAIjB,OAAO;gBAoBxB,qBAAqB,CAAC,MAAM,CAAC,SAAS,qBAAqB,CAAC,MAAM,CAAC;kBAMjE,qBAAqB,CAAC,MAAM,CAAC,SAAS,qBAAqB,CAAC,MAAM,CAAC;;gCAkBrD,MAAM;CASnC,CAAC"}
|
|
@@ -49,7 +49,7 @@ export declare const SwapController: {
|
|
|
49
49
|
subscribe(callback: (newState: SwapControllerState) => void): () => void;
|
|
50
50
|
subscribeKey<K extends keyof SwapControllerState>(key: K, callback: (value: SwapControllerState[K]) => void): () => void;
|
|
51
51
|
getParams(): {
|
|
52
|
-
networkAddress: string
|
|
52
|
+
networkAddress: `${string}:${string}:${string}`;
|
|
53
53
|
fromAddress: string;
|
|
54
54
|
fromCaipAddress: `${string}:${string}:${string}` | undefined;
|
|
55
55
|
sourceTokenAddress: `${string}:${string}:${string}` | undefined;
|
|
@@ -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":"AAWA,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;;;;;;;;;;;;;;;;;;;;;yCAqI/C,MAAM;;gCAgBrB,oBAAoB,GAAG,SAAS;iCAa/B,MAAM;;6BA2BJ,MAAM;;;;;;;;;;;;0BA8Df,oBAAoB,EAAE;wBAuBxB,oBAAoB,GAAG,SAAS;6BAa3B,MAAM;2BAMF,MAAM,UAAU,eAAe;;;;;;;;;;;;;;;;;;;qCAwPrB,iBAAiB;iCAwCrB,iBAAiB,GAAG,SAAS;4CA4FxB,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":"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"}
|
|
@@ -3,6 +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 { ConnectionsController, type ConnectionsControllerState } from './controllers/ConnectionsController';
|
|
6
7
|
export { ConnectorController, type ConnectorControllerState } from './controllers/ConnectorController';
|
|
7
8
|
export { SnackController, type SnackControllerState } from './controllers/SnackController';
|
|
8
9
|
export { ApiController, type ApiControllerState } from './controllers/ApiController';
|
|
@@ -17,10 +18,8 @@ export { EnsController, type EnsControllerState } from './controllers/EnsControl
|
|
|
17
18
|
export { TransactionsController, type TransactionsControllerState } from './controllers/TransactionsController';
|
|
18
19
|
export { SendController, type SendControllerState } from './controllers/SendController';
|
|
19
20
|
export { OnRampController, type OnRampControllerState } from './controllers/OnRampController';
|
|
20
|
-
export { WebviewController, type WebviewControllerState } from './controllers/WebviewController';
|
|
21
21
|
export { ApiUtil } from './utils/ApiUtil';
|
|
22
22
|
export { AssetUtil } from './utils/AssetUtil';
|
|
23
|
-
export { ConnectionUtil } from './utils/ConnectionUtil';
|
|
24
23
|
export { ConstantsUtil } from './utils/ConstantsUtil';
|
|
25
24
|
export { CoreHelperUtil } from './utils/CoreHelperUtil';
|
|
26
25
|
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,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;
|
|
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,qBAAqB,EACrB,KAAK,0BAA0B,EAChC,MAAM,qCAAqC,CAAC;AAE7C,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;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;AAChD,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAElD,mBAAmB,kBAAkB,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { Connector, WcWallet } from './TypeUtil';
|
|
2
2
|
export declare const AssetUtil: {
|
|
3
3
|
getWalletImage(wallet?: WcWallet): string | undefined;
|
|
4
|
-
getNetworkImage(
|
|
4
|
+
getNetworkImage(networkId?: string | number): 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,
|
|
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;AAEtD,eAAO,MAAM,SAAS;4BACI,QAAQ;gCAYJ,MAAM,GAAG,MAAM;kCAUb,SAAS;CAWxC,CAAC"}
|
|
@@ -19,7 +19,12 @@ export declare const ConstantsUtil: {
|
|
|
19
19
|
ONE_SEC_MS: number;
|
|
20
20
|
EMAIL_REGEX: RegExp;
|
|
21
21
|
LINKING_ERROR: string;
|
|
22
|
-
NATIVE_TOKEN_ADDRESS:
|
|
22
|
+
NATIVE_TOKEN_ADDRESS: {
|
|
23
|
+
readonly eip155: "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee";
|
|
24
|
+
readonly solana: "So11111111111111111111111111111111111111111";
|
|
25
|
+
readonly polkadot: "0x";
|
|
26
|
+
readonly bip122: "0x";
|
|
27
|
+
};
|
|
23
28
|
ONRAMP_ERROR_TYPES: {
|
|
24
29
|
readonly AMOUNT_TOO_LOW: "INVALID_AMOUNT_TOO_LOW";
|
|
25
30
|
readonly AMOUNT_TOO_HIGH: "INVALID_AMOUNT_TOO_HIGH";
|
|
@@ -36,9 +41,263 @@ export declare const ConstantsUtil: {
|
|
|
36
41
|
};
|
|
37
42
|
SWAP_SUGGESTED_TOKENS: string[];
|
|
38
43
|
SWAP_POPULAR_TOKENS: string[];
|
|
44
|
+
ACTIVITY_SUPPORTED_CHAINS: string[];
|
|
39
45
|
SWAP_SUPPORTED_NETWORKS: string[];
|
|
40
46
|
CONVERT_SLIPPAGE_TOLERANCE: number;
|
|
41
47
|
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
|
+
};
|
|
42
301
|
NETWORK_DEFAULT_CURRENCIES: {
|
|
43
302
|
'eip155:1': string;
|
|
44
303
|
'eip155:56': string;
|
|
@@ -64,5 +323,166 @@ export declare const ConstantsUtil: {
|
|
|
64
323
|
'eip155:1101': string;
|
|
65
324
|
'eip155:196': string;
|
|
66
325
|
};
|
|
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
|
+
};
|
|
67
487
|
};
|
|
68
488
|
//# 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":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAU3C,eAAO,MAAM,eAAe;;;;;;;;;;;;;CAalB,CAAC;AAEX,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsrBzB,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { type Balance } from '@reown/appkit-common-react-native';
|
|
2
|
-
import type {
|
|
1
|
+
import { type Balance, type CaipAddress, type CaipNetwork, type SocialProvider } from '@reown/appkit-common-react-native';
|
|
2
|
+
import type { DataWallet, LinkingRecord } from './TypeUtil';
|
|
3
3
|
export declare const CoreHelperUtil: {
|
|
4
4
|
isPairingExpired(expiry?: number): boolean;
|
|
5
5
|
isAllowedRetry(lastRetry: number): boolean;
|
|
@@ -10,7 +10,7 @@ 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
16
|
isAddress(address: string, chain?: string): 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,EAEL,KAAK,OAAO,EACZ,KAAK,WAAW,EAChB,KAAK,WAAW,EAChB,KAAK,cAAc,EACpB,MAAM,mCAAmC,CAAC;AAK3C,OAAO,KAAK,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAyB5D,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,aAAa,cAAc,GAAG,aAAa;kBAyBvE,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,WAAW,CAAC;IACtB,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,KAAK,
|
|
1
|
+
{"version":3,"file":"NetworkUtil.d.ts","sourceRoot":"","sources":["../../../src/utils/NetworkUtil.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,mCAAmC,CAAC;AAErE,eAAO,MAAM,WAAW;iCACa,WAAW;;;;CAuB/C,CAAC"}
|