@webiny/app-security 5.40.5 → 5.41.0-dbt.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/package.json +7 -7
- package/types.d.ts +3 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webiny/app-security",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.41.0-dbt.0",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -13,8 +13,8 @@
|
|
|
13
13
|
],
|
|
14
14
|
"license": "MIT",
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@webiny/app": "5.
|
|
17
|
-
"@webiny/plugins": "5.
|
|
16
|
+
"@webiny/app": "5.41.0-dbt.0",
|
|
17
|
+
"@webiny/plugins": "5.41.0-dbt.0",
|
|
18
18
|
"minimatch": "5.1.6",
|
|
19
19
|
"react": "18.2.0",
|
|
20
20
|
"react-dom": "18.2.0"
|
|
@@ -27,11 +27,11 @@
|
|
|
27
27
|
"@babel/preset-react": "7.24.1",
|
|
28
28
|
"@babel/preset-typescript": "7.24.1",
|
|
29
29
|
"@emotion/babel-plugin": "11.11.0",
|
|
30
|
-
"@webiny/cli": "5.
|
|
31
|
-
"@webiny/project-utils": "5.
|
|
30
|
+
"@webiny/cli": "5.41.0-dbt.0",
|
|
31
|
+
"@webiny/project-utils": "5.41.0-dbt.0",
|
|
32
32
|
"rimraf": "5.0.5",
|
|
33
33
|
"ttypescript": "1.5.15",
|
|
34
|
-
"typescript": "4.
|
|
34
|
+
"typescript": "4.9.5"
|
|
35
35
|
},
|
|
36
36
|
"publishConfig": {
|
|
37
37
|
"access": "public",
|
|
@@ -48,5 +48,5 @@
|
|
|
48
48
|
]
|
|
49
49
|
}
|
|
50
50
|
},
|
|
51
|
-
"gitHead": "
|
|
51
|
+
"gitHead": "bbaec4dd1685579548c08bbde386aee5d96b80f8"
|
|
52
52
|
}
|
package/types.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { Plugin } from "@webiny/app/types";
|
|
3
|
-
export
|
|
3
|
+
export type SecureRouteErrorPlugin = Plugin & {
|
|
4
4
|
render(): React.ReactElement;
|
|
5
5
|
};
|
|
6
6
|
export interface FullAccessPermission {
|
|
@@ -37,5 +37,5 @@ export interface SecurityIdentity {
|
|
|
37
37
|
getPermission?<T extends SecurityPermission = SecurityPermission>(name: string): T | null;
|
|
38
38
|
[key: string]: any;
|
|
39
39
|
}
|
|
40
|
-
export
|
|
41
|
-
export
|
|
40
|
+
export type IdToken = string;
|
|
41
|
+
export type IdTokenProvider = () => Promise<IdToken | undefined> | IdToken | undefined;
|