@liveblocks/node 3.20.0-perm4 → 3.20.0-perm5

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 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-perm4";
6
+ var PKG_VERSION = "3.20.0-perm5";
7
7
  var PKG_FORMAT = "cjs";
8
8
 
9
9
  // src/client.ts
@@ -168,8 +168,8 @@ function normalizeStatusCode(statusCode) {
168
168
 
169
169
  // src/Session.ts
170
170
  var MAX_PERMS_PER_SET = 10;
171
- var READ_ACCESS = Object.freeze([_core.Permission.RoomRead]);
172
- var FULL_ACCESS = Object.freeze([_core.Permission.RoomWrite]);
171
+ var READ_ACCESS = Object.freeze([_core.Permission.Read]);
172
+ var FULL_ACCESS = Object.freeze([_core.Permission.Write]);
173
173
  var roomPatternRegex = /^([*]|[^*]{1,128}[*]?)$/;
174
174
  var Session = (_class = class {
175
175
  __init() {this.FULL_ACCESS = FULL_ACCESS}