@voiceflow/sdk-runtime 1.6.0 → 1.8.0

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.
Files changed (120) hide show
  1. package/build/cjs/main.d.ts +3 -3
  2. package/build/cjs/main.d.ts.map +1 -1
  3. package/build/cjs/main.js +3 -3
  4. package/build/cjs/runtime/index.d.ts +4 -4
  5. package/build/cjs/runtime/index.d.ts.map +1 -1
  6. package/build/cjs/runtime/index.js +4 -4
  7. package/build/cjs/runtime/runtime.interface.d.ts +10 -4
  8. package/build/cjs/runtime/runtime.interface.d.ts.map +1 -1
  9. package/build/cjs/runtime/runtime.service.auth.d.ts +2 -1
  10. package/build/cjs/runtime/runtime.service.auth.d.ts.map +1 -1
  11. package/build/cjs/runtime/runtime.service.auth.js +4 -1
  12. package/build/cjs/runtime/runtime.service.d.ts +2 -1
  13. package/build/cjs/runtime/runtime.service.d.ts.map +1 -1
  14. package/build/cjs/runtime/runtime.service.public.d.ts +2 -1
  15. package/build/cjs/runtime/runtime.service.public.d.ts.map +1 -1
  16. package/build/cjs/runtime/runtime.service.public.js +12 -1
  17. package/build/cjs/sdk/index.d.ts +2 -2
  18. package/build/cjs/sdk/index.d.ts.map +1 -1
  19. package/build/cjs/sdk/index.js +2 -2
  20. package/build/cjs/sdk/sdk.interface.d.ts +3 -3
  21. package/build/cjs/sdk/sdk.interface.d.ts.map +1 -1
  22. package/build/cjs/sdk/sdk.service.d.ts +5 -4
  23. package/build/cjs/sdk/sdk.service.d.ts.map +1 -1
  24. package/build/cjs/sdk/sdk.service.js +5 -2
  25. package/build/cjs/trace/components/card.component.d.ts +1 -1
  26. package/build/cjs/trace/components/card.component.js +2 -2
  27. package/build/cjs/trace/components/cardV2.component.d.ts +2 -2
  28. package/build/cjs/trace/components/cardV2.component.d.ts.map +1 -1
  29. package/build/cjs/trace/components/cardV2.component.js +3 -3
  30. package/build/cjs/trace/components/choice.component.d.ts +2 -2
  31. package/build/cjs/trace/components/choice.component.d.ts.map +1 -1
  32. package/build/cjs/trace/components/choice.component.js +3 -3
  33. package/build/cjs/trace/components/end.component.d.ts +2 -2
  34. package/build/cjs/trace/components/end.component.d.ts.map +1 -1
  35. package/build/cjs/trace/components/end.component.js +3 -3
  36. package/build/cjs/trace/components/index.d.ts +8 -8
  37. package/build/cjs/trace/components/index.d.ts.map +1 -1
  38. package/build/cjs/trace/components/index.js +8 -8
  39. package/build/cjs/trace/components/speak.component.d.ts +2 -2
  40. package/build/cjs/trace/components/speak.component.d.ts.map +1 -1
  41. package/build/cjs/trace/components/speak.component.js +3 -3
  42. package/build/cjs/trace/components/stream.component.d.ts +2 -2
  43. package/build/cjs/trace/components/stream.component.d.ts.map +1 -1
  44. package/build/cjs/trace/components/stream.component.js +3 -3
  45. package/build/cjs/trace/components/text.component.d.ts +2 -2
  46. package/build/cjs/trace/components/text.component.d.ts.map +1 -1
  47. package/build/cjs/trace/components/text.component.js +3 -3
  48. package/build/cjs/trace/components/visual.component.d.ts +1 -1
  49. package/build/cjs/trace/components/visual.component.js +3 -3
  50. package/build/cjs/trace/index.d.ts +4 -4
  51. package/build/cjs/trace/index.d.ts.map +1 -1
  52. package/build/cjs/trace/index.js +4 -4
  53. package/build/cjs/trace/trace.component.d.ts +3 -3
  54. package/build/cjs/trace/trace.component.d.ts.map +1 -1
  55. package/build/cjs/trace/trace.interface.d.ts +2 -2
  56. package/build/cjs/trace/trace.interface.d.ts.map +1 -1
  57. package/build/cjs/trace/trace.service.d.ts +1 -1
  58. package/build/cjs/trace/trace.service.d.ts.map +1 -1
  59. package/build/esm/main.d.ts.map +1 -1
  60. package/build/esm/runtime/index.d.ts +1 -1
  61. package/build/esm/runtime/index.d.ts.map +1 -1
  62. package/build/esm/runtime/index.js +1 -1
  63. package/build/esm/runtime/runtime.interface.d.ts +10 -4
  64. package/build/esm/runtime/runtime.interface.d.ts.map +1 -1
  65. package/build/esm/runtime/runtime.service.auth.d.ts +1 -0
  66. package/build/esm/runtime/runtime.service.auth.d.ts.map +1 -1
  67. package/build/esm/runtime/runtime.service.auth.js +4 -1
  68. package/build/esm/runtime/runtime.service.d.ts +2 -1
  69. package/build/esm/runtime/runtime.service.d.ts.map +1 -1
  70. package/build/esm/runtime/runtime.service.public.d.ts +2 -1
  71. package/build/esm/runtime/runtime.service.public.d.ts.map +1 -1
  72. package/build/esm/runtime/runtime.service.public.js +12 -1
  73. package/build/esm/sdk/index.d.ts.map +1 -1
  74. package/build/esm/sdk/sdk.interface.d.ts +1 -1
  75. package/build/esm/sdk/sdk.interface.d.ts.map +1 -1
  76. package/build/esm/sdk/sdk.service.d.ts +3 -2
  77. package/build/esm/sdk/sdk.service.d.ts.map +1 -1
  78. package/build/esm/sdk/sdk.service.js +3 -0
  79. package/build/esm/trace/components/cardV2.component.d.ts.map +1 -1
  80. package/build/esm/trace/components/choice.component.d.ts.map +1 -1
  81. package/build/esm/trace/components/end.component.d.ts.map +1 -1
  82. package/build/esm/trace/components/index.d.ts.map +1 -1
  83. package/build/esm/trace/components/speak.component.d.ts.map +1 -1
  84. package/build/esm/trace/components/stream.component.d.ts.map +1 -1
  85. package/build/esm/trace/components/text.component.d.ts.map +1 -1
  86. package/build/esm/trace/index.d.ts.map +1 -1
  87. package/build/esm/trace/trace.component.d.ts +1 -1
  88. package/build/esm/trace/trace.component.d.ts.map +1 -1
  89. package/build/esm/trace/trace.interface.d.ts +2 -2
  90. package/build/esm/trace/trace.interface.d.ts.map +1 -1
  91. package/build/esm/trace/trace.service.d.ts.map +1 -1
  92. package/package.json +22 -25
  93. package/CHANGELOG.md +0 -275
  94. package/sonar-project.properties +0 -6
  95. package/src/main.ts +0 -3
  96. package/src/runtime/index.ts +0 -4
  97. package/src/runtime/runtime.interface.ts +0 -105
  98. package/src/runtime/runtime.service.auth.ts +0 -46
  99. package/src/runtime/runtime.service.public.ts +0 -67
  100. package/src/runtime/runtime.service.ts +0 -63
  101. package/src/sdk/index.ts +0 -2
  102. package/src/sdk/sdk.interface.ts +0 -4
  103. package/src/sdk/sdk.service.ts +0 -46
  104. package/src/trace/components/card.component.ts +0 -5
  105. package/src/trace/components/cardV2.component.ts +0 -5
  106. package/src/trace/components/choice.component.ts +0 -5
  107. package/src/trace/components/end.component.ts +0 -5
  108. package/src/trace/components/index.ts +0 -8
  109. package/src/trace/components/speak.component.ts +0 -5
  110. package/src/trace/components/stream.component.ts +0 -5
  111. package/src/trace/components/text.component.ts +0 -5
  112. package/src/trace/components/visual.component.ts +0 -9
  113. package/src/trace/index.ts +0 -4
  114. package/src/trace/trace.component.ts +0 -21
  115. package/src/trace/trace.interface.ts +0 -21
  116. package/src/trace/trace.service.ts +0 -34
  117. package/tsconfig.build.cjs.json +0 -9
  118. package/tsconfig.build.esm.json +0 -12
  119. package/tsconfig.build.json +0 -5
  120. package/tsconfig.json +0 -11
