@plaidev/karte-action-sdk 1.1.77 → 1.1.78
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/dist/hydrate/index.es.js +1 -1
- package/dist/index.es.js +1 -1
- package/package.json +1 -1
package/dist/hydrate/index.es.js
CHANGED
|
@@ -496,7 +496,7 @@ function create(App, options = {
|
|
|
496
496
|
window.removeEventListener(ACTION_CHANGE_STATE_EVENT, setState);
|
|
497
497
|
const trigger = event.detail?.trigger ? event.detail?.trigger : 'button';
|
|
498
498
|
if (options.onClose) {
|
|
499
|
-
options.onClose({ send: options.send, data }, trigger);
|
|
499
|
+
options.onClose({ send: options.send, data: { ...data, ...getStoreState(customVariables) } }, trigger);
|
|
500
500
|
}
|
|
501
501
|
app.$destroy();
|
|
502
502
|
app = null;
|
package/dist/index.es.js
CHANGED
|
@@ -598,7 +598,7 @@ function create(App, options = {
|
|
|
598
598
|
window.removeEventListener(ACTION_CHANGE_STATE_EVENT, setState);
|
|
599
599
|
const trigger = event.detail?.trigger ? event.detail?.trigger : 'button';
|
|
600
600
|
if (options.onClose) {
|
|
601
|
-
options.onClose({ send: options.send, data }, trigger);
|
|
601
|
+
options.onClose({ send: options.send, data: { ...data, ...getStoreState(customVariables) } }, trigger);
|
|
602
602
|
}
|
|
603
603
|
app.$destroy();
|
|
604
604
|
app = null;
|