@sphereon/did-auth-siop-web-demo-shared 0.1.3-next.16 → 0.1.3-next.17

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,9 +1,4 @@
1
1
  import { ClaimPayloadCommonOpts } from "@sphereon/did-auth-siop";
2
- export declare class QRVariables {
3
- redirectUrl?: string;
4
- requestorDID?: string;
5
- id: string;
6
- }
7
2
  export declare class StateMapping {
8
3
  redirectUrl?: string;
9
4
  stateId?: string;
@@ -1,9 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.AuthResponse = exports.StateMapping = exports.QRVariables = void 0;
4
- class QRVariables {
5
- }
6
- exports.QRVariables = QRVariables;
3
+ exports.AuthResponse = exports.StateMapping = void 0;
7
4
  class StateMapping {
8
5
  constructor() {
9
6
  this.authRequestCreated = false;
package/dist/index.d.ts CHANGED
@@ -1 +1 @@
1
- export { QRVariables, StateMapping, AuthResponse } from './auth-model';
1
+ export * from './auth-model';
package/dist/index.js CHANGED
@@ -1,7 +1,17 @@
1
1
  "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
2
16
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.AuthResponse = exports.StateMapping = exports.QRVariables = void 0;
4
- var auth_model_1 = require("./auth-model");
5
- Object.defineProperty(exports, "QRVariables", { enumerable: true, get: function () { return auth_model_1.QRVariables; } });
6
- Object.defineProperty(exports, "StateMapping", { enumerable: true, get: function () { return auth_model_1.StateMapping; } });
7
- Object.defineProperty(exports, "AuthResponse", { enumerable: true, get: function () { return auth_model_1.AuthResponse; } });
17
+ __exportStar(require("./auth-model"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sphereon/did-auth-siop-web-demo-shared",
3
- "version": "0.1.3-next.16",
3
+ "version": "0.1.3-next.17",
4
4
  "description": "Shared types between modules",
5
5
  "main": "dist/index.js",
6
6
  "typings": "dist/index.d.ts",
@@ -8,8 +8,7 @@
8
8
  "license": "Apache-2.0",
9
9
  "private": false,
10
10
  "dependencies": {
11
- "@sphereon/did-auth-siop": "^0.3.0-unstable.18",
12
- "@sphereon/ssi-sdk-qr-react": "^0.8.1-unstable.227"
11
+ "@sphereon/did-auth-siop": "^0.3.0-unstable.18"
13
12
  },
14
13
  "scripts": {
15
14
  "build": "tsc -b"