@ada-cx/messaging-sdk 1.9.5 → 1.10.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": "@ada-cx/messaging-sdk",
3
- "version": "1.9.5",
3
+ "version": "1.10.0",
4
4
  "description": "TypeScript types, test mocks, and a thin CDN loader for the Ada Messaging SDK. The runtime always resolves from Ada's CDN and is never bundled into this package.",
5
5
  "homepage": "https://docs.ada.cx",
6
6
  "keywords": [
@@ -19,6 +19,9 @@
19
19
  "module": "./dist/npm/index.js",
20
20
  "types": "./dist/npm/index.d.ts",
21
21
  "exports": {
22
+ "./embed-protocol": {
23
+ "types": "./dist/embed-protocol.d.ts"
24
+ },
22
25
  ".": {
23
26
  "import": {
24
27
  "types": "./dist/npm/index.d.ts",
@@ -42,6 +45,9 @@
42
45
  },
43
46
  "typesVersions": {
44
47
  "*": {
48
+ "embed-protocol": [
49
+ "dist/embed-protocol.d.ts"
50
+ ],
45
51
  "testing": [
46
52
  "dist/npm/testing.d.ts"
47
53
  ]
@@ -58,7 +64,7 @@
58
64
  "access": "public"
59
65
  },
60
66
  "scripts": {
61
- "build": "vite build && vite build --mode npm && vite build --mode npm-testing && tsc -b && node scripts/finish-npm-package.mjs",
67
+ "build": "vite build && vite build --mode embed-host && vite build --mode npm && vite build --mode npm-testing && tsc -b && node scripts/finish-npm-package.mjs && node --test scripts/check-iframe-embed-build.mjs",
62
68
  "dev": "vite",
63
69
  "lint": "npx biome check",
64
70
  "prepack": "node scripts/finish-npm-package.mjs --verify"