New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

ywasm

Package Overview
Dependencies
Maintainers
2
Versions
67
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ywasm - npm Package Compare versions

Comparing version 0.14.1 to 0.15.0

2

package.json

@@ -8,3 +8,3 @@ {

"description": "High performance implementation of the Yjs CRDT",
"version": "0.14.1",
"version": "0.15.0",
"license": "MIT",

@@ -11,0 +11,0 @@ "repository": {

@@ -118,4 +118,5 @@ /* tslint:disable */

* @param {Uint8Array} diff
* @param {any} origin
*/
export function applyUpdate(doc: YDoc, diff: Uint8Array): void;
export function applyUpdate(doc: YDoc, diff: Uint8Array, origin: any): void;
/**

@@ -142,4 +143,5 @@ * Applies delta update generated by the remote document replica to a current document. This

* @param {Uint8Array} diff
* @param {any} origin
*/
export function applyUpdateV2(doc: YDoc, diff: Uint8Array): void;
export function applyUpdateV2(doc: YDoc, diff: Uint8Array, origin: any): void;
/**

@@ -480,5 +482,6 @@ * @param {YDoc} doc

* ```
* @param {any} origin
* @returns {YTransaction}
*/
writeTransaction(): YTransaction;
writeTransaction(origin: any): YTransaction;
/**

@@ -1214,5 +1217,85 @@ * Returns a `YText` shared data type, that's accessible for subsequent accesses using given

encodeUpdateV2(): Uint8Array;
/**
* Returns true if current transaction can be used only for updating the document store.
* @returns {any}
*/
readonly origin: any;
}
/**
*/
export class YUndoEvent {
free(): void;
/**
* @returns {any}
*/
readonly kind: any;
/**
* @returns {any}
*/
readonly origin: any;
/**
* @returns {any}
*/
readonly stackItem: any;
}
/**
*/
export class YUndoManager {
free(): void;
/**
* @param {YDoc} doc
* @param {any} scope
* @param {any} options
*/
constructor(doc: YDoc, scope: any, options: any);
/**
* @param {Array<any>} ytypes
*/
addToScope(ytypes: Array<any>): void;
/**
* @param {any} origin
*/
addTrackedOrigin(origin: any): void;
/**
* @param {any} origin
*/
removeTrackedOrigin(origin: any): void;
/**
*/
clear(): void;
/**
*/
stopCapturing(): void;
/**
*/
undo(): void;
/**
*/
redo(): void;
/**
* @returns {boolean}
*/
canUndo(): boolean;
/**
* @returns {boolean}
*/
canRedo(): boolean;
/**
* @param {Function} callback
* @returns {YUndoObserver}
*/
onStackItemAdded(callback: Function): YUndoObserver;
/**
* @param {Function} callback
* @returns {YUndoObserver}
*/
onStackItemPopped(callback: Function): YUndoObserver;
}
/**
*/
export class YUndoObserver {
free(): void;
}
/**
*/
export class YUpdateObserver {

@@ -1219,0 +1302,0 @@ free(): void;

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