loro-repo 0.0.0 → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/dist/index.cjs
CHANGED
|
@@ -195,7 +195,7 @@ var WebSocketTransportAdapter = class {
|
|
|
195
195
|
const auth = params.auth ?? this.options.docAuth?.(docId);
|
|
196
196
|
if (existing && existing.doc === doc && existing.roomId === roomId) return existing;
|
|
197
197
|
if (existing) await this.leaveDocSession(docId).catch(() => {});
|
|
198
|
-
const adaptor =
|
|
198
|
+
const adaptor = new loro_adaptors.LoroAdaptor(doc);
|
|
199
199
|
const room = await client.join({
|
|
200
200
|
roomId,
|
|
201
201
|
crdtAdaptor: adaptor,
|