@zennify/sdk-js 1.41.3 → 1.41.4

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.41.3",
3
+ "version": "1.41.4",
4
4
  "description": "A simple package to work with https://api.zennify.app",
5
5
  "main": "dist/main.js",
6
6
  "keywords": [],
package/src/errors.ts CHANGED
@@ -27,6 +27,7 @@ export interface APIErrors {
27
27
  // Wallet errors
28
28
  'WITHDRAW_INSUFFICIENT_BALANCE': { available: number };
29
29
  'WITHDRAW_LIMIT_EXCEEDED': { limit: number };
30
+ 'WALLET_SETUP_HAS_BLOCKED_PRODUCTS': {};
30
31
  // = user errors
31
32
  'USER_NOT_FOUND': {};
32
33
  'USER_INVALID_NAME': {};
@@ -83,6 +83,10 @@
83
83
  "name": "You've made too many withdrawals today",
84
84
  "message": "You can only withdraw up to {limit} in the last 24h."
85
85
  },
86
+ "WALLET_SETUP_HAS_BLOCKED_PRODUCTS": {
87
+ "name": "You have blocked/illegal products.",
88
+ "message": "Delete them to use the Wallet."
89
+ },
86
90
  "USER_NOT_FOUND": {
87
91
  "name": "User not found",
88
92
  "message": "Try again."
@@ -79,6 +79,10 @@
79
79
  "name": "Você já fez muitos saques hoje.",
80
80
  "message": "Você só pode sacar até {limit} nas últimas 24h."
81
81
  },
82
+ "WALLET_SETUP_HAS_BLOCKED_PRODUCTS": {
83
+ "name": "Você tem produtos bloqueados/ilegais.",
84
+ "message": "Delete-os para poder usar a Wallet."
85
+ },
82
86
  "USER_NOT_FOUND": {
83
87
  "name": "Usuário não encontrado",
84
88
  "message": "Tente novamente."
package/types/errors.d.ts CHANGED
@@ -28,6 +28,7 @@ export interface APIErrors {
28
28
  'WITHDRAW_LIMIT_EXCEEDED': {
29
29
  limit: number;
30
30
  };
31
+ 'WALLET_SETUP_HAS_BLOCKED_PRODUCTS': {};
31
32
  'USER_NOT_FOUND': {};
32
33
  'USER_INVALID_NAME': {};
33
34
  'USER_LEGAL_DATA_REQUIRED': {};