Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

loro-crdt

Package Overview
Dependencies
Maintainers
1
Versions
100
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

loro-crdt - npm Package Compare versions

Comparing version 0.14.3 to 0.14.4

6

dist/loro.d.ts

@@ -1,2 +0,2 @@

import { AwarenessWasm, PeerID as PeerID$1, Container, ContainerID, TreeID, OpId, Delta, Value, LoroText, LoroMap, LoroTree, LoroList } from 'loro-wasm';
import { Value, AwarenessWasm, PeerID as PeerID$1, Container, ContainerID, TreeID, OpId, Delta, LoroText, LoroMap, LoroTree, LoroList } from 'loro-wasm';
export * from 'loro-wasm';

@@ -16,3 +16,3 @@ export { Loro } from 'loro-wasm';

*/
declare class Awareness<T> {
declare class Awareness<T extends Value = Value> {
inner: AwarenessWasm<T>;

@@ -374,3 +374,3 @@ private peer;

}
interface AwarenessWasm<T = unknown> {
interface AwarenessWasm<T extends Value = Value> {
getState(peer: PeerID): T | undefined;

@@ -377,0 +377,0 @@ getTimestamp(peer: PeerID): number | undefined;

{
"name": "loro-crdt",
"version": "0.14.3",
"version": "0.14.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.14.3"
"loro-wasm": "0.14.4"
},

@@ -23,0 +23,0 @@ "devDependencies": {

@@ -1,2 +0,2 @@

import { AwarenessWasm, PeerID } from "loro-wasm";
import { AwarenessWasm, PeerID, Value } from "loro-wasm";

@@ -14,3 +14,3 @@ export type AwarenessListener = (

*/
export class Awareness<T> {
export class Awareness<T extends Value = Value> {
inner: AwarenessWasm<T>;

@@ -17,0 +17,0 @@ private peer: PeerID;

@@ -416,3 +416,3 @@ export * from "loro-wasm";

interface AwarenessWasm<
T = unknown,
T extends Value = Value,
> {

@@ -419,0 +419,0 @@ getState(peer: PeerID): T | undefined;

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc