bstp-agent-widget 0.0.0 → 0.1.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bstp-agent-widget",
3
- "version": "0.0.0",
3
+ "version": "0.1.0",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "main": "./dist/agent-widget.cjs",
@@ -14,6 +14,10 @@
14
14
  },
15
15
  "./style.css": "./dist/bstp-agent-widget.css"
16
16
  },
17
+ "publishConfig": {
18
+ "access": "public",
19
+ "registry": "https://registry.npmjs.org/"
20
+ },
17
21
  "files": [
18
22
  "README.md",
19
23
  "src/lib/index.d.ts",
@@ -34,6 +38,9 @@
34
38
  "build:lib": "rm -rf dist && bunx vite build -c vite.lib.config.ts",
35
39
  "prepublishOnly": "bun run build:lib",
36
40
  "pack:check": "npm pack --dry-run",
41
+ "publish:public": "npm publish --access public",
42
+ "publish:token": "npm publish --access public",
43
+ "release:check": "bun run build:lib && bun run pack:check",
37
44
  "prepare:build": "bun script:build-metadata",
38
45
  "build:sourcemap": "cross-env SOURCEMAP=true bun run build",
39
46
  "build:visualizer": "cross-env ANALYZE=true bun run build",
@@ -14,6 +14,7 @@ export type AgentChatWidgetProps = {
14
14
  };
15
15
 
16
16
  export declare function AgentChatWidget(props: AgentChatWidgetProps): ReactElement;
17
+ export declare function mountAgentChatWidget(container: Element, props: AgentChatWidgetProps): () => void;
17
18
 
18
19
  export type {
19
20
  AgentChatConfig,