package/CHANGELOG.md DELETED
@@ -1,275 +0,0 @@
1
- # Change Log
2
-
3
- All notable changes to this project will be documented in this file.
4
- See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
-
6
- # [1.6.0](https://github.com/voiceflow/adapters/compare/@voiceflow/sdk-runtime@1.5.28...@voiceflow/sdk-runtime@1.6.0) (2023-06-06)
7
-
8
- ### Bug Fixes
9
-
10
- * **deps:** update dependency @voiceflow/base-types to v2.81.12 (vf-000) ([#87](https://github.com/voiceflow/adapters/issues/87)) ([5b8aa56](https://github.com/voiceflow/adapters/commit/5b8aa56b3269673c8e137a422cc6fd21e2295323))
11
- * **deps:** update dependency @voiceflow/base-types to v2.81.13 (vf-000) ([#88](https://github.com/voiceflow/adapters/issues/88)) ([381e145](https://github.com/voiceflow/adapters/commit/381e14536e56168f71839cc738d593d43a44968e))
12
- * **deps:** update dependency @voiceflow/base-types to v2.81.14 (vf-000) ([#89](https://github.com/voiceflow/adapters/issues/89)) ([ceec206](https://github.com/voiceflow/adapters/commit/ceec206fbd6dd0a9dec05b48e840a275b2a7c668))
13
- * **deps:** update dependency @voiceflow/base-types to v2.81.7 (vf-000) ([#84](https://github.com/voiceflow/adapters/issues/84)) ([9689b5a](https://github.com/voiceflow/adapters/commit/9689b5adf8b02d75123eafa8a1646af89a3164a9))
14
- * **deps:** update dependency @voiceflow/base-types to v2.81.9 (vf-000) ([#85](https://github.com/voiceflow/adapters/issues/85)) ([309ec41](https://github.com/voiceflow/adapters/commit/309ec4186373e8458b092a762c17692e4633a6f4))
15
- * **deps:** update dependency @voiceflow/base-types to v2.82.0 (vf-000) ([#90](https://github.com/voiceflow/adapters/issues/90)) ([96d8397](https://github.com/voiceflow/adapters/commit/96d8397ef4423b46581c184cf1bfc4c084425ad3))
16
- * **deps:** update dependency @voiceflow/base-types to v2.83.1 (vf-000) ([#91](https://github.com/voiceflow/adapters/issues/91)) ([2c72e11](https://github.com/voiceflow/adapters/commit/2c72e11e4e0926092fc6238963596d47109f89e0))
17
- * **deps:** update dependency @voiceflow/base-types to v2.83.2 (vf-000) ([#92](https://github.com/voiceflow/adapters/issues/92)) ([d6ce499](https://github.com/voiceflow/adapters/commit/d6ce499f892a6bb59f5a1bda914c71ea8751ce78))
18
- * **deps:** update dependency @voiceflow/base-types to v2.83.3 (vf-000) ([#93](https://github.com/voiceflow/adapters/issues/93)) ([15efa08](https://github.com/voiceflow/adapters/commit/15efa08659aa8cccef10acb9d1966e4f90987cca))
19
- * **deps:** update dependency @voiceflow/base-types to v2.84.0 (vf-000) ([#94](https://github.com/voiceflow/adapters/issues/94)) ([0cabe66](https://github.com/voiceflow/adapters/commit/0cabe6615d1c3be28ea28461510330101ea0f123))
20
- * **deps:** update dependency @voiceflow/base-types to v2.84.3 (vf-000) ([#95](https://github.com/voiceflow/adapters/issues/95)) ([83d4914](https://github.com/voiceflow/adapters/commit/83d491413d220b2c8c9ba2ed190c85dff449e334))
21
- * **deps:** update voiceflow dependencies (automerge) (vf-000) ([#86](https://github.com/voiceflow/adapters/issues/86)) ([727444f](https://github.com/voiceflow/adapters/commit/727444f96430378109dc42ec3c76cec449774a9a))
22
-
23
- ### Features
24
-
25
- * implement new public feedback endpoint (CT-2052) ([#96](https://github.com/voiceflow/adapters/issues/96)) ([78184e7](https://github.com/voiceflow/adapters/commit/78184e741fa9f8609911f305db065a68162eb8bb))
26
-
27
- ## [1.5.28](https://github.com/voiceflow/adapters/compare/@voiceflow/sdk-runtime@1.5.27...@voiceflow/sdk-runtime@1.5.28) (2023-04-03)
28
-
29
- ### Bug Fixes
30
-
31
- * **deps:** update dependency @voiceflow/base-types to v2.81.6 (vf-000) ([#83](https://github.com/voiceflow/adapters/issues/83)) ([f370c27](https://github.com/voiceflow/adapters/commit/f370c27e2c67af571f6fe41dac7ee0a4ae5cc3b1))
32
-
33
- ## [1.5.27](https://github.com/voiceflow/adapters/compare/@voiceflow/sdk-runtime@1.5.26...@voiceflow/sdk-runtime@1.5.27) (2023-03-31)
34
-
35
- ### Bug Fixes
36
-
37
- * **deps:** update dependency @voiceflow/base-types to v2.81.5 (vf-000) ([#82](https://github.com/voiceflow/adapters/issues/82)) ([9b51f1d](https://github.com/voiceflow/adapters/commit/9b51f1d745e44d29708e40e2d9eae2add0351c98))
38
-
39
- ## [1.5.26](https://github.com/voiceflow/adapters/compare/@voiceflow/sdk-runtime@1.5.25...@voiceflow/sdk-runtime@1.5.26) (2023-03-29)
40
-
41
- ### Bug Fixes
42
-
43
- * **deps:** update dependency @voiceflow/base-types to v2.81.4 (vf-000) ([#81](https://github.com/voiceflow/adapters/issues/81)) ([487ff68](https://github.com/voiceflow/adapters/commit/487ff68af3b2a1afcfc04c4f77b3e8e41d766c96))
44
-
45
- ## [1.5.25](https://github.com/voiceflow/adapters/compare/@voiceflow/sdk-runtime@1.5.24...@voiceflow/sdk-runtime@1.5.25) (2023-03-27)
46
-
47
- ### Bug Fixes
48
-
49
- * **deps:** update dependency @voiceflow/base-types to v2.81.3 (vf-000) ([#80](https://github.com/voiceflow/adapters/issues/80)) ([391615d](https://github.com/voiceflow/adapters/commit/391615d92bfff98b495997c6ae38ad3af4140174))
50
-
51
- ## [1.5.24](https://github.com/voiceflow/adapters/compare/@voiceflow/sdk-runtime@1.5.23...@voiceflow/sdk-runtime@1.5.24) (2023-03-17)
52
-
53
- ### Bug Fixes
54
-
55
- * **deps:** update dependency @voiceflow/base-types to v2.81.2 (vf-000) ([#79](https://github.com/voiceflow/adapters/issues/79)) ([d1e8adc](https://github.com/voiceflow/adapters/commit/d1e8adcba1998df89ea668ffe3eae274c2ea8209))
56
-
57
- ## [1.5.23](https://github.com/voiceflow/adapters/compare/@voiceflow/sdk-runtime@1.5.22...@voiceflow/sdk-runtime@1.5.23) (2023-03-16)
58
-
59
- ### Bug Fixes
60
-
61
- * **deps:** update dependency @voiceflow/base-types to v2.81.1 (vf-000) ([#78](https://github.com/voiceflow/adapters/issues/78)) ([ca38f97](https://github.com/voiceflow/adapters/commit/ca38f975b9437be06878131150bf05c1a5f91f85))
62
-
63
- ## [1.5.22](https://github.com/voiceflow/adapters/compare/@voiceflow/sdk-runtime@1.5.21...@voiceflow/sdk-runtime@1.5.22) (2023-03-06)
64
-
65
- ### Bug Fixes
66
-
67
- * **deps:** update dependency @voiceflow/base-types to v2.81.0 (vf-000) ([#77](https://github.com/voiceflow/adapters/issues/77)) ([8e7b2bd](https://github.com/voiceflow/adapters/commit/8e7b2bd636da8da926ad2ccceb239ccca8f8d481))
68
-
69
- ## [1.5.21](https://github.com/voiceflow/adapters/compare/@voiceflow/sdk-runtime@1.5.20...@voiceflow/sdk-runtime@1.5.21) (2023-02-16)
70
-
71
- ### Bug Fixes
72
-
73
- * **deps:** update dependency @voiceflow/base-types to v2.80.3 (vf-000) ([#74](https://github.com/voiceflow/adapters/issues/74)) ([e2eddf6](https://github.com/voiceflow/adapters/commit/e2eddf623b8936f381668ac83eae1f26791b0c21))
74
-
75
- ## [1.5.20](https://github.com/voiceflow/adapters/compare/@voiceflow/sdk-runtime@1.5.19...@voiceflow/sdk-runtime@1.5.20) (2023-02-15)
76
-
77
- ### Bug Fixes
78
-
79
- * **deps:** update dependency @voiceflow/base-types to v2.80.2 (vf-000) ([#73](https://github.com/voiceflow/adapters/issues/73)) ([f85229f](https://github.com/voiceflow/adapters/commit/f85229f9cebeec8fefe1d92469a332f013d220c4))
80
-
81
- ## [1.5.19](https://github.com/voiceflow/adapters/compare/@voiceflow/sdk-runtime@1.5.18...@voiceflow/sdk-runtime@1.5.19) (2023-02-14)
82
-
83
- ### Bug Fixes
84
-
85
- * **deps:** update dependency @voiceflow/base-types to v2.80.1 (vf-000) ([#72](https://github.com/voiceflow/adapters/issues/72)) ([52b9b87](https://github.com/voiceflow/adapters/commit/52b9b87f4cee4d8338f38b24e95fd47f1343e0c7))
86
-
87
- ## [1.5.18](https://github.com/voiceflow/adapters/compare/@voiceflow/sdk-runtime@1.5.17...@voiceflow/sdk-runtime@1.5.18) (2023-02-07)
88
-
89
- ### Bug Fixes
90
-
91
- * **deps:** update dependency @voiceflow/base-types to v2.80.0 (vf-000) ([#71](https://github.com/voiceflow/adapters/issues/71)) ([48c723c](https://github.com/voiceflow/adapters/commit/48c723ca74c8d0829aa8f3c954f5c8de59e3667f))
92
-
93
- ## [1.5.17](https://github.com/voiceflow/adapters/compare/@voiceflow/sdk-runtime@1.5.16...@voiceflow/sdk-runtime@1.5.17) (2023-02-06)
94
-
95
- ### Bug Fixes
96
-
97
- * **deps:** update dependency @voiceflow/base-types to v2.79.1 (vf-000) ([#70](https://github.com/voiceflow/adapters/issues/70)) ([b8cc525](https://github.com/voiceflow/adapters/commit/b8cc525ab89fac880a0d96b754811c23a880b1ca))
98
-
99
- ## [1.5.16](https://github.com/voiceflow/adapters/compare/@voiceflow/sdk-runtime@1.5.15...@voiceflow/sdk-runtime@1.5.16) (2023-02-06)
100
-
101
- ### Bug Fixes
102
-
103
- * **deps:** update dependency @voiceflow/base-types to v2.79.0 (vf-000) ([#69](https://github.com/voiceflow/adapters/issues/69)) ([8f290a2](https://github.com/voiceflow/adapters/commit/8f290a2ee0df8a58091eb6bf0a5ea52741f29984))
104
-
105
- ## [1.5.15](https://github.com/voiceflow/adapters/compare/@voiceflow/sdk-runtime@1.5.14...@voiceflow/sdk-runtime@1.5.15) (2023-01-23)
106
-
107
- ### Bug Fixes
108
-
109
- * **deps:** update dependency @voiceflow/base-types to v2.78.1 (vf-000) ([#67](https://github.com/voiceflow/adapters/issues/67)) ([3d61448](https://github.com/voiceflow/adapters/commit/3d61448e1789f974f3eb9c93a207673289759584))
110
-
111
- ## [1.5.14](https://github.com/voiceflow/adapters/compare/@voiceflow/sdk-runtime@1.5.13...@voiceflow/sdk-runtime@1.5.14) (2023-01-14)
112
-
113
- ### Bug Fixes
114
-
115
- * **deps:** update dependency @voiceflow/base-types to v2.78.0 (vf-000) ([#66](https://github.com/voiceflow/adapters/issues/66)) ([f3808f9](https://github.com/voiceflow/adapters/commit/f3808f9f95d7b0c8d6881984fcea272ba8d55867))
116
-
117
- ## [1.5.13](https://github.com/voiceflow/adapters/compare/@voiceflow/sdk-runtime@1.5.12...@voiceflow/sdk-runtime@1.5.13) (2023-01-10)
118
-
119
- ### Bug Fixes
120
-
121
- * **deps:** update dependency @voiceflow/base-types to v2.77.2 (vf-000) ([#65](https://github.com/voiceflow/adapters/issues/65)) ([a12e773](https://github.com/voiceflow/adapters/commit/a12e773c042e84caf68923b41e4eb98b244289c0))
122
-
123
- ## [1.5.12](https://github.com/voiceflow/adapters/compare/@voiceflow/sdk-runtime@1.5.11...@voiceflow/sdk-runtime@1.5.12) (2023-01-02)
124
-
125
- ### Bug Fixes
126
-
127
- * **deps:** update dependency @voiceflow/base-types to v2.77.1 (vf-000) ([#63](https://github.com/voiceflow/adapters/issues/63)) ([0265cd5](https://github.com/voiceflow/adapters/commit/0265cd57929bdb758eb75f9840590e1c56e0d657))
128
-
129
- ## [1.5.11](https://github.com/voiceflow/adapters/compare/@voiceflow/sdk-runtime@1.5.10...@voiceflow/sdk-runtime@1.5.11) (2022-12-23)
130
-
131
- ### Bug Fixes
132
-
133
- * **deps:** update dependency @voiceflow/base-types to v2.77.0 (vf-000) ([#62](https://github.com/voiceflow/adapters/issues/62)) ([91f07ed](https://github.com/voiceflow/adapters/commit/91f07edf8b26eb87f6d15c0b3f7a8446b2a5076f))
134
-
135
- ## [1.5.10](https://github.com/voiceflow/adapters/compare/@voiceflow/sdk-runtime@1.5.9...@voiceflow/sdk-runtime@1.5.10) (2022-12-19)
136
-
137
- ### Bug Fixes
138
-
139
- * **deps:** update dependency @voiceflow/base-types to v2.76.0 (vf-000) ([#61](https://github.com/voiceflow/adapters/issues/61)) ([c3dc448](https://github.com/voiceflow/adapters/commit/c3dc4489d26613f434c441ebbe1a11b76ec0736f))
140
-
141
- ## [1.5.9](https://github.com/voiceflow/adapters/compare/@voiceflow/sdk-runtime@1.5.8...@voiceflow/sdk-runtime@1.5.9) (2022-12-13)
142
-
143
- ### Bug Fixes
144
-
145
- * **deps:** update dependency @voiceflow/base-types to v2.75.2 (vf-000) ([#60](https://github.com/voiceflow/adapters/issues/60)) ([d59ed33](https://github.com/voiceflow/adapters/commit/d59ed33e445b024562c941c9faa86c740fb01fa8))
146
-
147
- ## [1.5.8](https://github.com/voiceflow/adapters/compare/@voiceflow/sdk-runtime@1.5.7...@voiceflow/sdk-runtime@1.5.8) (2022-12-12)
148
-
149
- ### Bug Fixes
150
-
151
- * **deps:** update dependency @voiceflow/base-types to v2.75.1 (vf-000) ([#59](https://github.com/voiceflow/adapters/issues/59)) ([9c84bb8](https://github.com/voiceflow/adapters/commit/9c84bb8cb30a0044057d7d1f17443758473e9416))
152
-
153
- ## [1.5.7](https://github.com/voiceflow/adapters/compare/@voiceflow/sdk-runtime@1.5.6...@voiceflow/sdk-runtime@1.5.7) (2022-12-09)
154
-
155
- ### Bug Fixes
156
-
157
- * **deps:** update dependency @voiceflow/base-types to v2.75.0 (vf-000) ([#58](https://github.com/voiceflow/adapters/issues/58)) ([347fb4d](https://github.com/voiceflow/adapters/commit/347fb4d57d530a38a88e564ef24cfd697aad4fd4))
158
-
159
- ## [1.5.6](https://github.com/voiceflow/adapters/compare/@voiceflow/sdk-runtime@1.5.5...@voiceflow/sdk-runtime@1.5.6) (2022-11-29)
160
-
161
- ### Bug Fixes
162
-
163
- * **deps:** update dependency @voiceflow/base-types to v2.74.0 (vf-000) ([#57](https://github.com/voiceflow/adapters/issues/57)) ([e17bbe3](https://github.com/voiceflow/adapters/commit/e17bbe3ba9662ca95eb586b71ecb5f7030153740))
164
-
165
- ## [1.5.5](https://github.com/voiceflow/adapters/compare/@voiceflow/sdk-runtime@1.5.4...@voiceflow/sdk-runtime@1.5.5) (2022-11-18)
166
-
167
- ### Bug Fixes
168
-
169
- * **deps:** update dependency @voiceflow/base-types to v2.73.1 (vf-000) ([#56](https://github.com/voiceflow/adapters/issues/56)) ([09748c8](https://github.com/voiceflow/adapters/commit/09748c8899cef71636c9f808c9cb0efadc0096a3))
170
-
171
- ## [1.5.4](https://github.com/voiceflow/adapters/compare/@voiceflow/sdk-runtime@1.5.3...@voiceflow/sdk-runtime@1.5.4) (2022-11-12)
172
-
173
- ### Bug Fixes
174
-
175
- * **deps:** update dependency @voiceflow/base-types to v2.72.0 (vf-000) ([#55](https://github.com/voiceflow/adapters/issues/55)) ([feca725](https://github.com/voiceflow/adapters/commit/feca725c5479896c0f33214d328a7aaafcf3e14b))
176
-
177
- ## [1.5.3](https://github.com/voiceflow/adapters/compare/@voiceflow/sdk-runtime@1.5.2...@voiceflow/sdk-runtime@1.5.3) (2022-11-01)
178
-
179
- ### Bug Fixes
180
-
181
- * transcript users argument (CT-1050) ([#52](https://github.com/voiceflow/adapters/issues/52)) ([6969897](https://github.com/voiceflow/adapters/commit/69698974494263eccfe0f0e83d69fa5ada78a186))
182
-
183
- ## [1.5.2](https://github.com/voiceflow/adapters/compare/@voiceflow/sdk-runtime@1.5.1...@voiceflow/sdk-runtime@1.5.2) (2022-10-29)
184
-
185
- ### Bug Fixes
186
-
187
- * session id headers (CT-000) ([#51](https://github.com/voiceflow/adapters/issues/51)) ([49923da](https://github.com/voiceflow/adapters/commit/49923da1e022793e6c6a250922e1848cdb3efec7))
188
-
189
- ## [1.5.1](https://github.com/voiceflow/adapters/compare/@voiceflow/sdk-runtime@1.5.0...@voiceflow/sdk-runtime@1.5.1) (2022-10-26)
190
-
191
- ### Bug Fixes
192
-
193
- * **deps:** update dependency @voiceflow/base-types to v2.71.3 (vf-000) ([#49](https://github.com/voiceflow/adapters/issues/49)) ([5c1871b](https://github.com/voiceflow/adapters/commit/5c1871bb04c78cc042250977bda44e88d1512d8c))
194
-
195
- # [1.5.0](https://github.com/voiceflow/adapters/compare/@voiceflow/sdk-runtime@1.4.1...@voiceflow/sdk-runtime@1.5.0) (2022-10-24)
196
-
197
- ### Features
198
-
199
- * create transcripts (CT-1050) ([#48](https://github.com/voiceflow/adapters/issues/48)) ([457a228](https://github.com/voiceflow/adapters/commit/457a2285328bb75d355ed8a24e746020e5538aa6))
200
-
201
- ## [1.4.1](https://github.com/voiceflow/adapters/compare/@voiceflow/sdk-runtime@1.4.0...@voiceflow/sdk-runtime@1.4.1) (2022-10-21)
202
-
203
- ### Bug Fixes
204
-
205
- * **deps:** update dependency @voiceflow/base-types to v2.71.1 (vf-000) ([#47](https://github.com/voiceflow/adapters/issues/47)) ([e984f2d](https://github.com/voiceflow/adapters/commit/e984f2dac58507a31eda1b2c05f3bdeddf3c9ef9))
206
-
207
- # [1.4.0](https://github.com/voiceflow/adapters/compare/@voiceflow/sdk-runtime@1.3.4...@voiceflow/sdk-runtime@1.4.0) (2022-10-17)
208
-
209
- ### Features
210
-
211
- * add publishing field (CT-000) ([#45](https://github.com/voiceflow/adapters/issues/45)) ([53e7d89](https://github.com/voiceflow/adapters/commit/53e7d8942c5a511ad29c0b14c3808dc117ae6066))
212
-
213
- ## [1.3.4](https://github.com/voiceflow/adapters/compare/@voiceflow/sdk-runtime@1.3.3...@voiceflow/sdk-runtime@1.3.4) (2022-10-06)
214
-
215
- ### Bug Fixes
216
-
217
- * update trace types (PL-000) ([#44](https://github.com/voiceflow/adapters/issues/44)) ([ce13855](https://github.com/voiceflow/adapters/commit/ce13855668f639e710fe1781bb68f40fabcd558c))
218
-
219
- ## [1.3.3](https://github.com/voiceflow/adapters/compare/@voiceflow/sdk-runtime@1.3.2...@voiceflow/sdk-runtime@1.3.3) (2022-10-04)
220
-
221
- ### Bug Fixes
222
-
223
- * update dependencies (CT-000) ([#43](https://github.com/voiceflow/adapters/issues/43)) ([792f1a0](https://github.com/voiceflow/adapters/commit/792f1a0c905924c9844e3c16cd3008c71c0185fd))
224
-
225
- ## [1.3.2](https://github.com/voiceflow/adapters/compare/@voiceflow/sdk-runtime@1.3.1...@voiceflow/sdk-runtime@1.3.2) (2022-10-04)
226
-
227
- ### Bug Fixes
228
-
229
- * definitive action types (CT-1048) ([#42](https://github.com/voiceflow/adapters/issues/42)) ([8ecfa82](https://github.com/voiceflow/adapters/commit/8ecfa82efddb7652af4af4794224a83484a279c1)), closes [/github.com/voiceflow/creator-app/blob/729ff17e2d558fc43ce7140497ca0716656df33f/packages/creator-app/src/pages/Prototype/components/PrototypeDialog/utils.ts#L52-L60](https://github.com//github.com/voiceflow/creator-app/blob/729ff17e2d558fc43ce7140497ca0716656df33f/packages/creator-app/src/pages/Prototype/components/PrototypeDialog/utils.ts/issues/L52-L60)
230
-
231
- ## [1.3.1](https://github.com/voiceflow/adapters/compare/@voiceflow/sdk-runtime@1.3.0...@voiceflow/sdk-runtime@1.3.1) (2022-10-03)
232
-
233
- ### Bug Fixes
234
-
235
- * more lenient typing for sample use case (CT-1046) ([861de03](https://github.com/voiceflow/adapters/commit/861de03c9e05d56c0e1439c5355bb057e7f7381b))
236
-
237
- # [1.3.0](https://github.com/voiceflow/adapters/compare/@voiceflow/sdk-runtime@1.2.1...@voiceflow/sdk-runtime@1.3.0) (2022-10-03)
238
-
239
- ### Features
240
-
241
- * public interaction endpoint (CT-1046) ([#41](https://github.com/voiceflow/adapters/issues/41)) ([2f33365](https://github.com/voiceflow/adapters/commit/2f33365796386b4389d0400c9f9d729174e4e2f9))
242
-
243
- ## 1.2.1 (2022-09-06)
244
-
245
- **Note:** Version bump only for package @voiceflow/sdk-runtime
246
-
247
- # [1.2.0](https://github.com/voiceflow/adapters/compare/@voiceflow/runtime-sdk@1.1.0...@voiceflow/runtime-sdk@1.2.0) (2022-09-06)
248
-
249
- ### Features
250
-
251
- * replace undici with global fetch (DX-80) ([#38](https://github.com/voiceflow/adapters/issues/38)) ([eb485d0](https://github.com/voiceflow/adapters/commit/eb485d01534640f9f25518f8395c3daf53d7b064))
252
-
253
- # 1.1.0 (2022-08-08)
254
-
255
- ### Bug Fixes
256
-
257
- * add missing export ([9f7e1fb](https://github.com/voiceflow/adapters/commit/9f7e1fbeee74b90a9b2d25275257ee81a8de8b1c))
258
- * card component ([b458f58](https://github.com/voiceflow/adapters/commit/b458f588a482195c46967d387af3df3b1a15b3d7))
259
- * card trace handler typings ([cf443ef](https://github.com/voiceflow/adapters/commit/cf443ef5bcbc6093823c12da788d068f0d0bb0b8))
260
- * choice typings ([6d28cf5](https://github.com/voiceflow/adapters/commit/6d28cf50aac781576c102168f4678205eb5b8536))
261
- * remove content-type header ([a27552c](https://github.com/voiceflow/adapters/commit/a27552cf0f2aaa484d9a3be78dbc83487bb74319))
262
- * return meta context (VF-000) ([5d20d37](https://github.com/voiceflow/adapters/commit/5d20d3787ed897d2628cfc7aa2981d005cbf84ea))
263
- * typings fixes ([17bd78e](https://github.com/voiceflow/adapters/commit/17bd78ebcecd75c09068a5930dd6b26bc61883ad))
264
-
265
- ### Features
266
-
267
- * add choice step component and choice handler ([6ec0d2d](https://github.com/voiceflow/adapters/commit/6ec0d2da42055d92d7d174c1eb59630911783534))
268
- * add choice/audio/speak steps for google adapter (VF-3675) ([#13](https://github.com/voiceflow/adapters/issues/13)) ([2e6adad](https://github.com/voiceflow/adapters/commit/2e6adad1c39229aabb03c273482ae4ef095b3e43))
269
- * add EndComponent to runtime-sdk ([cd60e27](https://github.com/voiceflow/adapters/commit/cd60e2703dffdc7294002b5175b3e8cfb84aa697))
270
- * add stream step support for google assistant (VF-3675) ([b656436](https://github.com/voiceflow/adapters/commit/b6564360e60c3b18a9b920744de633923dc9ee73))
271
- * improve steps, fix injection, steps, errors ([#6](https://github.com/voiceflow/adapters/issues/6)) ([067a8b0](https://github.com/voiceflow/adapters/commit/067a8b0c8cc5c7df5cebdcdf0b1c7126a59db4ca))
272
- * paylaod component ([9e0799e](https://github.com/voiceflow/adapters/commit/9e0799e48fae3750fa8f9f76b8111534a2757d4e))
273
- * setup repo, patterns (VF-000) ([#3](https://github.com/voiceflow/adapters/issues/3)) ([bbe6ab1](https://github.com/voiceflow/adapters/commit/bbe6ab1f1cac8ac1e4e62220b3ee3d222ee37004)), closes [#2](https://github.com/voiceflow/adapters/issues/2)
274
- * typebox schemas & validator, route versioning (VF-000) ([#18](https://github.com/voiceflow/adapters/issues/18)) ([fc88193](https://github.com/voiceflow/adapters/commit/fc88193c6d74ab3f9d93c7f1d3ad17cb96e102a3))
275
- * zod validation pipe (VF-000) ([#11](https://github.com/voiceflow/adapters/issues/11)) ([5374d5f](https://github.com/voiceflow/adapters/commit/5374d5fc997d9215eaf0e5f0affabbe19dfc3c4b))
@@ -1,6 +0,0 @@
1
- sonar.projectName=adapters-sdk-runtime
2
- sonar.sources=src
3
- sonar.eslint.reportPaths=sonar/report.json
4
- sonar.typescript.tsconfigPath=./tsconfig.json
5
- sonar.coverage.exclusions=**/**
6
- #sonar.javascript.lcov.reportPaths=nyc_coverage_unit/lcov.info
package/src/main.ts DELETED
@@ -1,3 +0,0 @@
1
- export * from './runtime/index.js';
2
- export * from './sdk/index.js';
3
- export * from './trace/index.js';
@@ -1,4 +0,0 @@
1
- export * from './runtime.interface.js';
2
- export * from './runtime.service.auth.js';
3
- export * from './runtime.service.js';
4
- export * from './runtime.service.public.js';
@@ -1,105 +0,0 @@
1
- import { BaseRequest, Trace } from '@voiceflow/base-types';
2
-
3
- export { Trace } from '@voiceflow/base-types';
4
-
5
- // Super broad type so that differing fetch types (ex. builtin, node-fetch, etc.) don't conflict with it
6
- type FetchFn = (...parameters: any[]) => Promise<any>;
7
-
8
- export interface RuntimeOptions<V = AuthVerify | PublicVerify> {
9
- url: string;
10
- verify: V;
11
-
12
- /**
13
- * A ponyfill to use for `fetch()`.
14
- * Defaults to the global `fetch()`.
15
- */
16
- fetchPonyfill?: FetchFn;
17
- }
18
-
19
- export interface AuthVerify {
20
- authorization: string;
21
- }
22
-
23
- export interface PublicVerify {
24
- projectID: string;
25
- }
26
-
27
- export const isAuthRuntimeOptions = (
28
- options: RuntimeOptions<Partial<AuthVerify & PublicVerify>>
29
- ): options is RuntimeOptions<AuthVerify> => {
30
- return !!options?.verify?.authorization;
31
- };
32
-
33
- export const isPublicRuntimeOptions = (
34
- options: RuntimeOptions<Partial<AuthVerify & PublicVerify>>
35
- ): options is RuntimeOptions<PublicVerify> => {
36
- return typeof options?.verify?.projectID === 'string';
37
- };
38
-
39
- export interface RuntimeInteractRequest {
40
- action: RuntimeAction;
41
- sessionID: string;
42
- versionID?: string;
43
- config?: any;
44
- }
45
-
46
- export interface RuntimeFeedbackRequest {
47
- name: string;
48
- sessionID: string;
49
- versionID?: string;
50
-
51
- [key: string]: any;
52
- }
53
-
54
- export interface RuntimeInteractResponse {
55
- state: RuntimeState;
56
- request: RuntimeAction;
57
- trace: Trace.AnyTrace[];
58
- }
59
-
60
- export type RuntimeAction =
61
- | BaseRequest.TextRequest
62
- | BaseRequest.LaunchRequest
63
- | BaseRequest.IntentRequest
64
- | BaseRequest.ActionRequest
65
- | BaseRequest.GeneralRequest
66
- | BaseRequest.BaseRequest<unknown>;
67
-
68
- export const isRuntimeAction = (value: unknown): value is RuntimeAction =>
69
- typeof value === 'object' && Object.prototype.hasOwnProperty.call(value, 'type');
70
-
71
- export interface IntentActionPayload {
72
- query: string;
73
- intent: { name: string };
74
- entities: { name: string; value: string }[];
75
- confidence?: number;
76
- }
77
-
78
- export type IntentAction = BaseRequest.IntentRequest;
79
- export type ActionType = BaseRequest.RequestType;
80
- export const ActionType = BaseRequest.RequestType;
81
-
82
- export const createIntentAction = (payload: BaseRequest.IntentRequestPayload): BaseRequest.IntentRequest => ({
83
- type: ActionType.INTENT,
84
- payload,
85
- });
86
-
87
- export interface RuntimeState {
88
- storage: Record<string, any>;
89
- variables: Record<string, any>;
90
- }
91
-
92
- export const isRuntimeTraceType = (value: unknown): value is Trace.TraceType =>
93
- typeof value === 'string' && Object.values<string>(Trace.TraceType).includes(value);
94
-
95
- export const isRuntimeTrace = (value: unknown): value is Trace.BaseTraceFrame =>
96
- typeof value === 'object' &&
97
- Object.prototype.hasOwnProperty.call(value, 'type') &&
98
- isRuntimeTraceType((value as any).type);
99
-
100
- export interface RuntimeHttpRequest {
101
- method?: string;
102
- params?: URLSearchParams;
103
- body?: any;
104
- headers?: HeadersInit;
105
- }
@@ -1,46 +0,0 @@
1
- import type {
2
- AuthVerify,
3
- RuntimeInteractRequest,
4
- RuntimeInteractResponse,
5
- RuntimeOptions,
6
- } from '@/runtime/runtime.interface.js';
7
- import { RuntimeService } from '@/runtime/runtime.service';
8
-
9
- export class AuthRuntimeService extends RuntimeService {
10
- private readonly authorization: string;
11
-
12
- public constructor(options: RuntimeOptions<AuthVerify>) {
13
- super(options);
14
-
15
- this.authorization = options.verify.authorization;
16
- }
17
-
18
- public async interact(request: RuntimeInteractRequest): Promise<RuntimeInteractResponse> {
19
- const { action, config, sessionID, versionID } = request;
20
-
21
- return this.send<RuntimeInteractResponse>(`state/user/${sessionID}/interact`, {
22
- method: 'POST',
23
- body: { action, config },
24
- headers: {
25
- authorization: this.authorization,
26
- sessionID,
27
- ...(versionID ? { versionID } : {}),
28
- },
29
- params: new URLSearchParams({ verbose: 'true' }),
30
- });
31
- }
32
-
33
- public async feedback() {
34
- return Promise.reject(new Error('not implemented'));
35
- }
36
-
37
- // TODO: expose authenticated publishing
38
- public getPublishing() {
39
- return Promise.reject(new Error('not implemented'));
40
- }
41
-
42
- // TODO: expose authenticated createTranscript
43
- public createTranscript() {
44
- return Promise.reject(new Error('not implemented'));
45
- }
46
- }
@@ -1,67 +0,0 @@
1
- import type { BaseModels } from '@voiceflow/base-types';
2
-
3
- import type {
4
- PublicVerify,
5
- RuntimeFeedbackRequest,
6
- RuntimeInteractRequest,
7
- RuntimeInteractResponse,
8
- RuntimeOptions,
9
- } from '@/runtime/runtime.interface.js';
10
- import { RuntimeService } from '@/runtime/runtime.service';
11
-
12
- export class PublicRuntimeService extends RuntimeService {
13
- private readonly projectID: string;
14
-
15
- public constructor(options: RuntimeOptions<PublicVerify>) {
16
- super(options);
17
-
18
- this.projectID = options.verify.projectID;
19
- }
20
-
21
- public async interact(request: RuntimeInteractRequest): Promise<Pick<RuntimeInteractResponse, 'trace'>> {
22
- const { action, config, sessionID, versionID } = request;
23
-
24
- return this.send<Pick<RuntimeInteractResponse, 'trace'>>(
25
- `public/${this.projectID}/state/user/${sessionID}/interact`,
26
- {
27
- method: 'POST',
28
- body: { action, config },
29
- headers: {
30
- sessionID,
31
- ...(versionID && { versionID }),
32
- },
33
- }
34
- );
35
- }
36
-
37
- public async feedback(request: RuntimeFeedbackRequest): Promise<void> {
38
- const { versionID, sessionID, ...body } = request;
39
-
40
- await this.send(`feedback/${this.projectID}/user/${sessionID}`, {
41
- method: 'POST',
42
- body,
43
- headers: {
44
- sessionID,
45
- ...(versionID && { versionID }),
46
- },
47
- });
48
- }
49
-
50
- public async getPublishing(request: { versionID?: string }): Promise<Record<string, unknown>> {
51
- const { versionID } = request;
52
-
53
- return this.send<Record<string, unknown>>(`public/${this.projectID}/publishing`, {
54
- method: 'GET',
55
- headers: {
56
- ...(versionID ? { versionID } : {}),
57
- },
58
- });
59
- }
60
-
61
- public async createTranscript(sessionID: string, metadata: { os?: string; device?: string; browser?: string }) {
62
- return this.send<BaseModels.Transcript.Model>(`public/${this.projectID}/transcripts`, {
63
- method: 'POST',
64
- body: { ...metadata, sessionID },
65
- });
66
- }
67
- }
@@ -1,63 +0,0 @@
1
- import type { BaseModels } from '@voiceflow/base-types';
2
- import createHTTPError from 'http-errors';
3
-
4
- import type {
5
- RuntimeFeedbackRequest,
6
- RuntimeHttpRequest,
7
- RuntimeInteractRequest,
8
- RuntimeInteractResponse,
9
- RuntimeOptions,
10
- } from './runtime.interface';
11
-
12
- export abstract class RuntimeService {
13
- private readonly fetch: typeof globalThis.fetch;
14
-
15
- public constructor(private readonly options: RuntimeOptions) {
16
- this.fetch = options.fetchPonyfill ?? globalThis.fetch?.bind(globalThis);
17
- if (!this.fetch) {
18
- throw new TypeError('fetch implementation was not provided and a global fetch was not available');
19
- }
20
- }
21
-
22
- public abstract getPublishing(request: { versionID?: string }): Promise<Record<string, unknown>>;
23
-
24
- public abstract createTranscript(
25
- sessionID: string,
26
- metadata: {
27
- os?: string;
28
- user?: {
29
- name?: string;
30
- image?: string;
31
- };
32
- device?: string;
33
- browser?: string;
34
- }
35
- ): Promise<BaseModels.Transcript.Model>;
36
-
37
- public abstract interact(
38
- request: RuntimeInteractRequest
39
- ): Promise<Partial<RuntimeInteractResponse> & Pick<RuntimeInteractResponse, 'trace'>>;
40
-
41
- public abstract feedback(request: RuntimeFeedbackRequest): Promise<void>;
42
-
43
- protected async send<T>(path: string, args: RuntimeHttpRequest = {}): Promise<T> {
44
- const url = new URL(path, this.options.url);
45
- if (args.params) url.search = args.params.toString();
46
-
47
- const result = await this.fetch(url, {
48
- method: args.method ?? 'GET',
49
- body: args.body ? JSON.stringify(args.body) : undefined,
50
- headers: {
51
- 'content-type': 'application/json',
52
- ...(args.headers ?? {}),
53
- },
54
- });
55
-
56
- const json = (await result.json().catch(() => null)) as any;
57
- if (!result.ok) {
58
- throw createHTTPError(result.status, result.statusText, json);
59
- }
60
-
61
- return json;
62
- }
63
- }
package/src/sdk/index.ts DELETED
@@ -1,2 +0,0 @@
1
- export * from './sdk.interface.js';
2
- export * from './sdk.service.js';
@@ -1,4 +0,0 @@
1
- import type { RuntimeOptions } from '@/runtime/runtime.interface.js';
2
- import type { TraceOptions } from '@/trace/trace.interface.js';
3
-
4
- export type VoiceflowRuntimeOptions<T> = RuntimeOptions & TraceOptions<T>;
@@ -1,46 +0,0 @@
1
- import type { RuntimeFeedbackRequest, RuntimeInteractRequest, RuntimeService } from '@/runtime';
2
- import { AuthRuntimeService, isAuthRuntimeOptions, isPublicRuntimeOptions, PublicRuntimeService } from '@/runtime';
3
- import type { TraceDeclaration } from '@/trace/trace.interface.js';
4
- import { TraceService } from '@/trace/trace.service.js';
5
-
6
- import type { VoiceflowRuntimeOptions } from './sdk.interface.js';
7
-
8
- export class VoiceflowRuntime<T> {
9
- private readonly runtime: RuntimeService;
10
-
11
- private readonly trace: TraceService<T>;
12
-
13
- public constructor(options: VoiceflowRuntimeOptions<T>) {
14
- this.trace = new TraceService(options);
15
-
16
- if (isAuthRuntimeOptions(options)) {
17
- this.runtime = new AuthRuntimeService(options);
18
- } else if (isPublicRuntimeOptions(options)) {
19
- this.runtime = new PublicRuntimeService(options);
20
- } else {
21
- throw new Error('invalid runtime options');
22
- }
23
- }
24
-
25
- public registerStep(step: TraceDeclaration<T, any>) {
26
- this.trace.registerTrace(step);
27
- return this;
28
- }
29
-
30
- public async interact(context: T, request: RuntimeInteractRequest): Promise<T> {
31
- const response = await this.runtime.interact(request);
32
- return this.trace.processTrace(context, response);
33
- }
34
-
35
- public async feedback(request: RuntimeFeedbackRequest) {
36
- return this.runtime.feedback(request);
37
- }
38
-
39
- public async getPublishing(...options: Parameters<RuntimeService['getPublishing']>) {
40
- return this.runtime.getPublishing(...options);
41
- }
42
-
43
- public async createTranscript(...options: Parameters<RuntimeService['createTranscript']>) {
44
- return this.runtime.createTranscript(...options);
45
- }
46
- }
@@ -1,5 +0,0 @@
1
- import type { BaseNode } from '@voiceflow/base-types';
2
-
3
- import { createTraceComponent } from '../trace.component.js';
4
-
5
- export const CardTraceComponent = createTraceComponent<{ type: 'card'; payload: { card: BaseNode.Card.Card } }>('card');
@@ -1,5 +0,0 @@
1
- import { Trace } from '@/runtime/runtime.interface.js';
2
-
3
- import { createTraceComponent } from '../trace.component.js';
4
-
5
- export const CardV2TraceComponent = createTraceComponent<Trace.CardV2>(Trace.TraceType.CARD_V2);
@@ -1,5 +0,0 @@
1
- import { Trace } from '@/runtime/runtime.interface.js';
2
-
3
- import { createTraceComponent } from '../trace.component.js';
4
-
5
- export const ChoiceTraceComponent = createTraceComponent<Trace.Choice>(Trace.TraceType.CHOICE);