@sphereon/oid4vci-common 0.12.1-next.28 → 0.12.1-next.29

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -43,7 +43,7 @@ const createProofOfPossession = (popMode, callbacks, jwtProps, existingJwt) => _
43
43
  const jwtPayload = createJWT(popMode, jwtProps, existingJwt);
44
44
  const jwt = yield callbacks.signCallback(jwtPayload, jwtPayload.header.kid);
45
45
  const proof = {
46
- proof_type: 'JWT',
46
+ proof_type: 'jwt',
47
47
  jwt,
48
48
  };
49
49
  try {
@@ -45,7 +45,7 @@ export interface UniformCredentialOfferRequest extends AssertedUniformCredential
45
45
  }
46
46
  export type UniformCredentialOfferPayload = CredentialOfferPayloadV1_0_11 | CredentialOfferPayloadV1_0_13;
47
47
  export interface ProofOfPossession {
48
- proof_type: 'JWT';
48
+ proof_type: 'jwt';
49
49
  jwt: string;
50
50
  [x: string]: unknown;
51
51
  }
@@ -50,7 +50,7 @@ export const createProofOfPossession = async <DIDDoc>(
50
50
  const jwtPayload = createJWT(popMode, jwtProps, existingJwt);
51
51
  const jwt = await callbacks.signCallback(jwtPayload, jwtPayload.header.kid);
52
52
  const proof = {
53
- proof_type: 'JWT',
53
+ proof_type: 'jwt',
54
54
  jwt,
55
55
  } as ProofOfPossession;
56
56
 
@@ -64,7 +64,7 @@ export interface UniformCredentialOfferRequest extends AssertedUniformCredential
64
64
  export type UniformCredentialOfferPayload = CredentialOfferPayloadV1_0_11 | CredentialOfferPayloadV1_0_13;
65
65
 
66
66
  export interface ProofOfPossession {
67
- proof_type: 'JWT';
67
+ proof_type: 'jwt';
68
68
  jwt: string;
69
69
 
70
70
  [x: string]: unknown;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sphereon/oid4vci-common",
3
- "version": "0.12.1-next.28+3cbe37a",
3
+ "version": "0.12.1-next.29+641449e",
4
4
  "description": "OpenID 4 Verifiable Credential Issuance Common Types",
5
5
  "source": "lib/index.ts",
6
6
  "main": "dist/index.js",
@@ -49,5 +49,5 @@
49
49
  "publishConfig": {
50
50
  "access": "public"
51
51
  },
52
- "gitHead": "3cbe37ac654fbbfa95405f98022a3b730b43a6e1"
52
+ "gitHead": "641449ea746f00c324aa6832287274ae93009c56"
53
53
  }