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.5.7 to 1.6.0

compliance/frontend-utilities/dist/nexeraprotocol-nexera-id-schemas-compliance-frontend-utilities.cjs.d.ts

1

api/dist/nexeraprotocol-nexera-id-schemas-api.cjs.dev.js

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

var dist_nexeraprotocolNexeraIdSchemas = require('../../dist/nexeraprotocol-nexera-id-schemas.cjs.dev.js');
require('../../compliance/execute-challenge-query/dist/nexeraprotocol-nexera-id-schemas-compliance-execute-challenge-query.cjs.dev.js');
require('i18n-iso-countries');

@@ -11,0 +12,0 @@

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

var dist_nexeraprotocolNexeraIdSchemas = require('../../dist/nexeraprotocol-nexera-id-schemas.cjs.prod.js');
require('../../compliance/execute-challenge-query/dist/nexeraprotocol-nexera-id-schemas-compliance-execute-challenge-query.cjs.prod.js');
require('i18n-iso-countries');

@@ -11,0 +12,0 @@

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

import { AddressSchema } from '../../dist/nexeraprotocol-nexera-id-schemas.esm.js';
import '../../compliance/execute-challenge-query/dist/nexeraprotocol-nexera-id-schemas-compliance-execute-challenge-query.esm.js';
import 'i18n-iso-countries';

@@ -7,0 +8,0 @@

