loro-crdt
Advanced tools
Comparing version 1.0.0-alpha.0 to 1.0.0-alpha.1
import { Value, AwarenessWasm, PeerID as PeerID$1, Container, ContainerID, TreeID, LoroDoc, OpId, Delta, LoroText, LoroMap, LoroTree, LoroList, LoroCounter } from 'loro-wasm'; | ||
export * from 'loro-wasm'; | ||
export { LoroDoc } from 'loro-wasm'; | ||
export { AwarenessWasm, Change, Container, ContainerID, ContainerType, Cursor, Delta, ExportMode, ImportBlobMetadata, JsonChange, JsonContainerID, JsonOp, JsonOpID, JsonSchema, JsonValue, ListOp, LoroCounter, LoroDoc, LoroList, LoroMap, LoroMovableList, LoroText, LoroTree, LoroTreeNode, MapOp, MovableListOp, OpId, PeerID, Side, TextOp, TreeID, TreeNodeValue, TreeOp, UndoConfig, UndoManager, UnknownOp, Value, VersionVector, decodeImportBlobMeta, newContainerID, newRootContainerID, setDebug } from 'loro-wasm'; | ||
@@ -135,3 +134,2 @@ type AwarenessListener = (arg: { | ||
declare function isContainerId(s: string): s is ContainerID; | ||
/** Whether the value is a container. | ||
@@ -138,0 +136,0 @@ * |
170
dist/loro.js
@@ -110,2 +110,70 @@ 'use strict'; | ||
Object.defineProperty(exports, 'AwarenessWasm', { | ||
enumerable: true, | ||
get: function () { return loroWasm.AwarenessWasm; } | ||
}); | ||
Object.defineProperty(exports, 'Change', { | ||
enumerable: true, | ||
get: function () { return loroWasm.Change; } | ||
}); | ||
Object.defineProperty(exports, 'Container', { | ||
enumerable: true, | ||
get: function () { return loroWasm.Container; } | ||
}); | ||
Object.defineProperty(exports, 'ContainerID', { | ||
enumerable: true, | ||
get: function () { return loroWasm.ContainerID; } | ||
}); | ||
Object.defineProperty(exports, 'ContainerType', { | ||
enumerable: true, | ||
get: function () { return loroWasm.ContainerType; } | ||
}); | ||
Object.defineProperty(exports, 'Cursor', { | ||
enumerable: true, | ||
get: function () { return loroWasm.Cursor; } | ||
}); | ||
Object.defineProperty(exports, 'Delta', { | ||
enumerable: true, | ||
get: function () { return loroWasm.Delta; } | ||
}); | ||
Object.defineProperty(exports, 'ExportMode', { | ||
enumerable: true, | ||
get: function () { return loroWasm.ExportMode; } | ||
}); | ||
Object.defineProperty(exports, 'ImportBlobMetadata', { | ||
enumerable: true, | ||
get: function () { return loroWasm.ImportBlobMetadata; } | ||
}); | ||
Object.defineProperty(exports, 'JsonChange', { | ||
enumerable: true, | ||
get: function () { return loroWasm.JsonChange; } | ||
}); | ||
Object.defineProperty(exports, 'JsonContainerID', { | ||
enumerable: true, | ||
get: function () { return loroWasm.JsonContainerID; } | ||
}); | ||
Object.defineProperty(exports, 'JsonOp', { | ||
enumerable: true, | ||
get: function () { return loroWasm.JsonOp; } | ||
}); | ||
Object.defineProperty(exports, 'JsonOpID', { | ||
enumerable: true, | ||
get: function () { return loroWasm.JsonOpID; } | ||
}); | ||
Object.defineProperty(exports, 'JsonSchema', { | ||
enumerable: true, | ||
get: function () { return loroWasm.JsonSchema; } | ||
}); | ||
Object.defineProperty(exports, 'JsonValue', { | ||
enumerable: true, | ||
get: function () { return loroWasm.JsonValue; } | ||
}); | ||
Object.defineProperty(exports, 'ListOp', { | ||
enumerable: true, | ||
get: function () { return loroWasm.ListOp; } | ||
}); | ||
Object.defineProperty(exports, 'LoroCounter', { | ||
enumerable: true, | ||
get: function () { return loroWasm.LoroCounter; } | ||
}); | ||
Object.defineProperty(exports, 'LoroDoc', { | ||
@@ -115,2 +183,98 @@ enumerable: true, | ||
}); | ||
Object.defineProperty(exports, 'LoroList', { | ||
enumerable: true, | ||
get: function () { return loroWasm.LoroList; } | ||
}); | ||
Object.defineProperty(exports, 'LoroMap', { | ||
enumerable: true, | ||
get: function () { return loroWasm.LoroMap; } | ||
}); | ||
Object.defineProperty(exports, 'LoroMovableList', { | ||
enumerable: true, | ||
get: function () { return loroWasm.LoroMovableList; } | ||
}); | ||
Object.defineProperty(exports, 'LoroText', { | ||
enumerable: true, | ||
get: function () { return loroWasm.LoroText; } | ||
}); | ||
Object.defineProperty(exports, 'LoroTree', { | ||
enumerable: true, | ||
get: function () { return loroWasm.LoroTree; } | ||
}); | ||
Object.defineProperty(exports, 'LoroTreeNode', { | ||
enumerable: true, | ||
get: function () { return loroWasm.LoroTreeNode; } | ||
}); | ||
Object.defineProperty(exports, 'MapOp', { | ||
enumerable: true, | ||
get: function () { return loroWasm.MapOp; } | ||
}); | ||
Object.defineProperty(exports, 'MovableListOp', { | ||
enumerable: true, | ||
get: function () { return loroWasm.MovableListOp; } | ||
}); | ||
Object.defineProperty(exports, 'OpId', { | ||
enumerable: true, | ||
get: function () { return loroWasm.OpId; } | ||
}); | ||
Object.defineProperty(exports, 'PeerID', { | ||
enumerable: true, | ||
get: function () { return loroWasm.PeerID; } | ||
}); | ||
Object.defineProperty(exports, 'Side', { | ||
enumerable: true, | ||
get: function () { return loroWasm.Side; } | ||
}); | ||
Object.defineProperty(exports, 'TextOp', { | ||
enumerable: true, | ||
get: function () { return loroWasm.TextOp; } | ||
}); | ||
Object.defineProperty(exports, 'TreeID', { | ||
enumerable: true, | ||
get: function () { return loroWasm.TreeID; } | ||
}); | ||
Object.defineProperty(exports, 'TreeNodeValue', { | ||
enumerable: true, | ||
get: function () { return loroWasm.TreeNodeValue; } | ||
}); | ||
Object.defineProperty(exports, 'TreeOp', { | ||
enumerable: true, | ||
get: function () { return loroWasm.TreeOp; } | ||
}); | ||
Object.defineProperty(exports, 'UndoConfig', { | ||
enumerable: true, | ||
get: function () { return loroWasm.UndoConfig; } | ||
}); | ||
Object.defineProperty(exports, 'UndoManager', { | ||
enumerable: true, | ||
get: function () { return loroWasm.UndoManager; } | ||
}); | ||
Object.defineProperty(exports, 'UnknownOp', { | ||
enumerable: true, | ||
get: function () { return loroWasm.UnknownOp; } | ||
}); | ||
Object.defineProperty(exports, 'Value', { | ||
enumerable: true, | ||
get: function () { return loroWasm.Value; } | ||
}); | ||
Object.defineProperty(exports, 'VersionVector', { | ||
enumerable: true, | ||
get: function () { return loroWasm.VersionVector; } | ||
}); | ||
Object.defineProperty(exports, 'decodeImportBlobMeta', { | ||
enumerable: true, | ||
get: function () { return loroWasm.decodeImportBlobMeta; } | ||
}); | ||
Object.defineProperty(exports, 'newContainerID', { | ||
enumerable: true, | ||
get: function () { return loroWasm.newContainerID; } | ||
}); | ||
Object.defineProperty(exports, 'newRootContainerID', { | ||
enumerable: true, | ||
get: function () { return loroWasm.newRootContainerID; } | ||
}); | ||
Object.defineProperty(exports, 'setDebug', { | ||
enumerable: true, | ||
get: function () { return loroWasm.setDebug; } | ||
}); | ||
exports.Awareness = Awareness; | ||
@@ -121,8 +285,2 @@ exports.Loro = Loro; | ||
exports.isContainerId = isContainerId; | ||
Object.keys(loroWasm).forEach(function (k) { | ||
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, { | ||
enumerable: true, | ||
get: function () { return loroWasm[k]; } | ||
}); | ||
}); | ||
//# sourceMappingURL=loro.js.map |
{ | ||
"name": "loro-crdt", | ||
"version": "1.0.0-alpha.0", | ||
"version": "1.0.0-alpha.1", | ||
"description": "Loro CRDTs is a high-performance CRDT framework that makes your app state synchronized, collaborative and maintainable effortlessly.", | ||
@@ -24,3 +24,3 @@ "keywords": [ | ||
"dependencies": { | ||
"loro-wasm": "1.0.0-alpha.0" | ||
"loro-wasm": "1.0.0-alpha.1" | ||
}, | ||
@@ -27,0 +27,0 @@ "devDependencies": { |
Sorry, the diff of this file is not supported yet
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
93254
976
+ Addedloro-wasm@1.0.0-alpha.1(transitive)
- Removedloro-wasm@1.0.0-alpha.0(transitive)
Updatedloro-wasm@1.0.0-alpha.1