@plaidev/karte-action-sdk 1.1.183-28058867.0d87f4f9 → 1.1.183-28059103.79845c01

Sign up to get free protection for your applications and to get access to all the features.
@@ -36,15 +36,6 @@ type ActionEventHandler = (...args: any[]) => any | Promise<any>;
36
36
  type ActionVariables = {
37
37
  [key: string]: any;
38
38
  };
39
- /**
40
- * アクション設定
41
- *
42
- * @public
43
- */
44
- type ActionSetting = {
45
- send?: (event_name: string, values?: any) => void;
46
- initialState?: string;
47
- };
48
39
  /**
49
40
  * アクションの send 関数
50
41
  *
@@ -57,6 +48,16 @@ type SendFunction = (event_name: string, values?: any) => void;
57
48
  * @public
58
49
  */
59
50
  type PublishFunction = (topic: string, values?: any) => void;
51
+ /**
52
+ * アクション設定
53
+ *
54
+ * @public
55
+ */
56
+ type ActionSetting = {
57
+ send?: SendFunction;
58
+ publish?: PublishFunction;
59
+ initialState?: string;
60
+ };
60
61
  /**
61
62
  * アクションのライフサイクル changeState で呼び出されるフック関数
62
63
  *
@@ -732,6 +733,7 @@ type OperationArgumentTypes = {
732
733
  NumberKeyword: number;
733
734
  TransitState: string;
734
735
  Url: string;
736
+ Color: string;
735
737
  Handler: string;
736
738
  Trigger: string;
737
739
  };
@@ -740,6 +742,7 @@ type OperationArgumentType = keyof OperationArgumentTypes;
740
742
  type BaseOperationOptions = ReadonlyArray<{
741
743
  operation: string;
742
744
  args: ReadonlyArray<{
745
+ name: string;
743
746
  type: OperationArgumentType;
744
747
  default: any;
745
748
  }>;
@@ -765,10 +768,12 @@ declare const OnClickOperationOptions: readonly [
765
768
  readonly operation: "linkTo";
766
769
  readonly args: readonly [
767
770
  {
771
+ readonly name: "url";
768
772
  readonly type: "Url";
769
773
  readonly default: "";
770
774
  },
771
775
  {
776
+ readonly name: "open_new_tab";
772
777
  readonly type: "BooleanKeyword";
773
778
  readonly default: true;
774
779
  }
@@ -778,6 +783,7 @@ declare const OnClickOperationOptions: readonly [
778
783
  readonly operation: "moveTo";
779
784
  readonly args: readonly [
780
785
  {
786
+ readonly name: "state";
781
787
  readonly type: "TransitState";
782
788
  readonly default: "/";
783
789
  }
@@ -787,6 +793,7 @@ declare const OnClickOperationOptions: readonly [
787
793
  readonly operation: "closeApp";
788
794
  readonly args: readonly [
789
795
  {
796
+ readonly name: "trigger";
790
797
  readonly type: "Trigger";
791
798
  readonly default: "button";
792
799
  }
@@ -796,6 +803,7 @@ declare const OnClickOperationOptions: readonly [
796
803
  readonly operation: "runScript";
797
804
  readonly args: readonly [
798
805
  {
806
+ readonly name: "handler";
799
807
  readonly type: "Handler";
800
808
  readonly default: "";
801
809
  }
@@ -805,10 +813,71 @@ declare const OnClickOperationOptions: readonly [
805
813
  readonly operation: "submitForm";
806
814
  readonly args: readonly [
807
815
  {
816
+ readonly name: "state";
808
817
  readonly type: "TransitState";
809
818
  readonly default: "/";
810
819
  }
811
820
  ];
821
+ },
822
+ {
823
+ readonly operation: "bootChat";
824
+ readonly args: readonly [
825
+ {
826
+ readonly name: "hide_launcher";
827
+ readonly type: "BooleanKeyword";
828
+ readonly default: false;
829
+ },
830
+ {
831
+ readonly name: "placement_pc";
832
+ readonly type: "StringKeyword";
833
+ readonly default: "left";
834
+ },
835
+ {
836
+ readonly name: "placement_mobile";
837
+ readonly type: "StringKeyword";
838
+ readonly default: "left";
839
+ },
840
+ {
841
+ readonly name: "horizontal_spacing_pc";
842
+ readonly type: "NumberKeyword";
843
+ readonly default: 20;
844
+ },
845
+ {
846
+ readonly name: "horizontal_spacing_mobile";
847
+ readonly type: "NumberKeyword";
848
+ readonly default: 20;
849
+ },
850
+ {
851
+ readonly name: "vertical_spacing_pc";
852
+ readonly type: "NumberKeyword";
853
+ readonly default: 20;
854
+ },
855
+ {
856
+ readonly name: "vertical_spacing_mobile";
857
+ readonly type: "NumberKeyword";
858
+ readonly default: 20;
859
+ },
860
+ {
861
+ readonly name: "theme_color";
862
+ readonly type: "Color";
863
+ readonly default: "#2aab9f";
864
+ },
865
+ {
866
+ readonly name: "header_title";
867
+ readonly type: "StringKeyword";
868
+ readonly default: "KARTE\u30B5\u30DD\u30FC\u30C8\u30C1\u30FC\u30E0";
869
+ },
870
+ {
871
+ readonly name: "header_description";
872
+ readonly type: "StringKeyword";
873
+ readonly default: "\u3054\u8CEA\u554F\u304C\u3042\u308C\u3070\u304A\u5C0B\u306D\u304F\u3060\u3055\u3044\u3002\nKARTE\u30B5\u30DD\u30FC\u30C8\u62C5\u5F53\u8005\u306B\u3064\u306A\u304C\u308A\u307E\u3059\u3002\u30B5\u30DD\u30FC\u30C8\u53D7\u4ED8\u6642\u9593\u306F\u5E73\u65E510:30-17:30\u3067\u3059\u3002";
874
+ },
875
+ {
876
+ readonly name: "launcher_image";
877
+ readonly type: "StringKeyword";
878
+ readonly default: "";
879
+ }
880
+ ];
812
881
  }
813
882
  ];
814
883
  /** @internal */
