loro-crdt
Advanced tools
Comparing version 0.14.4 to 0.14.5
@@ -172,3 +172,3 @@ import { Value, AwarenessWasm, PeerID as PeerID$1, Container, ContainerID, TreeID, OpId, Delta, LoroText, LoroMap, LoroTree, LoroList } from 'loro-wasm'; | ||
*/ | ||
getMap<Key extends keyof T>(name: Key): T[Key] extends LoroMap ? T[Key] : LoroMap; | ||
getMap<Key extends (keyof T) | ContainerID>(name: Key): T[Key] extends LoroMap ? T[Key] : LoroMap; | ||
/** | ||
@@ -188,3 +188,3 @@ * Get a LoroList by container id | ||
*/ | ||
getList<Key extends keyof T>(name: Key): T[Key] extends LoroList ? T[Key] : LoroList; | ||
getList<Key extends (keyof T) | ContainerID>(name: Key): T[Key] extends LoroList ? T[Key] : LoroList; | ||
/** | ||
@@ -204,3 +204,3 @@ * Get a LoroTree by container id | ||
*/ | ||
getTree<Key extends keyof T>(name: Key): T[Key] extends LoroTree ? T[Key] : LoroTree; | ||
getTree<Key extends (keyof T) | ContainerID>(name: Key): T[Key] extends LoroTree ? T[Key] : LoroTree; | ||
getText(key: string | ContainerID): LoroText; | ||
@@ -207,0 +207,0 @@ } |
{ | ||
"name": "loro-crdt", | ||
"version": "0.14.4", | ||
"version": "0.14.5", | ||
"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.14.4" | ||
"loro-wasm": "0.14.5" | ||
}, | ||
@@ -23,0 +23,0 @@ "devDependencies": { |
@@ -190,3 +190,3 @@ export * from "loro-wasm"; | ||
*/ | ||
getMap<Key extends keyof T>( | ||
getMap<Key extends (keyof T) | ContainerID>( | ||
name: Key, | ||
@@ -208,3 +208,3 @@ ): T[Key] extends LoroMap ? T[Key] : LoroMap; | ||
*/ | ||
getList<Key extends keyof T>( | ||
getList<Key extends (keyof T) | ContainerID>( | ||
name: Key, | ||
@@ -226,3 +226,3 @@ ): T[Key] extends LoroList ? T[Key] : LoroList; | ||
*/ | ||
getTree<Key extends keyof T>( | ||
getTree<Key extends (keyof T) | ContainerID>( | ||
name: Key, | ||
@@ -229,0 +229,0 @@ ): T[Key] extends LoroTree ? T[Key] : LoroTree; |
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
151814
1
+ Addedloro-wasm@0.14.5(transitive)
- Removedloro-wasm@0.14.4(transitive)
Updatedloro-wasm@0.14.5