Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@nexeraprotocol/nexera-id-schemas

Package Overview
Dependencies
Maintainers
1
Versions
385
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nexeraprotocol/nexera-id-schemas - npm Package Compare versions

Comparing version 1.0.12 to 1.0.13

22

compliance/kyc/dist/nexeraprotocol-nexera-id-schemas-compliance-kyc.cjs.dev.js

@@ -10,3 +10,4 @@ 'use strict';

var KYCDataResponseSchema = zod.z["enum"](["onInitKyc", "signature"]);
var VerificationModeSchema = zod.z["enum"](["production", "sandbox"]);
var VerificationModes = ["production", "sandbox"];
var VerificationModeSchema = zod.z["enum"](VerificationModes);
var ApplicationClientDataSchema = zod.z.object({

@@ -56,10 +57,9 @@ id: zod.z.string(),

});
var KYC_SDK_RESPONSES = ["requestInitialData", "signatureRequest", "kycCompletition", "offChainShareCompletition", "closeScreen"];
var KycSdkResponsesSchema = zod.z["enum"](KYC_SDK_RESPONSES);
var KycCompletitionDataSchema = zod.z.array(compliance_vcSchemas_vcSchemas_dist_nexeraprotocolNexeraIdSchemasComplianceVcSchemasVcSchemas.VerifiableCredentialSchema);
var KYC_SDK_RESPONSES_DATA = {
kycCompletition: KycCompletitionDataSchema
};
var VerifiableCredentialSchema = zod.z.object({
issuer: zod.z.string(),
type: zod.z.array(zod.z.union([zod.z.string(), compliance_vcSchemas_vcSchemas_dist_nexeraprotocolNexeraIdSchemasComplianceVcSchemasVcSchemas.CredentialTypesSchema])),
credentialSubject: zod.z.object({
journeyId: zod.z.string()
}).catchall(zod.z.any())
}).catchall(zod.z.any());
var decodeUint8Array = function decodeUint8Array(data) {

@@ -196,6 +196,10 @@ var salt = data;

exports.KYCDataResponseSchema = KYCDataResponseSchema;
exports.KYC_SDK_RESPONSES = KYC_SDK_RESPONSES;
exports.KYC_SDK_RESPONSES_DATA = KYC_SDK_RESPONSES_DATA;
exports.KycCompletitionDataSchema = KycCompletitionDataSchema;
exports.KycSdkResponsesSchema = KycSdkResponsesSchema;
exports.SumsubApplicantAddressSchema = SumsubApplicantAddressSchema;
exports.SumsubApplicantInfoSchema = SumsubApplicantInfoSchema;
exports.SumsubApplicationDataSchema = SumsubApplicationDataSchema;
exports.VerifiableCredentialSchema = VerifiableCredentialSchema;
exports.VerificationModeSchema = VerificationModeSchema;
exports.VerificationModes = VerificationModes;

@@ -10,3 +10,4 @@ 'use strict';

var KYCDataResponseSchema = zod.z["enum"](["onInitKyc", "signature"]);
var VerificationModeSchema = zod.z["enum"](["production", "sandbox"]);
var VerificationModes = ["production", "sandbox"];
var VerificationModeSchema = zod.z["enum"](VerificationModes);
var ApplicationClientDataSchema = zod.z.object({

@@ -56,10 +57,9 @@ id: zod.z.string(),

});
var KYC_SDK_RESPONSES = ["requestInitialData", "signatureRequest", "kycCompletition", "offChainShareCompletition", "closeScreen"];
var KycSdkResponsesSchema = zod.z["enum"](KYC_SDK_RESPONSES);
var KycCompletitionDataSchema = zod.z.array(compliance_vcSchemas_vcSchemas_dist_nexeraprotocolNexeraIdSchemasComplianceVcSchemasVcSchemas.VerifiableCredentialSchema);
var KYC_SDK_RESPONSES_DATA = {
kycCompletition: KycCompletitionDataSchema
};
var VerifiableCredentialSchema = zod.z.object({
issuer: zod.z.string(),
type: zod.z.array(zod.z.union([zod.z.string(), compliance_vcSchemas_vcSchemas_dist_nexeraprotocolNexeraIdSchemasComplianceVcSchemasVcSchemas.CredentialTypesSchema])),
credentialSubject: zod.z.object({
journeyId: zod.z.string()
}).catchall(zod.z.any())
}).catchall(zod.z.any());
var decodeUint8Array = function decodeUint8Array(data) {

@@ -196,6 +196,10 @@ var salt = data;

exports.KYCDataResponseSchema = KYCDataResponseSchema;
exports.KYC_SDK_RESPONSES = KYC_SDK_RESPONSES;
exports.KYC_SDK_RESPONSES_DATA = KYC_SDK_RESPONSES_DATA;
exports.KycCompletitionDataSchema = KycCompletitionDataSchema;
exports.KycSdkResponsesSchema = KycSdkResponsesSchema;
exports.SumsubApplicantAddressSchema = SumsubApplicantAddressSchema;
exports.SumsubApplicantInfoSchema = SumsubApplicantInfoSchema;
exports.SumsubApplicationDataSchema = SumsubApplicationDataSchema;
exports.VerifiableCredentialSchema = VerifiableCredentialSchema;
exports.VerificationModeSchema = VerificationModeSchema;
exports.VerificationModes = VerificationModes;
import { z } from 'zod';
import { CredentialTypes, CredentialTypesSchema } from '../../vc-schemas/vc-schemas/dist/nexeraprotocol-nexera-id-schemas-compliance-vc-schemas-vc-schemas.esm.js';
import { CredentialTypes, VerifiableCredentialSchema } from '../../vc-schemas/vc-schemas/dist/nexeraprotocol-nexera-id-schemas-compliance-vc-schemas-vc-schemas.esm.js';
var AVAILABLE_FLOWS = ["REQUEST", "MANAGEMENT"];
var KYCDataResponseSchema = z["enum"](["onInitKyc", "signature"]);
var VerificationModeSchema = z["enum"](["production", "sandbox"]);
var VerificationModes = ["production", "sandbox"];
var VerificationModeSchema = z["enum"](VerificationModes);
var ApplicationClientDataSchema = z.object({

@@ -51,10 +52,9 @@ id: z.string(),

});
var KYC_SDK_RESPONSES = ["requestInitialData", "signatureRequest", "kycCompletition", "offChainShareCompletition", "closeScreen"];
var KycSdkResponsesSchema = z["enum"](KYC_SDK_RESPONSES);
var KycCompletitionDataSchema = z.array(VerifiableCredentialSchema);
var KYC_SDK_RESPONSES_DATA = {
kycCompletition: KycCompletitionDataSchema
};
var VerifiableCredentialSchema = z.object({
issuer: z.string(),
type: z.array(z.union([z.string(), CredentialTypesSchema])),
credentialSubject: z.object({
journeyId: z.string()
}).catchall(z.any())
}).catchall(z.any());
var decodeUint8Array = function decodeUint8Array(data) {

@@ -184,2 +184,2 @@ var salt = data;

export { AVAILABLE_FLOWS, ApplicationClientDataSchema, DownloadableKycSchema, EncryptedKycKeySchema, EncryptedVerifiableCredentialDataSchema, EncryptedVerifiableCredentialSchema, KYCDataResponseSchema, SumsubApplicantAddressSchema, SumsubApplicantInfoSchema, SumsubApplicationDataSchema, VerifiableCredentialSchema, VerificationModeSchema };
export { AVAILABLE_FLOWS, ApplicationClientDataSchema, DownloadableKycSchema, EncryptedKycKeySchema, EncryptedVerifiableCredentialDataSchema, EncryptedVerifiableCredentialSchema, KYCDataResponseSchema, KYC_SDK_RESPONSES, KYC_SDK_RESPONSES_DATA, KycCompletitionDataSchema, KycSdkResponsesSchema, SumsubApplicantAddressSchema, SumsubApplicantInfoSchema, SumsubApplicationDataSchema, VerificationModeSchema, VerificationModes };

@@ -350,3 +350,2 @@ 'use strict';

var CredentialZodSchemas = zod.z.union([IDScanCredentialSubjectSchema, ID3_6CredentialSubjectSchema, ProofOfResidenceV6CredentialSubjectSchema, IDScanSelfieV1CredentialSubjectSchema, IDScanPassportV1CredentialSubjectSchema, IDScanV2CredentialSubjectSchema]);
var CredentialTypes = ["IDScan", "ID3-v6", "ProofOfResidenceV6", "IDScanSelfieV1", "IDScanPassportV1", "IDScanV2"];

@@ -356,2 +355,10 @@ var CredentialTypesSchema = zod.z.string().transform(function (x) {

}).pipe(zod.z["enum"](CredentialTypes));
var VerifiableCredentialSchema = zod.z.object({
issuer: zod.z.string(),
type: zod.z.array(zod.z.union([zod.z.string(), CredentialTypesSchema])),
credentialSubject: zod.z.object({
journeyId: zod.z.string()
}).catchall(zod.z.any())
}).catchall(zod.z.any());
var CredentialZodSchemas = zod.z.union([IDScanCredentialSubjectSchema, ID3_6CredentialSubjectSchema, ProofOfResidenceV6CredentialSubjectSchema, IDScanSelfieV1CredentialSubjectSchema, IDScanPassportV1CredentialSubjectSchema, IDScanV2CredentialSubjectSchema]);
var CredentialSchemas = {

@@ -393,1 +400,2 @@ IDScan: {

exports.GenericVerifiableCredentialSchema = GenericVerifiableCredentialSchema;
exports.VerifiableCredentialSchema = VerifiableCredentialSchema;

@@ -350,3 +350,2 @@ 'use strict';

var CredentialZodSchemas = zod.z.union([IDScanCredentialSubjectSchema, ID3_6CredentialSubjectSchema, ProofOfResidenceV6CredentialSubjectSchema, IDScanSelfieV1CredentialSubjectSchema, IDScanPassportV1CredentialSubjectSchema, IDScanV2CredentialSubjectSchema]);
var CredentialTypes = ["IDScan", "ID3-v6", "ProofOfResidenceV6", "IDScanSelfieV1", "IDScanPassportV1", "IDScanV2"];

@@ -356,2 +355,10 @@ var CredentialTypesSchema = zod.z.string().transform(function (x) {

}).pipe(zod.z["enum"](CredentialTypes));
var VerifiableCredentialSchema = zod.z.object({
issuer: zod.z.string(),
type: zod.z.array(zod.z.union([zod.z.string(), CredentialTypesSchema])),
credentialSubject: zod.z.object({
journeyId: zod.z.string()
}).catchall(zod.z.any())
}).catchall(zod.z.any());
var CredentialZodSchemas = zod.z.union([IDScanCredentialSubjectSchema, ID3_6CredentialSubjectSchema, ProofOfResidenceV6CredentialSubjectSchema, IDScanSelfieV1CredentialSubjectSchema, IDScanPassportV1CredentialSubjectSchema, IDScanV2CredentialSubjectSchema]);
var CredentialSchemas = {

@@ -393,1 +400,2 @@ IDScan: {

exports.GenericVerifiableCredentialSchema = GenericVerifiableCredentialSchema;
exports.VerifiableCredentialSchema = VerifiableCredentialSchema;

@@ -346,3 +346,2 @@ import { z } from 'zod';

var CredentialZodSchemas = z.union([IDScanCredentialSubjectSchema, ID3_6CredentialSubjectSchema, ProofOfResidenceV6CredentialSubjectSchema, IDScanSelfieV1CredentialSubjectSchema, IDScanPassportV1CredentialSubjectSchema, IDScanV2CredentialSubjectSchema]);
var CredentialTypes = ["IDScan", "ID3-v6", "ProofOfResidenceV6", "IDScanSelfieV1", "IDScanPassportV1", "IDScanV2"];

@@ -352,2 +351,10 @@ var CredentialTypesSchema = z.string().transform(function (x) {

}).pipe(z["enum"](CredentialTypes));
var VerifiableCredentialSchema = z.object({
issuer: z.string(),
type: z.array(z.union([z.string(), CredentialTypesSchema])),
credentialSubject: z.object({
journeyId: z.string()
}).catchall(z.any())
}).catchall(z.any());
var CredentialZodSchemas = z.union([IDScanCredentialSubjectSchema, ID3_6CredentialSubjectSchema, ProofOfResidenceV6CredentialSubjectSchema, IDScanSelfieV1CredentialSubjectSchema, IDScanPassportV1CredentialSubjectSchema, IDScanV2CredentialSubjectSchema]);
var CredentialSchemas = {

@@ -384,2 +391,2 @@ IDScan: {

export { CredentialSchemas, CredentialTypes, CredentialTypesSchema, CredentialZodSchemas, GenericVerifiableCredentialSchema };
export { CredentialSchemas, CredentialTypes, CredentialTypesSchema, CredentialZodSchemas, GenericVerifiableCredentialSchema, VerifiableCredentialSchema };

@@ -13,4 +13,5 @@ import { z } from "zod";

export type KYCDataResponse = z.infer<typeof KYCDataResponseSchema>;
export declare const VerificationModes: readonly ["production", "sandbox"];
export declare const VerificationModeSchema: z.ZodEnum<["production", "sandbox"]>;
export type VerificationMode = z.infer<typeof VerificationModeSchema>;
export type VerificationMode = (typeof VerificationModes)[number];
export declare const ApplicationClientDataSchema: z.ZodObject<{

@@ -207,1 +208,69 @@ id: z.ZodString;

export type ApplicationClientData = z.infer<typeof ApplicationClientDataSchema>;
export declare const KYC_SDK_RESPONSES: readonly ["requestInitialData", "signatureRequest", "kycCompletition", "offChainShareCompletition", "closeScreen"];
export type KycSdkResponse = (typeof KYC_SDK_RESPONSES)[number];
export declare const KycSdkResponsesSchema: z.ZodEnum<["requestInitialData", "signatureRequest", "kycCompletition", "offChainShareCompletition", "closeScreen"]>;
export declare const KycCompletitionDataSchema: z.ZodArray<z.ZodObject<{
issuer: z.ZodString;
type: z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, z.ZodEnum<["IDScan", "ID3-v6", "ProofOfResidenceV6", "IDScanSelfieV1", "IDScanPassportV1", "IDScanV2"]>>]>, "many">;
credentialSubject: z.ZodObject<{
journeyId: z.ZodString;
}, "strip", z.ZodAny, z.objectOutputType<{
journeyId: z.ZodString;
}, z.ZodAny, "strip">, z.objectInputType<{
journeyId: z.ZodString;
}, z.ZodAny, "strip">>;
}, "strip", z.ZodAny, z.objectOutputType<{
issuer: z.ZodString;
type: z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, z.ZodEnum<["IDScan", "ID3-v6", "ProofOfResidenceV6", "IDScanSelfieV1", "IDScanPassportV1", "IDScanV2"]>>]>, "many">;
credentialSubject: z.ZodObject<{
journeyId: z.ZodString;
}, "strip", z.ZodAny, z.objectOutputType<{
journeyId: z.ZodString;
}, z.ZodAny, "strip">, z.objectInputType<{
journeyId: z.ZodString;
}, z.ZodAny, "strip">>;
}, z.ZodAny, "strip">, z.objectInputType<{
issuer: z.ZodString;
type: z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, z.ZodEnum<["IDScan", "ID3-v6", "ProofOfResidenceV6", "IDScanSelfieV1", "IDScanPassportV1", "IDScanV2"]>>]>, "many">;
credentialSubject: z.ZodObject<{
journeyId: z.ZodString;
}, "strip", z.ZodAny, z.objectOutputType<{
journeyId: z.ZodString;
}, z.ZodAny, "strip">, z.objectInputType<{
journeyId: z.ZodString;
}, z.ZodAny, "strip">>;
}, z.ZodAny, "strip">>, "many">;
export declare const KYC_SDK_RESPONSES_DATA: {
readonly kycCompletition: z.ZodArray<z.ZodObject<{
issuer: z.ZodString;
type: z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, z.ZodEnum<["IDScan", "ID3-v6", "ProofOfResidenceV6", "IDScanSelfieV1", "IDScanPassportV1", "IDScanV2"]>>]>, "many">;
credentialSubject: z.ZodObject<{
journeyId: z.ZodString;
}, "strip", z.ZodAny, z.objectOutputType<{
journeyId: z.ZodString;
}, z.ZodAny, "strip">, z.objectInputType<{
journeyId: z.ZodString;
}, z.ZodAny, "strip">>;
}, "strip", z.ZodAny, z.objectOutputType<{
issuer: z.ZodString;
type: z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, z.ZodEnum<["IDScan", "ID3-v6", "ProofOfResidenceV6", "IDScanSelfieV1", "IDScanPassportV1", "IDScanV2"]>>]>, "many">;
credentialSubject: z.ZodObject<{
journeyId: z.ZodString;
}, "strip", z.ZodAny, z.objectOutputType<{
journeyId: z.ZodString;
}, z.ZodAny, "strip">, z.objectInputType<{
journeyId: z.ZodString;
}, z.ZodAny, "strip">>;
}, z.ZodAny, "strip">, z.objectInputType<{
issuer: z.ZodString;
type: z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, z.ZodEnum<["IDScan", "ID3-v6", "ProofOfResidenceV6", "IDScanSelfieV1", "IDScanPassportV1", "IDScanV2"]>>]>, "many">;
credentialSubject: z.ZodObject<{
journeyId: z.ZodString;
}, "strip", z.ZodAny, z.objectOutputType<{
journeyId: z.ZodString;
}, z.ZodAny, "strip">, z.objectInputType<{
journeyId: z.ZodString;
}, z.ZodAny, "strip">>;
}, z.ZodAny, "strip">>, "many">;
};
export type KycCompletionData = z.infer<typeof KycCompletitionDataSchema>;
import { z } from "zod";
export declare const VerifiableCredentialSchema: z.ZodObject<{
issuer: z.ZodString;
type: z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, z.ZodEnum<["IDScan", "ID3-v6", "ProofOfResidenceV6", "IDScanSelfieV1", "IDScanPassportV1", "IDScanV2"]>>]>, "many">;
credentialSubject: z.ZodObject<{
journeyId: z.ZodString;
}, "strip", z.ZodAny, z.objectOutputType<{
journeyId: z.ZodString;
}, z.ZodAny, "strip">, z.objectInputType<{
journeyId: z.ZodString;
}, z.ZodAny, "strip">>;
}, "strip", z.ZodAny, z.objectOutputType<{
issuer: z.ZodString;
type: z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, z.ZodEnum<["IDScan", "ID3-v6", "ProofOfResidenceV6", "IDScanSelfieV1", "IDScanPassportV1", "IDScanV2"]>>]>, "many">;
credentialSubject: z.ZodObject<{
journeyId: z.ZodString;
}, "strip", z.ZodAny, z.objectOutputType<{
journeyId: z.ZodString;
}, z.ZodAny, "strip">, z.objectInputType<{
journeyId: z.ZodString;
}, z.ZodAny, "strip">>;
}, z.ZodAny, "strip">, z.objectInputType<{
issuer: z.ZodString;
type: z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, z.ZodEnum<["IDScan", "ID3-v6", "ProofOfResidenceV6", "IDScanSelfieV1", "IDScanPassportV1", "IDScanV2"]>>]>, "many">;
credentialSubject: z.ZodObject<{
journeyId: z.ZodString;
}, "strip", z.ZodAny, z.objectOutputType<{
journeyId: z.ZodString;
}, z.ZodAny, "strip">, z.objectInputType<{
journeyId: z.ZodString;
}, z.ZodAny, "strip">>;
}, z.ZodAny, "strip">>;
export type VerifiableCredential = z.infer<typeof VerifiableCredentialSchema>;
export declare const EncryptedKycKeySchema: z.ZodObject<{

@@ -1125,2 +1093,2 @@ address: z.ZodString;

}>;
export { ApplicationClientDataSchema, type ApplicationClientData, AVAILABLE_FLOWS, KYCDataResponseSchema, type AvailableFlow, type KYCDataResponse, type DataAvailableOnInit, VerificationModeSchema, type VerificationMode, } from "./kyc-sdk";
export { ApplicationClientDataSchema, type ApplicationClientData, AVAILABLE_FLOWS, KYCDataResponseSchema, type AvailableFlow, type KYCDataResponse, type DataAvailableOnInit, VerificationModeSchema, type VerificationMode, KYC_SDK_RESPONSES, KycSdkResponsesSchema, VerificationModes, KycCompletitionDataSchema, KYC_SDK_RESPONSES_DATA, type KycCompletionData, type KycSdkResponse, } from "./kyc-sdk";

@@ -79,4 +79,4 @@ import { z } from "zod";

}, "strip", z.ZodTypeAny, {
id: string;
journeyId: string;
id: string;
firstName: string;

@@ -122,4 +122,4 @@ lastName: string;

}, {
id: string;
journeyId: string;
id: string;
firstName: string;

@@ -126,0 +126,0 @@ lastName: string;

@@ -10,4 +10,4 @@ import { z } from "zod";

name: string;
id: string;
journeyId: string;
id: string;
documentType: string;

@@ -17,6 +17,6 @@ base64: string;

name: string;
id: string;
journeyId: string;
id: string;
documentType: string;
base64: string;
}>;

