@learncard/vc-plugin 1.4.14 → 1.4.15

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.
@@ -150,5 +150,22 @@ export declare const issueCredential: (initLearnCard: VCDependentLearnCard) => (
150
150
  genre?: string | undefined;
151
151
  audience?: string | undefined;
152
152
  }[] | undefined;
153
+ renderMethod?: Record<string, any> | {
154
+ type: "TemplateRenderMethod";
155
+ renderSuite: string;
156
+ template: string;
157
+ renderProperty?: string[] | undefined;
158
+ outputPreference?: {
159
+ mediaType: string;
160
+ } | undefined;
161
+ } | (Record<string, any> | {
162
+ type: "TemplateRenderMethod";
163
+ renderSuite: string;
164
+ template: string;
165
+ renderProperty?: string[] | undefined;
166
+ outputPreference?: {
167
+ mediaType: string;
168
+ } | undefined;
169
+ })[] | undefined;
153
170
  }>;
154
171
  //# sourceMappingURL=issueCredential.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"issueCredential.d.ts","sourceRoot":"","sources":["../src/issueCredential.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAE9C,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AACxD,OAAO,EAAE,oBAAoB,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAGpE,eAAO,MAAM,eAAe,kBAAmB,oBAAoB,iBAEhD,mBAAmB,cAClB,UAAU,mBACN,OAAO,CAAC,YAAY,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAyC5C,CAAC"}
1
+ {"version":3,"file":"issueCredential.d.ts","sourceRoot":"","sources":["../src/issueCredential.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAE9C,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AACxD,OAAO,EAAE,oBAAoB,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAGpE,eAAO,MAAM,eAAe,kBAAmB,oBAAoB,iBAEhD,mBAAmB,cAClB,UAAU,mBACN,OAAO,CAAC,YAAY,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAyC5C,CAAC"}
@@ -176,6 +176,23 @@ export declare const issuePresentation: (initLearnCard: VCDependentLearnCard) =>
176
176
  genre?: string | undefined;
177
177
  audience?: string | undefined;
178
178
  }[] | undefined;
179
+ renderMethod?: Record<string, any> | {
180
+ type: "TemplateRenderMethod";
181
+ renderSuite: string;
182
+ template: string;
183
+ renderProperty?: string[] | undefined;
184
+ outputPreference?: {
185
+ mediaType: string;
186
+ } | undefined;
187
+ } | (Record<string, any> | {
188
+ type: "TemplateRenderMethod";
189
+ renderSuite: string;
190
+ template: string;
191
+ renderProperty?: string[] | undefined;
192
+ outputPreference?: {
193
+ mediaType: string;
194
+ } | undefined;
195
+ })[] | undefined;
179
196
  } | {
180
197
  [x: string]: any;
181
198
  '@context': (string | Record<string, any>)[];
@@ -325,6 +342,23 @@ export declare const issuePresentation: (initLearnCard: VCDependentLearnCard) =>
325
342
  genre?: string | undefined;
326
343
  audience?: string | undefined;
327
344
  }[] | undefined;
345
+ renderMethod?: Record<string, any> | {
346
+ type: "TemplateRenderMethod";
347
+ renderSuite: string;
348
+ template: string;
349
+ renderProperty?: string[] | undefined;
350
+ outputPreference?: {
351
+ mediaType: string;
352
+ } | undefined;
353
+ } | (Record<string, any> | {
354
+ type: "TemplateRenderMethod";
355
+ renderSuite: string;
356
+ template: string;
357
+ renderProperty?: string[] | undefined;
358
+ outputPreference?: {
359
+ mediaType: string;
360
+ } | undefined;
361
+ })[] | undefined;
328
362
  }[] | undefined;
329
363
  holder?: string | undefined;
330
364
  }>;
@@ -1 +1 @@
1
- {"version":3,"file":"issuePresentation.d.ts","sourceRoot":"","sources":["../src/issuePresentation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAE9C,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AACxD,OAAO,EAAE,oBAAoB,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAGpE,eAAO,MAAM,iBAAiB,kBAAmB,oBAAoB,iBAElD,mBAAmB,gBAChB,UAAU,mBACR,OAAO,CAAC,YAAY,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAoC5C,CAAC"}
1
+ {"version":3,"file":"issuePresentation.d.ts","sourceRoot":"","sources":["../src/issuePresentation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAE9C,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AACxD,OAAO,EAAE,oBAAoB,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAGpE,eAAO,MAAM,iBAAiB,kBAAmB,oBAAoB,iBAElD,mBAAmB,gBAChB,UAAU,mBACR,OAAO,CAAC,YAAY,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAoC5C,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@learncard/vc-plugin",
3
- "version": "1.4.14",
3
+ "version": "1.4.15",
4
4
  "description": "",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/vc-plugin.esm.js",
@@ -31,9 +31,9 @@
31
31
  "types": "./dist/index.d.ts",
32
32
  "dependencies": {
33
33
  "multiformats": "^11.0.1",
34
- "@learncard/core": "9.4.18",
35
- "@learncard/didkit-plugin": "^1.8.9",
36
- "@learncard/types": "5.15.0"
34
+ "@learncard/core": "9.4.19",
35
+ "@learncard/didkit-plugin": "^1.8.10",
36
+ "@learncard/types": "5.16.0"
37
37
  },
38
38
  "sideEffects": false,
39
39
  "scripts": {