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

loro-wasm

Package Overview
Dependencies
Maintainers
1
Versions
81
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

loro-wasm - npm Package Compare versions

Comparing version 0.8.0 to 0.9.0

3

bundler/loro_wasm_bg.wasm.d.ts

@@ -8,2 +8,3 @@ /* tslint:disable */

export function loro_new(): number;
export function loro_configTextStyle(a: number, b: number, c: number): void;
export function loro_fromSnapshot(a: number, b: number, c: number): void;

@@ -99,3 +100,3 @@ export function loro_attach(a: number): void;

export const __wbindgen_export_2: WebAssembly.Table;
export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__heae7db45ba32ba54(a: number, b: number, c: number): void;
export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h639be45697dfb576(a: number, b: number, c: number): void;
export function __wbindgen_add_to_stack_pointer(a: number): number;

@@ -102,0 +103,0 @@ export function __wbindgen_free(a: number, b: number): void;

@@ -186,2 +186,6 @@ /* tslint:disable */

/**
* @param {{[key: string]: { expand: 'before'|'after'|'none'|'both' }}} styles
*/
configTextStyle(styles: {[key: string]: { expand: 'before'|'after'|'none'|'both' }}): void;
/**
* Get a loro document from the snapshot.

@@ -1078,7 +1082,7 @@ *

* ```
* @param {{ start: number, end: number, expand?: 'before'|'after'|'both'|'none' }} range
* @param {{ start: number, end: number }} range
* @param {string} key
* @param {any} value
*/
mark(range: { start: number, end: number, expand?: 'before'|'after'|'both'|'none' }, key: string, value: any): void;
mark(range: { start: number, end: number }, key: string, value: any): void;
/**

@@ -1112,6 +1116,6 @@ * Unmark a range of text with a key and a value.

* ```
* @param {{ start: number, end: number, expand?: 'before'|'after'|'both'|'none' }} range
* @param {{ start: number, end: number }} range
* @param {string} key
*/
unmark(range: { start: number, end: number, expand?: 'before'|'after'|'both'|'none' }, key: string): void;
unmark(range: { start: number, end: number }, key: string): void;
/**

@@ -1118,0 +1122,0 @@ * Convert the state to string

# Changelog
## 0.9.0
### Minor Changes
- Refine the rich text CRDT in Loro
## 0.8.0

@@ -4,0 +10,0 @@

@@ -8,2 +8,3 @@ /* tslint:disable */

export function loro_new(): number;
export function loro_configTextStyle(a: number, b: number, c: number): void;
export function loro_fromSnapshot(a: number, b: number, c: number): void;

@@ -99,3 +100,3 @@ export function loro_attach(a: number): void;

export const __wbindgen_export_2: WebAssembly.Table;
export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__heae7db45ba32ba54(a: number, b: number, c: number): void;
export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h639be45697dfb576(a: number, b: number, c: number): void;
export function __wbindgen_add_to_stack_pointer(a: number): number;

@@ -102,0 +103,0 @@ export function __wbindgen_free(a: number, b: number): void;

@@ -186,2 +186,6 @@ /* tslint:disable */

/**
* @param {{[key: string]: { expand: 'before'|'after'|'none'|'both' }}} styles
*/
configTextStyle(styles: {[key: string]: { expand: 'before'|'after'|'none'|'both' }}): void;
/**
* Get a loro document from the snapshot.

@@ -1078,7 +1082,7 @@ *

* ```
* @param {{ start: number, end: number, expand?: 'before'|'after'|'both'|'none' }} range
* @param {{ start: number, end: number }} range
* @param {string} key
* @param {any} value
*/
mark(range: { start: number, end: number, expand?: 'before'|'after'|'both'|'none' }, key: string, value: any): void;
mark(range: { start: number, end: number }, key: string, value: any): void;
/**

@@ -1112,6 +1116,6 @@ * Unmark a range of text with a key and a value.

* ```
* @param {{ start: number, end: number, expand?: 'before'|'after'|'both'|'none' }} range
* @param {{ start: number, end: number }} range
* @param {string} key
*/
unmark(range: { start: number, end: number, expand?: 'before'|'after'|'both'|'none' }, key: string): void;
unmark(range: { start: number, end: number }, key: string): void;
/**

@@ -1118,0 +1122,0 @@ * Convert the state to string

{
"name": "loro-wasm",
"version": "0.8.0",
"version": "0.9.0",
"description": "Loro CRDTs is a high-performance CRDT framework that makes your app state synchronized, collaborative and maintainable effortlessly.",

@@ -5,0 +5,0 @@ "keywords": [

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

Sorry, the diff of this file is too big to display

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