@frigear-nu/authorization 0.0.6 → 0.0.7

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/module.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@frigear-nu/authorization",
3
3
  "configKey": "authorization",
4
- "version": "0.0.6",
4
+ "version": "0.0.7",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "1.0.3",
7
7
  "unbuild": "unknown"
package/dist/module.mjs CHANGED
@@ -1,7 +1,7 @@
1
1
  import { existsSync } from 'node:fs';
2
2
  import { join } from 'node:path';
3
3
  import { defineNuxtModule, createResolver, addServerTemplate, addTemplate, addTypeTemplate, addImports, addServerImports, addComponentsDir, addServerImportsDir, addRouteMiddleware, addServerHandler } from '@nuxt/kit';
4
- import { registerModule, extendDatabaseTable } from '@frigear-nu/module-kit/utils';
4
+ import { registerModule, extendDatabaseTable, inlineModuleRuntime } from '@frigear-nu/module-kit/utils';
5
5
  import { ROUTE_RULE_KEYS } from '../dist/runtime/utils/types.js';
6
6
 
7
7
  const module$1 = defineNuxtModule({
@@ -109,6 +109,7 @@ export {}
109
109
  })));
110
110
  addComponentsDir({ path: resolver.resolve("./runtime/app/components") });
111
111
  addServerImportsDir(resolver.resolve("./runtime/server/utils"));
112
+ inlineModuleRuntime(nuxt, resolver);
112
113
  addRouteMiddleware({
113
114
  name: "authorization",
114
115
  path: resolver.resolve("./runtime/app/middleware/authorization.global"),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@frigear-nu/authorization",
3
- "version": "0.0.6",
3
+ "version": "0.0.7",
4
4
  "description": "Policy-based authorization (abilities, resolvers, route rules, <Can>) for the frigear ecosystem, built on @frigear-nu/users.",
5
5
  "homepage": "https://docs.frigear.dev/modules/authorization",
6
6
  "repository": {
@@ -30,9 +30,9 @@
30
30
  "playground"
31
31
  ],
32
32
  "dependencies": {
33
- "@frigear-nu/module-kit": "0.1.7",
34
- "@frigear-nu/auth": "0.0.3",
35
- "@frigear-nu/users": "1.0.9",
33
+ "@frigear-nu/module-kit": "1.0.0",
34
+ "@frigear-nu/auth": "0.0.4",
35
+ "@frigear-nu/users": "1.0.10",
36
36
  "@libsql/client": "^0.18.0",
37
37
  "@nuxt/kit": "^4.6.0",
38
38
  "drizzle-kit": "^0.31.11",