@dynamic-labs/sdk-react-core 4.79.0 → 4.79.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,15 @@
|
|
|
1
1
|
|
|
2
|
+
### [4.79.1](https://github.com/dynamic-labs/dynamic-auth/compare/v4.79.0...v4.79.1) (2026-05-01)
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
### Bug Fixes
|
|
6
|
+
|
|
7
|
+
* **playwright:** tolerate confirm-only transfer wallet modal ([#11081](https://github.com/dynamic-labs/dynamic-auth/issues/11081)) ([f4f2b85](https://github.com/dynamic-labs/dynamic-auth/commit/f4f2b85e515a3dfb7f54bd1dd697fa8fddea74f0))
|
|
8
|
+
* **sdk-react-core:** replace rAF polling with setTimeout in animationFrameTimeout ([#11086](https://github.com/dynamic-labs/dynamic-auth/issues/11086)) ([73cad2a](https://github.com/dynamic-labs/dynamic-auth/commit/73cad2a1be0a331b7504aca2b6dcb1ef770a6b37))
|
|
9
|
+
* **wagmi-connector:** emit change on wallet-internal MM account switch DYNT-549 ([#11044](https://github.com/dynamic-labs/dynamic-auth/issues/11044)) ([4345aa2](https://github.com/dynamic-labs/dynamic-auth/commit/4345aa2a96bc0fac5a5c8280875e6ab122391b98)), closes [#11043](https://github.com/dynamic-labs/dynamic-auth/issues/11043) [#11045](https://github.com/dynamic-labs/dynamic-auth/issues/11045) [#10945](https://github.com/dynamic-labs/dynamic-auth/issues/10945) [#10945](https://github.com/dynamic-labs/dynamic-auth/issues/10945)
|
|
10
|
+
* **wagmi-connector:** fix accountChange listener leak DYNT-549 ([#11043](https://github.com/dynamic-labs/dynamic-auth/issues/11043)) ([e4652aa](https://github.com/dynamic-labs/dynamic-auth/commit/e4652aa3b3c586bd4648deda4a0406ca555f3481)), closes [#11044](https://github.com/dynamic-labs/dynamic-auth/issues/11044) [#11045](https://github.com/dynamic-labs/dynamic-auth/issues/11045)
|
|
11
|
+
* **wagmi-connector:** use accountChange event payload as authoritative address in SyncDynamicWagmi DYNT-549 ([#11045](https://github.com/dynamic-labs/dynamic-auth/issues/11045)) ([77a300b](https://github.com/dynamic-labs/dynamic-auth/commit/77a300be77d90dc3c1aefe02a2074764d89a1cb7)), closes [#11043](https://github.com/dynamic-labs/dynamic-auth/issues/11043) [#11044](https://github.com/dynamic-labs/dynamic-auth/issues/11044) [#11044](https://github.com/dynamic-labs/dynamic-auth/issues/11044)
|
|
12
|
+
|
|
2
13
|
## [4.79.0](https://github.com/dynamic-labs/dynamic-auth/compare/v4.78.1...v4.79.0) (2026-04-30)
|
|
3
14
|
|
|
4
15
|
|
package/package.cjs
CHANGED
package/package.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dynamic-labs/sdk-react-core",
|
|
3
|
-
"version": "4.79.
|
|
3
|
+
"version": "4.79.1",
|
|
4
4
|
"dependencies": {
|
|
5
5
|
"@dynamic-labs/sdk-api-core": "0.0.956",
|
|
6
6
|
"@dynamic-labs-sdk/client": "0.26.2",
|
|
@@ -16,17 +16,17 @@
|
|
|
16
16
|
"yup": "0.32.11",
|
|
17
17
|
"react-international-phone": "4.5.0",
|
|
18
18
|
"bs58": "5.0.0",
|
|
19
|
-
"@dynamic-labs/assert-package-version": "4.79.
|
|
20
|
-
"@dynamic-labs/iconic": "4.79.
|
|
21
|
-
"@dynamic-labs/locale": "4.79.
|
|
22
|
-
"@dynamic-labs/logger": "4.79.
|
|
23
|
-
"@dynamic-labs/multi-wallet": "4.79.
|
|
24
|
-
"@dynamic-labs/rpc-providers": "4.79.
|
|
25
|
-
"@dynamic-labs/store": "4.79.
|
|
26
|
-
"@dynamic-labs/types": "4.79.
|
|
27
|
-
"@dynamic-labs/utils": "4.79.
|
|
28
|
-
"@dynamic-labs/wallet-book": "4.79.
|
|
29
|
-
"@dynamic-labs/wallet-connector-core": "4.79.
|
|
19
|
+
"@dynamic-labs/assert-package-version": "4.79.1",
|
|
20
|
+
"@dynamic-labs/iconic": "4.79.1",
|
|
21
|
+
"@dynamic-labs/locale": "4.79.1",
|
|
22
|
+
"@dynamic-labs/logger": "4.79.1",
|
|
23
|
+
"@dynamic-labs/multi-wallet": "4.79.1",
|
|
24
|
+
"@dynamic-labs/rpc-providers": "4.79.1",
|
|
25
|
+
"@dynamic-labs/store": "4.79.1",
|
|
26
|
+
"@dynamic-labs/types": "4.79.1",
|
|
27
|
+
"@dynamic-labs/utils": "4.79.1",
|
|
28
|
+
"@dynamic-labs/wallet-book": "4.79.1",
|
|
29
|
+
"@dynamic-labs/wallet-connector-core": "4.79.1",
|
|
30
30
|
"eventemitter3": "5.0.1"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
@@ -3,25 +3,19 @@
|
|
|
3
3
|
|
|
4
4
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
5
5
|
|
|
6
|
+
// Implemented with setTimeout rather than requestAnimationFrame: rAF is paused
|
|
7
|
+
// or throttled to ~1Hz when the tab is backgrounded, and is also starved by
|
|
8
|
+
// long-running JS, which caused modal transitions to get stuck at opacity 0.
|
|
6
9
|
const animationFrameTimeout = (callback, duration) => {
|
|
7
|
-
const startTime = performance.now();
|
|
8
10
|
const canceller = { id: -1 };
|
|
9
|
-
|
|
10
|
-
canceller.id = requestAnimationFrame((now) => {
|
|
11
|
-
if (now - startTime > duration) {
|
|
12
|
-
callback();
|
|
13
|
-
}
|
|
14
|
-
else {
|
|
15
|
-
tick();
|
|
16
|
-
}
|
|
17
|
-
});
|
|
18
|
-
};
|
|
19
|
-
tick();
|
|
11
|
+
canceller.id = window.setTimeout(callback, duration);
|
|
20
12
|
return canceller;
|
|
21
13
|
};
|
|
22
14
|
const clearAnimationFrameTimeout = (canceller) => {
|
|
23
|
-
if (canceller.id >= 0)
|
|
24
|
-
|
|
15
|
+
if (canceller.id >= 0) {
|
|
16
|
+
clearTimeout(canceller.id);
|
|
17
|
+
canceller.id = -1;
|
|
18
|
+
}
|
|
25
19
|
};
|
|
26
20
|
|
|
27
21
|
exports.animationFrameTimeout = animationFrameTimeout;
|
|
@@ -1,23 +1,17 @@
|
|
|
1
1
|
'use client'
|
|
2
|
+
// Implemented with setTimeout rather than requestAnimationFrame: rAF is paused
|
|
3
|
+
// or throttled to ~1Hz when the tab is backgrounded, and is also starved by
|
|
4
|
+
// long-running JS, which caused modal transitions to get stuck at opacity 0.
|
|
2
5
|
const animationFrameTimeout = (callback, duration) => {
|
|
3
|
-
const startTime = performance.now();
|
|
4
6
|
const canceller = { id: -1 };
|
|
5
|
-
|
|
6
|
-
canceller.id = requestAnimationFrame((now) => {
|
|
7
|
-
if (now - startTime > duration) {
|
|
8
|
-
callback();
|
|
9
|
-
}
|
|
10
|
-
else {
|
|
11
|
-
tick();
|
|
12
|
-
}
|
|
13
|
-
});
|
|
14
|
-
};
|
|
15
|
-
tick();
|
|
7
|
+
canceller.id = window.setTimeout(callback, duration);
|
|
16
8
|
return canceller;
|
|
17
9
|
};
|
|
18
10
|
const clearAnimationFrameTimeout = (canceller) => {
|
|
19
|
-
if (canceller.id >= 0)
|
|
20
|
-
|
|
11
|
+
if (canceller.id >= 0) {
|
|
12
|
+
clearTimeout(canceller.id);
|
|
13
|
+
canceller.id = -1;
|
|
14
|
+
}
|
|
21
15
|
};
|
|
22
16
|
|
|
23
17
|
export { animationFrameTimeout, clearAnimationFrameTimeout };
|