@begapp/sdk 1.1.2 → 1.1.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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/client.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@begapp/sdk",
3
- "version": "1.1.2",
3
+ "version": "1.1.3",
4
4
  "description": "SDK para interactuar con el servicio de notificaciones de Bega App",
5
5
  "main": "index.js",
6
6
  "type": "module",
package/src/client.js CHANGED
@@ -28,7 +28,7 @@ export function getClient() {
28
28
  }
29
29
 
30
30
  export function getClaveSecreta() {
31
- if (secretKey === '') {
31
+ if (claveSecreta === '') {
32
32
  throw new Error("No se ha configurado la Clave secreta para encriptar los mensajes");
33
33
  }
34
34