hellosign-embedded
Advanced tools
Comparing version 1.2.9 to 1.2.11
{ | ||
"name": "hellosign-embedded", | ||
"version": "1.2.9", | ||
"version": "1.2.11", | ||
"description": "A JavaScript library required for embedding HelloSign features into your webapp. For more information, see our API documentation at https://www.hellosign.com/api/documentation.", | ||
@@ -5,0 +5,0 @@ "main": "src/embedded.js", |
@@ -281,4 +281,5 @@ /** | ||
ES_MX: 'es_MX', | ||
PT_BR: 'pt_BR', | ||
init: function() { | ||
this.supportedCultures = [this.EN_US, this.FR_FR, this.DE_DE, this.SV_SE, this.ZH_CN, this.DA_DK, this.NL_NL, this.ES_ES, this.ES_MX]; | ||
this.supportedCultures = [this.EN_US, this.FR_FR, this.DE_DE, this.SV_SE, this.ZH_CN, this.DA_DK, this.NL_NL, this.ES_ES, this.ES_MX, this.PT_BR]; | ||
return this; | ||
@@ -651,3 +652,6 @@ } | ||
if (self.healthCheckTimeoutMs) clearTimeout(self._healthCheckTimeoutHandle); | ||
XWM.send(JSON.stringify({ type: 'embeddedConfig', payload: params }), evt.origin, source); | ||
// remove container from payload to prevent circular reference error | ||
var payload = Object.assign({}, params); | ||
delete payload.container; | ||
XWM.send(JSON.stringify({ type: 'embeddedConfig', payload: payload }), evt.origin, source); | ||
} else if (evt.data == 'close') { | ||
@@ -654,0 +658,0 @@ // Close iFrame |
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
76066
1111
18