@aeriajs/security 0.0.301 → 0.0.303
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/use.d.ts +3 -3
- package/dist/use.js +1 -1
- package/package.json +4 -4
package/dist/use.d.ts
CHANGED
|
@@ -7,9 +7,9 @@ export declare const useSecurity: <TDescription extends Description>(context: Co
|
|
|
7
7
|
} | {
|
|
8
8
|
readonly _tag: "Result";
|
|
9
9
|
readonly error: undefined;
|
|
10
|
-
readonly result: {
|
|
11
|
-
filters:
|
|
12
|
-
}
|
|
10
|
+
readonly result: TPayload & {
|
|
11
|
+
filters: Record<string, unknown>;
|
|
12
|
+
};
|
|
13
13
|
}>;
|
|
14
14
|
secureWritePayload: <TPayload extends CollectionWritePayload>(payload: TPayload) => Promise<{
|
|
15
15
|
readonly _tag: "Error";
|
package/dist/use.js
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aeriajs/security",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.303",
|
|
5
5
|
"description": "",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"types": "dist/index.d.ts",
|
|
@@ -28,9 +28,9 @@
|
|
|
28
28
|
"mongodb": "^7.1.0"
|
|
29
29
|
},
|
|
30
30
|
"peerDependencies": {
|
|
31
|
-
"@aeriajs/core": "^0.0.
|
|
32
|
-
"@aeriajs/common": "^0.0.
|
|
33
|
-
"@aeriajs/entrypoint": "^0.0.
|
|
31
|
+
"@aeriajs/core": "^0.0.303",
|
|
32
|
+
"@aeriajs/common": "^0.0.173",
|
|
33
|
+
"@aeriajs/entrypoint": "^0.0.181",
|
|
34
34
|
"@aeriajs/types": "^0.0.144",
|
|
35
35
|
"mongodb": "^7.1.0"
|
|
36
36
|
},
|