@dynamic-labs/client 4.76.0 → 4.77.1

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,28 @@
1
1
 
2
+ ### [4.77.1](https://github.com/dynamic-labs/dynamic-auth/compare/v4.77.0...v4.77.1) (2026-04-10)
3
+
4
+ ### Bug Fixes
5
+
6
+
7
+ * fixing BTC wallet creation in the webview
8
+
9
+ ## [4.77.0](https://github.com/dynamic-labs/dynamic-auth/compare/v4.76.0...v4.77.0) (2026-04-10)
10
+
11
+
12
+ ### Features
13
+
14
+ * **midnight:** add types and chain constants ([#10851](https://github.com/dynamic-labs/dynamic-auth/issues/10851)) ([91620d2](https://github.com/dynamic-labs/dynamic-auth/commit/91620d21596c525d8d51ddb0c0ba7df456e3eb64))
15
+
16
+
17
+ ### Bug Fixes
18
+
19
+ * issue when linking new wallet via qr code when there's no active session ([#10878](https://github.com/dynamic-labs/dynamic-auth/issues/10878)) ([53cbae0](https://github.com/dynamic-labs/dynamic-auth/commit/53cbae0806665371e9214663e72e2f1fb7e1ac3f))
20
+ * **lint-staged:** exclude Playwright specs from jest pre-commit hook [DYNT-496] ([#10880](https://github.com/dynamic-labs/dynamic-auth/issues/10880)) ([d3c8a9a](https://github.com/dynamic-labs/dynamic-auth/commit/d3c8a9a59c855bb834dcedf2e18a2bd0eabcb420))
21
+ * **react-core:** exclude password setup cancellations from wallet creation failure metrics ([#10868](https://github.com/dynamic-labs/dynamic-auth/issues/10868)) ([685de16](https://github.com/dynamic-labs/dynamic-auth/commit/685de16f004f282e1b24114c3a18d8c02b7e48aa))
22
+ * **react-native:** adds eip7702 authorization ([#10904](https://github.com/dynamic-labs/dynamic-auth/issues/10904)) ([fa3e41f](https://github.com/dynamic-labs/dynamic-auth/commit/fa3e41f18aeca309c199003781e569bb425dda5d))
23
+ * **react-native:** remove crypto dependency ([#10871](https://github.com/dynamic-labs/dynamic-auth/issues/10871)) ([de4faa5](https://github.com/dynamic-labs/dynamic-auth/commit/de4faa5bd8bbb8fc321ed65f8b6ccfbaff1d00d3))
24
+ * **react-native:** unify session storage ([#10870](https://github.com/dynamic-labs/dynamic-auth/issues/10870)) ([0536ea0](https://github.com/dynamic-labs/dynamic-auth/commit/0536ea0a78f69b9952b21eec38b4868276215b46))
25
+
2
26
  ## [4.76.0](https://github.com/dynamic-labs/dynamic-auth/compare/v4.75.0...v4.76.0) (2026-04-06)
3
27
 
4
28
 
package/package.cjs CHANGED
@@ -3,6 +3,6 @@
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
5
5
 
6
- var version = "4.76.0";
6
+ var version = "4.77.1";
7
7
 
8
8
  exports.version = version;
package/package.js CHANGED
@@ -1,4 +1,4 @@
1
1
  'use client'
2
- var version = "4.76.0";
2
+ var version = "4.77.1";
3
3
 
4
4
  export { version };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamic-labs/client",
3
- "version": "4.76.0",
3
+ "version": "4.77.1",
4
4
  "description": "Core package for utilizing Dynamic's sdk",
5
5
  "author": "Dynamic Labs, Inc.",
6
6
  "license": "MIT",
@@ -19,14 +19,14 @@
19
19
  "homepage": "https://www.dynamic.xyz/",
20
20
  "dependencies": {
21
21
  "@vue/reactivity": "^3.4.21",
22
- "@dynamic-labs/sdk-api-core": "0.0.923",
23
- "@dynamic-labs/assert-package-version": "4.76.0",
24
- "@dynamic-labs/locale": "4.76.0",
25
- "@dynamic-labs/logger": "4.76.0",
26
- "@dynamic-labs/message-transport": "4.76.0",
27
- "@dynamic-labs/types": "4.76.0",
28
- "@dynamic-labs/wallet-connector-core": "4.76.0",
29
- "@dynamic-labs/webview-messages": "4.76.0",
22
+ "@dynamic-labs/sdk-api-core": "0.0.927",
23
+ "@dynamic-labs/assert-package-version": "4.77.1",
24
+ "@dynamic-labs/locale": "4.77.1",
25
+ "@dynamic-labs/logger": "4.77.1",
26
+ "@dynamic-labs/message-transport": "4.77.1",
27
+ "@dynamic-labs/types": "4.77.1",
28
+ "@dynamic-labs/wallet-connector-core": "4.77.1",
29
+ "@dynamic-labs/webview-messages": "4.77.1",
30
30
  "eventemitter3": "5.0.1"
31
31
  },
32
32
  "peerDependencies": {}
@@ -6,11 +6,9 @@ Object.defineProperty(exports, '__esModule', { value: true });
6
6
  const DEFAULT_CHARS = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789';
7
7
  /** @not-instrumented */
8
8
  const randomString = ({ chars = DEFAULT_CHARS, length, }) => {
9
- const bytes = new Uint8Array(length);
10
- crypto.getRandomValues(bytes);
11
9
  let result = '';
12
10
  for (let i = 0; i < length; i++) {
13
- result += chars[bytes[i] % chars.length];
11
+ result += chars[Math.floor(Math.random() * chars.length)];
14
12
  }
15
13
  return result;
16
14
  };
@@ -2,11 +2,9 @@
2
2
  const DEFAULT_CHARS = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789';
3
3
  /** @not-instrumented */
4
4
  const randomString = ({ chars = DEFAULT_CHARS, length, }) => {
5
- const bytes = new Uint8Array(length);
6
- crypto.getRandomValues(bytes);
7
5
  let result = '';
8
6
  for (let i = 0; i < length; i++) {
9
- result += chars[bytes[i] % chars.length];
7
+ result += chars[Math.floor(Math.random() * chars.length)];
10
8
  }
11
9
  return result;
12
10
  };