@activepieces/piece-google-contacts
Advanced tools
Comparing version 0.3.0 to 0.3.1
{ | ||
"name": "@activepieces/piece-google-contacts", | ||
"version": "0.3.0", | ||
"version": "0.3.1", | ||
"dependencies": { | ||
"@sinclair/typebox": "^0.26.3", | ||
"axios": "1.2.4", | ||
"axios": "1.4.0", | ||
"dayjs": "^1.11.8", | ||
"is-base64": "^1.1.0", | ||
"nanoid": "^3.3.4", | ||
"@activepieces/pieces-common": "0.1.0", | ||
"@activepieces/pieces-framework": "0.4.0", | ||
"@activepieces/shared": "0.4.0", | ||
"semver": "7.5.3", | ||
"@activepieces/pieces-common": "0.2.1", | ||
"@activepieces/pieces-framework": "0.6.8", | ||
"@activepieces/shared": "0.6.1", | ||
"tslib": "1.14.1" | ||
@@ -12,0 +15,0 @@ }, |
@@ -8,8 +8,8 @@ "use strict"; | ||
exports.googleContactsAuth = pieces_framework_1.PieceAuth.OAuth2({ | ||
description: "", | ||
description: '', | ||
displayName: 'Authentication', | ||
authUrl: "https://accounts.google.com/o/oauth2/auth", | ||
tokenUrl: "https://oauth2.googleapis.com/token", | ||
authUrl: 'https://accounts.google.com/o/oauth2/auth', | ||
tokenUrl: 'https://oauth2.googleapis.com/token', | ||
required: true, | ||
scope: ["https://www.googleapis.com/auth/contacts"] | ||
scope: ['https://www.googleapis.com/auth/contacts'] | ||
}); | ||
@@ -20,7 +20,7 @@ exports.googleContacts = (0, pieces_framework_1.createPiece)({ | ||
actions: [create_contact_1.googleContactsAddContactAction], | ||
displayName: "Google Contacts", | ||
displayName: 'Google Contacts', | ||
authors: ['abuaboud', 'abdallah-alwarawreh'], | ||
triggers: [new_contact_1.googleContactNewOrUpdatedContact], | ||
auth: exports.googleContactsAuth, | ||
auth: exports.googleContactsAuth | ||
}); | ||
//# sourceMappingURL=index.js.map |
@@ -67,3 +67,3 @@ "use strict"; | ||
if (context.propsValue['phoneNumber']) { | ||
contact['phoneNumbers'] = [{ value: context.propsValue['phoneNumber'], primary: true }]; | ||
contact['phoneNumbers'] = [{ value: context.propsValue['phoneNumber'] }]; | ||
} | ||
@@ -70,0 +70,0 @@ if (context.propsValue['company'] || context.propsValue['jobTitle']) { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
19805
10
+ Addeddayjs@^1.11.8
+ Addedis-base64@^1.1.0
+ Addedsemver@7.5.3
+ Added@activepieces/pieces-common@0.2.1(transitive)
+ Added@activepieces/pieces-framework@0.6.10.6.8(transitive)
+ Added@activepieces/shared@0.5.60.5.70.6.1(transitive)
+ Addedaxios@1.4.0(transitive)
+ Addeddayjs@1.11.13(transitive)
+ Addedis-base64@1.1.0(transitive)
+ Addedlru-cache@6.0.0(transitive)
+ Addedsemver@7.5.3(transitive)
+ Addedyallist@4.0.0(transitive)
- Removed@activepieces/pieces-common@0.1.0(transitive)
- Removed@activepieces/pieces-framework@0.4.0(transitive)
- Removed@activepieces/shared@0.4.0(transitive)
- Removedaxios@1.2.4(transitive)
Updated@activepieces/shared@0.6.1
Updatedaxios@1.4.0