@mochabug/adapt-react 1.0.0-rc2 → 1.0.0-rc4

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/esm/index.js CHANGED
@@ -1,6 +1,8 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { AdaptWebClient, } from "@mochabug/adapt-web";
3
3
  import { forwardRef, useEffect, useRef } from "react";
4
+ // Re-export everything from web
5
+ export * from "@mochabug/adapt-web";
4
6
  /**
5
7
  * React component for embedding Adapt automations.
6
8
  */
@@ -1,6 +1,5 @@
1
- import type { Output, SignalDataJson, StatusJson } from "@mochabug/adapt-core";
2
1
  import { type AdaptWebClientOptions } from "@mochabug/adapt-web";
3
- export type { AdaptWebClientOptions, Output, SignalDataJson, StatusJson };
2
+ export * from "@mochabug/adapt-web";
4
3
  /**
5
4
  * Props for the Adapt React component.
6
5
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mochabug/adapt-react",
3
- "version": "1.0.0-rc2",
3
+ "version": "1.0.0-rc4",
4
4
  "description": "React component for Adapt automation platform",
5
5
  "type": "module",
6
6
  "main": "./dist/esm/index.js",
@@ -18,7 +18,7 @@
18
18
  "build:esm": "tsc --project tsconfig.esm.json",
19
19
  "build:types": "tsc --project tsconfig.types.json",
20
20
  "build": "rm -rf dist && npm run build:esm && npm run build:types",
21
- "sample": "cd sample && npm run dev"
21
+ "sample": "npm run build && cd sample && npm run dev"
22
22
  },
23
23
  "keywords": [
24
24
  "adapt",
@@ -32,11 +32,11 @@
32
32
  "react": "^17.0.0 || ^18.0.0 || ^19.0.0"
33
33
  },
34
34
  "devDependencies": {
35
- "@types/react": "^19.2.6",
35
+ "@types/react": "^19.2.7",
36
36
  "react": "^19.2.0",
37
37
  "typescript": "^5.9.3"
38
38
  },
39
39
  "dependencies": {
40
- "@mochabug/adapt-web": "^1.0.0-rc23"
40
+ "@mochabug/adapt-web": "^1.0.0-rc25"
41
41
  }
42
42
  }