@purpleschool/rugpt-lib-common 0.0.38 → 0.0.39

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.
@@ -426,6 +426,11 @@ exports.ERRORS = {
426
426
  httpCode: 500,
427
427
  message: "Не удалось проверить баланс для доступа к чату",
428
428
  },
429
+ COMPACT_COOLDOWN_ACTIVE: {
430
+ code: "CHAT.COMPACT_COOLDOWN_ACTIVE",
431
+ httpCode: 429,
432
+ message: "Сжатие чата недавно обновлялось, попробуйте через пару минут",
433
+ },
429
434
  CREATE_ERROR: {
430
435
  code: "CHAT.CREATE_ERROR",
431
436
  httpCode: 500,
package/errors/errors.ts CHANGED
@@ -433,6 +433,11 @@ export const ERRORS = {
433
433
  httpCode: 500,
434
434
  message: "Не удалось проверить баланс для доступа к чату",
435
435
  },
436
+ COMPACT_COOLDOWN_ACTIVE: {
437
+ code: "CHAT.COMPACT_COOLDOWN_ACTIVE",
438
+ httpCode: 429,
439
+ message: "Сжатие чата недавно обновлялось, попробуйте через пару минут",
440
+ },
436
441
  CREATE_ERROR: {
437
442
  code: "CHAT.CREATE_ERROR",
438
443
  httpCode: 500,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@purpleschool/rugpt-lib-common",
3
- "version": "0.0.38",
3
+ "version": "0.0.39",
4
4
  "description": "",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",