@liveblocks/node 2.22.4-emails1 → 2.23.0

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
@@ -1224,10 +1224,19 @@ type ThreadNotificationEvent = {
1224
1224
  threadId: string;
1225
1225
  inboxNotificationId: string;
1226
1226
  /**
1227
+ * Date representing the time when the webhook event was created.
1228
+ *
1227
1229
  * ISO 8601 datestring
1228
1230
  * @example "2021-03-01T12:00:00.000Z"
1229
1231
  */
1230
1232
  createdAt: string;
1233
+ /**
1234
+ * Date representing the time when the notification was created.
1235
+ *
1236
+ * ISO 8601 datestring
1237
+ * @example "2021-03-01T18:00:00.000Z"
1238
+ */
1239
+ triggeredAt: string;
1231
1240
  };
1232
1241
  };
1233
1242
  type TextMentionNotificationEvent = {
@@ -1241,10 +1250,19 @@ type TextMentionNotificationEvent = {
1241
1250
  mentionId: string;
1242
1251
  inboxNotificationId: string;
1243
1252
  /**
1253
+ * Date representing the time when the webhook event was created.
1254
+ *
1244
1255
  * ISO 8601 datestring
1245
1256
  * @example "2021-03-01T12:00:00.000Z"
1246
1257
  */
1247
1258
  createdAt: string;
1259
+ /**
1260
+ * Date representing the time when the notification was created.
1261
+ *
1262
+ * ISO 8601 datestring
1263
+ * @example "2021-03-01T18:00:00.000Z"
1264
+ */
1265
+ triggeredAt: string;
1248
1266
  };
1249
1267
  };
1250
1268
  type CustomNotificationEvent = {
@@ -1258,10 +1276,19 @@ type CustomNotificationEvent = {
1258
1276
  subjectId: string;
1259
1277
  inboxNotificationId: string;
1260
1278
  /**
1279
+ * Date representing the time when the webhook event was created.
1280
+ *
1261
1281
  * ISO 8601 datestring
1262
1282
  * @example "2021-03-01T12:00:00.000Z"
1263
1283
  */
1264
1284
  createdAt: string;
1285
+ /**
1286
+ * Date representing the time when the notification was created.
1287
+ *
1288
+ * ISO 8601 datestring
1289
+ * @example "2021-03-01T18:00:00.000Z"
1290
+ */
1291
+ triggeredAt: string;
1265
1292
  };
1266
1293
  };
1267
1294
  type NotificationEvent = ThreadNotificationEvent | TextMentionNotificationEvent | CustomNotificationEvent;
package/dist/index.d.ts CHANGED
@@ -1224,10 +1224,19 @@ type ThreadNotificationEvent = {
1224
1224
  threadId: string;
1225
1225
  inboxNotificationId: string;
1226
1226
  /**
1227
+ * Date representing the time when the webhook event was created.
1228
+ *
1227
1229
  * ISO 8601 datestring
1228
1230
  * @example "2021-03-01T12:00:00.000Z"
1229
1231
  */
1230
1232
  createdAt: string;
1233
+ /**
1234
+ * Date representing the time when the notification was created.
1235
+ *
1236
+ * ISO 8601 datestring
1237
+ * @example "2021-03-01T18:00:00.000Z"
1238
+ */
1239
+ triggeredAt: string;
1231
1240
  };
1232
1241
  };
1233
1242
  type TextMentionNotificationEvent = {
@@ -1241,10 +1250,19 @@ type TextMentionNotificationEvent = {
1241
1250
  mentionId: string;
1242
1251
  inboxNotificationId: string;
1243
1252
  /**
1253
+ * Date representing the time when the webhook event was created.
1254
+ *
1244
1255
  * ISO 8601 datestring
1245
1256
  * @example "2021-03-01T12:00:00.000Z"
1246
1257
  */
1247
1258
  createdAt: string;
1259
+ /**
1260
+ * Date representing the time when the notification was created.
1261
+ *
1262
+ * ISO 8601 datestring
1263
+ * @example "2021-03-01T18:00:00.000Z"
1264
+ */
1265
+ triggeredAt: string;
1248
1266
  };
1249
1267
  };
1250
1268
  type CustomNotificationEvent = {
@@ -1258,10 +1276,19 @@ type CustomNotificationEvent = {
1258
1276
  subjectId: string;
1259
1277
  inboxNotificationId: string;
1260
1278
  /**
1279
+ * Date representing the time when the webhook event was created.
1280
+ *
1261
1281
  * ISO 8601 datestring
1262
1282
  * @example "2021-03-01T12:00:00.000Z"
1263
1283
  */
1264
1284
  createdAt: string;
1285
+ /**
1286
+ * Date representing the time when the notification was created.
1287
+ *
1288
+ * ISO 8601 datestring
1289
+ * @example "2021-03-01T18:00:00.000Z"
1290
+ */
1291
+ triggeredAt: string;
1265
1292
  };
1266
1293
  };
1267
1294
  type NotificationEvent = ThreadNotificationEvent | TextMentionNotificationEvent | CustomNotificationEvent;
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 = "2.22.4-emails1";
6
+ var PKG_VERSION = "2.23.0";
7
7
  var PKG_FORMAT = "esm";
8
8
 
9
9
  // src/client.ts