@babelforce/babelconnect-sdk 0.21.0 → 0.21.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.
package/dist/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.21.0";
1
+ export declare const SDK_VERSION = "0.21.1";
package/dist/version.js CHANGED
@@ -1,3 +1,3 @@
1
1
  // Generated by scripts/gen-version.mjs (npm prebuild) from package.json.
2
2
  // Do not edit by hand.
3
- export const SDK_VERSION = "0.21.0";
3
+ export const SDK_VERSION = "0.21.1";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@babelforce/babelconnect-sdk",
3
- "version": "0.21.0",
3
+ "version": "0.21.1",
4
4
  "description": "TypeScript SDK for babelconnect — server-authoritative agent state over gRPC-web, native WebRTC audio, and an embeddable widget (iframe + postMessage) for the Flutter web app.",
5
5
  "license": "Apache-2.0",
6
6
  "homepage": "https://babelforce.github.io/babelconnect-sdk/",
@@ -28,10 +28,14 @@
28
28
  "build": "tsc -p tsconfig.json && npm run build:embed-iife",
29
29
  "build:embed-iife": "esbuild src/embed/iife-entry.ts --bundle --format=iife --target=es2020 --minify --outfile=dist/web/babelconnect-embed.iife.js",
30
30
  "typecheck": "tsc -p tsconfig.json --noEmit",
31
+ "lint": "eslint src",
31
32
  "test": "npm run build && node --test test/*.test.mjs",
33
+ "publint": "publint",
34
+ "attw": "attw --pack . --profile esm-only",
35
+ "check:package": "npm run publint && npm run attw",
32
36
  "docs": "typedoc",
33
37
  "docs:md": "typedoc --options typedoc.docusaurus.json",
34
- "prepublishOnly": "npm run typecheck && npm run build"
38
+ "prepublishOnly": "npm run lint && npm run typecheck && npm run build && npm run check:package"
35
39
  },
36
40
  "dependencies": {
37
41
  "@bufbuild/protobuf": "^1.10.1",
@@ -39,12 +43,17 @@
39
43
  "@connectrpc/connect-web": "^1.6.1"
40
44
  },
41
45
  "devDependencies": {
46
+ "@arethetypeswrong/cli": "^0.18.4",
42
47
  "@bufbuild/protoc-gen-es": "^1.10.1",
43
48
  "@connectrpc/protoc-gen-connect-es": "^1.6.1",
49
+ "@eslint/js": "^9.39.4",
44
50
  "esbuild": "^0.28.0",
51
+ "eslint": "^9.39.4",
52
+ "publint": "^0.3.21",
45
53
  "typedoc": "~0.27.0",
46
54
  "typedoc-plugin-markdown": "4.4.0",
47
- "typescript": "^5.6.0"
55
+ "typescript": "^5.6.0",
56
+ "typescript-eslint": "^8.62.1"
48
57
  },
49
58
  "publishConfig": {
50
59
  "access": "public",