@elevenlabs/convai-widget-core 0.6.0-beta.5 → 0.6.0-beta.8

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,25 +1,11 @@
1
1
  {
2
2
  "name": "@elevenlabs/convai-widget-core",
3
- "version": "0.6.0-beta.5",
3
+ "version": "0.6.0-beta.8",
4
4
  "description": "The common library for the Conversational AI Widget.",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
7
7
  "source": "./src/index.ts",
8
8
  "type": "module",
9
- "scripts": {
10
- "generate-version": "printf \"// This file is auto-generated during build\\nexport const PACKAGE_VERSION = \\\"%s\\\";\\n\" \"$npm_package_version\" > src/version.ts",
11
- "postinstall": "npm run generate-version",
12
- "prebuild": "npm run generate-version",
13
- "build": "vite build && tsc --declaration --emitDeclarationOnly",
14
- "build:analyze": "ANALYZE=true vite build",
15
- "dev": "npm run generate-version && vite",
16
- "lint": "npm run check-types && npm run lint:es && npm run lint:prettier",
17
- "check-types": "tsc --noEmit --skipLibCheck",
18
- "lint:es": "pnpm exec eslint .",
19
- "lint:prettier": "prettier 'src/**/*.ts' --check",
20
- "prepublishOnly": "npm run build",
21
- "test": "vitest"
22
- },
23
9
  "files": [
24
10
  "dist"
25
11
  ],
@@ -39,13 +25,12 @@
39
25
  "tailwindcss": "^3.4.17",
40
26
  "typescript": "^5.5.4",
41
27
  "unified": "^11.0.5",
42
- "vite": "^6.3.2",
28
+ "vite": "^6.4.1",
43
29
  "vite-bundle-analyzer": "^1.2.3",
44
30
  "vitest": "^3.1.2"
45
31
  },
46
32
  "dependencies": {
47
33
  "@ctrl/tinycolor": "^4.2.0",
48
- "@elevenlabs/client": "workspace:*",
49
34
  "@lezer/common": "^1.3.0",
50
35
  "@lezer/highlight": "^1.2.3",
51
36
  "@lezer/html": "^1.3.12",
@@ -63,14 +48,16 @@
63
48
  "marked": "^17.0.0",
64
49
  "preact": "^10.26.5",
65
50
  "preact-custom-element": "^4.3.0",
66
- "rehype-harden": "^1.1.5",
51
+ "rehype-harden": "^1.1.7",
67
52
  "rehype-raw": "^7.0.0",
53
+ "rehype-sanitize": "^6.0.0",
68
54
  "remark-cjk-friendly": "^1.2.3",
69
55
  "remark-cjk-friendly-gfm-strikethrough": "^1.2.3",
70
56
  "remark-gfm": "^4.0.1",
71
57
  "remark-parse": "^11.0.0",
72
58
  "remark-rehype": "^11.1.2",
73
- "tailwind-merge": "^3.4.0"
59
+ "tailwind-merge": "^3.4.0",
60
+ "@elevenlabs/client": "0.12.2"
74
61
  },
75
62
  "publishConfig": {
76
63
  "access": "public"
@@ -79,5 +66,18 @@
79
66
  "type": "git",
80
67
  "url": "git+https://github.com/elevenlabs/packages.git",
81
68
  "directory": "packages/convai-widget-core"
69
+ },
70
+ "scripts": {
71
+ "generate-version": "printf \"// This file is auto-generated during build\\nexport const PACKAGE_VERSION = \\\"%s\\\";\\n\" \"$npm_package_version\" > src/version.ts",
72
+ "postinstall": "npm run generate-version",
73
+ "prebuild": "npm run generate-version",
74
+ "build": "vite build && tsc --declaration --emitDeclarationOnly",
75
+ "build:analyze": "ANALYZE=true vite build",
76
+ "dev": "npm run generate-version && vite",
77
+ "lint": "npm run check-types && npm run lint:es && npm run lint:prettier",
78
+ "check-types": "tsc --noEmit --skipLibCheck",
79
+ "lint:es": "pnpm exec eslint .",
80
+ "lint:prettier": "prettier 'src/**/*.ts' --check",
81
+ "test": "vitest"
82
82
  }
83
- }
83
+ }