@reown/appkit-core 1.6.7-basic-test.7.0 → 1.6.7-basic-test.8.0
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.
|
@@ -130,6 +130,12 @@ export interface OptionsControllerStatePublic {
|
|
|
130
130
|
* @default "{ bip122: 'payment', eip155: 'smartAccount', polkadot: 'eoa', solana: 'eoa' }"
|
|
131
131
|
*/
|
|
132
132
|
defaultAccountTypes: DefaultAccountTypes;
|
|
133
|
+
/**
|
|
134
|
+
* Allows users to indicate if they want to handle the WC connection themselves.
|
|
135
|
+
* @default false
|
|
136
|
+
* @see https://docs.reown.com/appkit/react/core/options#manualwccontrol
|
|
137
|
+
*/
|
|
138
|
+
manualWCControl?: boolean;
|
|
133
139
|
}
|
|
134
140
|
export interface OptionsControllerStateInternal {
|
|
135
141
|
sdkType: 'appkit';
|
|
@@ -137,7 +143,6 @@ export interface OptionsControllerStateInternal {
|
|
|
137
143
|
isSiweEnabled?: boolean;
|
|
138
144
|
isUniversalProvider?: boolean;
|
|
139
145
|
hasMultipleAddresses?: boolean;
|
|
140
|
-
useInjectedUniversalProvider?: boolean;
|
|
141
146
|
}
|
|
142
147
|
type StateKey = keyof OptionsControllerStatePublic | keyof OptionsControllerStateInternal;
|
|
143
148
|
type OptionsControllerState = OptionsControllerStatePublic & OptionsControllerStateInternal;
|
|
@@ -174,7 +179,7 @@ export declare const OptionsController: {
|
|
|
174
179
|
setCollapseWallets(collapseWallets: boolean): void;
|
|
175
180
|
setEnableEmbedded(enableEmbedded: OptionsControllerState['enableEmbedded']): void;
|
|
176
181
|
setAllowUnsupportedChain(allowUnsupportedChain: OptionsControllerState['allowUnsupportedChain']): void;
|
|
177
|
-
|
|
182
|
+
setManualWCControl(manualWCControl: OptionsControllerState['manualWCControl']): void;
|
|
178
183
|
setDefaultAccountTypes(defaultAccountType?: Partial<OptionsControllerState['defaultAccountTypes']>): void;
|
|
179
184
|
getSnapshot(): {
|
|
180
185
|
readonly allWallets?: "SHOW" | "HIDE" | "ONLY_MOBILE" | undefined;
|
|
@@ -219,8 +224,8 @@ export declare const OptionsController: {
|
|
|
219
224
|
readonly customWallets?: readonly {
|
|
220
225
|
readonly id: string;
|
|
221
226
|
readonly name: string;
|
|
222
|
-
readonly image_url?: string | undefined;
|
|
223
227
|
readonly homepage?: string | undefined;
|
|
228
|
+
readonly image_url?: string | undefined;
|
|
224
229
|
readonly mobile_link?: string | null | undefined;
|
|
225
230
|
readonly desktop_link?: string | null | undefined;
|
|
226
231
|
readonly webapp_link?: string | null | undefined;
|
|
@@ -272,17 +277,17 @@ export declare const OptionsController: {
|
|
|
272
277
|
readonly enableEmbedded?: boolean | undefined;
|
|
273
278
|
readonly allowUnsupportedChain?: boolean | undefined;
|
|
274
279
|
readonly defaultAccountTypes: {
|
|
275
|
-
readonly eip155: "
|
|
280
|
+
readonly eip155: "smartAccount" | "eoa";
|
|
276
281
|
readonly solana: "eoa";
|
|
277
282
|
readonly bip122: "payment" | "ordinal" | "stx";
|
|
278
283
|
readonly polkadot: "eoa";
|
|
279
284
|
};
|
|
285
|
+
readonly manualWCControl?: boolean | undefined;
|
|
280
286
|
readonly sdkType: 'appkit';
|
|
281
287
|
readonly sdkVersion: SdkVersion;
|
|
282
288
|
readonly isSiweEnabled?: boolean | undefined;
|
|
283
289
|
readonly isUniversalProvider?: boolean | undefined;
|
|
284
290
|
readonly hasMultipleAddresses?: boolean | undefined;
|
|
285
|
-
readonly useInjectedUniversalProvider?: boolean | undefined;
|
|
286
291
|
};
|
|
287
292
|
};
|
|
288
293
|
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@reown/appkit-core",
|
|
3
|
-
"version": "1.6.7-basic-test.
|
|
3
|
+
"version": "1.6.7-basic-test.8.0",
|
|
4
4
|
"sideEffects": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/esm/exports/index.js",
|
|
@@ -40,8 +40,8 @@
|
|
|
40
40
|
"@walletconnect/universal-provider": "2.18.0",
|
|
41
41
|
"valtio": "1.13.2",
|
|
42
42
|
"viem": "2.x",
|
|
43
|
-
"@reown/appkit-common": "1.6.7-basic-test.
|
|
44
|
-
"@reown/appkit-wallet": "1.6.7-basic-test.
|
|
43
|
+
"@reown/appkit-common": "1.6.7-basic-test.8.0",
|
|
44
|
+
"@reown/appkit-wallet": "1.6.7-basic-test.8.0"
|
|
45
45
|
},
|
|
46
46
|
"peerDependencies": {},
|
|
47
47
|
"devDependencies": {
|