oidc-spa 1.0.0 → 1.0.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/index.d.ts CHANGED
@@ -1,4 +1,3 @@
1
1
  export { createOidc } from "./oidc";
2
2
  export type { Oidc } from "./oidc";
3
- import decodeJwt from "jwt-decode";
4
- export { decodeJwt };
3
+ export { decodeJwt } from "./tools/decodeJwt";
package/index.js CHANGED
@@ -1,11 +1,8 @@
1
1
  "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
2
  Object.defineProperty(exports, "__esModule", { value: true });
6
3
  exports.decodeJwt = exports.createOidc = void 0;
7
4
  var oidc_1 = require("./oidc");
8
5
  Object.defineProperty(exports, "createOidc", { enumerable: true, get: function () { return oidc_1.createOidc; } });
9
- var jwt_decode_1 = __importDefault(require("jwt-decode"));
10
- exports.decodeJwt = jwt_decode_1.default;
6
+ var decodeJwt_1 = require("./tools/decodeJwt");
7
+ Object.defineProperty(exports, "decodeJwt", { enumerable: true, get: function () { return decodeJwt_1.decodeJwt; } });
11
8
  //# 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,+BAAoC;AAA3B,kGAAA,UAAU,OAAA;AAEnB,0DAAmC;AAC1B,oBADF,oBAAS,CACE"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["src/index.ts"],"names":[],"mappings":";;;AAAA,+BAAoC;AAA3B,kGAAA,UAAU,OAAA;AAEnB,+CAA8C;AAArC,sGAAA,SAAS,OAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oidc-spa",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "Openidconnect client for Single Page Applications",
5
5
  "repository": {
6
6
  "type": "git",
package/src/index.ts CHANGED
@@ -1,4 +1,3 @@
1
1
  export { createOidc } from "./oidc";
2
2
  export type { Oidc } from "./oidc";
3
- import decodeJwt from "jwt-decode";
4
- export { decodeJwt };
3
+ export { decodeJwt } from "./tools/decodeJwt";
@@ -0,0 +1,2 @@
1
+ import decodeJwt from "jwt-decode";
2
+ export { decodeJwt };
@@ -0,0 +1,2 @@
1
+ import decodeJwt from "jwt-decode";
2
+ export { decodeJwt };
@@ -1,2 +1,9 @@
1
1
  "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.decodeJwt = void 0;
7
+ var jwt_decode_1 = __importDefault(require("jwt-decode"));
8
+ exports.decodeJwt = jwt_decode_1.default;
2
9
  //# sourceMappingURL=decodeJwt.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"decodeJwt.js","sourceRoot":"","sources":["../src/tools/decodeJwt.ts"],"names":[],"mappings":""}
1
+ {"version":3,"file":"decodeJwt.js","sourceRoot":"","sources":["../src/tools/decodeJwt.ts"],"names":[],"mappings":";;;;;;AAAA,0DAAmC;AAC1B,oBADF,oBAAS,CACE"}