@zennify/sdk-js 1.10.1 → 1.10.3

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.10.1",
3
+ "version": "1.10.3",
4
4
  "description": "A simple package to work with https://api.zennify.app",
5
5
  "main": "dist/main.js",
6
6
  "keywords": [],
@@ -33,7 +33,7 @@ type SaleTransaction = {
33
33
  subtotal: number,
34
34
  total_value: number,
35
35
  rating?: number | null,
36
- rating_message?: number | null,
36
+ rating_message?: string | null,
37
37
  payer: {
38
38
  id: number,
39
39
  username: string,
@@ -192,8 +192,8 @@
192
192
  "message": "Remove the additional \"{addon}\"."
193
193
  },
194
194
  "UNKNOWN_TRANSACTION": {
195
- "name": "Order not found.",
196
- "message": "Check if the ID is correct."
195
+ "name": "Transaction not found.",
196
+ "message": "It may not exist or may belong to another user."
197
197
  },
198
198
  "MP_ACCOUNT_OFFLINE": {
199
199
  "name": "Unable to generate an order",
@@ -188,8 +188,8 @@
188
188
  "message": "Remova o adicional \"{addon}\"."
189
189
  },
190
190
  "UNKNOWN_TRANSACTION": {
191
- "name": "Pedido não encontrado.",
192
- "message": "Verifique o ID enviado."
191
+ "name": "Transação não encontrada.",
192
+ "message": "Talvez não exista ou pertença a outra pessoa."
193
193
  },
194
194
  "MP_ACCOUNT_OFFLINE": {
195
195
  "name": "Não foi possível gerar um pedido",
@@ -31,7 +31,7 @@ type SaleTransaction = {
31
31
  subtotal: number;
32
32
  total_value: number;
33
33
  rating?: number | null;
34
- rating_message?: number | null;
34
+ rating_message?: string | null;
35
35
  payer: {
36
36
  id: number;
37
37
  username: string;