Skip to content

Commit 17fea08

Browse files
fix: updating Mailjet client auth (#19725)
* fix: updating Mailjet client auth * fix: updating source version --------- Co-authored-by: Guilherme Falcão <48412907+GTFalcao@users.noreply.github.com>
1 parent f8cc0c2 commit 17fea08

File tree

7 files changed

+9
-9
lines changed

7 files changed

+9
-9
lines changed

components/mailjet/actions/create-contact/create-contact.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export default {
55
name: "Create Contact",
66
description: "Add a new unique contact to your global contact list and select its exclusion status. [See the docs here](https://dev.mailjet.com/email/reference/contacts/contact/#v3_post_contact)",
77
type: "action",
8-
version: "0.0.3",
8+
version: "0.0.4",
99
annotations: {
1010
destructiveHint: false,
1111
openWorldHint: true,

components/mailjet/actions/list-contacts/list-contacts.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export default {
55
name: "List Contacts",
66
description: "Retrieve details for all contact lists - name, subscriber count, creation timestamp, deletion status. [See the docs here](https://dev.mailjet.com/email/reference/contacts/contact-list/#v3_get_contactslist)",
77
type: "action",
8-
version: "0.0.3",
8+
version: "0.0.4",
99
annotations: {
1010
destructiveHint: false,
1111
openWorldHint: true,

components/mailjet/actions/send-message/send-message.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export default {
55
name: "Send Message",
66
description: "Send a message via Send API v3. Send API v3 is built mainly for speed, allowing you to send up to 100 messages in a single API call. [See the docs here](https://dev.mailjet.com/email/reference/send-emails/#v3_1_post_send)",
77
type: "action",
8-
version: "0.0.3",
8+
version: "0.0.4",
99
annotations: {
1010
destructiveHint: false,
1111
openWorldHint: true,

components/mailjet/actions/update-contact/update-contact.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export default {
55
name: "Update Contact",
66
description: "Update the user-given name and exclusion status of a specific contact. [See the docs here](https://dev.mailjet.com/email/reference/contacts/contact/#v3_put_contact_contact_ID)",
77
type: "action",
8-
version: "0.0.3",
8+
version: "0.0.4",
99
annotations: {
1010
destructiveHint: true,
1111
openWorldHint: true,

components/mailjet/mailjet.app.mjs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import Mailjet from "node-mailjet";
1+
import MailjetClient from "node-mailjet";
22
import constants from "./common/constants.mjs";
33

44
export default {
@@ -50,8 +50,8 @@ export default {
5050
},
5151
methods: {
5252
client() {
53-
return new Mailjet({
54-
apiKey: this.$auth.api_key,
53+
return new MailjetClient({
54+
apiKey: this.$auth.public_key,
5555
apiSecret: this.$auth.secret_key,
5656
});
5757
},

components/mailjet/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@pipedream/mailjet",
3-
"version": "0.4.4",
3+
"version": "0.4.5",
44
"description": "Pipedream Mailjet Components",
55
"main": "mailjet.app.mjs",
66
"keywords": [

components/mailjet/sources/contact-created/contact-created.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export default {
66
name: "Contact Created",
77
description: "Emit new event when a contact is created. [See the docs here](https://dev.mailjet.com/email/reference/contacts/contact-list/#v3_get_contactslist)",
88
type: "source",
9-
version: "0.0.4",
9+
version: "0.0.5",
1010
dedupe: "unique",
1111
methods: {
1212
...common.methods,

0 commit comments

Comments
 (0)