@everymatrix/cashier-method-details 1.38.0 → 1.39.0
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@everymatrix/cashier-method-details",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.39.0",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"svelte": "src/index.ts",
|
|
6
6
|
"scripts": {
|
|
@@ -35,5 +35,5 @@
|
|
|
35
35
|
"publishConfig": {
|
|
36
36
|
"access": "public"
|
|
37
37
|
},
|
|
38
|
-
"gitHead": "
|
|
38
|
+
"gitHead": "d3dbfca9fcdc2d9df9a01f60f283ed699ec828fb"
|
|
39
39
|
}
|
|
@@ -458,6 +458,9 @@
|
|
|
458
458
|
if (e.data.type === 'BackCashier') {
|
|
459
459
|
backToMethodList()
|
|
460
460
|
}
|
|
461
|
+
if (e.data.type === 'CloseCashierReceiptPage') {
|
|
462
|
+
closeReceiptPage()
|
|
463
|
+
}
|
|
461
464
|
}
|
|
462
465
|
|
|
463
466
|
onMount(() => {
|
|
@@ -465,7 +468,6 @@
|
|
|
465
468
|
window.addEventListener('confirmModal', confirmTxn, false);
|
|
466
469
|
window.addEventListener('closeIframe', closeIframe, false);
|
|
467
470
|
window.addEventListener('notificationButtonClick', retryRedirect, false);
|
|
468
|
-
window.addEventListener('closeCashierReceiptPage', closeReceiptPage, false);
|
|
469
471
|
document.addEventListener('click',closeAllLookups);
|
|
470
472
|
window.addEventListener('message', messageHandler, false);
|
|
471
473
|
dayjs.extend(customParseFormat);
|
|
@@ -475,7 +477,6 @@
|
|
|
475
477
|
window.removeEventListener('confirmModal', confirmTxn);
|
|
476
478
|
window.removeEventListener('closeIframe', closeIframe);
|
|
477
479
|
window.removeEventListener('notificationButtonClick', retryRedirect);
|
|
478
|
-
window.removeEventListener('closeCashierReceiptPage', closeReceiptPage);
|
|
479
480
|
window.removeEventListener('message', messageHandler);
|
|
480
481
|
}
|
|
481
482
|
});
|