@plaidev/karte-action-sdk 1.1.232-28654876.dc7c8de8 → 1.1.232-28663591.feead91d
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/hydrate/index.es.d.ts +262 -4
- package/dist/hydrate/index.es.js +718 -831
- package/dist/index.es.d.ts +262 -4
- package/dist/index.es.js +662 -747
- package/dist/templates.cjs.d.ts +1 -2
- package/dist/templates.cjs.js +1 -2
- package/dist/templates.d.ts +1 -2
- package/dist/templates.js +1 -2
- package/package.json +1 -1
package/dist/templates.cjs.d.ts
CHANGED
@@ -12,9 +12,8 @@ declare function createAppScript(script?: string, icons?: string[], customCompon
|
|
12
12
|
*
|
13
13
|
* @internal
|
14
14
|
*/
|
15
|
-
declare function createIndexTsx({ script
|
15
|
+
declare function createIndexTsx({ script }?: {
|
16
16
|
script?: string;
|
17
|
-
polyfill?: boolean;
|
18
17
|
}): string;
|
19
18
|
/**
|
20
19
|
* 後方互換のためのカスタムスクリプトの初期値の生成
|
package/dist/templates.cjs.js
CHANGED
@@ -98,10 +98,9 @@ $: cssVariables = getCssVariables({ ...$data, ...$actionVariables });
|
|
98
98
|
*
|
99
99
|
* @internal
|
100
100
|
*/
|
101
|
-
function createIndexTsx({ script = ''
|
101
|
+
function createIndexTsx({ script = '' } = {}) {
|
102
102
|
// TODO: `script` should be validated!
|
103
103
|
return `import type { KarteAction, Send, Publish, Props, Variables } from './gen';
|
104
|
-
${polyfill ? `import 'https://polyfill.io/v3/polyfill.min.js?features=IntersectionObserver';` : ''}
|
105
104
|
import { create } from '@plaidev/karte-action-sdk';
|
106
105
|
|
107
106
|
import { props, localVariablesQuery, karteTemplate } from './gen';
|
package/dist/templates.d.ts
CHANGED
@@ -12,9 +12,8 @@ declare function createAppScript(script?: string, icons?: string[], customCompon
|
|
12
12
|
*
|
13
13
|
* @internal
|
14
14
|
*/
|
15
|
-
declare function createIndexTsx({ script
|
15
|
+
declare function createIndexTsx({ script }?: {
|
16
16
|
script?: string;
|
17
|
-
polyfill?: boolean;
|
18
17
|
}): string;
|
19
18
|
/**
|
20
19
|
* 後方互換のためのカスタムスクリプトの初期値の生成
|
package/dist/templates.js
CHANGED
@@ -96,10 +96,9 @@ $: cssVariables = getCssVariables({ ...$data, ...$actionVariables });
|
|
96
96
|
*
|
97
97
|
* @internal
|
98
98
|
*/
|
99
|
-
function createIndexTsx({ script = ''
|
99
|
+
function createIndexTsx({ script = '' } = {}) {
|
100
100
|
// TODO: `script` should be validated!
|
101
101
|
return `import type { KarteAction, Send, Publish, Props, Variables } from './gen';
|
102
|
-
${polyfill ? `import 'https://polyfill.io/v3/polyfill.min.js?features=IntersectionObserver';` : ''}
|
103
102
|
import { create } from '@plaidev/karte-action-sdk';
|
104
103
|
|
105
104
|
import { props, localVariablesQuery, karteTemplate } from './gen';
|