dewee-webchat 0.4.1-beta.2 → 0.4.1

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.
@@ -21,7 +21,7 @@ function isLinkErrorCode(code) {
21
21
  }
22
22
  var HEADER_GATEWAY_URL = "x-dewee-gateway-url";
23
23
  var HEADER_GATEWAY_TOKEN = "x-dewee-gateway-token";
24
- var VERSION = "0.4.1-beta.2";
24
+ var VERSION = "0.4.1";
25
25
 
26
26
  // src/actions/page-block.ts
27
27
  var ACTION_NAME_RE = /^[a-z][a-z0-9_.-]{0,63}$/;
@@ -9,7 +9,7 @@ import {
9
9
  isLinkErrorCode,
10
10
  parseJobAccessLaunch,
11
11
  stripPageBlock
12
- } from "./chunk-PUIN5ZCQ.js";
12
+ } from "./chunk-EVZ5K7BN.js";
13
13
 
14
14
  // src/actions/directives.ts
15
15
  var DIRECTIVE_LANG = "dewee-action";
package/dist/index.js CHANGED
@@ -6,8 +6,8 @@ import {
6
6
  defineDeweeChat,
7
7
  mount,
8
8
  renderMarkdown
9
- } from "./chunk-2NRPUV6T.js";
10
- import "./chunk-PUIN5ZCQ.js";
9
+ } from "./chunk-VU2M42GA.js";
10
+ import "./chunk-EVZ5K7BN.js";
11
11
  export {
12
12
  ApiClient,
13
13
  ApiError,
package/dist/react.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  defineDeweeChat
3
- } from "./chunk-2NRPUV6T.js";
4
- import "./chunk-PUIN5ZCQ.js";
3
+ } from "./chunk-VU2M42GA.js";
4
+ import "./chunk-EVZ5K7BN.js";
5
5
 
6
6
  // src/react.ts
7
7
  import { createElement, forwardRef, useEffect, useImperativeHandle, useRef } from "react";
package/dist/server.js CHANGED
@@ -13,7 +13,7 @@ import {
13
13
  parseJobAccessLaunch,
14
14
  serializePageContext,
15
15
  stripPageBlock
16
- } from "./chunk-PUIN5ZCQ.js";
16
+ } from "./chunk-EVZ5K7BN.js";
17
17
 
18
18
  // src/server/admission-errors.ts
19
19
  var MESSAGES = {
package/dist/vue.d.ts CHANGED
@@ -138,7 +138,7 @@ declare const DeweeChat: vue.DefineComponent<vue.ExtractPropTypes<{
138
138
  };
139
139
  }>, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
140
140
  [key: string]: any;
141
- }>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, ("open" | "ready" | "send" | "reply" | "error" | "close" | "action")[], "open" | "ready" | "send" | "reply" | "error" | "close" | "action", vue.PublicProps, Readonly<vue.ExtractPropTypes<{
141
+ }>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, ("open" | "close" | "error" | "send" | "action" | "ready" | "reply")[], "open" | "close" | "error" | "send" | "action" | "ready" | "reply", vue.PublicProps, Readonly<vue.ExtractPropTypes<{
142
142
  endpoint: {
143
143
  type: PropType<any>;
144
144
  default: undefined;
@@ -272,11 +272,11 @@ declare const DeweeChat: vue.DefineComponent<vue.ExtractPropTypes<{
272
272
  default: undefined;
273
273
  };
274
274
  }>> & Readonly<{
275
- onOpen?: ((...args: any[]) => any) | undefined;
276
275
  onReady?: ((...args: any[]) => any) | undefined;
277
276
  onSend?: ((...args: any[]) => any) | undefined;
278
277
  onReply?: ((...args: any[]) => any) | undefined;
279
278
  onError?: ((...args: any[]) => any) | undefined;
279
+ onOpen?: ((...args: any[]) => any) | undefined;
280
280
  onClose?: ((...args: any[]) => any) | undefined;
281
281
  onAction?: ((...args: any[]) => any) | undefined;
282
282
  }>, {
package/dist/vue.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  defineDeweeChat
3
- } from "./chunk-2NRPUV6T.js";
4
- import "./chunk-PUIN5ZCQ.js";
3
+ } from "./chunk-VU2M42GA.js";
4
+ import "./chunk-EVZ5K7BN.js";
5
5
 
6
6
  // src/vue.ts
7
7
  import { defineComponent, h, onMounted, ref, watch } from "vue";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dewee-webchat",
3
- "version": "0.4.1-beta.2",
3
+ "version": "0.4.1",
4
4
  "description": "Embeddable chat widget for Dewee AI agents — web component, React/Vue/Astro wrappers and a secure backend handler (Workers, Next.js, Node, Bun, Deno).",
5
5
  "license": "MIT",
6
6
  "type": "module",