@noya-app/noya-api-client-react 0.1.49 → 0.1.50
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/.turbo/turbo-build.log +6 -6
- package/CHANGELOG.md +7 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +6 -6
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
|
@@ -10529,7 +10529,7 @@ import { isDeepEqual as isDeepEqual4 } from "@noya-app/noya-utils";
|
|
|
10529
10529
|
import { Observable as Observable11 } from "@noya-app/observable";
|
|
10530
10530
|
|
|
10531
10531
|
// ../state-manager/src/NoyaManager.ts
|
|
10532
|
-
import { uuid as
|
|
10532
|
+
import { uuid as uuid13 } from "@noya-app/noya-utils";
|
|
10533
10533
|
import { Observable as Observable22, set as set3 } from "@noya-app/observable";
|
|
10534
10534
|
|
|
10535
10535
|
// ../noya-pipeline/src/graphToTasks.ts
|
|
@@ -10788,10 +10788,10 @@ if (typeof window !== "undefined") {
|
|
|
10788
10788
|
import { uuid as uuid10 } from "@noya-app/noya-utils";
|
|
10789
10789
|
|
|
10790
10790
|
// ../state-manager/src/sync/localRpcHelpers.ts
|
|
10791
|
-
import { Base64 as Base644 } from "@noya-app/noya-utils";
|
|
10791
|
+
import { Base64 as Base644, uuid as uuid11 } from "@noya-app/noya-utils";
|
|
10792
10792
|
|
|
10793
10793
|
// ../state-manager/src/sync/localStorageSync.ts
|
|
10794
|
-
import { uuid as
|
|
10794
|
+
import { uuid as uuid12 } from "@noya-app/noya-utils";
|
|
10795
10795
|
|
|
10796
10796
|
// ../noya-keymap/src/hooks.ts
|
|
10797
10797
|
import { useEffect as useEffect2, useRef as useRef2 } from "react";
|
|
@@ -11328,7 +11328,7 @@ import React35 from "react";
|
|
|
11328
11328
|
import { createRoot } from "react-dom/client";
|
|
11329
11329
|
|
|
11330
11330
|
// ../noya-multiplayer-react/src/inspector/StateInspector.tsx
|
|
11331
|
-
import { Base64 as Base645, memoize, uuid as
|
|
11331
|
+
import { Base64 as Base645, memoize, uuid as uuid14 } from "@noya-app/noya-utils";
|
|
11332
11332
|
import React34, {
|
|
11333
11333
|
useCallback as useCallback12,
|
|
11334
11334
|
useEffect as useEffect14,
|
|
@@ -14857,7 +14857,7 @@ var StateInspector = memoGeneric(function StateInspector2({
|
|
|
14857
14857
|
{
|
|
14858
14858
|
theme: theme3,
|
|
14859
14859
|
onClick: async () => {
|
|
14860
|
-
const path2 = prompt("Enter directory path") ||
|
|
14860
|
+
const path2 = prompt("Enter directory path") || uuid14();
|
|
14861
14861
|
await resourceManager.createResource({
|
|
14862
14862
|
type: "directory",
|
|
14863
14863
|
path: path2
|
|
@@ -14873,7 +14873,7 @@ var StateInspector = memoGeneric(function StateInspector2({
|
|
|
14873
14873
|
const file = await uploadFile();
|
|
14874
14874
|
resourceManager.createResource({
|
|
14875
14875
|
type: "asset",
|
|
14876
|
-
path: file.name ||
|
|
14876
|
+
path: file.name || uuid14(),
|
|
14877
14877
|
asset: {
|
|
14878
14878
|
content: Base645.encode(await file.arrayBuffer()),
|
|
14879
14879
|
contentType: file.type,
|