@@ -18,3 +18,19 @@ 'use strict';

});
var querySchema = zod.z.record(operatorSchema);
var querySchema = zod.z.record(operatorSchema).refine(function (data) {
// we are not validating the dotPath, only the operators
for (var dotPath in data) {
var operatorsData = data[dotPath];
if (operatorsData === undefined) {
return false;
}
// if the operator is not a valid operator, operatorsData will be {}
var operators = Object.keys(operatorsData);
if (operators.length === 0) {
return false;
}
}
return true;
}, {
message: "Invalid operator found."
});
var ExecuteChallengeQueryInputSchema = zod.z.object({

@@ -47,1 +63,2 @@ address: zod.z.string(),

exports.ExecuteChallengeQueryResonseSchema = ExecuteChallengeQueryResonseSchema;
exports.querySchema = querySchema;

@@ -18,3 +18,19 @@ 'use strict';

});
var querySchema = zod.z.record(operatorSchema);
var querySchema = zod.z.record(operatorSchema).refine(function (data) {
// we are not validating the dotPath, only the operators
for (var dotPath in data) {
var operatorsData = data[dotPath];
if (operatorsData === undefined) {
return false;
}
// if the operator is not a valid operator, operatorsData will be {}
var operators = Object.keys(operatorsData);
if (operators.length === 0) {
return false;
}
}
return true;
}, {
message: "Invalid operator found."
});
var ExecuteChallengeQueryInputSchema = zod.z.object({

@@ -47,1 +63,2 @@ address: zod.z.string(),

exports.ExecuteChallengeQueryResonseSchema = ExecuteChallengeQueryResonseSchema;
exports.querySchema = querySchema;

@@ -14,3 +14,19 @@ import { z } from 'zod';

});
var querySchema = z.record(operatorSchema);
var querySchema = z.record(operatorSchema).refine(function (data) {
// we are not validating the dotPath, only the operators
for (var dotPath in data) {
var operatorsData = data[dotPath];
if (operatorsData === undefined) {
return false;
}
// if the operator is not a valid operator, operatorsData will be {}
var operators = Object.keys(operatorsData);
if (operators.length === 0) {
return false;
}
}
return true;
}, {
message: "Invalid operator found."
});
var ExecuteChallengeQueryInputSchema = z.object({

@@ -40,2 +56,2 @@ address: z.string(),

export { ExecuteChallengeQueryConfigSchema, ExecuteChallengeQueryInputSchema, ExecuteChallengeQueryResonseSchema };
export { ExecuteChallengeQueryConfigSchema, ExecuteChallengeQueryInputSchema, ExecuteChallengeQueryResonseSchema, querySchema };
import { z } from "zod";
export declare const querySchema: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodObject<{
GREATER_THAN: z.ZodOptional<z.ZodNumber>;
LESS_THAN: z.ZodOptional<z.ZodNumber>;
EQUAL_TO: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
NOT_EQUAL_TO: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
LESS_THAN_OR_EQUAL_TO: z.ZodOptional<z.ZodNumber>;
GREATER_THAN_OR_EQUAL_TO: z.ZodOptional<z.ZodNumber>;
IN: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber]>, "many">]>>;
NOT_IN: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber]>, "many">]>>;
}, "strip", z.ZodTypeAny, {
GREATER_THAN?: number | undefined;
LESS_THAN?: number | undefined;
EQUAL_TO?: string | number | undefined;
NOT_EQUAL_TO?: string | number | undefined;
LESS_THAN_OR_EQUAL_TO?: number | undefined;
GREATER_THAN_OR_EQUAL_TO?: number | undefined;
IN?: string | (string | number)[] | undefined;
NOT_IN?: string | (string | number)[] | undefined;
}, {
GREATER_THAN?: number | undefined;
LESS_THAN?: number | undefined;
EQUAL_TO?: string | number | undefined;
NOT_EQUAL_TO?: string | number | undefined;
LESS_THAN_OR_EQUAL_TO?: number | undefined;
GREATER_THAN_OR_EQUAL_TO?: number | undefined;
IN?: string | (string | number)[] | undefined;
NOT_IN?: string | (string | number)[] | undefined;
}>>, Record<string, {
GREATER_THAN?: number | undefined;
LESS_THAN?: number | undefined;
EQUAL_TO?: string | number | undefined;
NOT_EQUAL_TO?: string | number | undefined;
LESS_THAN_OR_EQUAL_TO?: number | undefined;
GREATER_THAN_OR_EQUAL_TO?: number | undefined;
IN?: string | (string | number)[] | undefined;
NOT_IN?: string | (string | number)[] | undefined;
}>, Record<string, {
GREATER_THAN?: number | undefined;
LESS_THAN?: number | undefined;
EQUAL_TO?: string | number | undefined;
NOT_EQUAL_TO?: string | number | undefined;
LESS_THAN_OR_EQUAL_TO?: number | undefined;
GREATER_THAN_OR_EQUAL_TO?: number | undefined;
IN?: string | (string | number)[] | undefined;
NOT_IN?: string | (string | number)[] | undefined;
}>>;
export declare const ExecuteChallengeQueryInputSchema: z.ZodObject<{

@@ -14,3 +60,3 @@ address: z.ZodString;

}, z.ZodTypeAny, "passthrough">>, "many">;
query: z.ZodRecord<z.ZodString, z.ZodObject<{
query: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodObject<{
GREATER_THAN: z.ZodOptional<z.ZodNumber>;

@@ -42,2 +88,20 @@ LESS_THAN: z.ZodOptional<z.ZodNumber>;

NOT_IN?: string | (string | number)[] | undefined;
}>>, Record<string, {
GREATER_THAN?: number | undefined;
LESS_THAN?: number | undefined;
EQUAL_TO?: string | number | undefined;
NOT_EQUAL_TO?: string | number | undefined;
LESS_THAN_OR_EQUAL_TO?: number | undefined;
GREATER_THAN_OR_EQUAL_TO?: number | undefined;
IN?: string | (string | number)[] | undefined;
NOT_IN?: string | (string | number)[] | undefined;
}>, Record<string, {
GREATER_THAN?: number | undefined;
LESS_THAN?: number | undefined;
EQUAL_TO?: string | number | undefined;
NOT_EQUAL_TO?: string | number | undefined;
LESS_THAN_OR_EQUAL_TO?: number | undefined;
GREATER_THAN_OR_EQUAL_TO?: number | undefined;
IN?: string | (string | number)[] | undefined;
NOT_IN?: string | (string | number)[] | undefined;
}>>;

@@ -93,3 +157,3 @@ scenarioId: z.ZodOptional<z.ZodString>;

}, z.ZodTypeAny, "passthrough">>, "many">;
query: z.ZodRecord<z.ZodString, z.ZodObject<{
query: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodObject<{
GREATER_THAN: z.ZodOptional<z.ZodNumber>;

@@ -121,2 +185,20 @@ LESS_THAN: z.ZodOptional<z.ZodNumber>;

NOT_IN?: string | (string | number)[] | undefined;
}>>, Record<string, {
GREATER_THAN?: number | undefined;
LESS_THAN?: number | undefined;
EQUAL_TO?: string | number | undefined;
NOT_EQUAL_TO?: string | number | undefined;
LESS_THAN_OR_EQUAL_TO?: number | undefined;
GREATER_THAN_OR_EQUAL_TO?: number | undefined;
IN?: string | (string | number)[] | undefined;
NOT_IN?: string | (string | number)[] | undefined;
}>, Record<string, {
GREATER_THAN?: number | undefined;
LESS_THAN?: number | undefined;
EQUAL_TO?: string | number | undefined;
NOT_EQUAL_TO?: string | number | undefined;
LESS_THAN_OR_EQUAL_TO?: number | undefined;
GREATER_THAN_OR_EQUAL_TO?: number | undefined;
IN?: string | (string | number)[] | undefined;
NOT_IN?: string | (string | number)[] | undefined;
}>>;

@@ -123,0 +205,0 @@ scenarioId: z.ZodOptional<z.ZodString>;

@@ -7,2 +7,3 @@ export * from "./kyc.js";

export * from "./proofRequests.js";
export * from "./execute-challenge-query.js";
//# sourceMappingURL=index.d.ts.map

20

dist/declarations/src/compliance/personal-data.d.ts

@@ -44,2 +44,4 @@ import type { Alpha3Code } from "i18n-iso-countries";

gender: z.ZodOptional<z.ZodString>;
documentType: z.ZodOptional<z.ZodString>;
citizenship: z.ZodType<Alpha3CodeWithNullString, z.ZodTypeDef, Alpha3CodeWithNullString>;
addressLine1: z.ZodOptional<z.ZodString>;

@@ -49,4 +51,2 @@ addressLine2: z.ZodOptional<z.ZodString>;

age: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>;
citizenship: z.ZodType<Alpha3CodeWithNullString, z.ZodTypeDef, Alpha3CodeWithNullString>;
documentType: z.ZodOptional<z.ZodString>;
city: z.ZodOptional<z.ZodString>;

@@ -67,2 +67,3 @@ province: z.ZodOptional<z.ZodString>;

gender?: string | undefined;
documentType?: string | undefined;
addressLine1?: string | undefined;

@@ -72,3 +73,2 @@ addressLine2?: string | undefined;

age?: string | undefined;
documentType?: string | undefined;
city?: string | undefined;

@@ -88,2 +88,3 @@ province?: string | undefined;

gender?: string | undefined;
documentType?: string | undefined;
addressLine1?: string | undefined;

@@ -93,3 +94,2 @@ addressLine2?: string | undefined;

age?: unknown;
documentType?: string | undefined;
city?: string | undefined;

@@ -156,2 +156,4 @@ province?: string | undefined;

gender: z.ZodOptional<z.ZodString>;
documentType: z.ZodOptional<z.ZodString>;
citizenship: z.ZodType<Alpha3CodeWithNullString, z.ZodTypeDef, Alpha3CodeWithNullString>;
addressLine1: z.ZodOptional<z.ZodString>;

@@ -161,4 +163,2 @@ addressLine2: z.ZodOptional<z.ZodString>;

age: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>;
citizenship: z.ZodType<Alpha3CodeWithNullString, z.ZodTypeDef, Alpha3CodeWithNullString>;
documentType: z.ZodOptional<z.ZodString>;
city: z.ZodOptional<z.ZodString>;

@@ -179,2 +179,3 @@ province: z.ZodOptional<z.ZodString>;

gender?: string | undefined;
documentType?: string | undefined;
addressLine1?: string | undefined;

@@ -184,3 +185,2 @@ addressLine2?: string | undefined;

age?: string | undefined;
documentType?: string | undefined;
city?: string | undefined;

@@ -200,2 +200,3 @@ province?: string | undefined;

gender?: string | undefined;
documentType?: string | undefined;
addressLine1?: string | undefined;

@@ -205,3 +206,2 @@ addressLine2?: string | undefined;

age?: unknown;
documentType?: string | undefined;
city?: string | undefined;

@@ -248,2 +248,3 @@ province?: string | undefined;

gender?: string | undefined;
documentType?: string | undefined;
addressLine1?: string | undefined;

@@ -253,3 +254,2 @@ addressLine2?: string | undefined;

age?: string | undefined;
documentType?: string | undefined;
city?: string | undefined;

@@ -288,2 +288,3 @@ province?: string | undefined;

gender?: string | undefined;
documentType?: string | undefined;
addressLine1?: string | undefined;

@@ -293,3 +294,2 @@ addressLine2?: string | undefined;

age?: unknown;
documentType?: string | undefined;
city?: string | undefined;

@@ -296,0 +296,0 @@ province?: string | undefined;

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

journeyId: string;
base64: string;
documentType: string;
base64: string;
}, {

@@ -19,5 +19,5 @@ id: string;

journeyId: string;
base64: string;
documentType: string;
base64: string;
}>;
//# sourceMappingURL=IDScanPassportCredentialSubjectSchema.d.ts.map

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

