@dynamic-labs/react-hooks 3.3.0 → 3.4.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/index.js +5 -0
- package/package.json +3 -2
package/index.js
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
|
+
import { assertPackageVersion } from '@dynamic-labs/assert-package-version';
|
|
1
2
|
import { useRef, useState, useCallback, useMemo } from 'react';
|
|
2
3
|
import { effect, stop } from '@vue/reactivity';
|
|
3
4
|
|
|
5
|
+
var version$1 = "3.4.1";
|
|
6
|
+
|
|
4
7
|
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
5
8
|
|
|
6
9
|
var fails$a = function (exec) {
|
|
@@ -1626,4 +1629,6 @@ const useReactivityProxy = target => {
|
|
|
1626
1629
|
}, [target]);
|
|
1627
1630
|
};
|
|
1628
1631
|
|
|
1632
|
+
assertPackageVersion('@dynamic-labs/react-hooks', version$1);
|
|
1633
|
+
|
|
1629
1634
|
export { useReactivityProxy as useReactiveClient };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dynamic-labs/react-hooks",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.4.1",
|
|
4
4
|
"main": "./index.js",
|
|
5
5
|
"module": "./index.js",
|
|
6
6
|
"types": "./src/index.d.ts",
|
|
@@ -14,7 +14,8 @@
|
|
|
14
14
|
"./package.json": "./package.json"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@vue/reactivity": "3.4.21"
|
|
17
|
+
"@vue/reactivity": "3.4.21",
|
|
18
|
+
"@dynamic-labs/assert-package-version": "3.4.1"
|
|
18
19
|
},
|
|
19
20
|
"peerDependencies": {
|
|
20
21
|
"react": "^18.0.0"
|