@reown/appkit 1.0.1 → 1.0.3

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.
@@ -95,8 +95,10 @@ export declare class AppKit {
95
95
  getConnectorImage: (typeof AssetUtil)['getConnectorImage'];
96
96
  handleUnsafeRPCRequest: () => void;
97
97
  private initControllers;
98
+ private setMetadata;
99
+ private extendCaipNetworks;
98
100
  private initializeUniversalAdapter;
99
101
  private initializeAdapters;
102
+ private setDefaultNetwork;
100
103
  private initOrContinue;
101
- private extendCaipNetworksWithImages;
102
104
  }
@@ -1,7 +1,4 @@
1
1
  export declare const WcConstantsUtil: {
2
- WALLET_ID: "@w3m/wallet_id";
3
- WALLET_NAME: "@w3m/wallet_name";
4
- ACTIVE_CAIPNETWORK: "@w3m/active_caipnetwork";
5
2
  ERROR_CODE_UNRECOGNIZED_CHAIN_ID: number;
6
3
  ERROR_CODE_DEFAULT: number;
7
4
  };
@@ -15,45 +15,45 @@ export type AppKitOptions = {
15
15
  /**
16
16
  * Sign In With Ethereum configuration object.
17
17
  * @default undefined
18
- * @see https://docs.walletconnect.com/appkit/react/core/siwe#configure-your-siwe-client
18
+ * @see https://docs.reown.com/appkit/react/core/siwe#configure-your-siwe-client
19
19
  */
20
20
  siweConfig?: AppKitSIWEClient;
21
21
  /**
22
22
  * Theme mode configuration flag. By default themeMode option will be set to user system settings.
23
23
  * @default `system`
24
24
  * @type `dark` | `light`
25
- * @see https://docs.walletconnect.com/appkit/react/core/theming
25
+ * @see https://docs.reown.com/appkit/react/core/theming
26
26
  */
27
27
  themeMode?: ThemeMode;
28
28
  /**
29
29
  * Theme variable configuration object.
30
30
  * @default undefined
31
- * @see https://docs.walletconnect.com/appkit/react/core/theming#themevariables
31
+ * @see https://docs.reown.com/appkit/react/core/theming#themevariables
32
32
  */
33
33
  themeVariables?: ThemeVariables;
34
34
  /**
35
35
  * Allow users to switch to an unsupported chain.
36
- * @see https://docs.walletconnect.com/appkit/react/core/options#allowunsupportedchain
36
+ * @see https://docs.reown.com/appkit/react/core/options#allowunsupportedchain
37
37
  */
38
38
  allowUnsupportedChain?: NetworkControllerState['allowUnsupportedCaipNetwork'];
39
39
  /**
40
40
  * You can set the desired caipnetworks for the app:
41
- * @see https://docs.walletconnect.com/appkit/react/core/options#defaultchain
41
+ * @see https://docs.reown.com/appkit/react/core/options#defaultchain
42
42
  */
43
43
  networks: CaipNetwork[];
44
44
  /**
45
45
  * You can set a desired caipnetwork for the initial connection:
46
- * @see https://docs.walletconnect.com/appkit/react/core/options#defaultchain
46
+ * @see https://docs.reown.com/appkit/react/core/options#defaultchain
47
47
  */
48
48
  defaultNetwork?: NetworkControllerState['caipNetwork'];
49
49
  /**
50
50
  * Add or override the modal's network images.
51
- * @see https://docs.walletconnect.com/appkit/react/core/options#chainimages
51
+ * @see https://docs.reown.com/appkit/react/core/options#chainimages
52
52
  */
53
53
  chainImages?: Record<number | string, string>;
54
54
  /**
55
55
  * Set or override the images of any connector. The key of each property must match the id of the connector.
56
- * @see https://docs.walletconnect.com/appkit/react/core/options#connectorimages
56
+ * @see https://docs.reown.com/appkit/react/core/options#connectorimages
57
57
  */
58
58
  connectorImages?: Record<string, string>;
59
59
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reown/appkit",
3
- "version": "1.0.1",
3
+ "version": "1.0.3",
4
4
  "type": "module",
5
5
  "main": "./dist/esm/exports/index.js",
6
6
  "types": "./dist/types/exports/index.d.ts",
@@ -85,14 +85,14 @@
85
85
  "@walletconnect/types": "2.16.1",
86
86
  "@walletconnect/utils": "2.16.1",
87
87
  "valtio": "1.11.2",
88
- "@reown/appkit-common": "1.0.1",
89
- "@reown/appkit-core": "1.0.1",
90
- "@reown/appkit-polyfills": "1.0.1",
91
- "@reown/appkit-scaffold-ui": "1.0.1",
92
- "@reown/appkit-utils": "1.0.1",
93
- "@reown/appkit-siwe": "1.0.1",
94
- "@reown/appkit-ui": "1.0.1",
95
- "@reown/appkit-wallet": "1.0.1"
88
+ "@reown/appkit-common": "1.0.3",
89
+ "@reown/appkit-core": "1.0.3",
90
+ "@reown/appkit-polyfills": "1.0.3",
91
+ "@reown/appkit-scaffold-ui": "1.0.3",
92
+ "@reown/appkit-utils": "1.0.3",
93
+ "@reown/appkit-siwe": "1.0.3",
94
+ "@reown/appkit-ui": "1.0.3",
95
+ "@reown/appkit-wallet": "1.0.3"
96
96
  },
97
97
  "optionalDependencies": {
98
98
  "borsh": "0.7.0",
@@ -122,13 +122,13 @@
122
122
  },
123
123
  "author": "Reown <support@reown.com> (https://reown.com)",
124
124
  "license": "Apache-2.0",
125
- "homepage": "https://github.com/reown-com/appkit",
125
+ "homepage": "https://github.com/WalletConnect/web3modal",
126
126
  "repository": {
127
127
  "type": "git",
128
- "url": "git+https://github.com/WalletConnect/shadow-appkit.git"
128
+ "url": "git+https://github.com/WalletConnect/web3modal.git"
129
129
  },
130
130
  "bugs": {
131
- "url": "https://github.com/reown-com/appkit/issues"
131
+ "url": "https://github.com/WalletConnect/web3modal/issues"
132
132
  },
133
133
  "scripts": {
134
134
  "build:clean": "rm -rf dist",
package/readme.md CHANGED
@@ -1,4 +1,4 @@
1
- #### 📚 [Documentation](https://docs.walletconnect.com/2.0/appkit/about)
1
+ #### 📚 [Documentation](https://docs.reown.com/2.0/appkit/about)
2
2
 
3
3
  #### 🔗 [Website](https://reown.com/appkit)
4
4