@rebilly/instruments 9.87.2 → 9.87.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +2 -2
- package/dist/index.js +6 -1
- package/dist/index.min.js +7 -7
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
## [9.87.
|
|
1
|
+
## [9.87.3](https://github.com/Rebilly/rebilly/compare/instruments/core-v9.87.2...instruments/core-v9.87.3) (2024-10-16)
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
### Bug Fixes
|
|
5
5
|
|
|
6
|
-
*
|
|
6
|
+
* **instruments:** CVV error no closing properly ([#8103](https://github.com/Rebilly/rebilly/issues/8103)) ([1295134](https://github.com/Rebilly/rebilly/commit/129513462e237b8ab142bfb360a9bc86cb8cd814))
|
package/dist/index.js
CHANGED
|
@@ -2881,6 +2881,9 @@ function showError(error, isCloseable = true) {
|
|
|
2881
2881
|
function showErrorHandler(iframe) {
|
|
2882
2882
|
iframe.component.on(`${iframe.name}-show-error`, showError);
|
|
2883
2883
|
}
|
|
2884
|
+
function clearErrorHandler(iframe) {
|
|
2885
|
+
iframe.component.on(`${iframe.name}-clear-error`, clearError);
|
|
2886
|
+
}
|
|
2884
2887
|
function stopLoaderHandler(iframe, data) {
|
|
2885
2888
|
iframe.component.on(`${iframe.name}-stop-loading`, (id) => {
|
|
2886
2889
|
var _a;
|
|
@@ -2978,6 +2981,7 @@ let ViewIframe$1 = class ViewIframe extends BaseIframe {
|
|
|
2978
2981
|
resizeComponentHandler(this);
|
|
2979
2982
|
stopLoaderHandler(this, { loader });
|
|
2980
2983
|
showErrorHandler(this);
|
|
2984
|
+
clearErrorHandler(this);
|
|
2981
2985
|
updateCouponsHandler(this);
|
|
2982
2986
|
updateAddonsHandler(this);
|
|
2983
2987
|
updateInvoiceHandler(this);
|
|
@@ -3004,6 +3008,7 @@ let ModalIframe$1 = class ModalIframe extends BaseIframe {
|
|
|
3004
3008
|
id: this.name
|
|
3005
3009
|
});
|
|
3006
3010
|
showErrorHandler(this);
|
|
3011
|
+
clearErrorHandler(this);
|
|
3007
3012
|
showConfirmationModalHandler(this);
|
|
3008
3013
|
this.component.on(`${this.name}-close`, (...args) => {
|
|
3009
3014
|
close(...args);
|
|
@@ -6257,7 +6262,7 @@ function C$1({ options: e2 }) {
|
|
|
6257
6262
|
}
|
|
6258
6263
|
function o2() {
|
|
6259
6264
|
const i = {
|
|
6260
|
-
"REB-API-CONSUMER": `${["Rebilly", e2.appName, "js-sdk"].filter((g) => g).join("/")}@
|
|
6265
|
+
"REB-API-CONSUMER": `${["Rebilly", e2.appName, "js-sdk"].filter((g) => g).join("/")}@addb834`
|
|
6261
6266
|
};
|
|
6262
6267
|
return e2.apiKey && (i["REB-APIKEY"] = e2.apiKey), i;
|
|
6263
6268
|
}
|