@dynamic-labs/solana 4.9.1-preview.0 → 4.9.2-preview.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/CHANGELOG.md CHANGED
@@ -1,11 +1,22 @@
1
1
 
2
- ### [4.9.1-preview.0](https://github.com/dynamic-labs/dynamic-auth/compare/v4.9.0...v4.9.1-preview.0) (2025-03-07)
2
+ ### [4.9.2-preview.0](https://github.com/dynamic-labs/dynamic-auth/compare/v4.9.1...v4.9.2-preview.0) (2025-03-11)
3
+
4
+ ### [4.9.1](https://github.com/dynamic-labs/dynamic-auth/compare/v4.9.0...v4.9.1) (2025-03-11)
5
+
6
+
7
+ ### Features
8
+
9
+ * waas svm connector ([#8191](https://github.com/dynamic-labs/dynamic-auth/issues/8191)) ([049a360](https://github.com/dynamic-labs/dynamic-auth/commit/049a360642d6aa2122676c7a29d36a7baef9e49b))
3
10
 
4
11
 
5
12
  ### Bug Fixes
6
13
 
7
14
  * 7702 on sepolia ([#8242](https://github.com/dynamic-labs/dynamic-auth/issues/8242)) ([8e1c63f](https://github.com/dynamic-labs/dynamic-auth/commit/8e1c63f240024f419e12787636dd2ebaacf8da94))
8
- * embedded widget race condition that would show both embedded and non-embedded widgets at the same time ([8a52778](https://github.com/dynamic-labs/dynamic-auth/commit/8a5277888489e03871532331760c197aa6216495))
15
+ * close auth flow when promptExport enabled but createWallet is false ([#8239](https://github.com/dynamic-labs/dynamic-auth/issues/8239)) ([f82429f](https://github.com/dynamic-labs/dynamic-auth/commit/f82429f85e729a76c2516f0db112033fdd2a36d5))
16
+ * fix solana genesis hashes bug that was causing a breaking change ([#8250](https://github.com/dynamic-labs/dynamic-auth/issues/8250)) ([731c93b](https://github.com/dynamic-labs/dynamic-auth/commit/731c93bea4b8b95caa8cc665f2ecb53f9948ef8e))
17
+ * move setup-inside-iframe utility method to the utils package ([#8256](https://github.com/dynamic-labs/dynamic-auth/issues/8256)) ([d34eb6d](https://github.com/dynamic-labs/dynamic-auth/commit/d34eb6d211baecb496b84fefaee8179a5fb1b52a))
18
+ * **QNTM-2952:** support headless social sign in ([#8226](https://github.com/dynamic-labs/dynamic-auth/issues/8226)) ([0c3082d](https://github.com/dynamic-labs/dynamic-auth/commit/0c3082d593c633519c9eed20be15186f18f65c09))
19
+ * sign message with trust wallet on solana ([#8249](https://github.com/dynamic-labs/dynamic-auth/issues/8249)) ([99a7917](https://github.com/dynamic-labs/dynamic-auth/commit/99a791796f7d2c83b9f18e45367aa9689c67869d))
9
20
 
10
21
  ## [4.9.0](https://github.com/dynamic-labs/dynamic-auth/compare/v4.8.6...v4.9.0) (2025-03-07)
11
22
 
package/package.cjs CHANGED
@@ -3,6 +3,6 @@
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
5
5
 
6
- var version = "4.9.1-preview.0";
6
+ var version = "4.9.2-preview.0";
7
7
 
8
8
  exports.version = version;
package/package.js CHANGED
@@ -1,4 +1,4 @@
1
1
  'use client'
2
- var version = "4.9.1-preview.0";
2
+ var version = "4.9.2-preview.0";
3
3
 
4
4
  export { version };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamic-labs/solana",
3
- "version": "4.9.1-preview.0",
3
+ "version": "4.9.2-preview.0",
4
4
  "description": "A React SDK for implementing wallet web3 authentication and authorization to your website.",
5
5
  "author": "Dynamic Labs, Inc.",
6
6
  "license": "MIT",
@@ -25,16 +25,16 @@
25
25
  "@wallet-standard/experimental-features": "0.1.1",
26
26
  "bs58": "5.0.0",
27
27
  "tweetnacl": "1.0.3",
28
- "@dynamic-labs/assert-package-version": "4.9.1-preview.0",
29
- "@dynamic-labs/embedded-wallet-solana": "4.9.1-preview.0",
30
- "@dynamic-labs/logger": "4.9.1-preview.0",
31
- "@dynamic-labs/rpc-providers": "4.9.1-preview.0",
28
+ "@dynamic-labs/assert-package-version": "4.9.2-preview.0",
29
+ "@dynamic-labs/embedded-wallet-solana": "4.9.2-preview.0",
30
+ "@dynamic-labs/logger": "4.9.2-preview.0",
31
+ "@dynamic-labs/rpc-providers": "4.9.2-preview.0",
32
32
  "@dynamic-labs/sdk-api-core": "0.0.638",
33
- "@dynamic-labs/solana-core": "4.9.1-preview.0",
34
- "@dynamic-labs/types": "4.9.1-preview.0",
35
- "@dynamic-labs/utils": "4.9.1-preview.0",
36
- "@dynamic-labs/wallet-book": "4.9.1-preview.0",
37
- "@dynamic-labs/wallet-connector-core": "4.9.1-preview.0"
33
+ "@dynamic-labs/solana-core": "4.9.2-preview.0",
34
+ "@dynamic-labs/types": "4.9.2-preview.0",
35
+ "@dynamic-labs/utils": "4.9.2-preview.0",
36
+ "@dynamic-labs/wallet-book": "4.9.2-preview.0",
37
+ "@dynamic-labs/wallet-connector-core": "4.9.2-preview.0"
38
38
  },
39
39
  "peerDependencies": {}
40
40
  }
@@ -88,8 +88,12 @@ class SolProviderHelper {
88
88
  connect() {
89
89
  return _tslib.__awaiter(this, void 0, void 0, function* () {
90
90
  const provider = this.findProvider();
91
- if (!provider)
91
+ if (!provider) {
92
+ walletConnectorCore.logger.error('No Solanaprovider found to connect', {
93
+ connector: this.connector.name,
94
+ });
92
95
  return undefined;
96
+ }
93
97
  try {
94
98
  if (!provider.isConnected) {
95
99
  yield provider.connect();
@@ -97,6 +101,10 @@ class SolProviderHelper {
97
101
  return provider;
98
102
  }
99
103
  catch (err) {
104
+ walletConnectorCore.logger.error('Error connecting to Solanaprovider', {
105
+ connector: this.connector.name,
106
+ error: err,
107
+ });
100
108
  return undefined;
101
109
  }
102
110
  });
@@ -84,8 +84,12 @@ class SolProviderHelper {
84
84
  connect() {
85
85
  return __awaiter(this, void 0, void 0, function* () {
86
86
  const provider = this.findProvider();
87
- if (!provider)
87
+ if (!provider) {
88
+ logger.error('No Solanaprovider found to connect', {
89
+ connector: this.connector.name,
90
+ });
88
91
  return undefined;
92
+ }
89
93
  try {
90
94
  if (!provider.isConnected) {
91
95
  yield provider.connect();
@@ -93,6 +97,10 @@ class SolProviderHelper {
93
97
  return provider;
94
98
  }
95
99
  catch (err) {
100
+ logger.error('Error connecting to Solanaprovider', {
101
+ connector: this.connector.name,
102
+ error: err,
103
+ });
96
104
  return undefined;
97
105
  }
98
106
  });