@bedrock/vc-delivery 7.19.2 → 7.19.3

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.
@@ -94,7 +94,10 @@ function _getDecryptParameters({
94
94
  ...mdocOptions?.expectedHandover,
95
95
  recipientPublicJwk
96
96
  };
97
- return oid4vp.mdl.encodeSessionTranscript({handover});
97
+ // set encoded `SessionTranscript` as `info`
98
+ // note: this must be the raw value w/o CBOR tag 24, i.e., this is NOT
99
+ // `SessionTranscriptBytes`
100
+ return oid4vp.mdoc.encodeSessionTranscript({handover, raw: true});
98
101
  };
99
102
  }
100
103
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bedrock/vc-delivery",
3
- "version": "7.19.2",
3
+ "version": "7.19.3",
4
4
  "type": "module",
5
5
  "description": "Bedrock Verifiable Credential Delivery",
6
6
  "main": "./lib/index.js",
@@ -40,7 +40,7 @@
40
40
  "@digitalbazaar/ed25519-signature-2020": "^5.4.0",
41
41
  "@digitalbazaar/ezcap": "^4.1.0",
42
42
  "@digitalbazaar/http-client": "^4.4.0",
43
- "@digitalbazaar/oid4-client": "^5.15.1",
43
+ "@digitalbazaar/oid4-client": "^5.15.2",
44
44
  "@digitalbazaar/vc": "^7.2.0",
45
45
  "@digitalbazaar/webkms-client": "^14.2.0",
46
46
  "assert-plus": "^1.0.0",