journeyId: string;
base64: string;
documentType: string;
base64: string;
}, {

@@ -19,5 +19,5 @@ id: string;

journeyId: string;
base64: string;
documentType: string;
base64: string;
}>;
//# sourceMappingURL=IDScanSelfieCredentialSubjectSchema.d.ts.map

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

country: string;
base64: string;
documentType: string;
base64: string;
}, {

@@ -22,5 +22,5 @@ id: string;

country: string;
base64: string;
documentType: string;
base64: string;
}>;
//# sourceMappingURL=ProofOfResidenceCredentialSubjectSchema.d.ts.map

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

var i18nIsoCountries = require('i18n-iso-countries');
var compliance_executeChallengeQuery_dist_nexeraprotocolNexeraIdSchemasComplianceExecuteChallengeQuery = require('../compliance/execute-challenge-query/dist/nexeraprotocol-nexera-id-schemas-compliance-execute-challenge-query.cjs.dev.js');

@@ -582,2 +583,6 @@ //AuthenticateSP

exports.removeEmptyStringAttributes = vcSchemas.removeEmptyStringAttributes;
exports.ExecuteChallengeQueryConfigSchema = compliance_executeChallengeQuery_dist_nexeraprotocolNexeraIdSchemasComplianceExecuteChallengeQuery.ExecuteChallengeQueryConfigSchema;
exports.ExecuteChallengeQueryInputSchema = compliance_executeChallengeQuery_dist_nexeraprotocolNexeraIdSchemasComplianceExecuteChallengeQuery.ExecuteChallengeQueryInputSchema;
exports.ExecuteChallengeQueryResonseSchema = compliance_executeChallengeQuery_dist_nexeraprotocolNexeraIdSchemasComplianceExecuteChallengeQuery.ExecuteChallengeQueryResonseSchema;
exports.querySchema = compliance_executeChallengeQuery_dist_nexeraprotocolNexeraIdSchemasComplianceExecuteChallengeQuery.querySchema;
exports.Address0xSchema = Address0xSchema;

