@plaidev/karte-action-sdk 1.1.211 → 1.1.212
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/hydrate/index.es.js +2 -1
- package/dist/index.es.js +2 -1
- package/package.json +1 -1
package/dist/hydrate/index.es.js
CHANGED
@@ -2141,7 +2141,8 @@ function create(App, options = {
|
|
2141
2141
|
window.addEventListener(ACTION_DESTROY_EVENT, handleDestroy);
|
2142
2142
|
window.addEventListener('beforeunload', dispatchDestroyEvent, false);
|
2143
2143
|
let modalCleanup = NOOP;
|
2144
|
-
if (options.karteTemplate?.
|
2144
|
+
if (options.karteTemplate?.template_type === 'script' ||
|
2145
|
+
options.karteTemplate?.template_content_types?.includes('script')) {
|
2145
2146
|
runScript$1(options);
|
2146
2147
|
}
|
2147
2148
|
else {
|
package/dist/index.es.js
CHANGED
@@ -2199,7 +2199,8 @@ function create(App, options = {
|
|
2199
2199
|
window.addEventListener(ACTION_DESTROY_EVENT, handleDestroy);
|
2200
2200
|
window.addEventListener('beforeunload', dispatchDestroyEvent, false);
|
2201
2201
|
let modalCleanup = NOOP;
|
2202
|
-
if (options.karteTemplate?.
|
2202
|
+
if (options.karteTemplate?.template_type === 'script' ||
|
2203
|
+
options.karteTemplate?.template_content_types?.includes('script')) {
|
2203
2204
|
runScript$1(options);
|
2204
2205
|
}
|
2205
2206
|
else {
|