@liveblocks/core 2.17.0-usrnotsettings2 → 2.17.0-usrnotsettings3

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.mts CHANGED
@@ -1583,6 +1583,8 @@ type CommentsOrNotificationsErrorContext = {
1583
1583
  } | {
1584
1584
  type: "UPDATE_NOTIFICATION_SETTINGS_ERROR";
1585
1585
  roomId: string;
1586
+ } | {
1587
+ type: "UPDATE_USER_NOTIFICATION_SETTINGS_ERROR";
1586
1588
  };
1587
1589
  type LiveblocksErrorContext = Relax<RoomConnectionErrorContext | CommentsOrNotificationsErrorContext>;
1588
1590
  declare class LiveblocksError extends Error {
package/dist/index.d.ts CHANGED
@@ -1583,6 +1583,8 @@ type CommentsOrNotificationsErrorContext = {
1583
1583
  } | {
1584
1584
  type: "UPDATE_NOTIFICATION_SETTINGS_ERROR";
1585
1585
  roomId: string;
1586
+ } | {
1587
+ type: "UPDATE_USER_NOTIFICATION_SETTINGS_ERROR";
1586
1588
  };
1587
1589
  type LiveblocksErrorContext = Relax<RoomConnectionErrorContext | CommentsOrNotificationsErrorContext>;
1588
1590
  declare class LiveblocksError extends Error {
package/dist/index.js CHANGED
@@ -6,7 +6,7 @@ var __export = (target, all) => {
6
6
 
7
7
  // src/version.ts
8
8
  var PKG_NAME = "@liveblocks/core";
9
- var PKG_VERSION = "2.17.0-usrnotsettings2";
9
+ var PKG_VERSION = "2.17.0-usrnotsettings3";
10
10
  var PKG_FORMAT = "cjs";
11
11
 
12
12
  // src/dupe-detection.ts
@@ -6337,6 +6337,8 @@ function defaultMessageFromContext(context) {
6337
6337
  return "Could not delete all inbox notifications";
6338
6338
  case "UPDATE_NOTIFICATION_SETTINGS_ERROR":
6339
6339
  return "Could not update notification settings";
6340
+ case "UPDATE_USER_NOTIFICATION_SETTINGS_ERROR":
6341
+ return "Could not update user notification settings";
6340
6342
  default:
6341
6343
  return assertNever(context, "Unhandled case");
6342
6344
  }