Skip to content

Commit c032fcf

Browse files
authored
Gmail - Update verify-client-id (#13959)
* update verify-client-id * update platform version * pnpm-lock.yaml
1 parent 8f91060 commit c032fcf

File tree

4 files changed

+68
-59
lines changed

4 files changed

+68
-59
lines changed

components/gmail/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@pipedream/gmail",
3-
"version": "0.1.4",
3+
"version": "0.1.5",
44
"description": "Pipedream Gmail Components",
55
"main": "gmail.app.mjs",
66
"keywords": [
@@ -16,7 +16,7 @@
1616
"@google-cloud/local-auth": "^2.1.0",
1717
"@google-cloud/pubsub": "^4.7.0",
1818
"@googleapis/gmail": "^0.3.4",
19-
"@pipedream/platform": "^3.0.0",
19+
"@pipedream/platform": "^3.0.3",
2020
"google-auth-library": "^8.7.0",
2121
"googleapis": "^105.0.0",
2222
"html-to-text": "^8.2.1",

components/gmail/sources/common/verify-client-id.mjs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,7 @@ import { PD_OFFICIAL_GMAIL_OAUTH_CLIENT_ID } from "@pipedream/platform";
33
export default {
44
methods: {
55
async checkClientId() {
6-
return (
7-
this.gmail.$auth.oauth_client_id !== PD_OFFICIAL_GMAIL_OAUTH_CLIENT_ID
8-
);
6+
return !this.gmail.$auth.oauth_client_id.includes(PD_OFFICIAL_GMAIL_OAUTH_CLIENT_ID);
97
},
108
},
119
};

components/gmail/sources/new-email-received/new-email-received.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export default {
1515
name: "New Email Received",
1616
description: "Emit new event when a new email is received.",
1717
type: "source",
18-
version: "0.1.1",
18+
version: "0.1.2",
1919
dedupe: "unique",
2020
props: {
2121
gmail,

pnpm-lock.yaml

Lines changed: 64 additions & 53 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)