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

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,10 +1,18 @@
1
- import { ClaimPayloadCommonOpts } from "@sphereon/did-auth-siop";
1
+ import { AuthorizationRequestStateStatus, AuthorizationResponseStateStatus, ClaimPayloadCommonOpts } from "@sphereon/did-auth-siop";
2
2
  export interface GenerateAuthRequestURIResponse {
3
3
  correlationId: string;
4
4
  definitionId: string;
5
5
  authRequestURI: string;
6
6
  authStatusURI: string;
7
7
  }
8
+ export interface AuthStatusResponse {
9
+ status: AuthorizationRequestStateStatus | AuthorizationResponseStateStatus;
10
+ correlationId: string;
11
+ error?: string;
12
+ definitionId: string;
13
+ lastUpdated: number;
14
+ }
15
+ export { AuthorizationResponseStateStatus, AuthorizationRequestStateStatus };
8
16
  export declare class StateMapping {
9
17
  redirectUrl?: string;
10
18
  stateId?: string;
@@ -1,6 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.AuthResponse = exports.StateMapping = void 0;
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; } });
4
8
  class StateMapping {
5
9
  constructor() {
6
10
  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.24",
3
+ "version": "0.1.3-next.26",
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.25"
11
+ "@sphereon/did-auth-siop": "^0.3.0-unstable.28"
12
12
  },
13
13
  "scripts": {
14
14
  "build": "tsc -b"