@noya-app/noya-api-client-react 0.1.48 → 0.1.49
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 +6 -0
- package/dist/index.js +8 -8
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +12 -12
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
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
|
|
|
@@ -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
|
|
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,7 +10788,7 @@ 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
|
|
10791
|
+
import { Base64 as Base644 } from "@noya-app/noya-utils";
|
|
10792
10792
|
|
|
10793
10793
|
// ../state-manager/src/sync/localStorageSync.ts
|
|
10794
10794
|
import { uuid as uuid11 } from "@noya-app/noya-utils";
|
|
@@ -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
|
|
11331
|
+
import { Base64 as Base645, memoize, uuid as uuid13 } from "@noya-app/noya-utils";
|
|
11332
11332
|
import React34, {
|
|
11333
11333
|
useCallback as useCallback12,
|
|
11334
11334
|
useEffect as useEffect14,
|
|
@@ -14875,7 +14875,7 @@ var StateInspector = memoGeneric(function StateInspector2({
|
|
|
14875
14875
|
type: "asset",
|
|
14876
14876
|
path: file.name || uuid13(),
|
|
14877
14877
|
asset: {
|
|
14878
|
-
content:
|
|
14878
|
+
content: Base645.encode(await file.arrayBuffer()),
|
|
14879
14879
|
contentType: file.type,
|
|
14880
14880
|
encoding: "base64"
|
|
14881
14881
|
}
|