gdc-common-utils-ts 1.4.10 → 1.4.12

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.
@@ -71,12 +71,15 @@ export declare enum ClaimsPersonSchemaorg {
71
71
  gender = "org.schema.Person.gender",
72
72
  givenName = "org.schema.Person.givenName",
73
73
  hasOccupation = "org.schema.Person.hasOccupation",
74
+ /** Credential material bound to the person identity in VC payloads (for activation flow this is the representative signing kid). */
75
+ hasCredentialMaterial = "org.schema.Person.hasCredential.material",
74
76
  identifier = "org.schema.Person.identifier",// the URN (composed by the provider)
75
77
  identifierType = "org.schema.Person.identifier.additionalType",// retrieved from a form
76
78
  identifierValue = "org.schema.Person.identifier.value",// retrieved from a form
77
79
  /** ICAO transliteration of official given name (including middlenames), family name and addtional surname */
78
80
  name = "org.schema.Person.name",
79
81
  memberOf = "org.schema.Person.memberOf",// for employees
82
+ memberOfTaxId = "org.schema.Person.memberOf.taxID",
80
83
  telephone = "org.schema.Person.telephone",
81
84
  worksFor = "org.schema.Person.worksFor"
82
85
  }
@@ -76,12 +76,15 @@ export var ClaimsPersonSchemaorg;
76
76
  ClaimsPersonSchemaorg["gender"] = "org.schema.Person.gender";
77
77
  ClaimsPersonSchemaorg["givenName"] = "org.schema.Person.givenName";
78
78
  ClaimsPersonSchemaorg["hasOccupation"] = "org.schema.Person.hasOccupation";
79
+ /** Credential material bound to the person identity in VC payloads (for activation flow this is the representative signing kid). */
80
+ ClaimsPersonSchemaorg["hasCredentialMaterial"] = "org.schema.Person.hasCredential.material";
79
81
  ClaimsPersonSchemaorg["identifier"] = "org.schema.Person.identifier";
80
82
  ClaimsPersonSchemaorg["identifierType"] = "org.schema.Person.identifier.additionalType";
81
83
  ClaimsPersonSchemaorg["identifierValue"] = "org.schema.Person.identifier.value";
82
84
  /** ICAO transliteration of official given name (including middlenames), family name and addtional surname */
83
85
  ClaimsPersonSchemaorg["name"] = "org.schema.Person.name";
84
86
  ClaimsPersonSchemaorg["memberOf"] = "org.schema.Person.memberOf";
87
+ ClaimsPersonSchemaorg["memberOfTaxId"] = "org.schema.Person.memberOf.taxID";
85
88
  ClaimsPersonSchemaorg["telephone"] = "org.schema.Person.telephone";
86
89
  ClaimsPersonSchemaorg["worksFor"] = "org.schema.Person.worksFor";
87
90
  /*
@@ -7,14 +7,6 @@ function getHeaderValue(headers, name) {
7
7
  return value == null ? undefined : value;
8
8
  }
9
9
  async function parseBody(response) {
10
- if (typeof response.json === 'function') {
11
- try {
12
- return await response.json();
13
- }
14
- catch {
15
- // Continue to text fallback.
16
- }
17
- }
18
10
  if (typeof response.text === 'function') {
19
11
  const raw = await response.text();
20
12
  if (!raw)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gdc-common-utils-ts",
3
- "version": "1.4.10",
3
+ "version": "1.4.12",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },