@lunora/ratelimit 1.0.0-alpha.16 → 1.0.0-alpha.17

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/index.d.mts CHANGED
@@ -420,7 +420,7 @@ interface RatelimitApiContext<Context> {
420
420
  *
421
421
  * ```ts
422
422
  * const limiter = new RateLimiter({ config: { send: { kind: "token bucket", rate: 5, period: 60_000, capacity: 5 } } });
423
- * const c = initLunora.dataModel&lt;DataModel>().create();
423
+ * const c = initLunora.dataModel<DataModel>().create();
424
424
  * export const send = c.mutation
425
425
  * .use(ratelimitPlugin(limiter).middleware!)
426
426
  * .mutation(async ({ ctx, args }) => {
package/dist/index.d.ts CHANGED
@@ -420,7 +420,7 @@ interface RatelimitApiContext<Context> {
420
420
  *
421
421
  * ```ts
422
422
  * const limiter = new RateLimiter({ config: { send: { kind: "token bucket", rate: 5, period: 60_000, capacity: 5 } } });
423
- * const c = initLunora.dataModel&lt;DataModel>().create();
423
+ * const c = initLunora.dataModel<DataModel>().create();
424
424
  * export const send = c.mutation
425
425
  * .use(ratelimitPlugin(limiter).middleware!)
426
426
  * .mutation(async ({ ctx, args }) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lunora/ratelimit",
3
- "version": "1.0.0-alpha.16",
3
+ "version": "1.0.0-alpha.17",
4
4
  "description": "Rate limiting: token-bucket / fixed-window / sliding-window algorithms, deny list, sharding, pluggable stores, and procedure middleware",
5
5
  "keywords": [
6
6
  "cloudflare",
@@ -46,7 +46,7 @@
46
46
  "access": "public"
47
47
  },
48
48
  "dependencies": {
49
- "@lunora/errors": "1.0.0-alpha.13"
49
+ "@lunora/errors": "1.0.0-alpha.14"
50
50
  },
51
51
  "engines": {
52
52
  "node": "^22.15.0 || >=24.11.0"