Skip to content

Commit

Permalink
Release 0.5.5
Browse files Browse the repository at this point in the history
  • Loading branch information
dennemark committed Aug 9, 2024
1 parent 8c00e9d commit 5234aef
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 7 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@


## [0.5.5](https://github.com/dennemark/prisma-extension-casl/compare/0.5.4...0.5.5) (2024-08-09)


### Bug Fixes

* :bug: fix version of prisma ([8c00e9d](https://github.com/dennemark/prisma-extension-casl/commit/8c00e9df0826832c5659944e3b93814d1d30479b))

## [0.5.4](https://github.com/dennemark/prisma-extension-casl/compare/0.5.3...0.5.4) (2024-08-09)


Expand Down
2 changes: 1 addition & 1 deletion dist/index.d.mts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ declare function useCaslAbilities(getAbilityFactory: () => AbilityBuilder<PureAb
model: {};
query: {};
client: {
$casl: () => (extendFactory: (factory: AbilityBuilder<PureAbility<AbilityTuple, PrismaQuery>>) => AbilityBuilder<PureAbility<AbilityTuple, PrismaQuery>>) => DynamicClientExtensionThis<Prisma.TypeMap<InternalArgs & _prisma_client_runtime_library.DefaultArgs, Prisma.PrismaClientOptions>, Prisma.TypeMapCb, _prisma_client_runtime_library.DefaultArgs, {}>;
$casl: () => (extendFactory: (factory: AbilityBuilder<PureAbility<AbilityTuple, PrismaQuery>>) => AbilityBuilder<PureAbility<AbilityTuple, PrismaQuery>>) => DynamicClientExtensionThis<Prisma.TypeMap<InternalArgs & _prisma_client_runtime_library.DefaultArgs>, Prisma.TypeMapCb, _prisma_client_runtime_library.DefaultArgs>;
};
};
};
Expand Down
2 changes: 1 addition & 1 deletion dist/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ declare function useCaslAbilities(getAbilityFactory: () => AbilityBuilder<PureAb
model: {};
query: {};
client: {
$casl: () => (extendFactory: (factory: AbilityBuilder<PureAbility<AbilityTuple, PrismaQuery>>) => AbilityBuilder<PureAbility<AbilityTuple, PrismaQuery>>) => DynamicClientExtensionThis<Prisma.TypeMap<InternalArgs & _prisma_client_runtime_library.DefaultArgs, Prisma.PrismaClientOptions>, Prisma.TypeMapCb, _prisma_client_runtime_library.DefaultArgs, {}>;
$casl: () => (extendFactory: (factory: AbilityBuilder<PureAbility<AbilityTuple, PrismaQuery>>) => AbilityBuilder<PureAbility<AbilityTuple, PrismaQuery>>) => DynamicClientExtensionThis<Prisma.TypeMap<InternalArgs & _prisma_client_runtime_library.DefaultArgs>, Prisma.TypeMapCb, _prisma_client_runtime_library.DefaultArgs>;
};
};
};
Expand Down
4 changes: 2 additions & 2 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -683,7 +683,7 @@ function d4(r2, e4, o3) {
return w(i4.$and);
}

// node_modules/.pnpm/@[email protected]_@[email protected]_@prisma+client@5.17.0_prisma@5.17.0_/node_modules/@casl/prisma/dist/es6m/runtime.mjs
// node_modules/.pnpm/@[email protected]_@[email protected]_@prisma+client@5.14.0_prisma@5.14.0_/node_modules/@casl/prisma/dist/es6m/runtime.mjs
var v4 = class extends Error {
static invalidArgument(t3, e4, r2) {
const n3 = `${typeof e4}(${JSON.stringify(e4, null, 2)})`;
Expand Down Expand Up @@ -826,7 +826,7 @@ function createAbilityFactory() {
return createAbility;
}

// node_modules/.pnpm/@[email protected]_@[email protected]_@prisma+client@5.17.0_prisma@5.17.0_/node_modules/@casl/prisma/dist/es6m/index.mjs
// node_modules/.pnpm/@[email protected]_@[email protected]_@prisma+client@5.14.0_prisma@5.14.0_/node_modules/@casl/prisma/dist/es6m/index.mjs
var e3 = createAbilityFactory();
var m5 = st2();

Expand Down
4 changes: 2 additions & 2 deletions dist/index.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -658,7 +658,7 @@ function d4(r2, e4, o3) {
return w(i4.$and);
}

// node_modules/.pnpm/@[email protected]_@[email protected]_@prisma+client@5.17.0_prisma@5.17.0_/node_modules/@casl/prisma/dist/es6m/runtime.mjs
// node_modules/.pnpm/@[email protected]_@[email protected]_@prisma+client@5.14.0_prisma@5.14.0_/node_modules/@casl/prisma/dist/es6m/runtime.mjs
var v4 = class extends Error {
static invalidArgument(t3, e4, r2) {
const n3 = `${typeof e4}(${JSON.stringify(e4, null, 2)})`;
Expand Down Expand Up @@ -801,7 +801,7 @@ function createAbilityFactory() {
return createAbility;
}

// node_modules/.pnpm/@[email protected]_@[email protected]_@prisma+client@5.17.0_prisma@5.17.0_/node_modules/@casl/prisma/dist/es6m/index.mjs
// node_modules/.pnpm/@[email protected]_@[email protected]_@prisma+client@5.14.0_prisma@5.14.0_/node_modules/@casl/prisma/dist/es6m/index.mjs
var e3 = createAbilityFactory();
var m5 = st2();

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "prisma-extension-casl",
"version": "0.5.4",
"version": "0.5.5",
"description": "Enforce casl abilities on prisma client ",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down

0 comments on commit 5234aef

Please sign in to comment.