@liveblocks/yjs
Advanced tools
Comparing version 2.12.1-test1 to 2.12.1-test2
@@ -83,2 +83,3 @@ import { JsonObject, LsonObject, BaseUserMeta, Json, BaseMetadata, Room, User } from '@liveblocks/client'; | ||
clearOfflineData(): Promise<void>; | ||
getYDoc(): Y.Doc; | ||
disconnect(): void; | ||
@@ -85,0 +86,0 @@ connect(): void; |
@@ -283,3 +283,3 @@ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }// src/index.ts | ||
var PKG_NAME = "@liveblocks/yjs"; | ||
var PKG_VERSION = "2.12.1-test1"; | ||
var PKG_VERSION = "2.12.1-test2"; | ||
var PKG_FORMAT = "cjs"; | ||
@@ -465,2 +465,5 @@ | ||
} | ||
getYDoc() { | ||
return this.rootDoc; | ||
} | ||
// Some provider implementations expect to be able to call connect/disconnect, implement as noop | ||
@@ -467,0 +470,0 @@ disconnect() { |
{ | ||
"name": "@liveblocks/yjs", | ||
"version": "2.12.1-test1", | ||
"version": "2.12.1-test2", | ||
"description": "An integration with . Liveblocks is the all-in-one toolkit to build collaborative products like Figma, Notion, and more.", | ||
@@ -36,4 +36,4 @@ "license": "Apache-2.0", | ||
"dependencies": { | ||
"@liveblocks/client": "2.12.1-test1", | ||
"@liveblocks/core": "2.12.1-test1", | ||
"@liveblocks/client": "2.12.1-test2", | ||
"@liveblocks/core": "2.12.1-test2", | ||
"js-base64": "^3.7.7", | ||
@@ -40,0 +40,0 @@ "y-indexeddb": "^9.0.12" |
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
119112
1014
+ Added@liveblocks/client@2.12.1-test2(transitive)
+ Added@liveblocks/core@2.12.1-test2(transitive)
- Removed@liveblocks/client@2.12.1-test1(transitive)
- Removed@liveblocks/core@2.12.1-test1(transitive)