@bedrock/vc-delivery 3.2.0 → 3.3.0

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.
Files changed (2) hide show
  1. package/lib/issue.js +1 -2
  2. package/package.json +1 -1
package/lib/issue.js CHANGED
@@ -15,8 +15,7 @@ export async function issue({exchanger, exchange} = {}) {
15
15
  // run jsonata compiler; only `jsonata` template type is supported and this
16
16
  // was validated when the exchanger was created
17
17
  const credentials = await Promise.all(credentialTemplates.map(
18
- ({template: t}) => jsonata(t).evaluate(variables)));
19
-
18
+ ({template: t}) => jsonata(t).evaluate(variables, variables)));
20
19
  // issue all VCs
21
20
  const vcs = await _issue({exchanger, credentials});
22
21
  verifiableCredential.push(...vcs);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bedrock/vc-delivery",
3
- "version": "3.2.0",
3
+ "version": "3.3.0",
4
4
  "type": "module",
5
5
  "description": "Bedrock Verifiable Credential Delivery",
6
6
  "main": "./lib/index.js",