@nexeraprotocol/nexera-id-schemas
Advanced tools
Comparing version 1.0.15 to 1.0.16
@@ -72,5 +72,6 @@ 'use strict'; | ||
encryptedPrivateKey: zod.z.string(), | ||
signingMessage: zod.z.string().optional(), | ||
signingMessage: zod.z.string(), | ||
salt: zod.z.preprocess(decodeUint8Array, zod.z.unknown()), | ||
iv: zod.z.preprocess(decodeUint8Array, zod.z.unknown()) | ||
iv: zod.z.preprocess(decodeUint8Array, zod.z.unknown()), | ||
did: zod.z.string().optional() | ||
}); | ||
@@ -93,3 +94,3 @@ var EncryptedVerifiableCredentialDataSchema = zod.z.object({ | ||
var DownloadableKycSchema = zod.z.object({ | ||
vcs: zod.z.array(EncryptedVerifiableCredentialSchema), | ||
vcs: zod.z.array(zod.z.any()), | ||
key: EncryptedKycKeySchema | ||
@@ -96,0 +97,0 @@ }); |
@@ -72,5 +72,6 @@ 'use strict'; | ||
encryptedPrivateKey: zod.z.string(), | ||
signingMessage: zod.z.string().optional(), | ||
signingMessage: zod.z.string(), | ||
salt: zod.z.preprocess(decodeUint8Array, zod.z.unknown()), | ||
iv: zod.z.preprocess(decodeUint8Array, zod.z.unknown()) | ||
iv: zod.z.preprocess(decodeUint8Array, zod.z.unknown()), | ||
did: zod.z.string().optional() | ||
}); | ||
@@ -93,3 +94,3 @@ var EncryptedVerifiableCredentialDataSchema = zod.z.object({ | ||
var DownloadableKycSchema = zod.z.object({ | ||
vcs: zod.z.array(EncryptedVerifiableCredentialSchema), | ||
vcs: zod.z.array(zod.z.any()), | ||
key: EncryptedKycKeySchema | ||
@@ -96,0 +97,0 @@ }); |
@@ -68,5 +68,6 @@ import { z } from 'zod'; | ||
encryptedPrivateKey: z.string(), | ||
signingMessage: z.string().optional(), | ||
signingMessage: z.string(), | ||
salt: z.preprocess(decodeUint8Array, z.unknown()), | ||
iv: z.preprocess(decodeUint8Array, z.unknown()) | ||
iv: z.preprocess(decodeUint8Array, z.unknown()), | ||
did: z.string().optional() | ||
}); | ||
@@ -89,3 +90,3 @@ var EncryptedVerifiableCredentialDataSchema = z.object({ | ||
var DownloadableKycSchema = z.object({ | ||
vcs: z.array(EncryptedVerifiableCredentialSchema), | ||
vcs: z.array(z.any()), | ||
key: EncryptedKycKeySchema | ||
@@ -92,0 +93,0 @@ }); |
@@ -5,17 +5,20 @@ import { z } from "zod"; | ||
encryptedPrivateKey: z.ZodString; | ||
signingMessage: z.ZodOptional<z.ZodString>; | ||
signingMessage: z.ZodString; | ||
salt: z.ZodEffects<z.ZodUnknown, unknown, unknown>; | ||
iv: z.ZodEffects<z.ZodUnknown, unknown, unknown>; | ||
did: z.ZodOptional<z.ZodString>; | ||
}, "strip", z.ZodTypeAny, { | ||
address: string; | ||
encryptedPrivateKey: string; | ||
signingMessage?: string | undefined; | ||
signingMessage: string; | ||
salt?: unknown; | ||
iv?: unknown; | ||
did?: string | undefined; | ||
}, { | ||
address: string; | ||
encryptedPrivateKey: string; | ||
signingMessage?: string | undefined; | ||
signingMessage: string; | ||
salt?: unknown; | ||
iv?: unknown; | ||
did?: string | undefined; | ||
}>; | ||
@@ -91,114 +94,44 @@ export type EncryptedKycKey = z.infer<typeof EncryptedKycKeySchema>; | ||
export declare const DownloadableKycSchema: z.ZodObject<{ | ||
vcs: z.ZodArray<z.ZodObject<{ | ||
id: z.ZodOptional<z.ZodNumber>; | ||
did: z.ZodString; | ||
journeyId: z.ZodOptional<z.ZodString>; | ||
type: z.ZodEnum<["ID3-v7", "ProofOfResidenceV6", "IDScanSelfieV1", "IDScanPassportV1", "IDScanV2"]>; | ||
datetime: z.ZodDate; | ||
credential: z.ZodObject<{ | ||
iv: z.ZodEffects<z.ZodUnknown, unknown, unknown>; | ||
ephemPublicKey: z.ZodEffects<z.ZodUnknown, unknown, unknown>; | ||
ciphertext: z.ZodEffects<z.ZodUnknown, unknown, unknown>; | ||
mac: z.ZodEffects<z.ZodUnknown, unknown, unknown>; | ||
}, "strip", z.ZodTypeAny, { | ||
iv?: unknown; | ||
ephemPublicKey?: unknown; | ||
ciphertext?: unknown; | ||
mac?: unknown; | ||
}, { | ||
iv?: unknown; | ||
ephemPublicKey?: unknown; | ||
ciphertext?: unknown; | ||
mac?: unknown; | ||
}>; | ||
identifier: z.ZodOptional<z.ZodString>; | ||
}, "strip", z.ZodTypeAny, { | ||
type: "ID3-v7" | "ProofOfResidenceV6" | "IDScanSelfieV1" | "IDScanPassportV1" | "IDScanV2"; | ||
did: string; | ||
datetime: Date; | ||
credential: { | ||
iv?: unknown; | ||
ephemPublicKey?: unknown; | ||
ciphertext?: unknown; | ||
mac?: unknown; | ||
}; | ||
id?: number | undefined; | ||
journeyId?: string | undefined; | ||
identifier?: string | undefined; | ||
}, { | ||
type: "ID3-v7" | "ProofOfResidenceV6" | "IDScanSelfieV1" | "IDScanPassportV1" | "IDScanV2"; | ||
did: string; | ||
datetime: Date; | ||
credential: { | ||
iv?: unknown; | ||
ephemPublicKey?: unknown; | ||
ciphertext?: unknown; | ||
mac?: unknown; | ||
}; | ||
id?: number | undefined; | ||
journeyId?: string | undefined; | ||
identifier?: string | undefined; | ||
}>, "many">; | ||
vcs: z.ZodArray<z.ZodAny, "many">; | ||
key: z.ZodObject<{ | ||
address: z.ZodString; | ||
encryptedPrivateKey: z.ZodString; | ||
signingMessage: z.ZodOptional<z.ZodString>; | ||
signingMessage: z.ZodString; | ||
salt: z.ZodEffects<z.ZodUnknown, unknown, unknown>; | ||
iv: z.ZodEffects<z.ZodUnknown, unknown, unknown>; | ||
did: z.ZodOptional<z.ZodString>; | ||
}, "strip", z.ZodTypeAny, { | ||
address: string; | ||
encryptedPrivateKey: string; | ||
signingMessage?: string | undefined; | ||
signingMessage: string; | ||
salt?: unknown; | ||
iv?: unknown; | ||
did?: string | undefined; | ||
}, { | ||
address: string; | ||
encryptedPrivateKey: string; | ||
signingMessage?: string | undefined; | ||
signingMessage: string; | ||
salt?: unknown; | ||
iv?: unknown; | ||
did?: string | undefined; | ||
}>; | ||
}, "strip", z.ZodTypeAny, { | ||
vcs: { | ||
type: "ID3-v7" | "ProofOfResidenceV6" | "IDScanSelfieV1" | "IDScanPassportV1" | "IDScanV2"; | ||
did: string; | ||
datetime: Date; | ||
credential: { | ||
iv?: unknown; | ||
ephemPublicKey?: unknown; | ||
ciphertext?: unknown; | ||
mac?: unknown; | ||
}; | ||
id?: number | undefined; | ||
journeyId?: string | undefined; | ||
identifier?: string | undefined; | ||
}[]; | ||
vcs: any[]; | ||
key: { | ||
address: string; | ||
encryptedPrivateKey: string; | ||
signingMessage?: string | undefined; | ||
signingMessage: string; | ||
salt?: unknown; | ||
iv?: unknown; | ||
did?: string | undefined; | ||
}; | ||
}, { | ||
vcs: { | ||
type: "ID3-v7" | "ProofOfResidenceV6" | "IDScanSelfieV1" | "IDScanPassportV1" | "IDScanV2"; | ||
did: string; | ||
datetime: Date; | ||
credential: { | ||
iv?: unknown; | ||
ephemPublicKey?: unknown; | ||
ciphertext?: unknown; | ||
mac?: unknown; | ||
}; | ||
id?: number | undefined; | ||
journeyId?: string | undefined; | ||
identifier?: string | undefined; | ||
}[]; | ||
vcs: any[]; | ||
key: { | ||
address: string; | ||
encryptedPrivateKey: string; | ||
signingMessage?: string | undefined; | ||
signingMessage: string; | ||
salt?: unknown; | ||
iv?: unknown; | ||
did?: string | undefined; | ||
}; | ||
@@ -205,0 +138,0 @@ }>; |
{ | ||
"name": "@nexeraprotocol/nexera-id-schemas", | ||
"version": "1.0.15", | ||
"version": "1.0.16", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "dist/nexeraprotocol-nexera-id-schemas.cjs.js", |
{ | ||
"name": "@nexeraprotocol/nexera-id-schemas", | ||
"version": "1.0.15", | ||
"version": "1.0.16", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "dist/nexeraprotocol-nexera-id-schemas.cjs.js", |
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
548691
12127