@urbiport/js 0.0.11 → 0.0.13

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 (229) hide show
  1. package/README.md +39 -39
  2. package/dist/components/Bot.d.ts +8 -4
  3. package/dist/components/Bot.d.ts.map +1 -1
  4. package/dist/components/Button.d.ts +0 -1
  5. package/dist/components/Button.d.ts.map +1 -1
  6. package/dist/components/{SendButton.d.ts → ButtonSubmit.d.ts} +3 -4
  7. package/dist/components/ButtonSubmit.d.ts.map +1 -0
  8. package/dist/components/{InputChatBlock.d.ts → ChatInputFooter.d.ts} +4 -5
  9. package/dist/components/ChatInputFooter.d.ts.map +1 -0
  10. package/dist/components/ConversationContainer/ConversationContainer.d.ts +7 -2
  11. package/dist/components/ConversationContainer/ConversationContainer.d.ts.map +1 -1
  12. package/dist/components/ConversationContainer/ConversationContainerBody.d.ts +14 -0
  13. package/dist/components/ConversationContainer/ConversationContainerBody.d.ts.map +1 -0
  14. package/dist/components/ConversationContainer/ConversationContainerFooter.d.ts +17 -0
  15. package/dist/components/ConversationContainer/ConversationContainerFooter.d.ts.map +1 -0
  16. package/dist/components/ConversationContainer/{ChatChunk.d.ts → ConversationMessageChunk.d.ts} +5 -4
  17. package/dist/components/ConversationContainer/ConversationMessageChunk.d.ts.map +1 -0
  18. package/dist/components/ConversationContainer/ConversationPopupBlockedToast.d.ts +7 -0
  19. package/dist/components/ConversationContainer/ConversationPopupBlockedToast.d.ts.map +1 -0
  20. package/dist/components/ConversationContainer/ConversationProgressBar.d.ts +6 -0
  21. package/dist/components/ConversationContainer/ConversationProgressBar.d.ts.map +1 -0
  22. package/dist/components/ConversationContainer/HostAvatar.d.ts +8 -0
  23. package/dist/components/ConversationContainer/HostAvatar.d.ts.map +1 -0
  24. package/dist/components/ConversationContainer/InputAnswer.d.ts +18 -0
  25. package/dist/components/ConversationContainer/InputAnswer.d.ts.map +1 -0
  26. package/dist/components/ConversationContainer/helpers.d.ts +6 -0
  27. package/dist/components/ConversationContainer/helpers.d.ts.map +1 -0
  28. package/dist/components/FooterEndConversation.d.ts +2 -0
  29. package/dist/components/FooterEndConversation.d.ts.map +1 -0
  30. package/dist/components/FooterLiteBadge.d.ts +6 -0
  31. package/dist/components/FooterLiteBadge.d.ts.map +1 -0
  32. package/dist/components/InputAnswerContext.d.ts +46 -0
  33. package/dist/components/InputAnswerContext.d.ts.map +1 -0
  34. package/dist/components/InputFormLayout.d.ts +19 -0
  35. package/dist/components/InputFormLayout.d.ts.map +1 -0
  36. package/dist/components/Spinner.d.ts.map +1 -1
  37. package/dist/components/avatars/AvatarPlaceholder.d.ts +7 -0
  38. package/dist/components/avatars/AvatarPlaceholder.d.ts.map +1 -0
  39. package/dist/components/bubbles/HostBubble.d.ts +1 -1
  40. package/dist/components/bubbles/HostBubble.d.ts.map +1 -1
  41. package/dist/components/bubbles/HostBubbleStreaming.d.ts +8 -0
  42. package/dist/components/bubbles/HostBubbleStreaming.d.ts.map +1 -0
  43. package/dist/components/icons/LogoIcon.d.ts +2 -0
  44. package/dist/components/icons/LogoIcon.d.ts.map +1 -0
  45. package/dist/components/icons/MicrophoneIcon.d.ts.map +1 -1
  46. package/dist/components/icons/SendIcon.d.ts.map +1 -1
  47. package/dist/{features/blocks/inputs/fileUpload/components/SelectedFile.d.ts → components/inputs/FileAttached.d.ts} +2 -2
  48. package/dist/components/inputs/FileAttached.d.ts.map +1 -0
  49. package/dist/components/inputs/{ShortTextInput.d.ts → Input.d.ts} +2 -2
  50. package/dist/components/inputs/Input.d.ts.map +1 -0
  51. package/dist/components/inputs/Textarea.d.ts +2 -1
  52. package/dist/components/inputs/Textarea.d.ts.map +1 -1
  53. package/dist/features/blocks/bubbles/audio/components/AudioBubble.d.ts +1 -1
  54. package/dist/features/blocks/bubbles/audio/components/AudioBubble.d.ts.map +1 -1
  55. package/dist/features/blocks/bubbles/embed/components/EmbedBubble.d.ts +1 -2
  56. package/dist/features/blocks/bubbles/embed/components/EmbedBubble.d.ts.map +1 -1
  57. package/dist/features/blocks/bubbles/image/components/ImageBubble.d.ts +1 -3
  58. package/dist/features/blocks/bubbles/image/components/ImageBubble.d.ts.map +1 -1
  59. package/dist/features/blocks/bubbles/textBubble/components/TextBubble.d.ts +1 -2
  60. package/dist/features/blocks/bubbles/textBubble/components/TextBubble.d.ts.map +1 -1
  61. package/dist/features/blocks/bubbles/video/components/VideoBubble.d.ts +1 -2
  62. package/dist/features/blocks/bubbles/video/components/VideoBubble.d.ts.map +1 -1
  63. package/dist/features/blocks/inputs/buttons/components/Buttons.d.ts +4 -2
  64. package/dist/features/blocks/inputs/buttons/components/Buttons.d.ts.map +1 -1
  65. package/dist/{components/inputs/SearchInput.d.ts → features/blocks/inputs/buttons/components/ButtonsSearch.d.ts} +2 -2
  66. package/dist/features/blocks/inputs/buttons/components/ButtonsSearch.d.ts.map +1 -0
  67. package/dist/features/blocks/inputs/buttons/index.d.ts +2 -0
  68. package/dist/features/blocks/inputs/buttons/index.d.ts.map +1 -0
  69. package/dist/features/blocks/inputs/date/components/DateForm.d.ts +1 -1
  70. package/dist/features/blocks/inputs/date/components/DateForm.d.ts.map +1 -1
  71. package/dist/features/blocks/inputs/email/components/EmailInput.d.ts +3 -1
  72. package/dist/features/blocks/inputs/email/components/EmailInput.d.ts.map +1 -1
  73. package/dist/features/blocks/inputs/fileUpload/components/FileUploadForm.d.ts +1 -1
  74. package/dist/features/blocks/inputs/fileUpload/components/FileUploadForm.d.ts.map +1 -1
  75. package/dist/features/blocks/inputs/fileUpload/{helpers → utils}/sanitizeSelectedFiles.d.ts +2 -4
  76. package/dist/features/blocks/inputs/fileUpload/utils/sanitizeSelectedFiles.d.ts.map +1 -0
  77. package/dist/features/blocks/inputs/fileUpload/utils/uploadFiles.d.ts.map +1 -0
  78. package/dist/features/blocks/inputs/number/components/NumberInput.d.ts +1 -1
  79. package/dist/features/blocks/inputs/number/components/NumberInput.d.ts.map +1 -1
  80. package/dist/features/blocks/inputs/number/utils/numberInputHelper.d.ts.map +1 -0
  81. package/dist/features/blocks/inputs/payment/components/PaymentForm.d.ts +1 -1
  82. package/dist/features/blocks/inputs/payment/components/PaymentForm.d.ts.map +1 -1
  83. package/dist/features/blocks/inputs/payment/components/StripePaymentForm.d.ts +1 -1
  84. package/dist/features/blocks/inputs/payment/components/StripePaymentForm.d.ts.map +1 -1
  85. package/dist/features/blocks/inputs/payment/{helpers → utils}/paymentInProgressStorage.d.ts +2 -2
  86. package/dist/features/blocks/inputs/payment/utils/paymentInProgressStorage.d.ts.map +1 -0
  87. package/dist/features/blocks/inputs/phone/components/PhoneInput.d.ts +3 -1
  88. package/dist/features/blocks/inputs/phone/components/PhoneInput.d.ts.map +1 -1
  89. package/dist/features/blocks/inputs/rating/components/RatingForm.d.ts +1 -1
  90. package/dist/features/blocks/inputs/rating/components/RatingForm.d.ts.map +1 -1
  91. package/dist/features/blocks/inputs/{textInput → text}/components/TextInput.d.ts +3 -1
  92. package/dist/features/blocks/inputs/text/components/TextInput.d.ts.map +1 -0
  93. package/dist/features/blocks/inputs/{textInput → text}/components/VoiceRecorder.d.ts +2 -2
  94. package/dist/features/blocks/inputs/text/components/VoiceRecorder.d.ts.map +1 -0
  95. package/dist/features/blocks/inputs/text/components/VolumeProcessor.d.ts.map +1 -0
  96. package/dist/features/blocks/inputs/text/index.d.ts.map +1 -0
  97. package/dist/features/blocks/inputs/url/components/UrlInput.d.ts +3 -1
  98. package/dist/features/blocks/inputs/url/components/UrlInput.d.ts.map +1 -1
  99. package/dist/features/blocks/integrations/chatwoot/utils/executeChatwoot.d.ts +1 -1
  100. package/dist/features/blocks/integrations/chatwoot/utils/executeChatwoot.d.ts.map +1 -1
  101. package/dist/features/blocks/integrations/pixel/executePixel.d.ts +1 -1
  102. package/dist/features/blocks/integrations/pixel/executePixel.d.ts.map +1 -1
  103. package/dist/features/blocks/integrations/webhook/executeWebhook.d.ts +1 -1
  104. package/dist/features/blocks/integrations/webhook/executeWebhook.d.ts.map +1 -1
  105. package/dist/features/blocks/logic/redirect/utils/executeRedirect.d.ts +1 -1
  106. package/dist/features/blocks/logic/redirect/utils/executeRedirect.d.ts.map +1 -1
  107. package/dist/features/blocks/logic/script/executeScript.d.ts +1 -1
  108. package/dist/features/blocks/logic/script/executeScript.d.ts.map +1 -1
  109. package/dist/features/blocks/logic/variable/executeVariable.d.ts +6 -0
  110. package/dist/features/blocks/logic/variable/executeVariable.d.ts.map +1 -0
  111. package/dist/features/bubble/components/Bubble.d.ts +1 -0
  112. package/dist/features/bubble/components/Bubble.d.ts.map +1 -1
  113. package/dist/features/bubble/components/BubbleButton.d.ts.map +1 -1
  114. package/dist/features/bubble/components/{PreviewMessage.d.ts → BubbleMessage.d.ts} +2 -2
  115. package/dist/features/bubble/components/BubbleMessage.d.ts.map +1 -0
  116. package/dist/features/commands/types.d.ts +1 -1
  117. package/dist/features/commands/types.d.ts.map +1 -1
  118. package/dist/features/popup/components/Popup.d.ts +1 -0
  119. package/dist/features/popup/components/Popup.d.ts.map +1 -1
  120. package/dist/features/standard/components/Standard.d.ts +1 -0
  121. package/dist/features/standard/components/Standard.d.ts.map +1 -1
  122. package/dist/features/streaming/streamChat.d.ts.map +1 -0
  123. package/dist/hooks/useMessageListener.d.ts +11 -0
  124. package/dist/hooks/useMessageListener.d.ts.map +1 -0
  125. package/dist/index.d.ts +1 -0
  126. package/dist/index.d.ts.map +1 -1
  127. package/dist/index.js +26 -1
  128. package/dist/lib/gtm.d.ts +0 -1
  129. package/dist/lib/gtm.d.ts.map +1 -1
  130. package/dist/lib/pixel.d.ts +1 -1
  131. package/dist/lib/pixel.d.ts.map +1 -1
  132. package/dist/queries/continueChatQuery.d.ts +97 -223
  133. package/dist/queries/continueChatQuery.d.ts.map +1 -1
  134. package/dist/queries/saveClientLogsQuery.d.ts +1 -1
  135. package/dist/queries/saveClientLogsQuery.d.ts.map +1 -1
  136. package/dist/queries/startChatQuery.d.ts +193 -308
  137. package/dist/queries/startChatQuery.d.ts.map +1 -1
  138. package/dist/types.d.ts +6 -3
  139. package/dist/types.d.ts.map +1 -1
  140. package/dist/utils/botContainerSignal.d.ts +1 -1
  141. package/dist/utils/botContainerSignal.d.ts.map +1 -1
  142. package/dist/utils/executeClientSideActions.d.ts +1 -1
  143. package/dist/utils/executeClientSideActions.d.ts.map +1 -1
  144. package/dist/utils/guessApiHost.d.ts.map +1 -1
  145. package/dist/utils/injectFont.d.ts +2 -2
  146. package/dist/utils/injectFont.d.ts.map +1 -1
  147. package/dist/utils/injectStartProps.d.ts +1 -1
  148. package/dist/utils/injectStartProps.d.ts.map +1 -1
  149. package/dist/utils/setCssVariablesValue.d.ts +2 -2
  150. package/dist/utils/setCssVariablesValue.d.ts.map +1 -1
  151. package/dist/utils/storage.d.ts +197 -313
  152. package/dist/utils/storage.d.ts.map +1 -1
  153. package/dist/web.d.ts +1 -16
  154. package/dist/web.d.ts.map +1 -1
  155. package/dist/web.js +30 -7
  156. package/dist/window.d.ts +6 -6
  157. package/dist/window.d.ts.map +1 -1
  158. package/package.json +25 -20
  159. package/.turbo/turbo-build.log +0 -11
  160. package/LICENSE +0 -669
  161. package/dist/components/ConversationContainer/AvatarSideContainer.d.ts +0 -8
  162. package/dist/components/ConversationContainer/AvatarSideContainer.d.ts.map +0 -1
  163. package/dist/components/ConversationContainer/ChatChunk.d.ts.map +0 -1
  164. package/dist/components/ConversationContainer/LoadingChunk.d.ts +0 -7
  165. package/dist/components/ConversationContainer/LoadingChunk.d.ts.map +0 -1
  166. package/dist/components/ConversationContainer/PopupBlockedToast.d.ts +0 -7
  167. package/dist/components/ConversationContainer/PopupBlockedToast.d.ts.map +0 -1
  168. package/dist/components/InputChatBlock.d.ts.map +0 -1
  169. package/dist/components/LiteBadge.d.ts +0 -6
  170. package/dist/components/LiteBadge.d.ts.map +0 -1
  171. package/dist/components/ProgressBar.d.ts +0 -6
  172. package/dist/components/ProgressBar.d.ts.map +0 -1
  173. package/dist/components/SendButton.d.ts.map +0 -1
  174. package/dist/components/avatars/DefaultAvatar.d.ts +0 -2
  175. package/dist/components/avatars/DefaultAvatar.d.ts.map +0 -1
  176. package/dist/components/bubbles/LoadingBubble.d.ts +0 -2
  177. package/dist/components/bubbles/LoadingBubble.d.ts.map +0 -1
  178. package/dist/components/bubbles/StreamingBubble.d.ts +0 -8
  179. package/dist/components/bubbles/StreamingBubble.d.ts.map +0 -1
  180. package/dist/components/icons/CameraIcon.d.ts +0 -3
  181. package/dist/components/icons/CameraIcon.d.ts.map +0 -1
  182. package/dist/components/icons/PlusIcon.d.ts +0 -3
  183. package/dist/components/icons/PlusIcon.d.ts.map +0 -1
  184. package/dist/components/icons/TypebotLogo.d.ts +0 -2
  185. package/dist/components/icons/TypebotLogo.d.ts.map +0 -1
  186. package/dist/components/index.d.ts +0 -4
  187. package/dist/components/index.d.ts.map +0 -1
  188. package/dist/components/inputs/SearchInput.d.ts.map +0 -1
  189. package/dist/components/inputs/ShortTextInput.d.ts.map +0 -1
  190. package/dist/components/inputs/index.d.ts +0 -3
  191. package/dist/components/inputs/index.d.ts.map +0 -1
  192. package/dist/features/blocks/bubbles/embed/components/CustomEmbedBubble.d.ts +0 -11
  193. package/dist/features/blocks/bubbles/embed/components/CustomEmbedBubble.d.ts.map +0 -1
  194. package/dist/features/blocks/bubbles/textBubble/helpers/convertRichTextToPlainText.d.ts +0 -3
  195. package/dist/features/blocks/bubbles/textBubble/helpers/convertRichTextToPlainText.d.ts.map +0 -1
  196. package/dist/features/blocks/inputs/buttons/components/Checkbox.d.ts +0 -7
  197. package/dist/features/blocks/inputs/buttons/components/Checkbox.d.ts.map +0 -1
  198. package/dist/features/blocks/inputs/buttons/components/MultipleChoicesForm.d.ts +0 -10
  199. package/dist/features/blocks/inputs/buttons/components/MultipleChoicesForm.d.ts.map +0 -1
  200. package/dist/features/blocks/inputs/fileUpload/components/SelectedFile.d.ts.map +0 -1
  201. package/dist/features/blocks/inputs/fileUpload/helpers/sanitizeSelectedFiles.d.ts.map +0 -1
  202. package/dist/features/blocks/inputs/fileUpload/helpers/uploadFiles.d.ts.map +0 -1
  203. package/dist/features/blocks/inputs/number/numberInputHelper.d.ts.map +0 -1
  204. package/dist/features/blocks/inputs/payment/helpers/paymentInProgressStorage.d.ts.map +0 -1
  205. package/dist/features/blocks/inputs/pictureChoice/MultiplePictureChoice.d.ts +0 -11
  206. package/dist/features/blocks/inputs/pictureChoice/MultiplePictureChoice.d.ts.map +0 -1
  207. package/dist/features/blocks/inputs/pictureChoice/SinglePictureChoice.d.ts +0 -11
  208. package/dist/features/blocks/inputs/pictureChoice/SinglePictureChoice.d.ts.map +0 -1
  209. package/dist/features/blocks/inputs/textInput/components/TextInput.d.ts.map +0 -1
  210. package/dist/features/blocks/inputs/textInput/components/VoiceRecorder.d.ts.map +0 -1
  211. package/dist/features/blocks/inputs/textInput/components/VolumeProcessor.d.ts.map +0 -1
  212. package/dist/features/blocks/inputs/textInput/index.d.ts.map +0 -1
  213. package/dist/features/blocks/integrations/googleAnalytics/index.d.ts +0 -2
  214. package/dist/features/blocks/integrations/googleAnalytics/index.d.ts.map +0 -1
  215. package/dist/features/blocks/integrations/googleAnalytics/utils/executeGoogleAnalytics.d.ts +0 -3
  216. package/dist/features/blocks/integrations/googleAnalytics/utils/executeGoogleAnalytics.d.ts.map +0 -1
  217. package/dist/features/blocks/integrations/googleAnalytics/utils/index.d.ts +0 -2
  218. package/dist/features/blocks/integrations/googleAnalytics/utils/index.d.ts.map +0 -1
  219. package/dist/features/blocks/integrations/openai/streamChat.d.ts.map +0 -1
  220. package/dist/features/blocks/logic/setVariable/executeSetVariable.d.ts +0 -6
  221. package/dist/features/blocks/logic/setVariable/executeSetVariable.d.ts.map +0 -1
  222. package/dist/features/bubble/components/PreviewMessage.d.ts.map +0 -1
  223. package/dist/lib/gtag.d.ts +0 -4
  224. package/dist/lib/gtag.d.ts.map +0 -1
  225. /package/dist/features/blocks/inputs/fileUpload/{helpers → utils}/uploadFiles.d.ts +0 -0
  226. /package/dist/features/blocks/inputs/number/{numberInputHelper.d.ts → utils/numberInputHelper.d.ts} +0 -0
  227. /package/dist/features/blocks/inputs/{textInput → text}/components/VolumeProcessor.d.ts +0 -0
  228. /package/dist/features/blocks/inputs/{textInput → text}/index.d.ts +0 -0
  229. /package/dist/features/{blocks/integrations/openai → streaming}/streamChat.d.ts +0 -0
