@sphereon/oid4vci-common 0.10.4-next.18 → 0.10.4-next.20

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.
@@ -1,3 +1,6 @@
1
+ /**
2
+ * Experimental support not following the VCI spec to have the holder actually (re)sign the issued credential and return it to the issuer
3
+ */
1
4
  export declare const EXPERIMENTAL_SUBJECT_PROOF_MODE_ENABLED: boolean;
2
5
  export type SubjectProofMode = 'proof_chain' | 'proof_set' | 'proof_replace';
3
6
  export type SubjectProofNotificationEventsSupported = 'credential_accepted_holder_signed' | 'credential_deleted_holder_signed' | 'credential_accepted';
@@ -1 +1 @@
1
- {"version":3,"file":"holder-vci.d.ts","sourceRoot":"","sources":["../../lib/experimental/holder-vci.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,uCAAuC,SAA+E,CAAC;AAEpI,MAAM,MAAM,gBAAgB,GAAG,aAAa,GAAG,WAAW,GAAG,eAAe,CAAC;AAE7E,MAAM,MAAM,uCAAuC,GAC/C,mCAAmC,GACnC,kCAAkC,GAClC,qBAAqB,CAAC;AAE1B,MAAM,WAAW,2BAA2B;IAC1C,2BAA2B,CAAC,EAAE;QAC5B,kBAAkB,EAAE,gBAAgB,CAAC;QACrC,8BAA8B,EAAE,KAAK,CAAC,uCAAuC,CAAC,CAAC;KAChF,CAAC;CACH"}
1
+ {"version":3,"file":"holder-vci.d.ts","sourceRoot":"","sources":["../../lib/experimental/holder-vci.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,eAAO,MAAM,uCAAuC,SAA+E,CAAC;AAEpI,MAAM,MAAM,gBAAgB,GAAG,aAAa,GAAG,WAAW,GAAG,eAAe,CAAC;AAE7E,MAAM,MAAM,uCAAuC,GAC/C,mCAAmC,GACnC,kCAAkC,GAClC,qBAAqB,CAAC;AAE1B,MAAM,WAAW,2BAA2B;IAC1C,2BAA2B,CAAC,EAAE;QAC5B,kBAAkB,EAAE,gBAAgB,CAAC;QACrC,8BAA8B,EAAE,KAAK,CAAC,uCAAuC,CAAC,CAAC;KAChF,CAAC;CACH"}
@@ -1,33 +1,9 @@
1
1
  "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
- Object.defineProperty(o, "default", { enumerable: true, value: v });
15
- }) : function(o, v) {
16
- o["default"] = v;
17
- });
18
- var __importStar = (this && this.__importStar) || function (mod) {
19
- if (mod && mod.__esModule) return mod;
20
- var result = {};
21
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
- __setModuleDefault(result, mod);
23
- return result;
24
- };
25
- var _a;
26
- Object.defineProperty(exports, "__esModule", { value: true });
27
- exports.EXPERIMENTAL_SUBJECT_PROOF_MODE_ENABLED = void 0;
28
2
  /**
29
3
  * Experimental support not following the VCI spec to have the holder actually (re)sign the issued credential and return it to the issuer
30
4
  */
31
- const process = __importStar(require("node:process"));
5
+ var _a;
6
+ Object.defineProperty(exports, "__esModule", { value: true });
7
+ exports.EXPERIMENTAL_SUBJECT_PROOF_MODE_ENABLED = void 0;
32
8
  exports.EXPERIMENTAL_SUBJECT_PROOF_MODE_ENABLED = ((_a = process.env.EXPERIMENTAL_SUBJECT_PROOF_MODE) === null || _a === void 0 ? void 0 : _a.trim().toLowerCase()) === 'true';
33
9
  //# sourceMappingURL=holder-vci.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"holder-vci.js","sourceRoot":"","sources":["../../lib/experimental/holder-vci.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;GAEG;AACH,sDAAwC;AAE3B,QAAA,uCAAuC,GAAG,CAAA,MAAA,OAAO,CAAC,GAAG,CAAC,+BAA+B,0CAAE,IAAI,GAAG,WAAW,EAAE,MAAK,MAAM,CAAC"}
1
+ {"version":3,"file":"holder-vci.js","sourceRoot":"","sources":["../../lib/experimental/holder-vci.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;AAEU,QAAA,uCAAuC,GAAG,CAAA,MAAA,OAAO,CAAC,GAAG,CAAC,+BAA+B,0CAAE,IAAI,GAAG,WAAW,EAAE,MAAK,MAAM,CAAC"}
@@ -1,7 +1,6 @@
1
1
  /**
2
2
  * Experimental support not following the VCI spec to have the holder actually (re)sign the issued credential and return it to the issuer
3
3
  */
4
- import * as process from 'node:process';
5
4
 
6
5
  export const EXPERIMENTAL_SUBJECT_PROOF_MODE_ENABLED = process.env.EXPERIMENTAL_SUBJECT_PROOF_MODE?.trim().toLowerCase() === 'true';
7
6
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sphereon/oid4vci-common",
3
- "version": "0.10.4-next.18+2905b7d",
3
+ "version": "0.10.4-next.20+cd72dc6",
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": "2905b7d8bac357ff523c45396a9cfd45d2fec72a"
52
+ "gitHead": "cd72dc698108cb1baca9e00c37aa4e6b519a6985"
53
53
  }