sdx-mailer-sdk 1.0.17 → 1.0.18

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/README.MD CHANGED
@@ -1,4 +1,6 @@
1
1
  Para publicar el package se debe actualizar la version en el package.json y luego
2
2
 
3
3
  1 - npm login
4
- 2 - npm publish
4
+ 2 - npm publish
5
+
6
+ IMPORTANTE: No publicar endpoints ya que este package aun es publice
package/index.js CHANGED
@@ -60,13 +60,14 @@ async function sendExceptionMail(basicAuth, endpoint, tokenRQ, productId) {
60
60
  /**
61
61
  * Method for CustomerMailerRequest creation
62
62
  * @param {*} user
63
+ * @param {*} password
63
64
  * @param {*} product
64
65
  * @param {*} token
65
66
  * @param {*} reply_mail
66
67
  * @returns
67
68
  */
68
- function createCustomerMailerRequest(user, product, token, reply_mail) {
69
- return customerMailInstance.createCustomerMailerRequest(user, product, token, reply_mail)
69
+ function createCustomerMailerRequest(user, password, product, token, reply_mail) {
70
+ return customerMailInstance.createCustomerMailerRequest(user, password, product, token, reply_mail)
70
71
  }
71
72
 
72
73
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sdx-mailer-sdk",
3
- "version": "1.0.17",
3
+ "version": "1.0.18",
4
4
  "description": "A api rest sdx-mailer-sender sdk",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -11,9 +11,10 @@ class CustomerMail {
11
11
  this.service = new CourierService();
12
12
  }
13
13
 
14
- createCustomerMailerRequest(user, product, token, reply_mail) {
14
+ createCustomerMailerRequest(user, password, product, token, reply_mail) {
15
15
  let request = new CustomerMailerRequest();
16
16
  request.user = user;
17
+ request.password = password;
17
18
  request.product = product;
18
19
  request.token = token;
19
20
  request.reply_mail = reply_mail;