@dynamic-labs/webauthn 4.19.0 → 4.19.2

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,18 @@
1
1
 
2
+ ### [4.19.2](https://github.com/dynamic-labs/dynamic-auth/compare/v4.19.1...v4.19.2) (2025-05-27)
3
+
4
+
5
+ ### Bug Fixes
6
+
7
+ * always set the current wallet address when creating WalletClient for that wallet ([#8800](https://github.com/dynamic-labs/dynamic-auth/issues/8800)) ([3282902](https://github.com/dynamic-labs/dynamic-auth/commit/3282902581d429b66c91c533f5573964174e43d6))
8
+
9
+ ### [4.19.1](https://github.com/dynamic-labs/dynamic-auth/compare/v4.19.0...v4.19.1) (2025-05-26)
10
+
11
+
12
+ ### Bug Fixes
13
+
14
+ * **react-native:** reload webview when disconnected ([#8765](https://github.com/dynamic-labs/dynamic-auth/issues/8765)) ([addf90b](https://github.com/dynamic-labs/dynamic-auth/commit/addf90b6fccbe4b883e9778cf7a07e0471f85318))
15
+
2
16
  ## [4.19.0](https://github.com/dynamic-labs/dynamic-auth/compare/v4.18.8...v4.19.0) (2025-05-23)
3
17
 
4
18
 
package/package.cjs CHANGED
@@ -3,6 +3,6 @@
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
5
5
 
6
- var version = "4.19.0";
6
+ var version = "4.19.2";
7
7
 
8
8
  exports.version = version;
package/package.js CHANGED
@@ -1,4 +1,4 @@
1
1
  'use client'
2
- var version = "4.19.0";
2
+ var version = "4.19.2";
3
3
 
4
4
  export { version };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamic-labs/webauthn",
3
- "version": "4.19.0",
3
+ "version": "4.19.2",
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",
@@ -18,10 +18,10 @@
18
18
  },
19
19
  "homepage": "https://www.dynamic.xyz/",
20
20
  "dependencies": {
21
- "@simplewebauthn/browser": "10.0.0",
22
- "@simplewebauthn/types": "10.0.0",
23
- "@dynamic-labs/assert-package-version": "4.19.0",
24
- "@dynamic-labs/logger": "4.19.0"
21
+ "@simplewebauthn/browser": "13.1.0",
22
+ "@simplewebauthn/types": "12.0.0",
23
+ "@dynamic-labs/assert-package-version": "4.19.2",
24
+ "@dynamic-labs/logger": "4.19.2"
25
25
  },
26
26
  "peerDependencies": {}
27
27
  }
@@ -14,7 +14,9 @@ const authenticateWebauthnCredential = (options) => _tslib.__awaiter(void 0, voi
14
14
  }
15
15
  let assertionResp;
16
16
  try {
17
- assertionResp = yield browser.startAuthentication(options);
17
+ assertionResp = yield browser.startAuthentication({
18
+ optionsJSON: options,
19
+ });
18
20
  }
19
21
  catch (error) {
20
22
  logger.logger.debug('Failed to authenticate webauthn credential', error);
@@ -10,7 +10,9 @@ const authenticateWebauthnCredential = (options) => __awaiter(void 0, void 0, vo
10
10
  }
11
11
  let assertionResp;
12
12
  try {
13
- assertionResp = yield startAuthentication(options);
13
+ assertionResp = yield startAuthentication({
14
+ optionsJSON: options,
15
+ });
14
16
  }
15
17
  catch (error) {
16
18
  logger.debug('Failed to authenticate webauthn credential', error);
@@ -14,7 +14,9 @@ const createWebauthnCredential = (options) => _tslib.__awaiter(void 0, void 0, v
14
14
  }
15
15
  let attestationResp;
16
16
  try {
17
- attestationResp = yield browser.startRegistration(options);
17
+ attestationResp = yield browser.startRegistration({
18
+ optionsJSON: options,
19
+ });
18
20
  }
19
21
  catch (error) {
20
22
  logger.logger.debug('Failed to create webauthn credential', error);
@@ -10,7 +10,9 @@ const createWebauthnCredential = (options) => __awaiter(void 0, void 0, void 0,
10
10
  }
11
11
  let attestationResp;
12
12
  try {
13
- attestationResp = yield startRegistration(options);
13
+ attestationResp = yield startRegistration({
14
+ optionsJSON: options,
15
+ });
14
16
  }
15
17
  catch (error) {
16
18
  logger.debug('Failed to create webauthn credential', error);