@dynamic-labs/wallet-connector-core 3.0.0-alpha.5 → 3.0.0-alpha.6

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,21 @@
1
1
 
2
+ ## [3.0.0-alpha.6](https://github.com/dynamic-labs/DynamicAuth/compare/v3.0.0-alpha.5...v3.0.0-alpha.6) (2024-06-18)
3
+
4
+
5
+ ### Features
6
+
7
+ * implement useExternalAuth hook to signin using external jwt auth ([#6039](https://github.com/dynamic-labs/DynamicAuth/issues/6039)) ([ba90908](https://github.com/dynamic-labs/DynamicAuth/commit/ba90908509ec21f708a4a0782a7f94861fc3b484))
8
+
9
+
10
+ ### Bug Fixes
11
+
12
+ * allow sign-in with different ME BTC wallet after initial connection ([a527b46](https://github.com/dynamic-labs/DynamicAuth/commit/a527b464f321b4fc27730f57c3812e996b5ed878))
13
+ * close sign modal when signing in with a wallet when embedded wallet is enabled ([#6013](https://github.com/dynamic-labs/DynamicAuth/issues/6013)) ([0f4f3c8](https://github.com/dynamic-labs/DynamicAuth/commit/0f4f3c83db162f7a1794a3549b60bbad6b03e2c0))
14
+ * custom network without a valid icon should still display its name in network picker ([#6018](https://github.com/dynamic-labs/DynamicAuth/issues/6018)) ([0b10df6](https://github.com/dynamic-labs/DynamicAuth/commit/0b10df68950bfc9b8492443158a6bb030dc1122c))
15
+ * e2e: remove page pause ([#6045](https://github.com/dynamic-labs/DynamicAuth/issues/6045)) ([55bba00](https://github.com/dynamic-labs/DynamicAuth/commit/55bba0034255055d6ae266b1296542f47ed48e2b))
16
+ * more fixes for connect starknet button ([#6046](https://github.com/dynamic-labs/DynamicAuth/issues/6046)) ([0fb570a](https://github.com/dynamic-labs/DynamicAuth/commit/0fb570a44e65f8dd6d4d2bf5edb2ee54985ec9d4))
17
+ * set verified credentials on embedded wallet creation ([#6044](https://github.com/dynamic-labs/DynamicAuth/issues/6044)) ([b52a96d](https://github.com/dynamic-labs/DynamicAuth/commit/b52a96d321e7efdb30dce9cdb3f6f176c24ceb81))
18
+
2
19
  ## [3.0.0-alpha.5](https://github.com/dynamic-labs/DynamicAuth/compare/v3.0.0-alpha.4...v3.0.0-alpha.5) (2024-06-14)
3
20
 
4
21
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamic-labs/wallet-connector-core",
3
- "version": "3.0.0-alpha.5",
3
+ "version": "3.0.0-alpha.6",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/dynamic-labs/dynamic-auth.git",
@@ -26,14 +26,14 @@
26
26
  "./package.json": "./package.json"
27
27
  },
28
28
  "dependencies": {
29
- "@dynamic-labs/sdk-api-core": "0.0.461"
29
+ "@dynamic-labs/sdk-api-core": "0.0.470"
30
30
  },
31
31
  "peerDependencies": {
32
- "@dynamic-labs/logger": "3.0.0-alpha.5",
33
- "@dynamic-labs/rpc-providers": "3.0.0-alpha.5",
34
- "@dynamic-labs/types": "3.0.0-alpha.5",
35
- "@dynamic-labs/utils": "3.0.0-alpha.5",
36
- "@dynamic-labs/wallet-book": "3.0.0-alpha.5",
32
+ "@dynamic-labs/logger": "3.0.0-alpha.6",
33
+ "@dynamic-labs/rpc-providers": "3.0.0-alpha.6",
34
+ "@dynamic-labs/types": "3.0.0-alpha.6",
35
+ "@dynamic-labs/utils": "3.0.0-alpha.6",
36
+ "@dynamic-labs/wallet-book": "3.0.0-alpha.6",
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
@@ -232,6 +232,12 @@ export declare abstract class WalletConnectorBase extends EventEmitter<WalletCon
232
232
  * @default Promise<void>
233
233
  */
234
234
  init(): Promise<void>;
235
+ /**
236
+ * Flag if connector/provider is available
237
+ *
238
+ * @default true
239
+ */
240
+ isAvailable: boolean;
235
241
  /**
236
242
  * If the wallet generated by a valid embedded wallet provider
237
243
  * 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