@sphereon/did-auth-siop-web-demo-shared 0.1.3-next.26 → 0.1.3-next.28

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,4 +1,20 @@
1
- import { AuthorizationRequestStateStatus, AuthorizationResponseStateStatus, ClaimPayloadCommonOpts } from "@sphereon/did-auth-siop";
1
+ export interface ClaimPayloadCommonOpts {
2
+ [x: string]: any;
3
+ }
4
+ export declare enum AuthorizationRequestStateStatus {
5
+ CREATED = "created",
6
+ SENT = "sent",
7
+ RECEIVED = "received",
8
+ VERIFIED = "verified",
9
+ ERROR = "error"
10
+ }
11
+ export declare enum AuthorizationResponseStateStatus {
12
+ CREATED = "created",
13
+ SENT = "sent",
14
+ RECEIVED = "received",
15
+ VERIFIED = "verified",
16
+ ERROR = "error"
17
+ }
2
18
  export interface GenerateAuthRequestURIResponse {
3
19
  correlationId: string;
4
20
  definitionId: string;
@@ -12,7 +28,6 @@ export interface AuthStatusResponse {
12
28
  definitionId: string;
13
29
  lastUpdated: number;
14
30
  }
15
- export { AuthorizationResponseStateStatus, AuthorizationRequestStateStatus };
16
31
  export declare class StateMapping {
17
32
  redirectUrl?: string;
18
33
  stateId?: string;
@@ -1,10 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.AuthResponse = exports.StateMapping = exports.AuthorizationRequestStateStatus = exports.AuthorizationResponseStateStatus = void 0;
4
- // noinspection JSUnusedGlobalSymbols
5
- const did_auth_siop_1 = require("@sphereon/did-auth-siop");
6
- Object.defineProperty(exports, "AuthorizationRequestStateStatus", { enumerable: true, get: function () { return did_auth_siop_1.AuthorizationRequestStateStatus; } });
7
- Object.defineProperty(exports, "AuthorizationResponseStateStatus", { enumerable: true, get: function () { return did_auth_siop_1.AuthorizationResponseStateStatus; } });
3
+ exports.AuthResponse = exports.StateMapping = void 0;
8
4
  class StateMapping {
9
5
  constructor() {
10
6
  this.authRequestCreated = false;
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.26",
3
+ "version": "0.1.3-next.28",
4
4
  "description": "Shared types between modules",
5
5
  "main": "dist/index.js",
6
6
  "typings": "dist/index.d.ts",
@@ -8,7 +8,7 @@
8
8
  "license": "Apache-2.0",
9
9
  "private": false,
10
10
  "dependencies": {
11
- "@sphereon/did-auth-siop": "^0.3.0-unstable.28"
11
+ "@sphereon/did-auth-siop": "^0.3.0-unstable.29"
12
12
  },
13
13
  "scripts": {
14
14
  "build": "tsc -b"