@@ -584,0 +589,0 @@ exports.AddressSchema = AddressSchema;

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

var i18nIsoCountries = require('i18n-iso-countries');
var compliance_executeChallengeQuery_dist_nexeraprotocolNexeraIdSchemasComplianceExecuteChallengeQuery = require('../compliance/execute-challenge-query/dist/nexeraprotocol-nexera-id-schemas-compliance-execute-challenge-query.cjs.prod.js');

@@ -582,2 +583,6 @@ //AuthenticateSP

exports.removeEmptyStringAttributes = vcSchemas.removeEmptyStringAttributes;
exports.ExecuteChallengeQueryConfigSchema = compliance_executeChallengeQuery_dist_nexeraprotocolNexeraIdSchemasComplianceExecuteChallengeQuery.ExecuteChallengeQueryConfigSchema;
exports.ExecuteChallengeQueryInputSchema = compliance_executeChallengeQuery_dist_nexeraprotocolNexeraIdSchemasComplianceExecuteChallengeQuery.ExecuteChallengeQueryInputSchema;
exports.ExecuteChallengeQueryResonseSchema = compliance_executeChallengeQuery_dist_nexeraprotocolNexeraIdSchemasComplianceExecuteChallengeQuery.ExecuteChallengeQueryResonseSchema;
exports.querySchema = compliance_executeChallengeQuery_dist_nexeraprotocolNexeraIdSchemasComplianceExecuteChallengeQuery.querySchema;
exports.Address0xSchema = Address0xSchema;

@@ -584,0 +589,0 @@ exports.AddressSchema = AddressSchema;

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

import { getAlpha3Codes } from 'i18n-iso-countries';
export { ExecuteChallengeQueryConfigSchema, ExecuteChallengeQueryInputSchema, ExecuteChallengeQueryResonseSchema, querySchema } from '../compliance/execute-challenge-query/dist/nexeraprotocol-nexera-id-schemas-compliance-execute-challenge-query.esm.js';

@@ -8,0 +9,0 @@ //AuthenticateSP

