@liveblocks/node 3.20.0-perm2 → 3.20.0-perm4
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 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -5
- 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.20.0-
|
|
6
|
+
var PKG_VERSION = "3.20.0-perm4";
|
|
7
7
|
var PKG_FORMAT = "cjs";
|
|
8
8
|
|
|
9
9
|
// src/client.ts
|
|
@@ -115,7 +115,6 @@ function xwarn(resp, method, path) {
|
|
|
115
115
|
|
|
116
116
|
|
|
117
117
|
|
|
118
|
-
|
|
119
118
|
// src/utils.ts
|
|
120
119
|
var DEFAULT_BASE_URL = "https://api.liveblocks.io";
|
|
121
120
|
var VALID_KEY_CHARS_REGEX = /^[\w-]+$/;
|
|
@@ -223,9 +222,6 @@ var Session = (_class = class {
|
|
|
223
222
|
}
|
|
224
223
|
const existingPerms = this.#getOrCreate(roomIdOrPattern);
|
|
225
224
|
for (const perm of normalizedPermissions) {
|
|
226
|
-
for (const conflictingPerm of _core.getRoomPermissionConflicts.call(void 0, perm)) {
|
|
227
|
-
existingPerms.delete(conflictingPerm);
|
|
228
|
-
}
|
|
229
225
|
existingPerms.add(perm);
|
|
230
226
|
}
|
|
231
227
|
return this;
|