oidc-spa 8.1.3 → 8.1.4-rc.1
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/core/createOidc.js +1 -1
- package/esm/core/createOidc.js +1 -1
- package/esm/index.d.ts +1 -1
- package/esm/index.js +1 -1
- package/esm/index.js.map +1 -1
- package/esm/mock/react.d.ts +2 -2
- package/index.d.ts +1 -1
- package/index.js +3 -4
- package/index.js.map +1 -1
- package/mock/react.d.ts +2 -2
- package/package.json +1 -1
- package/src/index.ts +1 -1
package/core/createOidc.js
CHANGED
|
@@ -63,7 +63,7 @@ const getIsOnline_1 = require("../tools/getIsOnline");
|
|
|
63
63
|
const isKeycloak_1 = require("../keycloak/isKeycloak");
|
|
64
64
|
const INFINITY_TIME_1 = require("../tools/INFINITY_TIME");
|
|
65
65
|
// NOTE: Replaced at build time
|
|
66
|
-
const VERSION = "8.1.
|
|
66
|
+
const VERSION = "8.1.4-rc.1";
|
|
67
67
|
const globalContext = {
|
|
68
68
|
prOidcByConfigId: new Map(),
|
|
69
69
|
hasLogoutBeenCalled: (0, tsafe_1.id)(false),
|
package/esm/core/createOidc.js
CHANGED
|
@@ -26,7 +26,7 @@ import { getIsOnline } from "../tools/getIsOnline";
|
|
|
26
26
|
import { isKeycloak } from "../keycloak/isKeycloak";
|
|
27
27
|
import { INFINITY_TIME } from "../tools/INFINITY_TIME";
|
|
28
28
|
// NOTE: Replaced at build time
|
|
29
|
-
const VERSION = "8.1.
|
|
29
|
+
const VERSION = "8.1.4-rc.1";
|
|
30
30
|
const globalContext = {
|
|
31
31
|
prOidcByConfigId: new Map(),
|
|
32
32
|
hasLogoutBeenCalled: id(false),
|
package/esm/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { type
|
|
1
|
+
export { AbstractOidcService, type ParamsOfProvide, type ParamsOfProvideMock } from "./angular";
|
package/esm/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { AbstractOidcService } from "./angular";
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
package/esm/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAkD,MAAM,WAAW,CAAC"}
|
package/esm/mock/react.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ export declare function createMockReactOidc<DecodedIdToken extends Record<string
|
|
|
9
9
|
} ? true : false : never : never) ? T_1 extends true ? (props: {
|
|
10
10
|
fallback?: import("react").ReactNode;
|
|
11
11
|
ErrorFallback?: (props: {
|
|
12
|
-
initializationError: import("
|
|
12
|
+
initializationError: import("../core").OidcInitializationError;
|
|
13
13
|
}) => import("react").ReactNode;
|
|
14
14
|
children: import("react").ReactNode;
|
|
15
15
|
}) => import("react").JSX.Element : (props: {
|
|
@@ -37,7 +37,7 @@ export declare function createMockReactOidc<DecodedIdToken extends Record<string
|
|
|
37
37
|
autoLogin?: true | undefined;
|
|
38
38
|
} ? true : false : never : never) extends infer T_7 ? T_7 extends (ParamsOfCreateMockOidc<DecodedIdToken, AutoLogin> extends infer T_8 ? T_8 extends ParamsOfCreateMockOidc<DecodedIdToken, AutoLogin> ? T_8 extends {
|
|
39
39
|
autoLogin?: true | undefined;
|
|
40
|
-
} ? true : false : never : never) ? T_7 extends true ? import("
|
|
40
|
+
} ? true : false : never : never) ? T_7 extends true ? import("../core").Oidc.LoggedIn<DecodedIdToken> : import("../core").Oidc<DecodedIdToken> : never : never>;
|
|
41
41
|
} & ((ParamsOfCreateMockOidc<DecodedIdToken, AutoLogin> extends infer T_6 ? T_6 extends ParamsOfCreateMockOidc<DecodedIdToken, AutoLogin> ? T_6 extends {
|
|
42
42
|
autoLogin?: true | undefined;
|
|
43
43
|
} ? true : false : never : never) extends infer T_7 ? T_7 extends (ParamsOfCreateMockOidc<DecodedIdToken, AutoLogin> extends infer T_8 ? T_8 extends ParamsOfCreateMockOidc<DecodedIdToken, AutoLogin> ? T_8 extends {
|
package/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { type
|
|
1
|
+
export { AbstractOidcService, type ParamsOfProvide, type ParamsOfProvideMock } from "./angular";
|
package/index.js
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
var
|
|
5
|
-
Object.defineProperty(exports, "
|
|
6
|
-
Object.defineProperty(exports, "createOidc", { enumerable: true, get: function () { return core_1.createOidc; } });
|
|
3
|
+
exports.AbstractOidcService = void 0;
|
|
4
|
+
var angular_1 = require("./angular");
|
|
5
|
+
Object.defineProperty(exports, "AbstractOidcService", { enumerable: true, get: function () { return angular_1.AbstractOidcService; } });
|
|
7
6
|
//# sourceMappingURL=index.js.map
|
package/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["./src/index.ts"],"names":[],"mappings":";;;AAAA
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["./src/index.ts"],"names":[],"mappings":";;;AAAA,qCAAgG;AAAvF,8GAAA,mBAAmB,OAAA"}
|
package/mock/react.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ export declare function createMockReactOidc<DecodedIdToken extends Record<string
|
|
|
9
9
|
} ? true : false : never : never) ? T_1 extends true ? (props: {
|
|
10
10
|
fallback?: import("react").ReactNode;
|
|
11
11
|
ErrorFallback?: (props: {
|
|
12
|
-
initializationError: import("
|
|
12
|
+
initializationError: import("../core").OidcInitializationError;
|
|
13
13
|
}) => import("react").ReactNode;
|
|
14
14
|
children: import("react").ReactNode;
|
|
15
15
|
}) => import("react").JSX.Element : (props: {
|
|
@@ -37,7 +37,7 @@ export declare function createMockReactOidc<DecodedIdToken extends Record<string
|
|
|
37
37
|
autoLogin?: true | undefined;
|
|
38
38
|
} ? true : false : never : never) extends infer T_7 ? T_7 extends (ParamsOfCreateMockOidc<DecodedIdToken, AutoLogin> extends infer T_8 ? T_8 extends ParamsOfCreateMockOidc<DecodedIdToken, AutoLogin> ? T_8 extends {
|
|
39
39
|
autoLogin?: true | undefined;
|
|
40
|
-
} ? true : false : never : never) ? T_7 extends true ? import("
|
|
40
|
+
} ? true : false : never : never) ? T_7 extends true ? import("../core").Oidc.LoggedIn<DecodedIdToken> : import("../core").Oidc<DecodedIdToken> : never : never>;
|
|
41
41
|
} & ((ParamsOfCreateMockOidc<DecodedIdToken, AutoLogin> extends infer T_6 ? T_6 extends ParamsOfCreateMockOidc<DecodedIdToken, AutoLogin> ? T_6 extends {
|
|
42
42
|
autoLogin?: true | undefined;
|
|
43
43
|
} ? true : false : never : never) extends infer T_7 ? T_7 extends (ParamsOfCreateMockOidc<DecodedIdToken, AutoLogin> extends infer T_8 ? T_8 extends ParamsOfCreateMockOidc<DecodedIdToken, AutoLogin> ? T_8 extends {
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { type
|
|
1
|
+
export { AbstractOidcService, type ParamsOfProvide, type ParamsOfProvideMock } from "./angular";
|