@zennify/sdk-js 1.34.1 → 1.36.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zennify/sdk-js",
3
- "version": "1.34.1",
3
+ "version": "1.36.0",
4
4
  "description": "A simple package to work with https://api.zennify.app",
5
5
  "main": "dist/main.js",
6
6
  "keywords": [],
@@ -24,6 +24,8 @@ export interface FullStore {
24
24
  addons: Addons[],
25
25
  blocked_banks: string[],
26
26
  pending_setup?: boolean | null,
27
+ limit_product: number,
28
+ limit_discord_server: number,
27
29
  discord_channels: Record<
28
30
  string /** guild id */,
29
31
  Record<
@@ -416,8 +416,8 @@
416
416
  "message": "Correct the product value."
417
417
  },
418
418
  "YOU_REACHED_THE_PRODUCT_LIMIT": {
419
- "name": "You reached the product limit of 100",
420
- "message": "Try removing products you no longer use."
419
+ "name": "You reached the product limit.",
420
+ "message": "Try removing products you no longer use or increase the limit."
421
421
  },
422
422
  "PRODUCT_NAME_ALREADY_EXIST": {
423
423
  "name": "There is already a product with this name",
@@ -416,8 +416,8 @@
416
416
  "message": "Corrija o valor do produto."
417
417
  },
418
418
  "YOU_REACHED_THE_PRODUCT_LIMIT": {
419
- "name": "Limite de 100 produtos atingido",
420
- "message": "Tente remover os produtos que você não usa mais."
419
+ "name": "Limite de produtos atingido",
420
+ "message": "Remova os produtos que você não usa mais ou aumente o limite."
421
421
  },
422
422
  "PRODUCT_NAME_ALREADY_EXIST": {
423
423
  "name": "Já existe um produto com esse nome",
@@ -21,6 +21,8 @@ export interface FullStore {
21
21
  addons: Addons[];
22
22
  blocked_banks: string[];
23
23
  pending_setup?: boolean | null;
24
+ limit_product: number;
25
+ limit_discord_server: number;
24
26
  discord_channels: Record<string /** guild id */, Record<'sale' | 'voice' | 'feedback' | 'carts', string | null | void /** channel id */>>;
25
27
  discord_bot: {
26
28
  id: string;