Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@sphereon/oid4vci-common

Package Overview
Dependencies
Maintainers
0
Versions
408
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sphereon/oid4vci-common - npm Package Compare versions

Comparing version 0.16.1-feature.SPRIND.116.242 to 0.16.1-feature.SPRIND.116.251

3

dist/events/index.d.ts

@@ -13,3 +13,4 @@ import { EventManager } from '@sphereon/ssi-types';

OID4VCI_NOTIFICATION_RECEIVED = "OID4VCI_NOTIFICATION_RECEIVED",
OID4VCI_NOTIFICATION_PROCESSED = "OID4VCI_NOTIFICATION_PROCESSED"
OID4VCI_NOTIFICATION_PROCESSED = "OID4VCI_NOTIFICATION_PROCESSED",
OID4VCI_NOTIFICATION_ERROR = "OID4VCI_NOTIFICATION_ERROR"
}

@@ -16,0 +17,0 @@ export type LogEvents = 'oid4vciLog';

@@ -19,4 +19,5 @@ "use strict";

NotificationStatusEventNames["OID4VCI_NOTIFICATION_PROCESSED"] = "OID4VCI_NOTIFICATION_PROCESSED";
NotificationStatusEventNames["OID4VCI_NOTIFICATION_ERROR"] = "OID4VCI_NOTIFICATION_ERROR";
})(NotificationStatusEventNames || (exports.NotificationStatusEventNames = NotificationStatusEventNames = {}));
exports.EVENTS = ssi_types_1.EventManager.instance();
//# sourceMappingURL=index.js.map

@@ -307,3 +307,3 @@ import { ICredentialContextType, IVerifiableCredential, W3CVerifiableCredential } from '@sphereon/ssi-types';

export type NotificationError = 'invalid_notification_id' | 'invalid_notification_request';
export type NotificationResult = {
export type NotificationResponseResult = {
error: boolean;

@@ -310,0 +310,0 @@ response?: NotificationErrorResponse;

import { AssertedUniformCredentialOffer } from './CredentialIssuance.types';
import { CredentialDataSupplierInput } from './Generic.types';
import { CredentialDataSupplierInput, NotificationRequest } from './Generic.types';
export interface StateType {

@@ -15,2 +15,3 @@ createdAt: number;

notification_id: string;
notification?: NotificationRequest;
issuerState?: string;

@@ -26,2 +27,5 @@ preAuthorizedCode?: string;

CREDENTIAL_ISSUED = "CREDENTIAL_ISSUED",
NOTIFICATION_CREDENTIAL_ACCEPTED = "NOTIFICATION_CREDENTIAL_ACCEPTED",
NOTIFICATION_CREDENTIAL_DELETED = "NOTIFICATION_CREDENTIAL_DELETED",
NOTIFICATION_CREDENTIAL_FAILURE = "NOTIFICATION_CREDENTIAL_FAILURE",
ERROR = "ERROR"

@@ -28,0 +32,0 @@ }

@@ -12,4 +12,7 @@ "use strict";

IssueStatus["CREDENTIAL_ISSUED"] = "CREDENTIAL_ISSUED";
IssueStatus["NOTIFICATION_CREDENTIAL_ACCEPTED"] = "NOTIFICATION_CREDENTIAL_ACCEPTED";
IssueStatus["NOTIFICATION_CREDENTIAL_DELETED"] = "NOTIFICATION_CREDENTIAL_DELETED";
IssueStatus["NOTIFICATION_CREDENTIAL_FAILURE"] = "NOTIFICATION_CREDENTIAL_FAILURE";
IssueStatus["ERROR"] = "ERROR";
})(IssueStatus || (exports.IssueStatus = IssueStatus = {}));
//# sourceMappingURL=StateManager.types.js.map

@@ -18,4 +18,5 @@ import { EventManager } from '@sphereon/ssi-types';

OID4VCI_NOTIFICATION_PROCESSED = 'OID4VCI_NOTIFICATION_PROCESSED',
OID4VCI_NOTIFICATION_ERROR = 'OID4VCI_NOTIFICATION_ERROR',
}
export type LogEvents = 'oid4vciLog';
export const EVENTS = EventManager.instance();

@@ -419,3 +419,3 @@ import { ICredentialContextType, IVerifiableCredential, W3CVerifiableCredential } from '@sphereon/ssi-types';

export type NotificationResult = {
export type NotificationResponseResult = {
error: boolean;

@@ -422,0 +422,0 @@ response?: NotificationErrorResponse;

import { AssertedUniformCredentialOffer } from './CredentialIssuance.types';
import { CredentialDataSupplierInput } from './Generic.types';
import { CredentialDataSupplierInput, NotificationRequest } from './Generic.types'

@@ -17,2 +17,3 @@ export interface StateType {

notification_id: string;
notification?: NotificationRequest;
issuerState?: string; //todo: Probably good to hash it here, since it would come in from the client and we could match the hash and thus use the client value

@@ -29,2 +30,5 @@ preAuthorizedCode?: string; //todo: Probably good to hash it here, since it would come in from the client and we could match the hash and thus use the client value

CREDENTIAL_ISSUED = 'CREDENTIAL_ISSUED',
NOTIFICATION_CREDENTIAL_ACCEPTED = 'NOTIFICATION_CREDENTIAL_ACCEPTED',
NOTIFICATION_CREDENTIAL_DELETED = 'NOTIFICATION_CREDENTIAL_DELETED',
NOTIFICATION_CREDENTIAL_FAILURE = 'NOTIFICATION_CREDENTIAL_FAILURE',
ERROR = 'ERROR',

@@ -31,0 +35,0 @@ }

{
"name": "@sphereon/oid4vci-common",
"version": "0.16.1-feature.SPRIND.116.242+3817197",
"version": "0.16.1-feature.SPRIND.116.251+642c60b",
"description": "OpenID 4 Verifiable Credential Issuance Common Types",

@@ -13,3 +13,3 @@ "source": "lib/index.ts",

"dependencies": {
"@sphereon/oid4vc-common": "0.16.1-feature.SPRIND.116.242+3817197",
"@sphereon/oid4vc-common": "0.16.1-feature.SPRIND.116.251+642c60b",
"@sphereon/ssi-types": "0.30.2-feature.mdoc.funke2.367",

@@ -56,3 +56,3 @@ "cross-fetch": "^3.1.8",

},
"gitHead": "38171979d9e64a8c454122f20e3099a270ef25cc"
"gitHead": "642c60b41872d2fd1a03a33b2c8870d1c56cfd24"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc