loro-crdt
Advanced tools
Comparing version 0.15.3 to 0.15.4
@@ -100,4 +100,2 @@ import { Value, AwarenessWasm, PeerID as PeerID$1, Container, ContainerID, TreeID, OpId, Delta, LoroText, LoroMap, LoroTree, LoroList } from 'loro-wasm'; | ||
parent: TreeID | undefined; | ||
index: number; | ||
position: string; | ||
} | { | ||
@@ -110,4 +108,2 @@ target: TreeID; | ||
parent: TreeID | undefined; | ||
index: number; | ||
position: string; | ||
}; | ||
@@ -490,4 +486,4 @@ type TreeDiff = { | ||
new (): LoroTree<T>; | ||
createNode(parent?: TreeID, index?: number): LoroTreeNode<T>; | ||
move(target: TreeID, parent?: TreeID, index?: number): void; | ||
createNode(parent: TreeID | undefined): LoroTreeNode<T>; | ||
move(target: TreeID, parent: TreeID | undefined): void; | ||
delete(target: TreeID): void; | ||
@@ -503,4 +499,5 @@ has(target: TreeID): boolean; | ||
readonly data: LoroMap<T>; | ||
createNode(index?: number): LoroTreeNode<T>; | ||
move(parent?: LoroTreeNode<T>, index?: number): void; | ||
createNode(): LoroTreeNode<T>; | ||
setAsRoot(): void; | ||
moveTo(parent: LoroTreeNode<T>): void; | ||
parent(): LoroTreeNode<T> | undefined; | ||
@@ -507,0 +504,0 @@ children(): Array<LoroTreeNode<T>>; |
{ | ||
"name": "loro-crdt", | ||
"version": "0.15.3", | ||
"version": "0.15.4", | ||
"description": "Loro CRDTs is a high-performance CRDT framework that makes your app state synchronized, collaborative and maintainable effortlessly.", | ||
@@ -20,3 +20,3 @@ "keywords": [ | ||
"dependencies": { | ||
"loro-wasm": "0.15.3" | ||
"loro-wasm": "0.15.4" | ||
}, | ||
@@ -23,0 +23,0 @@ "devDependencies": { |
@@ -85,5 +85,5 @@ export * from "loro-wasm"; | ||
export type TreeDiffItem = | ||
| { target: TreeID; action: "create"; parent: TreeID | undefined; index: number; position: string } | ||
| { target: TreeID; action: "create"; parent: TreeID | undefined } | ||
| { target: TreeID; action: "delete" } | ||
| { target: TreeID; action: "move"; parent: TreeID | undefined; index: number; position: string }; | ||
| { target: TreeID; action: "move"; parent: TreeID | undefined }; | ||
@@ -535,4 +535,4 @@ export type TreeDiff = { | ||
new (): LoroTree<T>; | ||
createNode(parent?: TreeID, index?: number ): LoroTreeNode<T>; | ||
move(target: TreeID, parent?: TreeID, index?: number): void; | ||
createNode(parent: TreeID | undefined): LoroTreeNode<T>; | ||
move(target: TreeID, parent: TreeID | undefined): void; | ||
delete(target: TreeID): void; | ||
@@ -551,4 +551,5 @@ has(target: TreeID): boolean; | ||
readonly data: LoroMap<T>; | ||
createNode(index?: number): LoroTreeNode<T>; | ||
move(parent?: LoroTreeNode<T>, index?: number): void; | ||
createNode(): LoroTreeNode<T>; | ||
setAsRoot(): void; | ||
moveTo(parent: LoroTreeNode<T>): void; | ||
parent(): LoroTreeNode<T> | undefined; | ||
@@ -555,0 +556,0 @@ children(): Array<LoroTreeNode<T>>; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
173186
1534
+ Addedloro-wasm@0.15.4(transitive)
- Removedloro-wasm@0.15.3(transitive)
Updatedloro-wasm@0.15.4