use-vibes 0.12.0-dev-preview → 0.12.1-dev

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.
Files changed (3) hide show
  1. package/README.md +1 -1
  2. package/index.d.ts +11 -0
  3. package/package.json +4 -22
package/README.md CHANGED
@@ -498,7 +498,7 @@ Easily create image galleries using document IDs:
498
498
 
499
499
  ### Loading Existing Documents
500
500
 
501
- Load existing documents by ID:
501
+ Load existing documents by `_id`:
502
502
 
503
503
  ```jsx
504
504
  <ImgGen _id="existing-document-id" />
package/index.d.ts CHANGED
@@ -1 +1,12 @@
1
1
  export { ImgGen, type ImgGenProps, useFireproof, fireproof, ImgFile, callAI, callAi, type Fireproof, type CallAI, } from '@vibes.diy/use-vibes-base';
2
+ export interface RuntimeError {
3
+ type: string;
4
+ message: string;
5
+ source?: string;
6
+ lineno?: number;
7
+ colno?: number;
8
+ stack?: string;
9
+ reason?: string;
10
+ timestamp: string;
11
+ errorType?: 'SyntaxError' | 'ReferenceError' | 'TypeError' | 'DatabaseError' | 'Other';
12
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "use-vibes",
3
- "version": "0.12.0-dev-preview",
3
+ "version": "0.12.1-dev",
4
4
  "type": "module",
5
5
  "description": "Transform any DOM element into an AI-powered micro-app",
6
6
  "keywords": [
@@ -18,32 +18,14 @@
18
18
  ],
19
19
  "license": "Apache-2.0",
20
20
  "dependencies": {
21
- "@vibes.diy/use-vibes-base": "^0.12.0-dev-preview"
21
+ "@vibes.diy/use-vibes-base": "^0.12.1-dev",
22
+ "react-dom": "^19.1.1"
22
23
  },
23
24
  "peerDependencies": {
24
25
  "react": "^18.0.0 || ^19.0.0"
25
26
  },
26
27
  "devDependencies": {
27
- "@eslint/js": "^9.31.0",
28
- "@fireproof/core-cli": "^0.23.11",
29
- "@testing-library/jest-dom": "^6.6.3",
30
- "@testing-library/react": "^16.3.0",
31
- "@types/react": "^19.1.0",
32
- "@types/react-dom": "^19.1.2",
33
- "@vitejs/plugin-react": "^4.4.1",
34
- "@vitest/browser": "^3.2.4",
35
- "eslint": "^9.31.0",
36
- "eslint-plugin-import": "^2.31.0",
37
- "eslint-plugin-react": "^7.37.5",
38
- "jsdom": "^26.1.0",
39
- "playwright": "^1.54.1",
40
- "playwright-chromium": "^1.54.1",
41
- "prettier": "^3.6.2",
42
- "react-dom": "^19.1.0",
43
- "rimraf": "^5.0.5",
44
- "typescript": "^5.8.2",
45
- "typescript-eslint": "^8.36.0",
46
- "vitest": "^3.2.4"
28
+ "@fireproof/core-cli": "^0.23.11"
47
29
  },
48
30
  "scripts": {
49
31
  "build": "core-cli tsc",