@tamagui/use-store 1.111.2 → 1.111.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.
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export * from "./useStore.mjs";
|
|
2
|
-
import { configureUseStore } from "./configureUseStore.mjs";
|
|
3
|
-
export * from "./interfaces.mjs";
|
|
4
|
-
export * from "./observe.mjs";
|
|
5
|
-
import { UNWRAP_PROXY } from "./constants.mjs";
|
|
6
|
-
export * from "./comparators.mjs";
|
|
7
|
-
export * from "./decorators.mjs";
|
|
1
|
+
export * from "./useStore.native.mjs";
|
|
2
|
+
import { configureUseStore } from "./configureUseStore.native.mjs";
|
|
3
|
+
export * from "./interfaces.native.mjs";
|
|
4
|
+
export * from "./observe.native.mjs";
|
|
5
|
+
import { UNWRAP_PROXY } from "./constants.native.mjs";
|
|
6
|
+
export * from "./comparators.native.mjs";
|
|
7
|
+
export * from "./decorators.native.mjs";
|
|
8
8
|
function _class_call_check(instance, Constructor) {
|
|
9
9
|
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
10
10
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import { isEqualSubsetShallow } from "./comparators.mjs";
|
|
3
|
-
import { UNWRAP_PROXY } from "./constants.mjs";
|
|
4
|
-
import { trackStoresAccess } from "./useStore.mjs";
|
|
2
|
+
import { isEqualSubsetShallow } from "./comparators.native.mjs";
|
|
3
|
+
import { UNWRAP_PROXY } from "./constants.native.mjs";
|
|
4
|
+
import { trackStoresAccess } from "./useStore.native.mjs";
|
|
5
5
|
var logUpdate = process.env.NODE_ENV === "development" ? function (fn, stores, last, next) {
|
|
6
6
|
var getStoreLogName = function (store) {
|
|
7
7
|
var _store_props,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import { isEqualSubsetShallow } from "./comparators.mjs";
|
|
3
|
-
import { configureOpts } from "./configureUseStore.mjs";
|
|
4
|
-
import { UNWRAP_PROXY, defaultOptions } from "./constants.mjs";
|
|
5
|
-
import { UNWRAP_STORE_INFO, cache, getStoreDescriptors, getStoreUid, simpleStr } from "./helpers.mjs";
|
|
6
|
-
import { DebugStores, shouldDebug, useCurrentComponent } from "./useStoreDebug.mjs";
|
|
2
|
+
import { isEqualSubsetShallow } from "./comparators.native.mjs";
|
|
3
|
+
import { configureOpts } from "./configureUseStore.native.mjs";
|
|
4
|
+
import { UNWRAP_PROXY, defaultOptions } from "./constants.native.mjs";
|
|
5
|
+
import { UNWRAP_STORE_INFO, cache, getStoreDescriptors, getStoreUid, simpleStr } from "./helpers.native.mjs";
|
|
6
|
+
import { DebugStores, shouldDebug, useCurrentComponent } from "./useStoreDebug.native.mjs";
|
|
7
7
|
var idFn = function (_) {
|
|
8
8
|
return _;
|
|
9
9
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tamagui/use-store",
|
|
3
|
-
"version": "1.111.
|
|
3
|
+
"version": "1.111.4",
|
|
4
4
|
"types": "./types/index.d.ts",
|
|
5
5
|
"main": "dist/cjs",
|
|
6
6
|
"module": "dist/esm",
|
|
@@ -29,10 +29,10 @@
|
|
|
29
29
|
}
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@tamagui/simple-hash": "1.111.
|
|
32
|
+
"@tamagui/simple-hash": "1.111.4"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
|
-
"@tamagui/build": "1.111.
|
|
35
|
+
"@tamagui/build": "1.111.4",
|
|
36
36
|
"@testing-library/react": "^16.0.0",
|
|
37
37
|
"react": "^18.2.0 || ^19.0.0",
|
|
38
38
|
"vitest": "0.34.3"
|