diff --git a/CHANGELOG.md b/CHANGELOG.md index 36827fb..5c15e4f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,15 @@ +## [1.0.0](https://github.com/dennemark/prisma-extension-casl/compare/0.8.1...1.0.0) (2024-10-23) + +### ⚠ BREAKING CHANGES + +* :boom: V1.0.0 - Prisma v5.20.0 + +### Features + +* :boom: V1.0.0 - Prisma v5.20.0 ([fdc1246](https://github.com/dennemark/prisma-extension-casl/commit/fdc124647f5a4d8889ae7029a027fb312a6af01f)) + ## [0.8.1](https://github.com/dennemark/prisma-extension-casl/compare/0.8.0...0.8.1) (2024-10-23) diff --git a/dist/index.d.mts b/dist/index.d.mts index 90db232..e064667 100644 --- a/dist/index.d.mts +++ b/dist/index.d.mts @@ -95,12 +95,12 @@ declare function useCaslAbilities(getAbilityFactory: () => AbilityBuilder, Prisma.TypeMapCb, { + }, Prisma.PrismaClientOptions>, Prisma.TypeMapCb, { result: {}; model: {}; query: {}; client: {}; - }>; + }, {}>; }; }; }; diff --git a/dist/index.d.ts b/dist/index.d.ts index 90db232..e064667 100644 --- a/dist/index.d.ts +++ b/dist/index.d.ts @@ -95,12 +95,12 @@ declare function useCaslAbilities(getAbilityFactory: () => AbilityBuilder, Prisma.TypeMapCb, { + }, Prisma.PrismaClientOptions>, Prisma.TypeMapCb, { result: {}; model: {}; query: {}; client: {}; - }>; + }, {}>; }; }; }; diff --git a/dist/index.js b/dist/index.js index 2bf2400..314cf8a 100644 --- a/dist/index.js +++ b/dist/index.js @@ -683,7 +683,7 @@ function d4(r2, e4, o3) { return w(i4.$and); } -// node_modules/.pnpm/@casl+prisma@1.5.0_@casl+ability@6.7.1_@prisma+client@5.14.0_prisma@5.14.0_/node_modules/@casl/prisma/dist/es6m/runtime.mjs +// node_modules/.pnpm/@casl+prisma@1.5.0_@casl+ability@6.7.1_@prisma+client@5.21.1_prisma@5.20.0_/node_modules/@casl/prisma/dist/es6m/runtime.mjs var A3 = class extends Error { static invalidArgument(t3, e4, r2) { const n3 = `${typeof e4}(${JSON.stringify(e4, null, 2)})`; @@ -830,7 +830,7 @@ function createAbilityFactory() { return createAbility; } -// node_modules/.pnpm/@casl+prisma@1.5.0_@casl+ability@6.7.1_@prisma+client@5.14.0_prisma@5.14.0_/node_modules/@casl/prisma/dist/es6m/index.mjs +// node_modules/.pnpm/@casl+prisma@1.5.0_@casl+ability@6.7.1_@prisma+client@5.21.1_prisma@5.20.0_/node_modules/@casl/prisma/dist/es6m/index.mjs var e3 = createAbilityFactory(); var m5 = at2(); diff --git a/dist/index.mjs b/dist/index.mjs index 653c8ef..b2354b2 100644 --- a/dist/index.mjs +++ b/dist/index.mjs @@ -658,7 +658,7 @@ function d4(r2, e4, o3) { return w(i4.$and); } -// node_modules/.pnpm/@casl+prisma@1.5.0_@casl+ability@6.7.1_@prisma+client@5.14.0_prisma@5.14.0_/node_modules/@casl/prisma/dist/es6m/runtime.mjs +// node_modules/.pnpm/@casl+prisma@1.5.0_@casl+ability@6.7.1_@prisma+client@5.21.1_prisma@5.20.0_/node_modules/@casl/prisma/dist/es6m/runtime.mjs var A3 = class extends Error { static invalidArgument(t3, e4, r2) { const n3 = `${typeof e4}(${JSON.stringify(e4, null, 2)})`; @@ -805,7 +805,7 @@ function createAbilityFactory() { return createAbility; } -// node_modules/.pnpm/@casl+prisma@1.5.0_@casl+ability@6.7.1_@prisma+client@5.14.0_prisma@5.14.0_/node_modules/@casl/prisma/dist/es6m/index.mjs +// node_modules/.pnpm/@casl+prisma@1.5.0_@casl+ability@6.7.1_@prisma+client@5.21.1_prisma@5.20.0_/node_modules/@casl/prisma/dist/es6m/index.mjs var e3 = createAbilityFactory(); var m5 = at2(); diff --git a/package.json b/package.json index d4155e7..8300d94 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "prisma-extension-casl", - "version": "0.8.1", + "version": "1.0.0", "description": "Enforce casl abilities on prisma client ", "main": "dist/index.js", "types": "dist/index.d.ts",