react-calendly
Advanced tools
Comparing version 4.2.1 to 4.3.0
@@ -111,3 +111,3 @@ import * as React from 'react'; | ||
var backgroundColor = sanitizedPageSettings.backgroundColor, hideEventTypeDetails = sanitizedPageSettings.hideEventTypeDetails, hideLandingPageDetails = sanitizedPageSettings.hideLandingPageDetails, primaryColor = sanitizedPageSettings.primaryColor, textColor = sanitizedPageSettings.textColor, hideGdprBanner = sanitizedPageSettings.hideGdprBanner; | ||
var customAnswers = prefill.customAnswers, date = prefill.date, email = prefill.email, firstName = prefill.firstName, guests = prefill.guests, lastName = prefill.lastName, location = prefill.location, name = prefill.name; | ||
var customAnswers = prefill.customAnswers, date = prefill.date, email = prefill.email, firstName = prefill.firstName, guests = prefill.guests, lastName = prefill.lastName, location = prefill.location, smsReminderNumber = prefill.smsReminderNumber, name = prefill.name; | ||
var utmCampaign = utm.utmCampaign, utmContent = utm.utmContent, utmMedium = utm.utmMedium, utmSource = utm.utmSource, utmTerm = utm.utmTerm, salesforce_uuid = utm.salesforce_uuid; | ||
@@ -127,2 +127,3 @@ var queryStringIndex = url.indexOf("?"); | ||
name ? "name=".concat(encodeURIComponent(name)) : null, | ||
smsReminderNumber ? "phone_number=".concat(encodeURIComponent(smsReminderNumber)) : null, | ||
location ? "location=".concat(encodeURIComponent(location)) : null, | ||
@@ -129,0 +130,0 @@ firstName ? "first_name=".concat(encodeURIComponent(firstName)) : null, |
@@ -133,3 +133,3 @@ 'use strict'; | ||
var backgroundColor = sanitizedPageSettings.backgroundColor, hideEventTypeDetails = sanitizedPageSettings.hideEventTypeDetails, hideLandingPageDetails = sanitizedPageSettings.hideLandingPageDetails, primaryColor = sanitizedPageSettings.primaryColor, textColor = sanitizedPageSettings.textColor, hideGdprBanner = sanitizedPageSettings.hideGdprBanner; | ||
var customAnswers = prefill.customAnswers, date = prefill.date, email = prefill.email, firstName = prefill.firstName, guests = prefill.guests, lastName = prefill.lastName, location = prefill.location, name = prefill.name; | ||
var customAnswers = prefill.customAnswers, date = prefill.date, email = prefill.email, firstName = prefill.firstName, guests = prefill.guests, lastName = prefill.lastName, location = prefill.location, smsReminderNumber = prefill.smsReminderNumber, name = prefill.name; | ||
var utmCampaign = utm.utmCampaign, utmContent = utm.utmContent, utmMedium = utm.utmMedium, utmSource = utm.utmSource, utmTerm = utm.utmTerm, salesforce_uuid = utm.salesforce_uuid; | ||
@@ -149,2 +149,3 @@ var queryStringIndex = url.indexOf("?"); | ||
name ? "name=".concat(encodeURIComponent(name)) : null, | ||
smsReminderNumber ? "phone_number=".concat(encodeURIComponent(smsReminderNumber)) : null, | ||
location ? "location=".concat(encodeURIComponent(location)) : null, | ||
@@ -151,0 +152,0 @@ firstName ? "first_name=".concat(encodeURIComponent(firstName)) : null, |
@@ -10,2 +10,3 @@ /// <reference types="react" /> | ||
lastName: string; | ||
smsReminderNumber: string; | ||
location: string; | ||
@@ -92,2 +93,3 @@ guests: string[]; | ||
lastName: string; | ||
smsReminderNumber: string; | ||
location: string; | ||
@@ -94,0 +96,0 @@ guests: string[]; |
{ | ||
"name": "react-calendly", | ||
"version": "4.2.1", | ||
"version": "4.3.0", | ||
"description": "Calendly integration for React apps", | ||
@@ -5,0 +5,0 @@ "author": "tcampb", |
@@ -163,2 +163,3 @@ # react-calendly | ||
name: 'Jon Snow', | ||
smsReminderNumber: '+1234567890', | ||
guests: [ | ||
@@ -165,0 +166,0 @@ 'janedoe@example.com', |
@@ -10,2 +10,3 @@ /// <reference types="react" /> | ||
lastName: string; | ||
smsReminderNumber: string; | ||
location: string; | ||
@@ -92,2 +93,3 @@ guests: string[]; | ||
lastName: string; | ||
smsReminderNumber: string; | ||
location: string; | ||
@@ -94,0 +96,0 @@ guests: string[]; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
78154
1377
282