nuxt-auto-crud 1.27.0 → 1.28.0

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": "nuxt-auto-crud",
3
3
  "configKey": "autoCrud",
4
- "version": "1.27.0",
4
+ "version": "1.28.0",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "1.0.2",
7
7
  "unbuild": "3.6.1"
@@ -1,4 +1,4 @@
1
- import { createError, getHeader } from "h3";
1
+ import { createError, getHeader, getQuery } from "h3";
2
2
  import { requireUserSession, allows, getUserSession, abilities as globalAbility, abilityLogic, useRuntimeConfig } from "#imports";
3
3
  import { useAutoCrudConfig } from "./config.js";
4
4
  import { verifyJwtToken } from "./jwt.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nuxt-auto-crud",
3
- "version": "1.27.0",
3
+ "version": "1.28.0",
4
4
  "description": "Exposes RESTful CRUD APIs for your Nuxt app based solely on your database migrations.",
5
5
  "author": "Cliford Pereira",
6
6
  "license": "MIT",
@@ -1,7 +1,7 @@
1
1
  // eslint-disable-next-line @typescript-eslint/triple-slash-reference
2
2
  /// <reference path="../../auth.d.ts" />
3
3
  import type { H3Event } from 'h3'
4
- import { createError, getHeader } from 'h3'
4
+ import { createError, getHeader, getQuery } from 'h3'
5
5
 
6
6
  // @ts-expect-error - #imports is a virtual alias
7
7
  import { requireUserSession, allows, getUserSession, abilities as globalAbility, abilityLogic, useRuntimeConfig } from '#imports'