@nexeraprotocol/nexera-id-schemas
Advanced tools
Comparing version 1.0.8 to 1.0.9
@@ -274,2 +274,3 @@ 'use strict'; | ||
journeyId: zod.z.string().describe("The ID of the journey that this credential is associated with"), | ||
country: zod.z.string().describe("The country of residence"), | ||
base64: zod.z.string().describe("Base64 encoded image of the proof of residence"), | ||
@@ -276,0 +277,0 @@ name: zod.z.string().describe("Name of the docuemnt (e.g. proofOfResidence.jpg)"), |
@@ -274,2 +274,3 @@ 'use strict'; | ||
journeyId: zod.z.string().describe("The ID of the journey that this credential is associated with"), | ||
country: zod.z.string().describe("The country of residence"), | ||
base64: zod.z.string().describe("Base64 encoded image of the proof of residence"), | ||
@@ -276,0 +277,0 @@ name: zod.z.string().describe("Name of the docuemnt (e.g. proofOfResidence.jpg)"), |
@@ -270,2 +270,3 @@ import { z } from 'zod'; | ||
journeyId: z.string().describe("The ID of the journey that this credential is associated with"), | ||
country: z.string().describe("The country of residence"), | ||
base64: z.string().describe("Base64 encoded image of the proof of residence"), | ||
@@ -272,0 +273,0 @@ name: z.string().describe("Name of the docuemnt (e.g. proofOfResidence.jpg)"), |
@@ -5,2 +5,3 @@ import { z } from "zod"; | ||
journeyId: z.ZodString; | ||
country: z.ZodString; | ||
base64: z.ZodString; | ||
@@ -13,2 +14,3 @@ name: z.ZodString; | ||
id: string; | ||
country: string; | ||
documentType: string; | ||
@@ -20,4 +22,5 @@ base64: string; | ||
id: string; | ||
country: string; | ||
documentType: string; | ||
base64: string; | ||
}>; |
{ | ||
"name": "@nexeraprotocol/nexera-id-schemas", | ||
"version": "1.0.8", | ||
"version": "1.0.9", | ||
"description": "", | ||
@@ -18,3 +18,3 @@ "main": "dist/nexeraprotocol-nexera-id-schemas.cjs.js", | ||
"download-schema:ID3_6": "curl https://raw.githubusercontent.com/NexeraProtocol/vc-schemas/main/examples/id3/v6/id3.json -o ./schemas/ID3_6.json", | ||
"generate.zod:ID3_6": "cat schemas/ID3_6.json | jq '.properties.credentialSubject' > schemas/ID3_6-credentialSubject.json && json-schema-to-zod -s ./schemas/ID3_6-credentialSubject.json -t ./src/compliance/vc-schemas/ID3_6CredentialSubjectSchema.ts --name ID3_6CredentialSubjectSchema", | ||
"generate-zod:ID3_6": "cat schemas/ID3_6.json | jq '.properties.credentialSubject' > schemas/ID3_6-credentialSubject.json && json-schema-to-zod -s ./schemas/ID3_6-credentialSubject.json -t ./src/compliance/vc-schemas/ID3_6CredentialSubjectSchema.ts --name ID3_6CredentialSubjectSchema", | ||
"download-schema:ProofOfResidenceV6": "curl https://raw.githubusercontent.com/NexeraProtocol/vc-schemas/main/examples/proofOfResidence/v6/proofOfResidence.json -o ./schemas/ProofOfResidenceV6.json", | ||
@@ -21,0 +21,0 @@ "generate-zod:ProofOfResidenceV6": "cat schemas/ProofOfResidenceV6.json | jq '.properties.credentialSubject' > schemas/ProofOfResidenceV6-credentialSubject.json && json-schema-to-zod -s ./schemas/ProofOfResidenceV6-credentialSubject.json -t ./src/compliance/vc-schemas/ProofOfResidenceV6CredentialSubjectSchema.ts --name ProofOfResidenceV6CredentialSubjectSchema", |
{ | ||
"name": "@nexeraprotocol/nexera-id-schemas", | ||
"version": "1.0.8", | ||
"version": "1.0.9", | ||
"description": "", | ||
@@ -40,3 +40,3 @@ "main": "dist/nexeraprotocol-nexera-id-schemas.cjs.js", | ||
"download-schema:ID3_6": "curl https://raw.githubusercontent.com/NexeraProtocol/vc-schemas/main/examples/id3/v6/id3.json -o ./schemas/ID3_6.json", | ||
"generate.zod:ID3_6": "cat schemas/ID3_6.json | jq '.properties.credentialSubject' > schemas/ID3_6-credentialSubject.json && json-schema-to-zod -s ./schemas/ID3_6-credentialSubject.json -t ./src/compliance/vc-schemas/ID3_6CredentialSubjectSchema.ts --name ID3_6CredentialSubjectSchema", | ||
"generate-zod:ID3_6": "cat schemas/ID3_6.json | jq '.properties.credentialSubject' > schemas/ID3_6-credentialSubject.json && json-schema-to-zod -s ./schemas/ID3_6-credentialSubject.json -t ./src/compliance/vc-schemas/ID3_6CredentialSubjectSchema.ts --name ID3_6CredentialSubjectSchema", | ||
"download-schema:ProofOfResidenceV6": "curl https://raw.githubusercontent.com/NexeraProtocol/vc-schemas/main/examples/proofOfResidence/v6/proofOfResidence.json -o ./schemas/ProofOfResidenceV6.json", | ||
@@ -43,0 +43,0 @@ "generate-zod:ProofOfResidenceV6": "cat schemas/ProofOfResidenceV6.json | jq '.properties.credentialSubject' > schemas/ProofOfResidenceV6-credentialSubject.json && json-schema-to-zod -s ./schemas/ProofOfResidenceV6-credentialSubject.json -t ./src/compliance/vc-schemas/ProofOfResidenceV6CredentialSubjectSchema.ts --name ProofOfResidenceV6CredentialSubjectSchema", |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
444338
11101