@@ -1397,15 +1466,6 @@ declare namespace widget {
1397
1466
  type ActionVariables = {
1398
1467
  [key: string]: any;
1399
1468
  };
1400
- /**
1401
- * アクション設定
1402
- *
1403
- * @public
1404
- */
1405
- type ActionSetting = {
1406
- send?: (event_name: string, values?: any) => void;
1407
- initialState?: string;
1408
- };
1409
1469
  /**
1410
1470
  * アクションの send 関数
1411
1471
  *
@@ -1418,6 +1478,16 @@ declare namespace widget {
1418
1478
  * @public
1419
1479
  */
1420
1480
  type PublishFunction = (topic: string, values?: any) => void;
1481
+ /**
1482
+ * アクション設定
1483
+ *
1484
+ * @public
1485
+ */
1486
+ type ActionSetting = {
1487
+ send?: SendFunction;
1488
+ publish?: PublishFunction;
1489
+ initialState?: string;
1490
+ };
1421
1491
  /**
1422
1492
  * アクションのライフサイクル changeState で呼び出されるフック関数
1423
1493
  *
@@ -340,10 +340,12 @@ const OnClickOperationOptions = [
340
340
  operation: 'linkTo',
341
341
  args: [
342
342
  {
343
+ name: 'url',
343
344
  type: 'Url',
344
345
  default: '',
345
346
  },
346
347
  {
348
+ name: 'open_new_tab',
347
349
  type: 'BooleanKeyword',
348
350
  default: true,
349
351
  },
@@ -353,6 +355,7 @@ const OnClickOperationOptions = [
353
355
  operation: 'moveTo',
354
356
  args: [
355
357
  {
358
+ name: 'state',
356
359
  type: 'TransitState',
357
360
  default: '/',
358
361
  },
@@ -362,6 +365,7 @@ const OnClickOperationOptions = [
362
365
  operation: 'closeApp',
363
366
  args: [
364
367
  {
368
+ name: 'trigger',
365
369
  type: 'Trigger',
366
370
  default: 'button',
367
371
  },
@@ -371,6 +375,7 @@ const OnClickOperationOptions = [
371
375
  operation: 'runScript',
372
376
  args: [
373
377
  {
378
+ name: 'handler',
374
379
  type: 'Handler',
375
380
  default: '',
376
381
  },
@@ -380,11 +385,73 @@ const OnClickOperationOptions = [
380
385
  operation: 'submitForm',
381
386
  args: [
382
387
  {
388
+ name: 'state',
383
389
  type: 'TransitState',
384
390
  default: '/',
385
391
  },
386
392
  ],
387
393
  },
394
+ {
395
+ operation: 'bootChat',
396
+ args: [
397
+ {
398
+ name: 'hide_launcher',
399
+ type: 'BooleanKeyword',
400
+ default: false,
401
+ },
402
+ {
403
+ name: 'placement_pc',
404
+ type: 'StringKeyword',
405
+ default: 'left',
406
+ },
407
+ {
408
+ name: 'placement_mobile',
409
+ type: 'StringKeyword',
410
+ default: 'left',
411
+ },
412
+ {
413
+ name: 'horizontal_spacing_pc',
414
+ type: 'NumberKeyword',
415
+ default: 20,
416
+ },
417
+ {
418
+ name: 'horizontal_spacing_mobile',
419
+ type: 'NumberKeyword',
420
+ default: 20,
421
+ },
422
+ {
423
+ name: 'vertical_spacing_pc',
424
+ type: 'NumberKeyword',
425
+ default: 20,
426
+ },
427
+ {
428
+ name: 'vertical_spacing_mobile',
429
+ type: 'NumberKeyword',
430
+ default: 20,
431
+ },
432
+ {
433
+ name: 'theme_color',
434
+ type: 'Color',
435
+ default: '#2aab9f',
436
+ },
437
+ {
438
+ name: 'header_title',
439
+ type: 'StringKeyword',
440
+ default: 'KARTEサポートチーム',
441
+ },
442
+ {
443
+ name: 'header_description',
444
+ type: 'StringKeyword',
445
+ default: `ご質問があればお尋ねください。
446
+ KARTEサポート担当者につながります。サポート受付時間は平日10:30-17:30です。`,
447
+ },
448
+ {
449
+ name: 'launcher_image',
450
+ type: 'StringKeyword',
451
+ default: '',
452
+ },
453
+ ],
454
+ },
388
455
  ];
389
456
  /** @internal */
390
457
  const LengthUnits = ['px', 'em', 'rem', 'vw', 'fr', '%'];
@@ -1043,6 +1110,11 @@ const send_event = (event_name, values) => {
1043
1110
  setting?.send?.(event_name, values);
1044
1111
  };
1045
1112
  /** @internal */
1113
+ const publish_edge = (topic, values) => {
1114
+ const setting = getSetting();
1115
+ setting?.publish?.(topic, values);
1116
+ };
1117
+ /** @internal */
1046
1118
  const initialize = (setting) => {
1047
1119
  const newSetting = setSetting(setting);
1048
1120
  if (newSetting.initialState) {
@@ -2764,6 +2836,24 @@ const submitForm = (to) => () => {
2764
2836
  _moveTo(to);
2765
2837
  };
2766
2838
  /** @internal */
2839
+ const bootChat = (hide_launcher, placement_pc, placement_mobile, horizontal_spacing_pc, horizontal_spacing_mobile, vertical_spacing_pc, vertical_spacing_mobile, theme_color, header_title, header_description, launcher_image) => () => {
2840
+ const options = {
2841
+ hide_launcher,
2842
+ placement_pc,
2843
+ placement_mobile,
2844
+ horizontal_spacing_pc,
2845
+ horizontal_spacing_mobile,
2846
+ vertical_spacing_pc,
2847
+ vertical_spacing_mobile,
2848
+ theme_color,
2849
+ header_title,
2850
+ header_description: header_description.replace(/<br\s*\/?>/gi, '\n'),
2851
+ };
2852
+ if (launcher_image && launcher_image !== '')
2853
+ options.launcher_image = launcher_image;
2854
+ publish_edge('talk', { actionName: 'boot', args: [options] });
2855
+ };
2856
+ /** @internal */
2767
2857
  const execOnClickOperation = (onClickOperation) => {
2768
2858
  if (onClickOperation.operation === 'linkTo') {
2769
2859
  linkTo(...onClickOperation.args)();
@@ -2780,6 +2870,9 @@ const execOnClickOperation = (onClickOperation) => {
2780
2870
  else if (onClickOperation.operation === 'submitForm') {
2781
2871
  submitForm(onClickOperation.args[0])();
2782
2872
  }
2873
+ else if (onClickOperation.operation === 'bootChat') {
2874
+ bootChat(...onClickOperation.args)();
2875
+ }
2783
2876
  };
2784
2877
  /** @internal */
2785
2878
  const haveFunction = (onClickOperation) => {
@@ -36,15 +36,6 @@ type ActionEventHandler = (...args: any[]) => any | Promise<any>;
36
36
  type ActionVariables = {
37
37
  [key: string]: any;
38
38
  };
39
- /**
40
- * アクション設定
41
- *
42
- * @public
43
- */
44
- type ActionSetting = {
45
- send?: (event_name: string, values?: any) => void;
46
- initialState?: string;
47
- };
48
39
  /**
49
40
  * アクションの send 関数
50
41
  *
@@ -57,6 +48,16 @@ type SendFunction = (event_name: string, values?: any) => void;
57
48
  * @public
58
49
  */
59
50
  type PublishFunction = (topic: string, values?: any) => void;
51
+ /**
52
+ * アクション設定
53
+ *
54
+ * @public
55
+ */
56
+ type ActionSetting = {
57
+ send?: SendFunction;
58
+ publish?: PublishFunction;
59
+ initialState?: string;
60
+ };
60
61
  /**
61
62
  * アクションのライフサイクル changeState で呼び出されるフック関数
62
63
  *
@@ -732,6 +733,7 @@ type OperationArgumentTypes = {
732
733
  NumberKeyword: number;
733
734
  TransitState: string;
734
735
  Url: string;
736
+ Color: string;
735
737
  Handler: string;
736
738
  Trigger: string;
737
739
  };
@@ -740,6 +742,7 @@ type OperationArgumentType = keyof OperationArgumentTypes;
740
742
  type BaseOperationOptions = ReadonlyArray<{
741
743
  operation: string;
742
744
  args: ReadonlyArray<{
745
+ name: string;
743
746
  type: OperationArgumentType;
744
747
  default: any;
745
748
  }>;
@@ -765,10 +768,12 @@ declare const OnClickOperationOptions: readonly [
765
768
  readonly operation: "linkTo";
766
769
  readonly args: readonly [
767
770
  {
771
+ readonly name: "url";
768
772
  readonly type: "Url";
769
773
  readonly default: "";
770
774
  },
771
775
  {
776
+ readonly name: "open_new_tab";
772
777
  readonly type: "BooleanKeyword";
773
778
  readonly default: true;
774
779
  }
@@ -778,6 +783,7 @@ declare const OnClickOperationOptions: readonly [
778
783
  readonly operation: "moveTo";
779
784
  readonly args: readonly [
780
785
  {
786
+ readonly name: "state";
781
787
  readonly type: "TransitState";
782
788
  readonly default: "/";
783
789
  }
@@ -787,6 +793,7 @@ declare const OnClickOperationOptions: readonly [
787
793
  readonly operation: "closeApp";
788
794
  readonly args: readonly [
789
795
  {
796
+ readonly name: "trigger";
790
797
  readonly type: "Trigger";
791
798
  readonly default: "button";
792
799
  }
@@ -796,6 +803,7 @@ declare const OnClickOperationOptions: readonly [
796
803
  readonly operation: "runScript";
797
804
  readonly args: readonly [
798
805
  {
806
+ readonly name: "handler";
799
807
  readonly type: "Handler";
800
808
  readonly default: "";
801
809
  }
@@ -805,10 +813,71 @@ declare const OnClickOperationOptions: readonly [
805
813
  readonly operation: "submitForm";
806
814
  readonly args: readonly [
807
815
  {
816
+ readonly name: "state";
808
817
  readonly type: "TransitState";
809
818
  readonly default: "/";
810
819
  }
811
820
  ];
821
+ },
822
+ {
823
+ readonly operation: "bootChat";
824
+ readonly args: readonly [
825
+ {
826
+ readonly name: "hide_launcher";
827
+ readonly type: "BooleanKeyword";
828
+ readonly default: false;
829
+ },
830
+ {
831
+ readonly name: "placement_pc";
832
+ readonly type: "StringKeyword";
833
+ readonly default: "left";
834
+ },
835
+ {
836
+ readonly name: "placement_mobile";
837
+ readonly type: "StringKeyword";
838
+ readonly default: "left";
839
+ },
840
+ {
841
+ readonly name: "horizontal_spacing_pc";
842
+ readonly type: "NumberKeyword";
843
+ readonly default: 20;
844
+ },
845
+ {
846
+ readonly name: "horizontal_spacing_mobile";
847
+ readonly type: "NumberKeyword";
848
+ readonly default: 20;
849
+ },
850
+ {
851
+ readonly name: "vertical_spacing_pc";
852
+ readonly type: "NumberKeyword";
853
+ readonly default: 20;
854
+ },
855
+ {
856
+ readonly name: "vertical_spacing_mobile";
857
+ readonly type: "NumberKeyword";
858
+ readonly default: 20;
859
+ },
860
+ {
861
+ readonly name: "theme_color";
862
+ readonly type: "Color";
863
+ readonly default: "#2aab9f";
864
+ },
865
+ {
866
+ readonly name: "header_title";
867
+ readonly type: "StringKeyword";
868
+ readonly default: "KARTE\u30B5\u30DD\u30FC\u30C8\u30C1\u30FC\u30E0";
869
+ },
870
+ {
871
+ readonly name: "header_description";
872
+ readonly type: "StringKeyword";
873
+ readonly default: "\u3054\u8CEA\u554F\u304C\u3042\u308C\u3070\u304A\u5C0B\u306D\u304F\u3060\u3055\u3044\u3002\nKARTE\u30B5\u30DD\u30FC\u30C8\u62C5\u5F53\u8005\u306B\u3064\u306A\u304C\u308A\u307E\u3059\u3002\u30B5\u30DD\u30FC\u30C8\u53D7\u4ED8\u6642\u9593\u306F\u5E73\u65E510:30-17:30\u3067\u3059\u3002";
874
+ },
875
+ {
876
+ readonly name: "launcher_image";
877
+ readonly type: "StringKeyword";
878
+ readonly default: "";
879
+ }
880
+ ];
812
881
  }
813
882
  ];
814
883
  /** @internal */
@@ -1397,15 +1466,6 @@ declare namespace widget {
1397
1466
  type ActionVariables = {
1398
1467
  [key: string]: any;
1399
1468
  };
1400
- /**
1401
- * アクション設定
1402
- *
1403
- * @public
1404
- */
1405
- type ActionSetting = {
1406
- send?: (event_name: string, values?: any) => void;
1407
- initialState?: string;
1408
- };
1409
1469
  /**
1410
1470
  * アクションの send 関数
1411
1471
  *
@@ -1418,6 +1478,16 @@ declare namespace widget {
1418
1478
  * @public
1419
1479
  */
1420
1480
  type PublishFunction = (topic: string, values?: any) => void;
1481
+ /**
1482
+ * アクション設定
1483
+ *
1484
+ * @public
1485
+ */
1486
+ type ActionSetting = {
1487
+ send?: SendFunction;
1488
+ publish?: PublishFunction;
1489
+ initialState?: string;
1490
+ };
1421
1491
  /**
1422
1492
  * アクションのライフサイクル changeState で呼び出されるフック関数
1423
1493
  *
package/dist/index.es.js CHANGED
@@ -344,10 +344,12 @@ const OnClickOperationOptions = [
344
344
  operation: 'linkTo',
345
345
  args: [
346
346
  {
347
+ name: 'url',
347
348
  type: 'Url',
348
349
  default: '',
349
350
  },
350
351
  {
352
+ name: 'open_new_tab',
351
353
  type: 'BooleanKeyword',
352
354
  default: true,
353
355
  },
@@ -357,6 +359,7 @@ const OnClickOperationOptions = [
357
359
  operation: 'moveTo',
358
360
  args: [
359
361
  {
362
+ name: 'state',
360
363
  type: 'TransitState',
361
364
  default: '/',
362
365
  },
@@ -366,6 +369,7 @@ const OnClickOperationOptions = [
366
369
  operation: 'closeApp',
367
370
  args: [
368
371
  {
372
+ name: 'trigger',
369
373
  type: 'Trigger',
370
374
  default: 'button',
371
375
  },
@@ -375,6 +379,7 @@ const OnClickOperationOptions = [
375
379
  operation: 'runScript',
376
380
  args: [
377
381
  {
382
+ name: 'handler',
378
383
  type: 'Handler',
379
384
  default: '',
380
385
  },
@@ -384,11 +389,73 @@ const OnClickOperationOptions = [
384
389
  operation: 'submitForm',
385
390
  args: [
386
391
  {
392
+ name: 'state',
387
393
  type: 'TransitState',
388
394
  default: '/',
389
395
  },
390
396
  ],
391
397
  },
398
+ {
399
+ operation: 'bootChat',
400
+ args: [
401
+ {
402
+ name: 'hide_launcher',
403
+ type: 'BooleanKeyword',
404
+ default: false,
405
+ },
406
+ {
407
+ name: 'placement_pc',
408
+ type: 'StringKeyword',
409
+ default: 'left',
410
+ },
411
+ {
412
+ name: 'placement_mobile',
413
+ type: 'StringKeyword',
414
+ default: 'left',
415
+ },
416
+ {
417
+ name: 'horizontal_spacing_pc',
418
+ type: 'NumberKeyword',
419
+ default: 20,
420
+ },
421
+ {
422
+ name: 'horizontal_spacing_mobile',
423
+ type: 'NumberKeyword',
424
+ default: 20,
425
+ },
426
+ {
427
+ name: 'vertical_spacing_pc',
428
+ type: 'NumberKeyword',
429
+ default: 20,
430
+ },
431
+ {
432
+ name: 'vertical_spacing_mobile',
433
+ type: 'NumberKeyword',
434
+ default: 20,
435
+ },
436
+ {
437
+ name: 'theme_color',
438
+ type: 'Color',
439
+ default: '#2aab9f',
440
+ },
441
+ {
442
+ name: 'header_title',
443
+ type: 'StringKeyword',
444
+ default: 'KARTEサポートチーム',
445
+ },
446
+ {
447
+ name: 'header_description',
448
+ type: 'StringKeyword',
449
+ default: `ご質問があればお尋ねください。
450
+ KARTEサポート担当者につながります。サポート受付時間は平日10:30-17:30です。`,
451
+ },
452
+ {
453
+ name: 'launcher_image',
454
+ type: 'StringKeyword',
455
+ default: '',
456
+ },
457
+ ],
458
+ },
392
459
  ];
393
460
  /** @internal */
394
461
  const LengthUnits = ['px', 'em', 'rem', 'vw', 'fr', '%'];
@@ -1016,6 +1083,11 @@ const send_event = (event_name, values) => {
1016
1083
  setting?.send?.(event_name, values);
1017
1084
  };
1018
1085
  /** @internal */
1086
+ const publish_edge = (topic, values) => {
1087
+ const setting = getSetting();
1088
+ setting?.publish?.(topic, values);
1089
+ };
1090
+ /** @internal */
1019
1091
  const initialize = (setting) => {
1020
1092
  const newSetting = setSetting(setting);
1021
1093
  if (newSetting.initialState) {
@@ -2788,6 +2860,24 @@ const submitForm = (to) => () => {
2788
2860
  _moveTo(to);
2789
2861
  };
2790
2862
  /** @internal */
2863
+ const bootChat = (hide_launcher, placement_pc, placement_mobile, horizontal_spacing_pc, horizontal_spacing_mobile, vertical_spacing_pc, vertical_spacing_mobile, theme_color, header_title, header_description, launcher_image) => () => {
2864
+ const options = {
2865
+ hide_launcher,
2866
+ placement_pc,
2867
+ placement_mobile,
2868
+ horizontal_spacing_pc,
2869
+ horizontal_spacing_mobile,
2870
+ vertical_spacing_pc,
2871
+ vertical_spacing_mobile,
2872
+ theme_color,
2873
+ header_title,
2874
+ header_description: header_description.replace(/<br\s*\/?>/gi, '\n'),
2875
+ };
2876
+ if (launcher_image && launcher_image !== '')
2877
+ options.launcher_image = launcher_image;
2878
+ publish_edge('talk', { actionName: 'boot', args: [options] });
2879
+ };
2880
+ /** @internal */
2791
2881
  const execOnClickOperation = (onClickOperation) => {
2792
2882
  if (onClickOperation.operation === 'linkTo') {
2793
2883
  linkTo(...onClickOperation.args)();
@@ -2804,6 +2894,9 @@ const execOnClickOperation = (onClickOperation) => {
2804
2894
  else if (onClickOperation.operation === 'submitForm') {
2805
2895
  submitForm(onClickOperation.args[0])();
2806
2896
  }
2897
+ else if (onClickOperation.operation === 'bootChat') {
2898
+ bootChat(...onClickOperation.args)();
2899
+ }
2807
2900
  };
2808
2901
  /** @internal */
2809
2902
  const haveFunction = (onClickOperation) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plaidev/karte-action-sdk",
3
- "version": "1.1.183-28058867.0d87f4f9",
3
+ "version": "1.1.183-28059103.79845c01",
4
4
  "author": "Plaid Inc.",
5
5
  "license": "Apache-2.0",
6
6
  "module": "./dist/index.es.js",