@liveblocks/node 3.22.0-file1 → 3.22.0-rc1
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 -13
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -9
- package/dist/index.d.ts +1 -9
- package/dist/index.js +1 -13
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -3,7 +3,7 @@ var _core = require('@liveblocks/core');
|
|
|
3
3
|
|
|
4
4
|
// src/version.ts
|
|
5
5
|
var PKG_NAME = "@liveblocks/node";
|
|
6
|
-
var PKG_VERSION = "3.22.0-
|
|
6
|
+
var PKG_VERSION = "3.22.0-rc1";
|
|
7
7
|
var PKG_FORMAT = "cjs";
|
|
8
8
|
|
|
9
9
|
// src/client.ts
|
|
@@ -1176,18 +1176,6 @@ var Liveblocks = class {
|
|
|
1176
1176
|
}
|
|
1177
1177
|
return await res.json();
|
|
1178
1178
|
}
|
|
1179
|
-
async getStorageFile(params, options) {
|
|
1180
|
-
const { roomId, fileId } = params;
|
|
1181
|
-
const res = await this.#get(
|
|
1182
|
-
_core.url`/v2/rooms/${roomId}/storage-files/${fileId}`,
|
|
1183
|
-
void 0,
|
|
1184
|
-
options
|
|
1185
|
-
);
|
|
1186
|
-
if (!res.ok) {
|
|
1187
|
-
throw await LiveblocksError.from(res);
|
|
1188
|
-
}
|
|
1189
|
-
return await res.json();
|
|
1190
|
-
}
|
|
1191
1179
|
/**
|
|
1192
1180
|
* Creates a new thread. The thread will be created with the specified comment as its first comment.
|
|
1193
1181
|
* If the thread already exists, a `LiveblocksError` will be thrown with status code 409.
|