@lunora/flags 1.0.0-alpha.50 → 1.0.0-alpha.52

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 +1 -1
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -69,7 +69,7 @@ export default defineFlags({ provider: envProvider() });
69
69
  ## Evaluate
70
70
 
71
71
  ```ts
72
- export const listPosts = query(async (ctx) => {
72
+ export const listPosts = query.query(async ({ ctx }) => {
73
73
  if (await ctx.flags.boolean("new-ranking", false)) {
74
74
  /* ... */
75
75
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lunora/flags",
3
- "version": "1.0.0-alpha.50",
3
+ "version": "1.0.0-alpha.52",
4
4
  "description": "OpenFeature-based feature flags for Lunora — ctx.flags, useFlag, and a first-class Cloudflare Flagship provider with any OpenFeature provider pluggable",
5
5
  "keywords": [
6
6
  "cloudflare",
@@ -60,7 +60,7 @@
60
60
  "access": "public"
61
61
  },
62
62
  "dependencies": {
63
- "@lunora/errors": "1.0.0-alpha.36",
63
+ "@lunora/errors": "1.0.0-alpha.38",
64
64
  "@openfeature/server-sdk": "^1.23.0"
65
65
  },
66
66
  "peerDependencies": {