@reown/appkit-ethers-react-native 0.0.0-refactor-modal-migration-20241101155903 → 0.0.0-refactor-modal-migration-20241104195134

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reown/appkit-ethers-react-native",
3
- "version": "0.0.0-refactor-modal-migration-20241101155903",
3
+ "version": "0.0.0-refactor-modal-migration-20241104195134",
4
4
  "main": "lib/commonjs/index.js",
5
5
  "types": "lib/typescript/index.d.ts",
6
6
  "module": "lib/module/index.js",
@@ -38,10 +38,10 @@
38
38
  "access": "public"
39
39
  },
40
40
  "dependencies": {
41
- "@reown/appkit-common-react-native": "0.0.0-refactor-modal-migration-20241101155903",
42
- "@reown/appkit-scaffold-react-native": "0.0.0-refactor-modal-migration-20241101155903",
43
- "@reown/appkit-scaffold-utils-react-native": "0.0.0-refactor-modal-migration-20241101155903",
44
- "@reown/appkit-siwe-react-native": "0.0.0-refactor-modal-migration-20241101155903",
41
+ "@reown/appkit-common-react-native": "0.0.0-refactor-modal-migration-20241104195134",
42
+ "@reown/appkit-scaffold-react-native": "0.0.0-refactor-modal-migration-20241104195134",
43
+ "@reown/appkit-scaffold-utils-react-native": "0.0.0-refactor-modal-migration-20241104195134",
44
+ "@reown/appkit-siwe-react-native": "0.0.0-refactor-modal-migration-20241104195134",
45
45
  "@walletconnect/ethereum-provider": "2.16.1"
46
46
  },
47
47
  "peerDependencies": {
package/src/client.ts CHANGED
@@ -127,9 +127,9 @@ export class AppKit extends AppKitScaffold {
127
127
  new Promise(async resolve => {
128
128
  const walletChoice = await StorageUtil.getConnectedConnector();
129
129
  const walletConnectType =
130
- PresetsUtil.ConnectorTypesMap[ConstantsUtil.WALLET_CONNECT_CONNECTOR_ID];
130
+ PresetsUtil.ConnectorTypesMap[ConstantsUtil.WALLET_CONNECT_CONNECTOR_ID]!;
131
131
 
132
- const authType = PresetsUtil.ConnectorTypesMap[ConstantsUtil.AUTH_CONNECTOR_ID];
132
+ const authType = PresetsUtil.ConnectorTypesMap[ConstantsUtil.AUTH_CONNECTOR_ID]!;
133
133
  if (walletChoice?.includes(walletConnectType)) {
134
134
  const provider = await this.getWalletConnectProvider();
135
135
  const result = getWalletConnectCaipNetworks(provider);