@liveblocks/node 3.13.0-ack1 → 3.13.0-vincent1
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 +5 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +6 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.js +5 -3
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.d.cts
CHANGED
|
@@ -288,6 +288,12 @@ type CreateRoomOptions = {
|
|
|
288
288
|
usersAccesses?: RoomAccesses;
|
|
289
289
|
metadata?: RoomMetadata;
|
|
290
290
|
tenantId?: string;
|
|
291
|
+
/**
|
|
292
|
+
* @private Preferred storage engine version to use when creating the
|
|
293
|
+
* room. Only takes effect if the room doesn't exist yet. Version
|
|
294
|
+
* 2 supports streaming and will become the default in the future.
|
|
295
|
+
*/
|
|
296
|
+
engine?: 1 | 2;
|
|
291
297
|
};
|
|
292
298
|
type UpdateRoomOptions = {
|
|
293
299
|
defaultAccesses?: RoomPermission | null;
|
package/dist/index.d.ts
CHANGED
|
@@ -288,6 +288,12 @@ type CreateRoomOptions = {
|
|
|
288
288
|
usersAccesses?: RoomAccesses;
|
|
289
289
|
metadata?: RoomMetadata;
|
|
290
290
|
tenantId?: string;
|
|
291
|
+
/**
|
|
292
|
+
* @private Preferred storage engine version to use when creating the
|
|
293
|
+
* room. Only takes effect if the room doesn't exist yet. Version
|
|
294
|
+
* 2 supports streaming and will become the default in the future.
|
|
295
|
+
*/
|
|
296
|
+
engine?: 1 | 2;
|
|
291
297
|
};
|
|
292
298
|
type UpdateRoomOptions = {
|
|
293
299
|
defaultAccesses?: RoomPermission | null;
|
package/dist/index.js
CHANGED
|
@@ -3,7 +3,7 @@ import { detectDupes } from "@liveblocks/core";
|
|
|
3
3
|
|
|
4
4
|
// src/version.ts
|
|
5
5
|
var PKG_NAME = "@liveblocks/node";
|
|
6
|
-
var PKG_VERSION = "3.13.0-
|
|
6
|
+
var PKG_VERSION = "3.13.0-vincent1";
|
|
7
7
|
var PKG_FORMAT = "esm";
|
|
8
8
|
|
|
9
9
|
// src/client.ts
|
|
@@ -559,7 +559,8 @@ var Liveblocks = class {
|
|
|
559
559
|
groupsAccesses,
|
|
560
560
|
usersAccesses,
|
|
561
561
|
metadata,
|
|
562
|
-
tenantId
|
|
562
|
+
tenantId,
|
|
563
|
+
engine
|
|
563
564
|
} = params;
|
|
564
565
|
const res = await this.#post(
|
|
565
566
|
options?.idempotent ? url2`/v2/rooms?idempotent` : url2`/v2/rooms`,
|
|
@@ -569,7 +570,8 @@ var Liveblocks = class {
|
|
|
569
570
|
groupsAccesses,
|
|
570
571
|
usersAccesses,
|
|
571
572
|
tenantId,
|
|
572
|
-
metadata
|
|
573
|
+
metadata,
|
|
574
|
+
engine
|
|
573
575
|
},
|
|
574
576
|
options
|
|
575
577
|
);
|