@playmoweb/vue-payline-wrapper
Advanced tools
Comparing version 1.0.2 to 1.0.3
/*! | ||
* @playmoweb/vue-payline-wrapper v1.0.2 | ||
* @playmoweb/vue-payline-wrapper v1.0.3 | ||
* (c) Playmoweb SAS | ||
@@ -128,4 +128,4 @@ * Released under the MIT License. | ||
computed: { | ||
paylineApi: function paylineApi() { | ||
return window.Payline.Api; | ||
payline: function payline() { | ||
return window.Payline; | ||
}, | ||
@@ -137,3 +137,3 @@ isLightbox: function isLightbox() { | ||
beforeMount: function beforeMount() { | ||
if (!this.paylineApi) { | ||
if (!this.payline) { | ||
loadPayline(this.isHomologation); | ||
@@ -180,3 +180,6 @@ } | ||
this.$emit("readyToPay", false); | ||
this.paylineApi.reset(token, this.widgetType); | ||
if (this.payline) { | ||
this.payline.Api.reset(token, this.widgetType); | ||
} | ||
}, | ||
@@ -216,3 +219,3 @@ | ||
this.$nextTick().then(function () { | ||
_this.paylineApi.hide(); | ||
_this.payline.Api.hide(); | ||
}); | ||
@@ -391,3 +394,3 @@ | ||
if (!inject) return; | ||
inject("data-v-2633c67c_0", { | ||
inject("data-v-72fa7738_0", { | ||
source: ".noClose /deep/ #pl-container-lightbox-header-bar{display:none!important}", | ||
@@ -394,0 +397,0 @@ map: undefined, |
/*! | ||
* @playmoweb/vue-payline-wrapper v1.0.2 | ||
* @playmoweb/vue-payline-wrapper v1.0.3 | ||
* (c) Playmoweb SAS | ||
@@ -130,4 +130,4 @@ * Released under the MIT License. | ||
computed: { | ||
paylineApi: function paylineApi() { | ||
return window.Payline.Api; | ||
payline: function payline() { | ||
return window.Payline; | ||
}, | ||
@@ -139,3 +139,3 @@ isLightbox: function isLightbox() { | ||
beforeMount: function beforeMount() { | ||
if (!this.paylineApi) { | ||
if (!this.payline) { | ||
loadPayline(this.isHomologation); | ||
@@ -182,3 +182,6 @@ } | ||
this.$emit("readyToPay", false); | ||
this.paylineApi.reset(token, this.widgetType); | ||
if (this.payline) { | ||
this.payline.Api.reset(token, this.widgetType); | ||
} | ||
}, | ||
@@ -218,3 +221,3 @@ | ||
this.$nextTick().then(function () { | ||
_this.paylineApi.hide(); | ||
_this.payline.Api.hide(); | ||
}); | ||
@@ -393,3 +396,3 @@ | ||
if (!inject) return; | ||
inject("data-v-2633c67c_0", { | ||
inject("data-v-72fa7738_0", { | ||
source: ".noClose /deep/ #pl-container-lightbox-header-bar{display:none!important}", | ||
@@ -396,0 +399,0 @@ map: undefined, |
{ | ||
"name": "@playmoweb/vue-payline-wrapper", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "VueJS Payline Widget Wrapper.", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
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
28535
759