@prisma/security-rules 0.3.7 → 0.4.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/README.md +1 -1
- package/package.json +9 -9
package/README.md
CHANGED
@@ -106,7 +106,7 @@ Be sure to copy the public key from the deploy command's output in your terminal
|
|
106
106
|
import { AuthorizedClient } from "@prisma/security-rules";
|
107
107
|
|
108
108
|
// It is important not to forget the `type` annotation here.
|
109
|
-
import type rules from "
|
109
|
+
import type rules from "path/to/prisma/rules";
|
110
110
|
|
111
111
|
const authorizedClient = new AuthorizedClient<typeof rules>({
|
112
112
|
publicKey: "<public_key>",
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@prisma/security-rules",
|
3
|
-
"version": "0.
|
3
|
+
"version": "0.4.0",
|
4
4
|
"sideEffects": false,
|
5
5
|
"description": "Prisma Postgres Security Rules",
|
6
6
|
"type": "module",
|
@@ -13,12 +13,6 @@
|
|
13
13
|
"require": "./dist/index.cjs"
|
14
14
|
}
|
15
15
|
},
|
16
|
-
"scripts": {
|
17
|
-
"build": "tsup",
|
18
|
-
"typecheck": "tsc --noEmit",
|
19
|
-
"lint": "eslint --fix .",
|
20
|
-
"test": ""
|
21
|
-
},
|
22
16
|
"keywords": [],
|
23
17
|
"dependencies": {
|
24
18
|
"@standard-schema/spec": "1.0.0",
|
@@ -58,5 +52,11 @@
|
|
58
52
|
"files": [
|
59
53
|
"assets",
|
60
54
|
"dist"
|
61
|
-
]
|
62
|
-
|
55
|
+
],
|
56
|
+
"scripts": {
|
57
|
+
"build": "tsup",
|
58
|
+
"typecheck": "tsc --noEmit",
|
59
|
+
"lint": "eslint --fix .",
|
60
|
+
"test": ""
|
61
|
+
}
|
62
|
+
}
|