@meshagent/meshagent 0.17.0 → 0.18.0
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/CHANGELOG.md +7 -0
- package/dist/browser/entrypoint.js +9 -5
- package/dist/browser/meshagent-client.d.ts +2 -2
- package/dist/esm/entrypoint.js +9 -5
- package/dist/esm/meshagent-client.d.ts +2 -2
- package/dist/node/entrypoint.js +9 -5
- package/dist/node/meshagent-client.d.ts +2 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
## [0.18.0]
|
|
2
|
+
- yjs dependency updated from `^13.6.28` to `^13.6.29`
|
|
3
|
+
- Updated Yjs transaction cleanup behavior to reduce noisy logging and improve cleanup sequencing
|
|
4
|
+
|
|
5
|
+
## [0.17.1]
|
|
6
|
+
- Stability
|
|
7
|
+
|
|
1
8
|
## [0.17.0]
|
|
2
9
|
- Updated `yjs` dependency from `^13.6.7` to `^13.6.28`
|
|
3
10
|
- Prevented “maximum call stack size exceeded” when encoding large document state/state vectors by switching to chunked base64 conversion in the entrypoint
|
|
@@ -3695,15 +3695,19 @@ var cleanupTransactions = (transactionCleanups, i) => {
|
|
|
3695
3695
|
event._path = null;
|
|
3696
3696
|
});
|
|
3697
3697
|
events.sort((event1, event2) => event1.path.length - event2.path.length);
|
|
3698
|
-
|
|
3698
|
+
fs.push(() => {
|
|
3699
|
+
callEventHandlerListeners(type._dEH, events, transaction);
|
|
3700
|
+
});
|
|
3701
|
+
}
|
|
3702
|
+
});
|
|
3703
|
+
fs.push(() => doc2.emit("afterTransaction", [transaction, doc2]));
|
|
3704
|
+
fs.push(() => {
|
|
3705
|
+
if (transaction._needFormattingCleanup) {
|
|
3706
|
+
cleanupYTextAfterTransaction(transaction);
|
|
3699
3707
|
}
|
|
3700
3708
|
});
|
|
3701
3709
|
});
|
|
3702
|
-
fs.push(() => doc2.emit("afterTransaction", [transaction, doc2]));
|
|
3703
3710
|
callAll(fs, []);
|
|
3704
|
-
if (transaction._needFormattingCleanup) {
|
|
3705
|
-
cleanupYTextAfterTransaction(transaction);
|
|
3706
|
-
}
|
|
3707
3711
|
} finally {
|
|
3708
3712
|
if (doc2.gc) {
|
|
3709
3713
|
tryGcDeleteSet(ds, store, doc2.gcFilter);
|
|
@@ -61,7 +61,7 @@ export interface ProjectStorageMountSpec {
|
|
|
61
61
|
subpath?: string | null;
|
|
62
62
|
read_only?: boolean;
|
|
63
63
|
}
|
|
64
|
-
export interface
|
|
64
|
+
export interface ContainerMountSpec {
|
|
65
65
|
room?: RoomStorageMountSpec[];
|
|
66
66
|
project?: ProjectStorageMountSpec[];
|
|
67
67
|
}
|
|
@@ -83,7 +83,7 @@ export interface ContainerSpec {
|
|
|
83
83
|
environment?: EnvironmentVariable[] | null;
|
|
84
84
|
secrets?: string[];
|
|
85
85
|
pull_secret?: string | null;
|
|
86
|
-
storage?:
|
|
86
|
+
storage?: ContainerMountSpec;
|
|
87
87
|
api_key?: ServiceApiKeySpec;
|
|
88
88
|
}
|
|
89
89
|
export interface ExternalServiceSpec {
|
package/dist/esm/entrypoint.js
CHANGED
|
@@ -2773,15 +2773,19 @@ var cleanupTransactions = (transactionCleanups, i) => {
|
|
|
2773
2773
|
event._path = null;
|
|
2774
2774
|
});
|
|
2775
2775
|
events.sort((event1, event2) => event1.path.length - event2.path.length);
|
|
2776
|
-
|
|
2776
|
+
fs.push(() => {
|
|
2777
|
+
callEventHandlerListeners(type._dEH, events, transaction);
|
|
2778
|
+
});
|
|
2779
|
+
}
|
|
2780
|
+
});
|
|
2781
|
+
fs.push(() => doc2.emit("afterTransaction", [transaction, doc2]));
|
|
2782
|
+
fs.push(() => {
|
|
2783
|
+
if (transaction._needFormattingCleanup) {
|
|
2784
|
+
cleanupYTextAfterTransaction(transaction);
|
|
2777
2785
|
}
|
|
2778
2786
|
});
|
|
2779
2787
|
});
|
|
2780
|
-
fs.push(() => doc2.emit("afterTransaction", [transaction, doc2]));
|
|
2781
2788
|
callAll(fs, []);
|
|
2782
|
-
if (transaction._needFormattingCleanup) {
|
|
2783
|
-
cleanupYTextAfterTransaction(transaction);
|
|
2784
|
-
}
|
|
2785
2789
|
}
|
|
2786
2790
|
finally {
|
|
2787
2791
|
if (doc2.gc) {
|
|
@@ -61,7 +61,7 @@ export interface ProjectStorageMountSpec {
|
|
|
61
61
|
subpath?: string | null;
|
|
62
62
|
read_only?: boolean;
|
|
63
63
|
}
|
|
64
|
-
export interface
|
|
64
|
+
export interface ContainerMountSpec {
|
|
65
65
|
room?: RoomStorageMountSpec[];
|
|
66
66
|
project?: ProjectStorageMountSpec[];
|
|
67
67
|
}
|
|
@@ -83,7 +83,7 @@ export interface ContainerSpec {
|
|
|
83
83
|
environment?: EnvironmentVariable[] | null;
|
|
84
84
|
secrets?: string[];
|
|
85
85
|
pull_secret?: string | null;
|
|
86
|
-
storage?:
|
|
86
|
+
storage?: ContainerMountSpec;
|
|
87
87
|
api_key?: ServiceApiKeySpec;
|
|
88
88
|
}
|
|
89
89
|
export interface ExternalServiceSpec {
|
package/dist/node/entrypoint.js
CHANGED
|
@@ -2784,15 +2784,19 @@ var cleanupTransactions = (transactionCleanups, i) => {
|
|
|
2784
2784
|
event._path = null;
|
|
2785
2785
|
});
|
|
2786
2786
|
events.sort((event1, event2) => event1.path.length - event2.path.length);
|
|
2787
|
-
|
|
2787
|
+
fs.push(() => {
|
|
2788
|
+
callEventHandlerListeners(type._dEH, events, transaction);
|
|
2789
|
+
});
|
|
2790
|
+
}
|
|
2791
|
+
});
|
|
2792
|
+
fs.push(() => doc2.emit("afterTransaction", [transaction, doc2]));
|
|
2793
|
+
fs.push(() => {
|
|
2794
|
+
if (transaction._needFormattingCleanup) {
|
|
2795
|
+
cleanupYTextAfterTransaction(transaction);
|
|
2788
2796
|
}
|
|
2789
2797
|
});
|
|
2790
2798
|
});
|
|
2791
|
-
fs.push(() => doc2.emit("afterTransaction", [transaction, doc2]));
|
|
2792
2799
|
callAll(fs, []);
|
|
2793
|
-
if (transaction._needFormattingCleanup) {
|
|
2794
|
-
cleanupYTextAfterTransaction(transaction);
|
|
2795
|
-
}
|
|
2796
2800
|
}
|
|
2797
2801
|
finally {
|
|
2798
2802
|
if (doc2.gc) {
|
|
@@ -61,7 +61,7 @@ export interface ProjectStorageMountSpec {
|
|
|
61
61
|
subpath?: string | null;
|
|
62
62
|
read_only?: boolean;
|
|
63
63
|
}
|
|
64
|
-
export interface
|
|
64
|
+
export interface ContainerMountSpec {
|
|
65
65
|
room?: RoomStorageMountSpec[];
|
|
66
66
|
project?: ProjectStorageMountSpec[];
|
|
67
67
|
}
|
|
@@ -83,7 +83,7 @@ export interface ContainerSpec {
|
|
|
83
83
|
environment?: EnvironmentVariable[] | null;
|
|
84
84
|
secrets?: string[];
|
|
85
85
|
pull_secret?: string | null;
|
|
86
|
-
storage?:
|
|
86
|
+
storage?: ContainerMountSpec;
|
|
87
87
|
api_key?: ServiceApiKeySpec;
|
|
88
88
|
}
|
|
89
89
|
export interface ExternalServiceSpec {
|