@@ -10,4 +10,4 @@ import { z } from "zod";

name: string;
id: string;
journeyId: string;
id: string;
documentType: string;

@@ -17,6 +17,6 @@ base64: string;

name: string;
id: string;
journeyId: string;
id: string;
documentType: string;
base64: string;
}>;

@@ -79,4 +79,4 @@ import { z } from "zod";

}, "strip", z.ZodTypeAny, {
id: string;
journeyId: string | null;
id: string;
highLevelResult?: string | null | undefined;

@@ -122,4 +122,4 @@ firstName?: string | null | undefined;

}, {
id: string;
journeyId: string | null;
id: string;
highLevelResult?: string | null | undefined;

@@ -126,0 +126,0 @@ firstName?: string | null | undefined;

@@ -11,4 +11,4 @@ import { z } from "zod";

name: string;
id: string;
journeyId: string;
id: string;
country: string;

@@ -19,4 +19,4 @@ documentType: string;

name: string;
id: string;
journeyId: string;
id: string;
country: string;

@@ -23,0 +23,0 @@ documentType: string;

{
"name": "@nexeraprotocol/nexera-id-schemas",
"version": "1.0.12",
"version": "1.0.13",
"description": "",

@@ -5,0 +5,0 @@ "main": "dist/nexeraprotocol-nexera-id-schemas.cjs.js",

{
"name": "@nexeraprotocol/nexera-id-schemas",
"version": "1.0.12",
"version": "1.0.13",
"description": "",

@@ -5,0 +5,0 @@ "main": "dist/nexeraprotocol-nexera-id-schemas.cjs.js",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc