@reown/appkit 1.6.7-basic-test.8.0 → 1.6.7-rc.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.
- package/dist/esm/exports/constants.js +1 -1
- package/dist/esm/exports/constants.js.map +1 -1
- package/dist/esm/exports/index.js +3 -1
- package/dist/esm/exports/index.js.map +1 -1
- package/dist/esm/exports/react.js +3 -1
- package/dist/esm/exports/react.js.map +1 -1
- package/dist/esm/exports/vue.js +3 -1
- package/dist/esm/exports/vue.js.map +1 -1
- package/dist/esm/package.json +2 -7
- package/dist/esm/src/adapters/ChainAdapterBlueprint.js +1 -0
- package/dist/esm/src/adapters/ChainAdapterBlueprint.js.map +1 -1
- package/dist/esm/src/client.js +8 -1
- package/dist/esm/src/client.js.map +1 -1
- package/dist/esm/tsconfig.build.tsbuildinfo +1 -1
- package/dist/types/exports/constants.d.ts +1 -1
- package/dist/types/exports/index.d.ts +3 -2
- package/dist/types/exports/react.d.ts +3 -2
- package/dist/types/exports/vue.d.ts +3 -2
- package/dist/types/src/adapters/ChainAdapterBlueprint.d.ts +3 -3
- package/dist/types/src/library/react/index.d.ts +1 -1
- package/dist/types/src/library/vue/index.d.ts +1 -1
- package/dist/types/src/utils/TypesUtil.d.ts +0 -5
- package/package.json +10 -15
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const PACKAGE_VERSION = "1.6.7-
|
|
1
|
+
export declare const PACKAGE_VERSION = "1.6.7-rc.0";
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { AppKit } from '../src/client
|
|
1
|
+
import { AppKit } from '../src/client.js';
|
|
2
2
|
import type { AppKitOptions } from '../src/utils/TypesUtil.js';
|
|
3
|
+
export * from '@reown/appkit-scaffold-ui';
|
|
3
4
|
export * from '../src/utils/index.js';
|
|
4
5
|
export type * from '@reown/appkit-core';
|
|
5
6
|
export type { CaipNetwork, CaipAddress, CaipNetworkId } from '@reown/appkit-common';
|
|
6
7
|
export { CoreHelperUtil, AccountController } from '@reown/appkit-core';
|
|
7
|
-
export type CreateAppKit = Omit<AppKitOptions, 'sdkType' | 'sdkVersion'
|
|
8
|
+
export type CreateAppKit = Omit<AppKitOptions, 'sdkType' | 'sdkVersion'>;
|
|
8
9
|
export declare function createAppKit(options: CreateAppKit): AppKit;
|
|
9
10
|
export { AppKit };
|
|
10
11
|
export type { AppKitOptions };
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import { type UseAppKitNetworkReturn } from '@reown/appkit-core';
|
|
2
|
-
import { AppKit } from '../src/client
|
|
2
|
+
import { AppKit } from '../src/client.js';
|
|
3
3
|
import type { AppKitOptions } from '../src/utils/TypesUtil.js';
|
|
4
|
+
export * from '@reown/appkit-scaffold-ui';
|
|
4
5
|
export * from '../src/library/react/index.js';
|
|
5
6
|
export * from '../src/utils/index.js';
|
|
6
7
|
export type * from '@reown/appkit-core';
|
|
7
8
|
export type { CaipNetwork, CaipAddress, CaipNetworkId } from '@reown/appkit-common';
|
|
8
9
|
export { CoreHelperUtil, AccountController } from '@reown/appkit-core';
|
|
9
10
|
export declare let modal: AppKit | undefined;
|
|
10
|
-
export type CreateAppKit = Omit<AppKitOptions, 'sdkType' | 'sdkVersion'
|
|
11
|
+
export type CreateAppKit = Omit<AppKitOptions, 'sdkType' | 'sdkVersion'>;
|
|
11
12
|
export declare function createAppKit(options: CreateAppKit): AppKit;
|
|
12
13
|
export { AppKit };
|
|
13
14
|
export type { AppKitOptions };
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import { type Ref } from 'vue';
|
|
2
2
|
import { type UseAppKitNetworkReturn } from '@reown/appkit-core';
|
|
3
|
-
import { AppKit } from '../src/client
|
|
3
|
+
import { AppKit } from '../src/client.js';
|
|
4
4
|
import type { AppKitOptions } from '../src/utils/TypesUtil.js';
|
|
5
|
+
export * from '@reown/appkit-scaffold-ui';
|
|
5
6
|
export * from '../src/library/vue/index.js';
|
|
6
7
|
export * from '../src/utils/index.js';
|
|
7
8
|
export type * from '@reown/appkit-core';
|
|
8
9
|
export type { CaipNetwork, CaipAddress, CaipNetworkId } from '@reown/appkit-common';
|
|
9
10
|
export { CoreHelperUtil, AccountController } from '@reown/appkit-core';
|
|
10
|
-
export type CreateAppKit = Omit<AppKitOptions, 'sdkType' | 'sdkVersion'
|
|
11
|
+
export type CreateAppKit = Omit<AppKitOptions, 'sdkType' | 'sdkVersion'>;
|
|
11
12
|
export declare function createAppKit(options: CreateAppKit): AppKit;
|
|
12
13
|
export { AppKit };
|
|
13
14
|
export type { AppKitOptions };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import UniversalProvider from '@walletconnect/universal-provider';
|
|
2
2
|
import { type CaipAddress, type CaipNetwork, type ChainNamespace } from '@reown/appkit-common';
|
|
3
3
|
import { type AccountControllerState, type AccountType, type Connector as AppKitConnector, type Tokens, type WriteContractArgs } from '@reown/appkit-core';
|
|
4
|
-
import
|
|
5
|
-
import type {
|
|
4
|
+
import { W3mFrameProvider } from '@reown/appkit-wallet';
|
|
5
|
+
import type { AppKit } from '../client.js';
|
|
6
6
|
import { WalletConnectConnector } from '../connectors/WalletConnectConnector.js';
|
|
7
7
|
import type { AppKitOptions } from '../utils/index.js';
|
|
8
8
|
import type { ChainAdapterConnector } from './ChainAdapterConnector.js';
|
|
@@ -138,7 +138,7 @@ export declare abstract class AdapterBlueprint<Connector extends ChainAdapterCon
|
|
|
138
138
|
* @param {AppKitOptions} [options] - Optional AppKit options
|
|
139
139
|
* @param {AppKit} [appKit] - Optional AppKit instance
|
|
140
140
|
*/
|
|
141
|
-
abstract syncConnectors(options?: AppKitOptions, appKit?:
|
|
141
|
+
abstract syncConnectors(options?: AppKitOptions, appKit?: AppKit): void | Promise<void>;
|
|
142
142
|
/**
|
|
143
143
|
* Synchronizes the connection with the given parameters.
|
|
144
144
|
* @param {AdapterBlueprint.SyncConnectionParams} params - Synchronization parameters
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { ChainNamespace } from '@reown/appkit-common';
|
|
2
2
|
import type { AppKitAccountButton, AppKitButton, AppKitConnectButton, AppKitNetworkButton, W3mAccountButton, W3mButton, W3mConnectButton, W3mNetworkButton } from '@reown/appkit-scaffold-ui';
|
|
3
|
-
import type { AppKit } from '../../../src/client
|
|
3
|
+
import type { AppKit } from '../../../src/client.js';
|
|
4
4
|
import type { AppKitOptions } from '../../utils/TypesUtil.js';
|
|
5
5
|
type OpenOptions = {
|
|
6
6
|
view: 'Account' | 'Connect' | 'Networks' | 'ApproveTransaction' | 'OnRampProviders' | 'Swap' | 'WhatIsAWallet' | 'WhatIsANetwork' | 'AllWallets' | 'WalletSend';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { ChainNamespace } from '@reown/appkit-common';
|
|
2
2
|
import { type Event } from '@reown/appkit-core';
|
|
3
3
|
import type { AppKitAccountButton, AppKitButton, AppKitConnectButton, AppKitNetworkButton, W3mAccountButton, W3mButton, W3mConnectButton, W3mNetworkButton } from '@reown/appkit-scaffold-ui';
|
|
4
|
-
import type { AppKit } from '../../../src/client
|
|
4
|
+
import type { AppKit } from '../../../src/client.js';
|
|
5
5
|
import type { AppKitOptions } from '../../utils/TypesUtil.js';
|
|
6
6
|
export interface AppKitEvent {
|
|
7
7
|
timestamp: number;
|
|
@@ -8,11 +8,6 @@ export type AppKitOptions = {
|
|
|
8
8
|
* @default []
|
|
9
9
|
*/
|
|
10
10
|
adapters?: ChainAdapter[];
|
|
11
|
-
/**
|
|
12
|
-
* This is only used for the @walletconnect/ethereum-provider package. We need this to determine which screens should be shown.
|
|
13
|
-
* @default false
|
|
14
|
-
*/
|
|
15
|
-
basic?: boolean;
|
|
16
11
|
/**
|
|
17
12
|
* Show or hide the wallets in the modal. This is available with the email and socials features
|
|
18
13
|
* @default true
|
package/package.json
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@reown/appkit",
|
|
3
|
-
"version": "1.6.7-
|
|
4
|
-
"sideEffects": false,
|
|
3
|
+
"version": "1.6.7-rc.0",
|
|
5
4
|
"type": "module",
|
|
6
5
|
"main": "./dist/esm/exports/index.js",
|
|
7
6
|
"types": "./dist/types/exports/index.d.ts",
|
|
@@ -64,11 +63,6 @@
|
|
|
64
63
|
"types": "./dist/types/exports/connectors.d.ts",
|
|
65
64
|
"import": "./dist/esm/exports/connectors.js",
|
|
66
65
|
"default": "./dist/esm/exports/connectors.js"
|
|
67
|
-
},
|
|
68
|
-
"./basic": {
|
|
69
|
-
"types": "./dist/types/exports/basic.d.ts",
|
|
70
|
-
"import": "./dist/esm/exports/basic.js",
|
|
71
|
-
"default": "./dist/esm/exports/basic.js"
|
|
72
66
|
}
|
|
73
67
|
},
|
|
74
68
|
"typesVersions": {
|
|
@@ -102,16 +96,17 @@
|
|
|
102
96
|
"dependencies": {
|
|
103
97
|
"@walletconnect/types": "2.18.0",
|
|
104
98
|
"@walletconnect/universal-provider": "2.18.0",
|
|
99
|
+
"@walletconnect/utils": "2.18.0",
|
|
105
100
|
"bs58": "6.0.0",
|
|
106
101
|
"valtio": "1.13.2",
|
|
107
102
|
"viem": "2.x",
|
|
108
|
-
"@reown/appkit-
|
|
109
|
-
"@reown/appkit-
|
|
110
|
-
"@reown/appkit-
|
|
111
|
-
"@reown/appkit-scaffold-ui": "1.6.7-
|
|
112
|
-
"@reown/appkit-
|
|
113
|
-
"@reown/appkit-
|
|
114
|
-
"@reown/appkit-
|
|
103
|
+
"@reown/appkit-core": "1.6.7-rc.0",
|
|
104
|
+
"@reown/appkit-ui": "1.6.7-rc.0",
|
|
105
|
+
"@reown/appkit-wallet": "1.6.7-rc.0",
|
|
106
|
+
"@reown/appkit-scaffold-ui": "1.6.7-rc.0",
|
|
107
|
+
"@reown/appkit-common": "1.6.7-rc.0",
|
|
108
|
+
"@reown/appkit-utils": "1.6.7-rc.0",
|
|
109
|
+
"@reown/appkit-polyfills": "1.6.7-rc.0"
|
|
115
110
|
},
|
|
116
111
|
"devDependencies": {
|
|
117
112
|
"@types/react": "18.3.1",
|
|
@@ -124,7 +119,7 @@
|
|
|
124
119
|
"react-dom": "18.3.1",
|
|
125
120
|
"vitest": "2.1.3",
|
|
126
121
|
"vue": "3.x",
|
|
127
|
-
"@reown/appkit-siwe": "1.6.7-
|
|
122
|
+
"@reown/appkit-siwe": "1.6.7-rc.0"
|
|
128
123
|
},
|
|
129
124
|
"author": "Reown <support@reown.com> (https://reown.com)",
|
|
130
125
|
"license": "Apache-2.0",
|