@plaidev/karte-action-sdk 1.1.210 → 1.1.212
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 +2 -1
- package/dist/index.es.js +2 -1
- package/meta/karte-action-sdk.api.json +7893 -0
- package/package.json +10 -10
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?.template_type === 'script'
|
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?.template_type === 'script'
|
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 {
|