@dynamic-labs/wallet-connector-core 2.1.3 → 2.1.5

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/CHANGELOG.md CHANGED
@@ -1,4 +1,16 @@
1
1
 
2
+ ### [2.1.5](https://github.com/dynamic-labs/DynamicAuth/compare/v2.1.4...v2.1.5) (2024-06-16)
3
+
4
+ * Improve handling of unknown wallets, css fixes and copy updates in multi wallet experience
5
+
6
+ ### [2.1.4](https://github.com/dynamic-labs/DynamicAuth/compare/v2.1.3...v2.1.4) (2024-06-14)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * close sign modal when signing in with a wallet when embedded wallet is enabled ([#6012](https://github.com/dynamic-labs/DynamicAuth/issues/6012)) ([d473cc8](https://github.com/dynamic-labs/DynamicAuth/commit/d473cc83ac378b7bc43e2546020c02a297d4595b))
12
+ * display custom network name in network picker even if it doesn't have a valid icon ([#6020](https://github.com/dynamic-labs/DynamicAuth/issues/6020)) ([5e1539e](https://github.com/dynamic-labs/DynamicAuth/commit/5e1539e1e6920fb1fdbf96c938f40e785b3ee680))
13
+
2
14
  ### [2.1.3](https://github.com/dynamic-labs/DynamicAuth/compare/v2.1.2...v2.1.3) (2024-06-14)
3
15
 
4
16
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamic-labs/wallet-connector-core",
3
- "version": "2.1.3",
3
+ "version": "2.1.5",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/dynamic-labs/dynamic-auth.git",
@@ -29,11 +29,11 @@
29
29
  "@dynamic-labs/sdk-api-core": "0.0.460"
30
30
  },
31
31
  "peerDependencies": {
32
- "@dynamic-labs/logger": "2.1.3",
33
- "@dynamic-labs/rpc-providers": "2.1.3",
34
- "@dynamic-labs/types": "2.1.3",
35
- "@dynamic-labs/utils": "2.1.3",
36
- "@dynamic-labs/wallet-book": "2.1.3",
32
+ "@dynamic-labs/logger": "2.1.5",
33
+ "@dynamic-labs/rpc-providers": "2.1.5",
34
+ "@dynamic-labs/types": "2.1.5",
35
+ "@dynamic-labs/utils": "2.1.5",
36
+ "@dynamic-labs/wallet-book": "2.1.5",
37
37
  "eventemitter3": "5.0.1"
38
38
  }
39
39
  }
@@ -92,6 +92,12 @@ class WalletConnectorBase extends EventEmitter__default["default"] {
92
92
  * Get the rpc provider
93
93
  */
94
94
  this.getRpcProvider = this.getPublicClient;
95
+ /**
96
+ * Flag if connector/provider is available
97
+ *
98
+ * @default true
99
+ */
100
+ this.isAvailable = true;
95
101
  /**
96
102
  * If the wallet generated by a valid embedded wallet provider
97
103
  * For example: magic wallets
@@ -217,6 +217,12 @@ export declare abstract class WalletConnectorBase extends EventEmitter<WalletCon
217
217
  * @default Promise<void>
218
218
  */
219
219
  init(): Promise<void>;
220
+ /**
221
+ * Flag if connector/provider is available
222
+ *
223
+ * @default true
224
+ */
225
+ isAvailable: boolean;
220
226
  /**
221
227
  * If the wallet generated by a valid embedded wallet provider
222
228
  * For example: magic wallets
@@ -84,6 +84,12 @@ class WalletConnectorBase extends EventEmitter {
84
84
  * Get the rpc provider
85
85
  */
86
86
  this.getRpcProvider = this.getPublicClient;
87
+ /**
88
+ * Flag if connector/provider is available
89
+ *
90
+ * @default true
91
+ */
92
+ this.isAvailable = true;
87
93
  /**
88
94
  * If the wallet generated by a valid embedded wallet provider
89
95
  * For example: magic wallets