{
"name": "@nexeraprotocol/nexera-id-schemas",
"version": "1.5.7",
"version": "1.6.0",
"description": "",

@@ -40,2 +40,3 @@ "main": "dist/nexeraprotocol-nexera-id-schemas.cjs.js",

"/compliance/kyc",
"/compliance/frontend-utilities",
"/api",

@@ -52,2 +53,3 @@ "/stats"

"compliance/execute-scenario.ts",
"compliance/frontend-utilities.ts",
"compliance/kyc.ts",

@@ -54,0 +56,0 @@ "stats.ts"

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

require('i18n-iso-countries');
require('../../compliance/execute-challenge-query/dist/nexeraprotocol-nexera-id-schemas-compliance-execute-challenge-query.cjs.dev.js');

@@ -12,0 +13,0 @@ var NameTypeSchema = zod.z.object({

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

require('i18n-iso-countries');
require('../../compliance/execute-challenge-query/dist/nexeraprotocol-nexera-id-schemas-compliance-execute-challenge-query.cjs.prod.js');

@@ -12,0 +13,0 @@ var NameTypeSchema = zod.z.object({

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

import 'i18n-iso-countries';
import '../../compliance/execute-challenge-query/dist/nexeraprotocol-nexera-id-schemas-compliance-execute-challenge-query.esm.js';

@@ -8,0 +9,0 @@ var NameTypeSchema = z.object({

{
"name": "@nexeraprotocol/nexera-id-schemas",
"version": "1.5.7",
"version": "1.6.0",
"description": "",

@@ -15,2 +15,3 @@ "main": "dist/nexeraprotocol-nexera-id-schemas.cjs.js",

"/compliance/kyc",
"/compliance/frontend-utilities",
"/api",

@@ -27,2 +28,3 @@ "/stats"

"compliance/execute-scenario.ts",
"compliance/frontend-utilities.ts",
"compliance/kyc.ts",

@@ -29,0 +31,0 @@ "stats.ts"

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

require('../../dist/vc-schemas-c7f2970f.cjs.dev.js');
require('../../compliance/execute-challenge-query/dist/nexeraprotocol-nexera-id-schemas-compliance-execute-challenge-query.cjs.dev.js');
require('i18n-iso-countries');

@@ -13,0 +14,0 @@

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

require('../../dist/vc-schemas-2b7388fd.cjs.prod.js');
require('../../compliance/execute-challenge-query/dist/nexeraprotocol-nexera-id-schemas-compliance-execute-challenge-query.cjs.prod.js');
require('i18n-iso-countries');

@@ -13,0 +14,0 @@

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

import '../../dist/vc-schemas-bb808ea2.esm.js';
import '../../compliance/execute-challenge-query/dist/nexeraprotocol-nexera-id-schemas-compliance-execute-challenge-query.esm.js';
import 'i18n-iso-countries';

@@ -9,0 +10,0 @@

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

require('i18n-iso-countries');
require('../../compliance/execute-challenge-query/dist/nexeraprotocol-nexera-id-schemas-compliance-execute-challenge-query.cjs.dev.js');

@@ -13,0 +14,0 @@ var TransactionTypes = ["mint_mnft", "deploy_smart_wallet", "create_rule", "assign_rule", "delete_rule", "transfer_to_smart_wallet", "transfer_from_smart_wallet", "transfer", "wrap", "unwrap", "create_approval", "delete_approval", "unknown", "approval", "mnft_recovery", "api", "execute_action"];

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

require('i18n-iso-countries');
require('../../compliance/execute-challenge-query/dist/nexeraprotocol-nexera-id-schemas-compliance-execute-challenge-query.cjs.prod.js');

@@ -13,0 +14,0 @@ var TransactionTypes = ["mint_mnft", "deploy_smart_wallet", "create_rule", "assign_rule", "delete_rule", "transfer_to_smart_wallet", "transfer_from_smart_wallet", "transfer", "wrap", "unwrap", "create_approval", "delete_approval", "unknown", "approval", "mnft_recovery", "api", "execute_action"];

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

import 'i18n-iso-countries';
import '../../compliance/execute-challenge-query/dist/nexeraprotocol-nexera-id-schemas-compliance-execute-challenge-query.esm.js';

@@ -9,0 +10,0 @@ var TransactionTypes = ["mint_mnft", "deploy_smart_wallet", "create_rule", "assign_rule", "delete_rule", "transfer_to_smart_wallet", "transfer_from_smart_wallet", "transfer", "wrap", "unwrap", "create_approval", "delete_approval", "unknown", "approval", "mnft_recovery", "api", "execute_action"];

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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