@activepieces/piece-acumbamail
Advanced tools
Comparing version 0.0.3 to 0.0.4
{ | ||
"name": "@activepieces/piece-acumbamail", | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"dependencies": { | ||
"@sinclair/typebox": "0.26.8", | ||
"axios": "^1.6.3", | ||
"axios": "1.6.7", | ||
"dayjs": "1.11.9", | ||
@@ -13,6 +13,6 @@ "form-data": "4.0.0", | ||
"semver": "7.6.0", | ||
"@activepieces/pieces-common": "0.2.9", | ||
"@activepieces/pieces-framework": "0.7.24", | ||
"@activepieces/shared": "0.10.93", | ||
"tslib": "2.6.1" | ||
"@activepieces/pieces-common": "0.2.12", | ||
"@activepieces/pieces-framework": "0.7.28", | ||
"@activepieces/shared": "0.10.99", | ||
"tslib": "1.14.1" | ||
}, | ||
@@ -19,0 +19,0 @@ "main": "./src/index.js", |
@@ -5,3 +5,3 @@ export declare const addUpdateSubscriberAction: import("@activepieces/pieces-framework").IAction<import("@activepieces/pieces-framework").SecretTextProperty<true>, { | ||
update_subscriber: import("@activepieces/pieces-framework").CheckboxProperty<false>; | ||
double_optin: import("@activepieces/pieces-framework").CheckboxProperty<false>; | ||
double_option: import("@activepieces/pieces-framework").CheckboxProperty<false>; | ||
}>; |
@@ -23,4 +23,4 @@ "use strict"; | ||
}), | ||
double_optin: pieces_framework_1.Property.Checkbox({ | ||
displayName: 'Double Optin', | ||
double_option: pieces_framework_1.Property.Checkbox({ | ||
displayName: 'Double Option', | ||
description: 'Activates the send of a confirmation email when the subscriber is added.', | ||
@@ -32,3 +32,3 @@ required: false, | ||
return tslib_1.__awaiter(this, void 0, void 0, function* () { | ||
const { listId, listMergeFields, update_subscriber, double_optin } = context.propsValue; | ||
const { listId, listMergeFields, update_subscriber, double_option } = context.propsValue; | ||
const formData = new form_data_1.default(); | ||
@@ -40,3 +40,3 @@ Object.entries(listMergeFields).forEach(([key, value]) => { | ||
formData.append('list_id', listId.toString()); | ||
formData.append('double_optin', double_optin ? '1' : '0'); | ||
formData.append('double_option', double_option ? '1' : '0'); | ||
formData.append('update_subscriber', update_subscriber ? '1' : '0'); | ||
@@ -43,0 +43,0 @@ formData.append('complete_json ', '1'); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
36110
+ Added@activepieces/pieces-common@0.2.12(transitive)
+ Added@activepieces/pieces-framework@0.7.250.7.28(transitive)
+ Added@activepieces/shared@0.10.940.10.950.10.980.10.99(transitive)
+ Addedaxios@1.6.7(transitive)
- Removed@activepieces/pieces-common@0.2.9(transitive)
- Removed@activepieces/pieces-framework@0.7.190.7.24(transitive)
- Removed@activepieces/shared@0.10.800.10.810.10.93(transitive)
- Removedaxios@1.7.9(transitive)
- Removedtslib@2.6.1(transitive)
Updated@activepieces/shared@0.10.99
Updatedaxios@1.6.7
Updatedtslib@1.14.1