@sphereon/ssi-sdk.data-store 0.34.1-feature.merge.crypto.extensions.modules.37 → 0.34.1-fix.78

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.
package/dist/index.d.cts CHANGED
@@ -215,7 +215,7 @@ declare enum CredentialDocumentFormat {
215
215
  }
216
216
  declare namespace CredentialDocumentFormat {
217
217
  function fromSpecValue(credentialFormat: string): CredentialDocumentFormat;
218
- function toSpecValue(documentFormat: CredentialDocumentFormat, documentType: DocumentType): "vc+sd-jwt" | "mso_mdoc" | "ldp_vc" | "ldp_vp" | "jwt_vc_json" | "jwt_vp_json";
218
+ function toSpecValue(documentFormat: CredentialDocumentFormat, documentType: DocumentType): "dc+sd-jwt" | "mso_mdoc" | "ldp_vc" | "ldp_vp" | "jwt_vc_json" | "jwt_vp_json";
219
219
  }
220
220
  declare enum CredentialCorrelationType {
221
221
  DID = "DID",
package/dist/index.d.ts CHANGED
@@ -215,7 +215,7 @@ declare enum CredentialDocumentFormat {
215
215
  }
216
216
  declare namespace CredentialDocumentFormat {
217
217
  function fromSpecValue(credentialFormat: string): CredentialDocumentFormat;
218
- function toSpecValue(documentFormat: CredentialDocumentFormat, documentType: DocumentType): "vc+sd-jwt" | "mso_mdoc" | "ldp_vc" | "ldp_vp" | "jwt_vc_json" | "jwt_vp_json";
218
+ function toSpecValue(documentFormat: CredentialDocumentFormat, documentType: DocumentType): "dc+sd-jwt" | "mso_mdoc" | "ldp_vc" | "ldp_vp" | "jwt_vc_json" | "jwt_vp_json";
219
219
  }
220
220
  declare enum CredentialCorrelationType {
221
221
  DID = "DID",
package/dist/index.js CHANGED
@@ -8,55 +8,55 @@ import typeorm6 from "typeorm";
8
8
  import typeorm5 from "typeorm";
9
9
 
10
10
  // src/types/contact/contact.ts
11
- var ConnectionType = /* @__PURE__ */ (function(ConnectionType2) {
11
+ var ConnectionType = /* @__PURE__ */ function(ConnectionType2) {
12
12
  ConnectionType2["OPENID_CONNECT"] = "OIDC";
13
13
  ConnectionType2["SIOPv2"] = "SIOPv2";
14
14
  ConnectionType2["SIOPv2_OpenID4VP"] = "SIOPv2+OpenID4VP";
15
15
  return ConnectionType2;
16
- })({});
17
- var CorrelationIdentifierType = /* @__PURE__ */ (function(CorrelationIdentifierType2) {
16
+ }({});
17
+ var CorrelationIdentifierType = /* @__PURE__ */ function(CorrelationIdentifierType2) {
18
18
  CorrelationIdentifierType2["DID"] = "did";
19
19
  CorrelationIdentifierType2["URL"] = "url";
20
20
  return CorrelationIdentifierType2;
21
- })({});
22
- var PartyTypeType = /* @__PURE__ */ (function(PartyTypeType2) {
21
+ }({});
22
+ var PartyTypeType = /* @__PURE__ */ function(PartyTypeType2) {
23
23
  PartyTypeType2["NATURAL_PERSON"] = "naturalPerson";
24
24
  PartyTypeType2["ORGANIZATION"] = "organization";
25
25
  return PartyTypeType2;
26
- })({});
27
- var PartyOrigin = /* @__PURE__ */ (function(PartyOrigin2) {
26
+ }({});
27
+ var PartyOrigin = /* @__PURE__ */ function(PartyOrigin2) {
28
28
  PartyOrigin2["INTERNAL"] = "INTERNAL";
29
29
  PartyOrigin2["EXTERNAL"] = "EXTERNAL";
30
30
  return PartyOrigin2;
31
- })({});
32
- var IdentityOrigin = /* @__PURE__ */ (function(IdentityOrigin2) {
31
+ }({});
32
+ var IdentityOrigin = /* @__PURE__ */ function(IdentityOrigin2) {
33
33
  IdentityOrigin2["INTERNAL"] = "INTERNAL";
34
34
  IdentityOrigin2["EXTERNAL"] = "EXTERNAL";
35
35
  return IdentityOrigin2;
36
- })({});
36
+ }({});
37
37
 
38
38
  // src/types/digitalCredential/enums.ts
39
- var DocumentType = /* @__PURE__ */ (function(DocumentType2) {
39
+ var DocumentType = /* @__PURE__ */ function(DocumentType2) {
40
40
  DocumentType2["VC"] = "VC";
41
41
  DocumentType2["VP"] = "VP";
42
42
  DocumentType2["P"] = "P";
43
43
  DocumentType2["C"] = "C";
44
44
  return DocumentType2;
45
- })({});
46
- var RegulationType = /* @__PURE__ */ (function(RegulationType2) {
45
+ }({});
46
+ var RegulationType = /* @__PURE__ */ function(RegulationType2) {
47
47
  RegulationType2["PID"] = "PID";
48
48
  RegulationType2["QEAA"] = "QEAA";
49
49
  RegulationType2["EAA"] = "EAA";
50
50
  RegulationType2["NON_REGULATED"] = "NON_REGULATED";
51
51
  return RegulationType2;
52
- })({});
53
- var CredentialDocumentFormat = /* @__PURE__ */ (function(CredentialDocumentFormat2) {
52
+ }({});
53
+ var CredentialDocumentFormat = /* @__PURE__ */ function(CredentialDocumentFormat2) {
54
54
  CredentialDocumentFormat2["JSON_LD"] = "JSON_LD";
55
55
  CredentialDocumentFormat2["JWT"] = "JWT";
56
56
  CredentialDocumentFormat2["SD_JWT"] = "SD_JWT";
57
57
  CredentialDocumentFormat2["MSO_MDOC"] = "MSO_MDOC";
58
58
  return CredentialDocumentFormat2;
59
- })({});
59
+ }({});
60
60
  (function(CredentialDocumentFormat2) {
61
61
  function fromSpecValue(credentialFormat) {
62
62
  const format = credentialFormat.toLowerCase();
@@ -77,7 +77,7 @@ var CredentialDocumentFormat = /* @__PURE__ */ (function(CredentialDocumentForma
77
77
  function toSpecValue(documentFormat, documentType) {
78
78
  switch (documentFormat) {
79
79
  case "SD_JWT":
80
- return "vc+sd-jwt";
80
+ return "dc+sd-jwt";
81
81
  case "MSO_MDOC":
82
82
  return "mso_mdoc";
83
83
  case "JSON_LD":
@@ -89,26 +89,26 @@ var CredentialDocumentFormat = /* @__PURE__ */ (function(CredentialDocumentForma
89
89
  __name(toSpecValue, "toSpecValue");
90
90
  CredentialDocumentFormat2.toSpecValue = toSpecValue;
91
91
  })(CredentialDocumentFormat || (CredentialDocumentFormat = {}));
92
- var CredentialCorrelationType = /* @__PURE__ */ (function(CredentialCorrelationType2) {
92
+ var CredentialCorrelationType = /* @__PURE__ */ function(CredentialCorrelationType2) {
93
93
  CredentialCorrelationType2["DID"] = "DID";
94
94
  CredentialCorrelationType2["X509_SAN"] = "X509_SAN";
95
95
  CredentialCorrelationType2["KID"] = "KID";
96
96
  CredentialCorrelationType2["URL"] = "URL";
97
97
  return CredentialCorrelationType2;
98
- })({});
99
- var CredentialRole = /* @__PURE__ */ (function(CredentialRole2) {
98
+ }({});
99
+ var CredentialRole = /* @__PURE__ */ function(CredentialRole2) {
100
100
  CredentialRole2["ISSUER"] = "ISSUER";
101
101
  CredentialRole2["VERIFIER"] = "VERIFIER";
102
102
  CredentialRole2["HOLDER"] = "HOLDER";
103
103
  CredentialRole2["FEDERATION_TRUST_ANCHOR"] = "FEDERATION_TRUST_ANCHOR";
104
104
  return CredentialRole2;
105
- })({});
106
- var CredentialStateType = /* @__PURE__ */ (function(CredentialStateType2) {
105
+ }({});
106
+ var CredentialStateType = /* @__PURE__ */ function(CredentialStateType2) {
107
107
  CredentialStateType2["REVOKED"] = "REVOKED";
108
108
  CredentialStateType2["VERIFIED"] = "VERIFIED";
109
109
  CredentialStateType2["EXPIRED"] = "EXPIRED";
110
110
  return CredentialStateType2;
111
- })({});
111
+ }({});
112
112
 
113
113
  // src/entities/contact/IdentityEntity.ts
114
114
  import { BaseEntity as BaseEntity8, CreateDateColumn as CreateDateColumn7, Entity as Entity10, PrimaryGeneratedColumn as PrimaryGeneratedColumn10, UpdateDateColumn as UpdateDateColumn7, OneToOne as OneToOne4, JoinColumn as JoinColumn5, ManyToOne as ManyToOne7, Column as Column9, OneToMany as OneToMany4, BeforeInsert as BeforeInsert10, BeforeUpdate as BeforeUpdate10 } from "typeorm";