@dynamic-labs/flow 4.91.3 → 4.91.4
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 +8 -0
- package/package.cjs +1 -1
- package/package.js +1 -1
- package/package.json +5 -5
- package/src/FlowWalletConnector.cjs +2 -2
- package/src/FlowWalletConnector.js +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,12 @@
|
|
|
1
1
|
|
|
2
|
+
### [4.91.4](https://github.com/dynamic-labs/dynamic-auth/compare/v4.91.3...v4.91.4) (2026-07-01)
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
### Bug Fixes
|
|
6
|
+
|
|
7
|
+
* conditionally use /op/ route for AA transactions based on block explorer support ([#11628](https://github.com/dynamic-labs/dynamic-auth/issues/11628)) ([95822dc](https://github.com/dynamic-labs/dynamic-auth/commit/95822dc0edbcd739afe870f0b3881555fdb17eb6))
|
|
8
|
+
* require error codes in all SDK error classes ([#11761](https://github.com/dynamic-labs/dynamic-auth/issues/11761)) ([5744811](https://github.com/dynamic-labs/dynamic-auth/commit/5744811efdd1e415aaf51eec5b3300b323ec1347))
|
|
9
|
+
|
|
2
10
|
### [4.91.3](https://github.com/dynamic-labs/dynamic-auth/compare/v4.91.2...v4.91.3) (2026-06-30)
|
|
3
11
|
|
|
4
12
|
|
package/package.cjs
CHANGED
package/package.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dynamic-labs/flow",
|
|
3
|
-
"version": "4.91.
|
|
3
|
+
"version": "4.91.4",
|
|
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",
|
|
@@ -19,10 +19,10 @@
|
|
|
19
19
|
"homepage": "https://www.dynamic.xyz/",
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@onflow/fcl": "1.10.0",
|
|
22
|
-
"@dynamic-labs/assert-package-version": "4.91.
|
|
23
|
-
"@dynamic-labs/utils": "4.91.
|
|
24
|
-
"@dynamic-labs/wallet-book": "4.91.
|
|
25
|
-
"@dynamic-labs/wallet-connector-core": "4.91.
|
|
22
|
+
"@dynamic-labs/assert-package-version": "4.91.4",
|
|
23
|
+
"@dynamic-labs/utils": "4.91.4",
|
|
24
|
+
"@dynamic-labs/wallet-book": "4.91.4",
|
|
25
|
+
"@dynamic-labs/wallet-connector-core": "4.91.4"
|
|
26
26
|
},
|
|
27
27
|
"peerDependencies": {}
|
|
28
28
|
}
|
|
@@ -86,7 +86,7 @@ class FlowWalletConnector extends walletConnectorCore.WalletConnectorBase {
|
|
|
86
86
|
const message = Buffer.from(messageToSign).toString('hex');
|
|
87
87
|
const signedMessage = yield fcl.currentUser().signUserMessage(message);
|
|
88
88
|
if (signedMessage.includes('Declined')) {
|
|
89
|
-
throw new utils.DynamicError('User declined the signature');
|
|
89
|
+
throw new utils.DynamicError('User declined the signature', 'user_declined_the_signature');
|
|
90
90
|
}
|
|
91
91
|
return JSON.stringify(signedMessage);
|
|
92
92
|
});
|
|
@@ -121,7 +121,7 @@ class FlowWalletConnector extends walletConnectorCore.WalletConnectorBase {
|
|
|
121
121
|
}
|
|
122
122
|
switchNetwork() {
|
|
123
123
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
124
|
-
throw new utils.DynamicError('Not supported');
|
|
124
|
+
throw new utils.DynamicError('Not supported', 'not_supported');
|
|
125
125
|
});
|
|
126
126
|
}
|
|
127
127
|
getConnectedAccounts() {
|
|
@@ -82,7 +82,7 @@ class FlowWalletConnector extends WalletConnectorBase {
|
|
|
82
82
|
const message = Buffer.from(messageToSign).toString('hex');
|
|
83
83
|
const signedMessage = yield currentUser().signUserMessage(message);
|
|
84
84
|
if (signedMessage.includes('Declined')) {
|
|
85
|
-
throw new DynamicError('User declined the signature');
|
|
85
|
+
throw new DynamicError('User declined the signature', 'user_declined_the_signature');
|
|
86
86
|
}
|
|
87
87
|
return JSON.stringify(signedMessage);
|
|
88
88
|
});
|
|
@@ -117,7 +117,7 @@ class FlowWalletConnector extends WalletConnectorBase {
|
|
|
117
117
|
}
|
|
118
118
|
switchNetwork() {
|
|
119
119
|
return __awaiter(this, void 0, void 0, function* () {
|
|
120
|
-
throw new DynamicError('Not supported');
|
|
120
|
+
throw new DynamicError('Not supported', 'not_supported');
|
|
121
121
|
});
|
|
122
122
|
}
|
|
123
123
|
getConnectedAccounts() {
|