@soba-so/react 0.0.14 → 0.0.15

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/types.d.ts CHANGED
@@ -38,6 +38,10 @@ export interface Runtime {
38
38
  export interface Machine {
39
39
  id: string;
40
40
  label: string | null;
41
+ /** The hostname the worker reported, beside the label it is folded into —
42
+ * `label` is `label ?? name` on the wire, so only the pair tells a chosen
43
+ * name from a DNS label. Optional: an older gateway does not send it. */
44
+ name?: string | null;
41
45
  platform: string | null;
42
46
  arch: string | null;
43
47
  version: string | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@soba-so/react",
3
- "version": "0.0.14",
3
+ "version": "0.0.15",
4
4
  "description": "Connect the AI your users already pay for, from your own React app.",
5
5
  "license": "UNLICENSED",
6
6
  "homepage": "https://soba.so/docs/components",
@@ -19,18 +19,13 @@
19
19
  "!dist/**/*.map",
20
20
  "README.md"
21
21
  ],
22
- "scripts": {
23
- "build": "node ../../scripts/build-react.mjs",
24
- "typecheck": "tsc -p tsconfig.json",
25
- "prepublishOnly": "node ../../scripts/build-react.mjs"
26
- },
27
22
  "peerDependencies": {
28
23
  "react": ">=18"
29
24
  },
30
25
  "devDependencies": {
31
- "@soba-so/connect-ui": "workspace:*",
32
26
  "@types/react": "^19.0.0",
33
- "typescript": "^7.0.2"
27
+ "typescript": "^7.0.2",
28
+ "@soba-so/connect-ui": "0.1.0"
34
29
  },
35
30
  "engines": {
36
31
  "node": ">=22"
@@ -44,5 +39,9 @@
44
39
  ],
45
40
  "publishConfig": {
46
41
  "access": "public"
42
+ },
43
+ "scripts": {
44
+ "build": "node ../../scripts/build-react.mjs",
45
+ "typecheck": "tsc -p tsconfig.json"
47
46
  }
48
- }
47
+ }