@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 +1 -1
- package/src/errors.ts +1 -0
- package/translations/en_US.json +4 -0
- package/translations/pt_BR.json +4 -0
- package/types/errors.d.ts +1 -0
package/package.json
CHANGED
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': {};
|
package/translations/en_US.json
CHANGED
|
@@ -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."
|
package/translations/pt_BR.json
CHANGED
|
@@ -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."
|