oidc-spa 6.12.0 → 6.12.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.
@@ -125,7 +125,7 @@ var isNewBrowserSession_1 = require("./isNewBrowserSession");
125
125
  var initialFetch_1 = require("./initialFetch");
126
126
  (0, handleOidcCallback_1.handleOidcCallback)();
127
127
  // NOTE: Replaced at build time
128
- var VERSION = "6.12.0";
128
+ var VERSION = "6.12.1";
129
129
  var globalContext = {
130
130
  prOidcByConfigId: new Map(),
131
131
  hasLogoutBeenCalled: (0, tsafe_1.id)(false),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oidc-spa",
3
- "version": "6.12.0",
3
+ "version": "6.12.1",
4
4
  "description": "Openidconnect client for Single Page Applications",
5
5
  "repository": {
6
6
  "type": "git",
@@ -12,9 +12,11 @@
12
12
  ".": "./index.js",
13
13
  "./mock": "./mock/index.js",
14
14
  "./react": "./react/index.js",
15
+ "./mock/react": "./mock/react.js",
15
16
  "./entrypoint": "./entrypoint.js",
16
17
  "./tools/decodeJwt": "./tools/decodeJwt.js",
17
- "./tools/parseKeycloakIssuerUri": "./tools/parseKeycloakIssuerUri.js"
18
+ "./tools/parseKeycloakIssuerUri": "./tools/parseKeycloakIssuerUri.js",
19
+ "./tools/assert": "./tools/assert.js"
18
20
  },
19
21
  "lint-staged": {
20
22
  "*.{ts,tsx,json,md}": [
@@ -61,6 +63,7 @@
61
63
  "./src/tools/Evt.ts",
62
64
  "./src/tools/StatefulEvt.ts",
63
65
  "./src/tools/ValueOrAsyncGetter.ts",
66
+ "./src/tools/assert.ts",
64
67
  "./src/tools/base64.ts",
65
68
  "./src/tools/createObjectThatThrowsIfAccessed.ts",
66
69
  "./src/tools/decodeJwt.ts",
@@ -183,6 +186,9 @@
183
186
  "./tools/ValueOrAsyncGetter.d.ts",
184
187
  "./tools/ValueOrAsyncGetter.js",
185
188
  "./tools/ValueOrAsyncGetter.js.map",
189
+ "./tools/assert.d.ts",
190
+ "./tools/assert.js",
191
+ "./tools/assert.js.map",
186
192
  "./tools/base64.d.ts",
187
193
  "./tools/base64.js",
188
194
  "./tools/base64.js.map",
@@ -0,0 +1 @@
1
+ export { assert, type Equals, is } from "../vendor/frontend/tsafe";
@@ -0,0 +1 @@
1
+ export { assert, type Equals, is } from "../vendor/frontend/tsafe";
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.is = exports.assert = void 0;
4
+ var tsafe_1 = require("../vendor/frontend/tsafe");
5
+ Object.defineProperty(exports, "assert", { enumerable: true, get: function () { return tsafe_1.assert; } });
6
+ Object.defineProperty(exports, "is", { enumerable: true, get: function () { return tsafe_1.is; } });
7
+ //# sourceMappingURL=assert.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"assert.js","sourceRoot":"","sources":["../src/tools/assert.ts"],"names":[],"mappings":";;;AAAA,kDAAmE;AAA1D,+FAAA,MAAM,OAAA;AAAe,2FAAA,EAAE,OAAA"}