@revealui/core 0.11.0 → 0.11.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.
Files changed (2) hide show
  1. package/README.md +4 -2
  2. package/package.json +5 -5
package/README.md CHANGED
@@ -74,9 +74,10 @@ const Posts: RevealUICollection = {
74
74
  ### Server-Side API
75
75
 
76
76
  ```typescript
77
- import { revealui } from '@revealui/core/server'
77
+ import { getRevealUI } from '@revealui/core'
78
78
 
79
79
  // Create, read, update, delete
80
+ const revealui = await getRevealUI({ config })
80
81
  const post = await revealui.create({ collection: 'posts', data: { title: 'Hello' } })
81
82
  const posts = await revealui.find({ collection: 'posts', where: { status: { equals: 'published' } } })
82
83
  ```
@@ -106,7 +107,8 @@ defineField({ name: 'body', type: 'richText' })
106
107
  ### Feature Gating
107
108
 
108
109
  ```typescript
109
- import { isLicensed, isFeatureEnabled } from '@revealui/core/features'
110
+ import { isLicensed } from '@revealui/core/license'
111
+ import { isFeatureEnabled } from '@revealui/core/features'
110
112
 
111
113
  if (isLicensed('pro')) {
112
114
  // Pro-tier feature
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@revealui/core",
3
- "version": "0.11.0",
3
+ "version": "0.11.1",
4
4
  "description": "RevealUI's runtime engine — admin UI, REST API, auth, rich text, plugin system, and access control. The heart of the open-source platform.",
5
5
  "license": "MIT",
6
6
  "dependencies": {
@@ -23,11 +23,11 @@
23
23
  "pg": "^8.22.0",
24
24
  "yjs": "^13.6.31",
25
25
  "zod": "^4.4.3",
26
- "@revealui/cache": "0.2.3",
27
- "@revealui/contracts": "0.6.2",
26
+ "@revealui/cache": "0.2.4",
27
+ "@revealui/contracts": "0.7.0",
28
28
  "@revealui/resilience": "0.2.4",
29
- "@revealui/security": "0.4.2",
30
- "@revealui/utils": "0.3.5"
29
+ "@revealui/security": "0.4.3",
30
+ "@revealui/utils": "0.3.6"
31
31
  },
32
32
  "devDependencies": {
33
33
  "@types/json-schema": "^7.0.15",