@learncard/vc-plugin 1.1.0 → 1.1.1

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.
@@ -6,10 +6,12 @@ export declare const issueCredential: (initLearnCard: VCDependentLearnCard) => (
6
6
  id?: string | undefined;
7
7
  expirationDate?: string | undefined;
8
8
  credentialStatus?: {
9
+ [x: string]: any;
9
10
  type: string;
10
11
  id: string;
11
12
  } | undefined;
12
13
  credentialSchema?: {
14
+ [x: string]: any;
13
15
  type: string;
14
16
  id: string;
15
17
  }[] | undefined;
@@ -9,10 +9,12 @@ export declare const issuePresentation: (initLearnCard: VCDependentLearnCard) =>
9
9
  id?: string | undefined;
10
10
  expirationDate?: string | undefined;
11
11
  credentialStatus?: {
12
+ [x: string]: any;
12
13
  type: string;
13
14
  id: string;
14
15
  } | undefined;
15
16
  credentialSchema?: {
17
+ [x: string]: any;
16
18
  type: string;
17
19
  id: string;
18
20
  }[] | undefined;
@@ -103,10 +105,12 @@ export declare const issuePresentation: (initLearnCard: VCDependentLearnCard) =>
103
105
  id?: string | undefined;
104
106
  expirationDate?: string | undefined;
105
107
  credentialStatus?: {
108
+ [x: string]: any;
106
109
  type: string;
107
110
  id: string;
108
111
  } | undefined;
109
112
  credentialSchema?: {
113
+ [x: string]: any;
110
114
  type: string;
111
115
  id: string;
112
116
  }[] | undefined;
@@ -194,7 +198,7 @@ export declare const issuePresentation: (initLearnCard: VCDependentLearnCard) =>
194
198
  }[];
195
199
  }[] | undefined;
196
200
  holder?: string | undefined;
197
- type: [string, ...string[]];
201
+ type: string | [string, ...string[]];
198
202
  '@context': (string | Record<string, any>)[];
199
203
  proof: {
200
204
  [x: string]: any;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@learncard/vc-plugin",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "description": "",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/vc-plugin.esm.js",
@@ -30,9 +30,9 @@
30
30
  },
31
31
  "types": "./dist/index.d.ts",
32
32
  "dependencies": {
33
- "@learncard/core": "9.1.0",
34
- "@learncard/didkit-plugin": "^1.3.0",
35
- "@learncard/types": "5.3.2"
33
+ "@learncard/core": "9.1.1",
34
+ "@learncard/didkit-plugin": "^1.3.1",
35
+ "@learncard/types": "5.3.3"
36
36
  },
37
37
  "scripts": {
38
38
  "build": "node ./scripts/build.mjs && shx cp ./scripts/mixedEntypoint.js ./dist/index.js && tsc --p tsconfig.json",