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

y-protocols

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

y-protocols - npm Package Compare versions

Comparing version 1.0.5 to 1.0.6

6

auth.d.ts

@@ -5,5 +5,5 @@ export const messagePermissionDenied: 0;

export type PermissionDeniedHandler = (y: any, reason: string) => any;
import * as encoding from "lib0/encoding";
import * as decoding from "lib0/decoding";
import * as Y from "yjs";
import * as encoding from 'lib0/encoding';
import * as decoding from 'lib0/decoding';
import * as Y from 'yjs';
//# sourceMappingURL=auth.d.ts.map

@@ -84,4 +84,4 @@ export const outdatedTimeout: 30000;

};
import { Observable } from "lib0/observable";
import * as Y from "yjs";
import { Observable } from 'lib0/observable';
import * as Y from 'yjs';
//# sourceMappingURL=awareness.d.ts.map
export function testAwareness(tc: t.TestCase): void;
import * as t from "lib0/testing";
import * as t from 'lib0/testing';
//# sourceMappingURL=awareness.test.d.ts.map
{
"name": "y-protocols",
"version": "1.0.5",
"version": "1.0.6",
"description": "Yjs encoding protocols",

@@ -50,2 +50,4 @@ "type": "module",

"./sync": {
"types": "./sync.d.ts",
"module": "./sync.js",
"import": "./sync.js",

@@ -57,2 +59,4 @@ "require": "./dist/sync.cjs"

"./awareness": {
"types": "./awareness.d.ts",
"module": "./awareness.js",
"import": "./awareness.js",

@@ -64,2 +68,4 @@ "require": "./dist/awareness.cjs"

"./auth": {
"types": "./auth.d.ts",
"module": "./auth.js",
"import": "./auth.js",

@@ -70,16 +76,21 @@ "require": "./dist/auth.cjs"

"dependencies": {
"lib0": "^0.2.42"
"lib0": "^0.2.85"
},
"devDependencies": {
"@rollup/plugin-commonjs": "^17.1.0",
"@rollup/plugin-node-resolve": "^11.2.1",
"@rollup/plugin-commonjs": "^25.0.4",
"@rollup/plugin-node-resolve": "^15.2.1",
"@types/node": "^20.6.2",
"concurrently": "^5.3.0",
"rollup": "^2.48.0",
"rollup": "^3.29.2",
"standard": "^12.0.1",
"typescript": "^4.2.4",
"typescript": "^5.2.2",
"yjs": "^13.5.6"
},
"peerDependenies": {
"peerDependencies": {
"yjs": "^13.0.0"
},
"engines": {
"npm": ">=8.0.0",
"node": ">=16.0.0"
}
}
# Yjs Protocols
> Binary encoding protocols for *syncing*, *awareness*, and *history inforamtion*
> Binary encoding protocols for *syncing*, *awareness*, and *history information*

@@ -4,0 +4,0 @@ This API is unstable and subject to change.

@@ -18,4 +18,4 @@ /**

* client knows that the sync is finished. There are two reasons for this more elaborated sync model: 1. This protocol can
* easily be implemented on top of http and websockets. 2. The server shoul only reply to requests, and not initiate them.
* Therefore it is necesarry that the client initiates the sync.
* easily be implemented on top of http and websockets. 2. The server should only reply to requests, and not initiate them.
* Therefore it is necessary that the client initiates the sync.
*

@@ -40,5 +40,5 @@ * Construction of a message:

export type StateMap = Map<number, number>;
import * as encoding from "lib0/encoding";
import * as Y from "yjs";
import * as decoding from "lib0/decoding";
import * as encoding from 'lib0/encoding';
import * as Y from 'yjs';
import * as decoding from 'lib0/decoding';
//# sourceMappingURL=sync.d.ts.map

@@ -27,4 +27,4 @@ /**

* client knows that the sync is finished. There are two reasons for this more elaborated sync model: 1. This protocol can
* easily be implemented on top of http and websockets. 2. The server shoul only reply to requests, and not initiate them.
* Therefore it is necesarry that the client initiates the sync.
* easily be implemented on top of http and websockets. 2. The server should only reply to requests, and not initiate them.
* Therefore it is necessary that the client initiates the sync.
*

@@ -111,3 +111,3 @@ * Construction of a message:

* @param {decoding.Decoder} decoder A message received from another client
* @param {encoding.Encoder} encoder The reply message. Will not be sent if empty.
* @param {encoding.Encoder} encoder The reply message. Does not need to be sent if empty.
* @param {Y.Doc} doc

@@ -114,0 +114,0 @@ * @param {any} transactionOrigin

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

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

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

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

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