@liveblocks/node 3.13.0-metadata1 → 3.13.0-metadata2

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.d.cts CHANGED
@@ -302,6 +302,12 @@ type CreateRoomOptions = {
302
302
  usersAccesses?: RoomAccesses;
303
303
  metadata?: RoomMetadata;
304
304
  tenantId?: string;
305
+ /**
306
+ * @private Preferred storage engine version to use when creating the
307
+ * room. Only takes effect if the room doesn't exist yet. Version
308
+ * 2 supports streaming and will become the default in the future.
309
+ */
310
+ engine?: 1 | 2;
305
311
  };
306
312
  type UpdateRoomOptions = {
307
313
  defaultAccesses?: RoomPermission | null;
package/dist/index.d.ts CHANGED
@@ -302,6 +302,12 @@ type CreateRoomOptions = {
302
302
  usersAccesses?: RoomAccesses;
303
303
  metadata?: RoomMetadata;
304
304
  tenantId?: string;
305
+ /**
306
+ * @private Preferred storage engine version to use when creating the
307
+ * room. Only takes effect if the room doesn't exist yet. Version
308
+ * 2 supports streaming and will become the default in the future.
309
+ */
310
+ engine?: 1 | 2;
305
311
  };
306
312
  type UpdateRoomOptions = {
307
313
  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-metadata1";
6
+ var PKG_VERSION = "3.13.0-metadata2";
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
  );