@noya-app/noya-api-client-react 0.1.48 → 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/dist/index.mjs CHANGED
@@ -5295,14 +5295,6 @@ var Emitter = class {
5295
5295
  bufferedEvents = [];
5296
5296
  };
5297
5297
 
5298
- // ../state-manager/src/AIManager.ts
5299
- import { isDeepEqual } from "@noya-app/noya-utils";
5300
- import { Observable as Observable2 } from "@noya-app/observable";
5301
-
5302
- // ../state-manager/src/AssetManager.ts
5303
- import { Base64, uuid } from "@noya-app/noya-utils";
5304
- import { Observable as Observable3 } from "@noya-app/observable";
5305
-
5306
5298
  // ../noya-schemas/src/nullable.ts
5307
5299
  var Nullable = (schema) => Type.Union([Type.Null(), schema]);
5308
5300
 
@@ -5704,6 +5696,14 @@ function validateUUID(value) {
5704
5696
  format_exports.Set("color", () => true);
5705
5697
  format_exports.Set("uuid", validateUUID);
5706
5698
 
5699
+ // ../state-manager/src/AIManager.ts
5700
+ import { Base64, isDeepEqual } from "@noya-app/noya-utils";
5701
+ import { Observable as Observable2 } from "@noya-app/observable";
5702
+
5703
+ // ../state-manager/src/AssetManager.ts
5704
+ import { Base64 as Base642, uuid } from "@noya-app/noya-utils";
5705
+ import { Observable as Observable3 } from "@noya-app/observable";
5706
+
5707
5707
  // ../state-manager/src/ConnectionEventManager.ts
5708
5708
  import { Observable as Observable4 } from "@noya-app/observable";
5709
5709
 
@@ -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 uuid12 } from "@noya-app/noya-utils";
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
@@ -10658,7 +10658,7 @@ import { Observable as Observable17 } from "@noya-app/observable";
10658
10658
  import { Observable as Observable18 } from "@noya-app/observable";
10659
10659
 
10660
10660
  // ../state-manager/src/TranscriptionManager.ts
10661
- import { Base64 as Base642 } from "@noya-app/noya-utils";
10661
+ import { Base64 as Base643 } from "@noya-app/noya-utils";
10662
10662
  import { Observable as Observable19 } from "@noya-app/observable";
10663
10663
 
10664
10664
  // ../state-manager/src/UserManager.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 Base643 } 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 uuid11 } from "@noya-app/noya-utils";
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 Base644, memoize, uuid as uuid13 } from "@noya-app/noya-utils";
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") || uuid13();
14860
+ const path2 = prompt("Enter directory path") || uuid14();
14861
14861
  await resourceManager.createResource({
14862
14862
  type: "directory",
14863
14863
  path: path2
@@ -14873,9 +14873,9 @@ var StateInspector = memoGeneric(function StateInspector2({
14873
14873
  const file = await uploadFile();
14874
14874
  resourceManager.createResource({
14875
14875
  type: "asset",
14876
- path: file.name || uuid13(),
14876
+ path: file.name || uuid14(),
14877
14877
  asset: {
14878
- content: Base644.encode(await file.arrayBuffer()),
14878
+ content: Base645.encode(await file.arrayBuffer()),
14879
14879
  contentType: file.type,
14880
14880
  encoding: "base64"
14881
14881
  }