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

@cocreate/crdt

Package Overview
Dependencies
Maintainers
1
Versions
265
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cocreate/crdt - npm Package Compare versions

Comparing version 1.1.2 to 1.1.3

8

CHANGELOG.md

@@ -0,1 +1,9 @@

## [1.1.3](https://github.com/CoCreate-app/CoCreate-crdt/compare/v1.1.2...v1.1.3) (2021-06-04)
### Bug Fixes
* update dependencies ([f24ad73](https://github.com/CoCreate-app/CoCreate-crdt/commit/f24ad7319bcae5ade218f728fae392830979f7d6))
* upgrade dependencies ([edb1b68](https://github.com/CoCreate-app/CoCreate-crdt/commit/edb1b6811a790fc2aca6d2fb2d240f2771f9c629))
## [1.1.2](https://github.com/CoCreate-app/CoCreate-crdt/compare/v1.1.1...v1.1.2) (2021-05-17)

@@ -2,0 +10,0 @@

6

package.json
{
"name": "@cocreate/crdt",
"version": "1.1.2",
"version": "1.1.3",
"description": "CoCreate crdt",

@@ -19,7 +19,7 @@ "author": "CoCreate LLC",

"@cocreate/crud-client": "^1.0.3",
"@cocreate/cursors": "^1.1.5",
"@cocreate/cursors": "^1.1.8",
"y-indexeddb": "^9.0.5",
"y-webrtc": "^10.1.5",
"y-websocket": "^1.2.5",
"yjs": "^13.0.0-89"
"yjs": "^13.5.9"
},

@@ -26,0 +26,0 @@ "funding": {

@@ -7,3 +7,3 @@ import * as Y from 'yjs'

const debug = false;
const debug = true;

@@ -67,5 +67,5 @@ class CoCreateYSocket {

const f = clientId => {
if (clientId !== this.doc.clientID) {
// if (clientId !== this.doc.clientID) {
this.updateRemoteSelection(yDoc, id, yDoc.getText(id), this._cursors, clientId, awareness)
}
// }
}

@@ -145,3 +145,3 @@ event.added.forEach(f)

__setTypeObserveEvent(event, elements, id) {
console.log('set crdt event', event.delta)
console.log('set crdt event .', event.delta)
if (!id) return;

@@ -245,3 +245,3 @@

if (this.docs[info.id]) {
console.log("!Get data")
// console.log("!Get data")
return this.docs[info.id].doc.getText(id).toString();

@@ -416,3 +416,3 @@ } else {

const type = this.getType(id);
//console.log("Type ",type)
console.log("Type ",type)
if (!type) {

@@ -419,0 +419,0 @@ return;

@@ -29,3 +29,3 @@ import CoCreateYSocket from "./core.js"

const status = this.createDoc(id, info.element)
console.log("InitCrdt")
// console.log("InitCrdt")
} catch(e) {

@@ -32,0 +32,0 @@ console.log('Invalid param', e);

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