New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@sphereon/oid4vci-common

Package Overview
Dependencies
Maintainers
4
Versions
437
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.4.1-unstable.270 to 0.4.1-unstable.275

2

dist/functions/CredentialOfferUtil.js

@@ -137,4 +137,4 @@ "use strict";

if ('credential_offer_uri' in offer && (offer === null || offer === void 0 ? void 0 : offer.credential_offer_uri) !== undefined) {
credentialOfferURI = offer.credential_offer_uri;
if ((opts === null || opts === void 0 ? void 0 : opts.resolve) || (opts === null || opts === void 0 ? void 0 : opts.resolve) === undefined) {
credentialOfferURI = offer.credential_offer_uri;
originalCredentialOffer = (yield resolveCredentialOfferURI(credentialOfferURI));

@@ -141,0 +141,0 @@ }

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

}
export type OID4VCICredentialFormat = 'jwt_vc_json' | 'jwt_vc_json_ld' | 'ldp_vc';
export type OID4VCICredentialFormat = 'jwt_vc_json' | 'jwt_vc_json-ld' | 'ldp_vc';
export interface NameAndLocale {

@@ -105,3 +105,3 @@ name?: string;

export interface CredentialRequestJwtVcJsonLdAndLdpVc extends CommonCredentialRequest {
format: 'jwt_vc_json_ld' | 'ldp_vc';
format: 'jwt_vc_json-ld' | 'ldp_vc';
credential_definition: IssuerCredentialDefinition;

@@ -117,3 +117,3 @@ }

export interface CredentialResponseJwtVcJsonLdAndLdpVc extends CommonCredentialResponse {
format: 'jwt_vc_json_ld' | 'ldp_vc';
format: 'jwt_vc_json-ld' | 'ldp_vc';
credential: IVerifiableCredential;

@@ -120,0 +120,0 @@ }

@@ -1,2 +0,2 @@

import { CredentialOfferV1_0_11 } from './v1_0_11.types';
import { AssertedUniformCredentialOffer } from './CredentialIssuance.types';
export interface StateType {

@@ -7,3 +7,3 @@ createdAt: number;

clientId?: string;
credentialOffer: CredentialOfferV1_0_11;
credentialOffer: AssertedUniformCredentialOffer;
userPin?: string;

@@ -10,0 +10,0 @@ issuerState?: string;

@@ -149,4 +149,4 @@ import {

if ('credential_offer_uri' in offer && offer?.credential_offer_uri !== undefined) {
credentialOfferURI = offer.credential_offer_uri;
if (opts?.resolve || opts?.resolve === undefined) {
credentialOfferURI = offer.credential_offer_uri;
originalCredentialOffer = (await resolveCredentialOfferURI(credentialOfferURI)) as CredentialOfferPayloadV1_0_11;

@@ -153,0 +153,0 @@ } else if (!originalCredentialOffer) {

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

export type OID4VCICredentialFormat = 'jwt_vc_json' | 'jwt_vc_json_ld' | 'ldp_vc' /*| 'mso_mdoc'*/; // we do not support mdocs at this point
export type OID4VCICredentialFormat = 'jwt_vc_json' | 'jwt_vc_json-ld' | 'ldp_vc' /*| 'mso_mdoc'*/; // we do not support mdocs at this point

@@ -173,3 +173,3 @@ export interface NameAndLocale {

export interface CredentialRequestJwtVcJsonLdAndLdpVc extends CommonCredentialRequest {
format: 'jwt_vc_json_ld' | 'ldp_vc';
format: 'jwt_vc_json-ld' | 'ldp_vc';
credential_definition: IssuerCredentialDefinition;

@@ -187,3 +187,3 @@ }

export interface CredentialResponseJwtVcJsonLdAndLdpVc extends CommonCredentialResponse {
format: 'jwt_vc_json_ld' | 'ldp_vc';
format: 'jwt_vc_json-ld' | 'ldp_vc';
credential: IVerifiableCredential;

@@ -190,0 +190,0 @@ }

@@ -1,2 +0,2 @@

import { CredentialOfferV1_0_11 } from './v1_0_11.types';
import { AssertedUniformCredentialOffer } from './CredentialIssuance.types';

@@ -9,3 +9,3 @@ export interface StateType {

clientId?: string;
credentialOffer: CredentialOfferV1_0_11;
credentialOffer: AssertedUniformCredentialOffer;
userPin?: string;

@@ -12,0 +12,0 @@ 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

{
"name": "@sphereon/oid4vci-common",
"version": "0.4.1-unstable.270+d9dae74",
"version": "0.4.1-unstable.275+3886eda",
"description": "OpenID 4 Verifiable Credential Issuance Common Types",

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

},
"gitHead": "d9dae74c38a3db8a53062a32750fe9126650ab33"
"gitHead": "3886eda519a2943b412080ae83f46c99480abe9e"
}

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