package/dist/window.d.ts CHANGED
@@ -2,12 +2,12 @@ import { BubbleProps } from './features/bubble';
2
2
  import { PopupProps } from './features/popup';
3
3
  import { BotProps } from './components/Bot';
4
4
  import { close, hidePreviewMessage, open, setPrefilledVariables, showPreviewMessage, toggle, setInputValue, unmount } from './features/commands';
5
- export declare const initStandard: (props: BotProps & {
5
+ declare const initStandard: (props: BotProps & {
6
6
  id?: string;
7
7
  }) => void;
8
- export declare const initPopup: (props: PopupProps) => void;
9
- export declare const initBubble: (props: BubbleProps) => void;
10
- type Typebot = {
8
+ declare const initPopup: (props: PopupProps) => void;
9
+ declare const initBubble: (props: BubbleProps) => void;
10
+ type Bot = {
11
11
  initStandard: typeof initStandard;
12
12
  initPopup: typeof initPopup;
13
13
  initBubble: typeof initBubble;
@@ -20,7 +20,7 @@ type Typebot = {
20
20
  setInputValue: typeof setInputValue;
21
21
  unmount: typeof unmount;
22
22
  };
23
- export declare const parseTypebot: () => {
23
+ export declare const parseBot: () => {
24
24
  initStandard: (props: BotProps & {
25
25
  id?: string;
26
26
  }) => void;
@@ -35,6 +35,6 @@ export declare const parseTypebot: () => {
35
35
  setInputValue: (value: string) => void;
36
36
  unmount: () => void;
37
37
  };
38
- export declare const injectTypebotInWindow: (typebot: Typebot) => void;
38
+ export declare const injectBotInWindow: (bot: Bot) => void;
39
39
  export {};
40
40
  //# sourceMappingURL=window.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"window.d.ts","sourceRoot":"","sources":["../src/window.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAA;AAC/C,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAC7C,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AAC3C,OAAO,EACL,KAAK,EACL,kBAAkB,EAClB,IAAI,EACJ,qBAAqB,EACrB,kBAAkB,EAClB,MAAM,EACN,aAAa,EACb,OAAO,EACR,MAAM,qBAAqB,CAAA;AAE5B,eAAO,MAAM,YAAY,UAAW,QAAQ,GAAG;IAAE,EAAE,CAAC,EAAE,MAAM,CAAA;CAAE,SAM7D,CAAA;AAED,eAAO,MAAM,SAAS,UAAW,UAAU,SAI1C,CAAA;AAED,eAAO,MAAM,UAAU,UAAW,WAAW,SAI5C,CAAA;AAED,KAAK,OAAO,GAAG;IACb,YAAY,EAAE,OAAO,YAAY,CAAA;IACjC,SAAS,EAAE,OAAO,SAAS,CAAA;IAC3B,UAAU,EAAE,OAAO,UAAU,CAAA;IAC7B,KAAK,EAAE,OAAO,KAAK,CAAA;IACnB,kBAAkB,EAAE,OAAO,kBAAkB,CAAA;IAC7C,IAAI,EAAE,OAAO,IAAI,CAAA;IACjB,qBAAqB,EAAE,OAAO,qBAAqB,CAAA;IACnD,kBAAkB,EAAE,OAAO,kBAAkB,CAAA;IAC7C,MAAM,EAAE,OAAO,MAAM,CAAA;IACrB,aAAa,EAAE,OAAO,aAAa,CAAA;IACnC,OAAO,EAAE,OAAO,OAAO,CAAA;CACxB,CAAA;AAQD,eAAO,MAAM,YAAY;0BAxCW,QAAQ,GAAG;QAAE,EAAE,CAAC,EAAE,MAAM,CAAA;KAAE;uBAQ7B,UAAU;wBAMT,WAAW;;;;;;;;;CAsC3C,CAAA;AAEF,eAAO,MAAM,qBAAqB,YAAa,OAAO,SAGrD,CAAA"}
1
+ {"version":3,"file":"window.d.ts","sourceRoot":"","sources":["../src/window.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAA;AAC/C,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAC7C,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AAC3C,OAAO,EACL,KAAK,EACL,kBAAkB,EAClB,IAAI,EACJ,qBAAqB,EACrB,kBAAkB,EAClB,MAAM,EACN,aAAa,EACb,OAAO,EACR,MAAM,qBAAqB,CAAA;AAE5B,QAAA,MAAM,YAAY,UAAW,QAAQ,GAAG;IAAE,EAAE,CAAC,EAAE,MAAM,CAAA;CAAE,SAMtD,CAAA;AAED,QAAA,MAAM,SAAS,UAAW,UAAU,SAInC,CAAA;AAED,QAAA,MAAM,UAAU,UAAW,WAAW,SAIrC,CAAA;AAED,KAAK,GAAG,GAAG;IACT,YAAY,EAAE,OAAO,YAAY,CAAA;IACjC,SAAS,EAAE,OAAO,SAAS,CAAA;IAC3B,UAAU,EAAE,OAAO,UAAU,CAAA;IAC7B,KAAK,EAAE,OAAO,KAAK,CAAA;IACnB,kBAAkB,EAAE,OAAO,kBAAkB,CAAA;IAC7C,IAAI,EAAE,OAAO,IAAI,CAAA;IACjB,qBAAqB,EAAE,OAAO,qBAAqB,CAAA;IACnD,kBAAkB,EAAE,OAAO,kBAAkB,CAAA;IAC7C,MAAM,EAAE,OAAO,MAAM,CAAA;IACrB,aAAa,EAAE,OAAO,aAAa,CAAA;IACnC,OAAO,EAAE,OAAO,OAAO,CAAA;CACxB,CAAA;AAQD,eAAO,MAAM,QAAQ;0BAxCQ,QAAQ,GAAG;QAAE,EAAE,CAAC,EAAE,MAAM,CAAA;KAAE;uBAQ7B,UAAU;wBAMT,WAAW;;;;;;;;;CAsCpC,CAAA;AAEF,eAAO,MAAM,iBAAiB,QAAS,GAAG,SAGzC,CAAA"}
package/package.json CHANGED
@@ -1,17 +1,33 @@
1
1
  {
2
2
  "name": "@urbiport/js",
3
- "version": "0.0.11",
3
+ "version": "0.0.13",
4
4
  "description": "Javascript library to display bots on your website",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
7
7
  "types": "dist/index.d.ts",
8
+ "scripts": {
9
+ "dev": "rollup --watch --config rollup.config.js",
10
+ "build": "rollup --config rollup.config.js",
11
+ "lint": "eslint --fix \"src/**/*.ts*\"",
12
+ "format:write": "prettier --write ./src",
13
+ "format:check": "prettier --check ./src"
14
+ },
15
+ "keywords": [],
16
+ "author": "Urbiport",
8
17
  "license": "AGPL-3.0-or-later",
18
+ "files": [
19
+ "dist/**/*",
20
+ "package.json",
21
+ "README.md"
22
+ ],
9
23
  "dependencies": {
10
24
  "@ai-sdk/ui-utils": "0.0.36",
11
25
  "@ark-ui/solid": "3.3.0",
12
26
  "@fix-webm-duration/fix": "1.0.1",
27
+ "@quickbot.io/env": "workspace:*",
13
28
  "@stripe/stripe-js": "1.54.1",
14
29
  "@udecode/plate-common": "30.4.5",
30
+ "babel-preset-solid": "1.7.7",
15
31
  "dompurify": "3.0.6",
16
32
  "ky": "1.2.4",
17
33
  "marked": "9.0.3",
@@ -19,39 +35,28 @@
19
35
  "solid-js": "1.7.8"
20
36
  },
21
37
  "devDependencies": {
22
- "@babel/preset-typescript": "7.22.5",
23
38
  "@rollup/plugin-babel": "6.0.3",
24
39
  "@rollup/plugin-commonjs": "26.0.1",
25
40
  "@rollup/plugin-node-resolve": "15.1.0",
26
41
  "@rollup/plugin-replace": "5.0.7",
27
42
  "@rollup/plugin-terser": "0.4.3",
28
43
  "@rollup/plugin-typescript": "11.1.2",
44
+ "@quickbot.io/bot-utils": "workspace:*",
45
+ "@quickbot.io/lib": "workspace:*",
46
+ "@quickbot.io/schemas": "workspace:*",
47
+ "@quickbot.io/tsconfig": "workspace:*",
29
48
  "@types/dompurify": "3.0.3",
30
49
  "autoprefixer": "10.4.14",
31
- "babel-preset-solid": "1.7.7",
32
50
  "clsx": "2.0.0",
33
51
  "eslint": "8.44.0",
52
+ "eslint-config-custom": "workspace:*",
34
53
  "eslint-plugin-solid": "0.12.1",
35
54
  "postcss": "8.4.26",
36
55
  "react": "18.2.0",
37
- "rollup": "3.26.2",
56
+ "rollup": "^4.34.1",
38
57
  "rollup-plugin-postcss": "4.0.2",
39
58
  "rollup-plugin-typescript-paths": "1.4.0",
40
59
  "tailwindcss": "3.3.3",
41
- "typescript": "5.4.5",
42
- "@typebot.io/bot-engine": "1.0.0",
43
- "@typebot.io/lib": "1.0.0",
44
- "@typebot.io/env": "1.0.0",
45
- "@typebot.io/schemas": "1.0.0",
46
- "@typebot.io/tsconfig": "0.0.1",
47
- "@typebot.io/theme": "1.0.0",
48
- "eslint-config-custom": "0.0.1"
49
- },
50
- "scripts": {
51
- "dev": "rollup --watch --config rollup.config.js",
52
- "build": "rollup --config rollup.config.js",
53
- "lint": "eslint --fix \"src/**/*.ts*\"",
54
- "format:write": "prettier --write ./src",
55
- "format:check": "prettier --check ./src"
60
+ "typescript": "5.4.5"
56
61
  }
57
- }
62
+ }
@@ -1,11 +0,0 @@
1
-  WARN  Issue while reading "/home/runner/work/quick.bot/quick.bot/packages/embeds/js/.npmrc". Failed to replace env in config: ${NPM_TOKEN}
2
-
3
- > @urbiport/js@0.0.11 build /home/runner/work/quick.bot/quick.bot/packages/embeds/js
4
- > rollup --config rollup.config.js
5
-
6
- 
7
- ./src/index.ts → dist/index.js...
8
- created dist/index.js in 56.7s
9
- 
10
- ./src/web.ts → dist/web.js...
11
- created dist/web.js in 1m 10.3s