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.8.36 to 1.8.37

dist/general-vc-typing-398262dc.esm.js

4

compliance/create-scenario-from-template/dist/nexeraprotocol-nexera-id-schemas-compliance-create-scenario-from-template.esm.js
import { z } from 'zod';
import { b as Scenario } from '../../../dist/identity-sdk-3e330499.esm.js';
import { b as Scenario } from '../../../dist/identity-sdk-a8d810ef.esm.js';
import '../../../api/dist/nexeraprotocol-nexera-id-schemas-api.esm.js';
import '../../../dist/customTypes-e6c95af0.esm.js';
import '../../execute-challenge-query/dist/nexeraprotocol-nexera-id-schemas-compliance-execute-challenge-query.esm.js';
import '../../../dist/general-vc-typing-8f537a7e.esm.js';
import '../../../dist/general-vc-typing-398262dc.esm.js';

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

import { z } from 'zod';
import { AuthorizationConfig } from '../../../api/dist/nexeraprotocol-nexera-id-schemas-api.esm.js';
import { G as GenericVerifiableCredentialSchema } from '../../../dist/general-vc-typing-8f537a7e.esm.js';
import { G as GenericVerifiableCredentialSchema } from '../../../dist/general-vc-typing-398262dc.esm.js';
import '../../../dist/customTypes-e6c95af0.esm.js';

@@ -5,0 +5,0 @@

import { _ as _defineProperty } from '../../../dist/defineProperty-323b1731.esm.js';
import { z } from 'zod';
import { AuthorizationConfig } from '../../../api/dist/nexeraprotocol-nexera-id-schemas-api.esm.js';
import { G as GenericVerifiableCredentialSchema } from '../../../dist/general-vc-typing-8f537a7e.esm.js';
import { G as GenericVerifiableCredentialSchema } from '../../../dist/general-vc-typing-398262dc.esm.js';
import '../../../dist/customTypes-e6c95af0.esm.js';

@@ -6,0 +6,0 @@

@@ -601,2 +601,38 @@ import type { AuthorizationRequestMessage, AuthorizationResponseMessage } from "@0xpolygonid/js-sdk";

export type ProjectAuthorizationData = z.infer<typeof ProjectAuthorizationData>;
export declare const ScenarioOnChainRequests: z.ZodObject<{
verifierContractAddress: z.ZodString;
zeroKnowledgeProofRequests: z.ZodArray<z.ZodObject<{
id: z.ZodNumber;
circuitId: z.ZodString;
optional: z.ZodOptional<z.ZodBoolean>;
query: z.ZodRecord<z.ZodString, z.ZodUnknown>;
}, "strip", z.ZodTypeAny, {
id: number;
query: Record<string, unknown>;
circuitId: string;
optional?: boolean | undefined;
}, {
id: number;
query: Record<string, unknown>;
circuitId: string;
optional?: boolean | undefined;
}>, "many">;
}, "strip", z.ZodTypeAny, {
zeroKnowledgeProofRequests: {
id: number;
query: Record<string, unknown>;
circuitId: string;
optional?: boolean | undefined;
}[];
verifierContractAddress: string;
}, {
zeroKnowledgeProofRequests: {
id: number;
query: Record<string, unknown>;
circuitId: string;
optional?: boolean | undefined;
}[];
verifierContractAddress: string;
}>;
export type ScenarioOnChainRequests = z.infer<typeof ScenarioOnChainRequests>;
//# sourceMappingURL=zkps.d.ts.map

@@ -318,2 +318,18 @@ 'use strict';

var IdentityMessage = zod.z.union([IdentityNotificationMessage, IdentityRequestMessage, IdentityResponseMessage]);
var RequiredVerificationData = zod.z.object({
forRules: zod.z.object({
credentialTypes: zod.z.array(generalVcTyping.CredentialType)
}),
forZeroKnowledgeProofRequests: zod.z.object({
types: zod.z.array(generalVcTyping.CredentialType),
conditions: zod.z.array(identitySdk.AuthorizationZeroKnowledgeProofRequest)
}),
forOnChainVerification: zod.z.object({
types: zod.z.array(generalVcTyping.CredentialType),
verifications: zod.z.array(zod.z.object({
verifierContractAddress: zod.z.string(),
conditions: zod.z.array(identitySdk.AuthorizationZeroKnowledgeProofRequest)
}))
})
});

@@ -540,2 +556,11 @@ // ** Fields **

});
var ScenarioOnChainRequests = zod.z.object({
verifierContractAddress: zod.z.string(),
zeroKnowledgeProofRequests: zod.z.array(zod.z.object({
id: zod.z.number(),
circuitId: zod.z.string(),
optional: zod.z["boolean"]().optional(),
query: zod.z.record(zod.z.unknown())
}))
});

@@ -665,4 +690,6 @@ var EnvironmentSchema = zod.z.union([zod.z.literal("local"), zod.z.literal("dev"), zod.z.literal("stage"), zod.z.literal("prod")]);

exports.ProofOfResidenceSchema = ProofOfResidenceSchema;
exports.RequiredVerificationData = RequiredVerificationData;
exports.ScenarioAuthorizationData = ScenarioAuthorizationData;
exports.ScenarioExecutionNotification = ScenarioExecutionNotification;
exports.ScenarioOnChainRequests = ScenarioOnChainRequests;
exports.SendTransactionRequest = SendTransactionRequest;

@@ -669,0 +696,0 @@ exports.SignatureRequest = SignatureRequest;

@@ -318,2 +318,18 @@ 'use strict';

var IdentityMessage = zod.z.union([IdentityNotificationMessage, IdentityRequestMessage, IdentityResponseMessage]);
var RequiredVerificationData = zod.z.object({
forRules: zod.z.object({
credentialTypes: zod.z.array(generalVcTyping.CredentialType)
}),
forZeroKnowledgeProofRequests: zod.z.object({
types: zod.z.array(generalVcTyping.CredentialType),
conditions: zod.z.array(identitySdk.AuthorizationZeroKnowledgeProofRequest)
}),
forOnChainVerification: zod.z.object({
types: zod.z.array(generalVcTyping.CredentialType),
verifications: zod.z.array(zod.z.object({
verifierContractAddress: zod.z.string(),
conditions: zod.z.array(identitySdk.AuthorizationZeroKnowledgeProofRequest)
}))
})
});

@@ -540,2 +556,11 @@ // ** Fields **

});
var ScenarioOnChainRequests = zod.z.object({
verifierContractAddress: zod.z.string(),
zeroKnowledgeProofRequests: zod.z.array(zod.z.object({
id: zod.z.number(),
circuitId: zod.z.string(),
optional: zod.z["boolean"]().optional(),
query: zod.z.record(zod.z.unknown())
}))
});

@@ -665,4 +690,6 @@ var EnvironmentSchema = zod.z.union([zod.z.literal("local"), zod.z.literal("dev"), zod.z.literal("stage"), zod.z.literal("prod")]);

exports.ProofOfResidenceSchema = ProofOfResidenceSchema;
exports.RequiredVerificationData = RequiredVerificationData;
exports.ScenarioAuthorizationData = ScenarioAuthorizationData;
exports.ScenarioExecutionNotification = ScenarioExecutionNotification;
exports.ScenarioOnChainRequests = ScenarioOnChainRequests;
exports.SendTransactionRequest = SendTransactionRequest;

@@ -669,0 +696,0 @@ exports.SignatureRequest = SignatureRequest;

import { z } from 'zod';
import { V as VerifiableCredential, C as CredentialTypes, _ as _typeof, K as KYCAgeCredentialSubjectSchema, I as ID3CredentialSubjectSchema, a as IDScanCredentialSubjectSchema, b as IDScanPassportCredentialSubjectSchema, c as IDScanSelfieCredentialSubjectSchema, P as ProofOfResidenceCredentialSubjectSchema } from './general-vc-typing-8f537a7e.esm.js';
export { d as CredentialSchemas, e as CredentialType, G as GenericVerifiableCredentialSchema, N as NexeraCredentialType, r as removeEmptyAttributes } from './general-vc-typing-8f537a7e.esm.js';
export { v as ANALYSIS_TYPES, q as AliasesSchema, o as AliasesStringSchema, w as AnalysisType, a as ApplicantAuthorizationRequest, c as AuthAccessToken, g as AuthenticateSPResultSchema, A as AuthorizationZeroKnowledgeProofRequest, B as BLOCKCHAIN_TYPES, z as Blockchain, C as Coin, E as ExtractedFieldSchema, F as FullGBGScanResponseSimpleSchema, h as GBGAuthenticateSPDataSchema, u as GBGID3DataSchema, k as GBGPepIntelligenceDataSchema, r as GBGPersonalDetailsSchema, G as GBGSanctionsEnforcementsDataSchema, t as GBGScanResponseCompleteSchema, s as GBGScanResponseSimpleSchema, m as GlobalSanctionsAddressSchema, I as Identifier, d as IntegerOrArrayOfIntegerSchema, x as OBJECT_TYPES, y as ObjectType, O as OnChainVerificationRequest, j as PepIntelligenceResultSchema, P as ProjectData, R as RequiredCredentials, D as RiskSeverity, e as SanctionsBodiesSchema, f as SanctionsEnforcementsResultSchema, b as Scenario, S as ScorechainConfig, J as ScoringAnalysisRequest, H as ScoringAnalysisResponse, n as StringOrArrayOfStringSchema, i as parseGBGAuthenticateSPData, l as parseGBGPepIntelligence, p as parseGBGSanctionsEnforcement } from './identity-sdk-3e330499.esm.js';
import { V as VerifiableCredential, C as CredentialTypes, a as CredentialType, _ as _typeof, K as KYCAgeCredentialSubjectSchema, I as ID3CredentialSubjectSchema, b as IDScanCredentialSubjectSchema, c as IDScanPassportCredentialSubjectSchema, d as IDScanSelfieCredentialSubjectSchema, P as ProofOfResidenceCredentialSubjectSchema } from './general-vc-typing-398262dc.esm.js';
export { e as CredentialSchemas, G as GenericVerifiableCredentialSchema, N as NexeraCredentialType, r as removeEmptyAttributes } from './general-vc-typing-398262dc.esm.js';
import { A as AuthorizationZeroKnowledgeProofRequest } from './identity-sdk-a8d810ef.esm.js';
export { v as ANALYSIS_TYPES, q as AliasesSchema, o as AliasesStringSchema, w as AnalysisType, a as ApplicantAuthorizationRequest, c as AuthAccessToken, g as AuthenticateSPResultSchema, B as BLOCKCHAIN_TYPES, z as Blockchain, C as Coin, E as ExtractedFieldSchema, F as FullGBGScanResponseSimpleSchema, h as GBGAuthenticateSPDataSchema, u as GBGID3DataSchema, k as GBGPepIntelligenceDataSchema, r as GBGPersonalDetailsSchema, G as GBGSanctionsEnforcementsDataSchema, t as GBGScanResponseCompleteSchema, s as GBGScanResponseSimpleSchema, m as GlobalSanctionsAddressSchema, I as Identifier, d as IntegerOrArrayOfIntegerSchema, x as OBJECT_TYPES, y as ObjectType, O as OnChainVerificationRequest, j as PepIntelligenceResultSchema, P as ProjectData, R as RequiredCredentials, D as RiskSeverity, e as SanctionsBodiesSchema, f as SanctionsEnforcementsResultSchema, b as Scenario, S as ScorechainConfig, J as ScoringAnalysisRequest, H as ScoringAnalysisResponse, n as StringOrArrayOfStringSchema, i as parseGBGAuthenticateSPData, l as parseGBGPepIntelligence, p as parseGBGSanctionsEnforcement } from './identity-sdk-a8d810ef.esm.js';
import { getAlpha3Codes } from 'i18n-iso-countries';

@@ -317,2 +318,18 @@ export { ChallengeQuerySchema, ExecuteChallengeQueryConfig, ExecuteChallengeQueryInput, ExecuteChallengeQueryResponse } from '../compliance/execute-challenge-query/dist/nexeraprotocol-nexera-id-schemas-compliance-execute-challenge-query.esm.js';

var IdentityMessage = z.union([IdentityNotificationMessage, IdentityRequestMessage, IdentityResponseMessage]);
var RequiredVerificationData = z.object({
forRules: z.object({
credentialTypes: z.array(CredentialType)
}),
forZeroKnowledgeProofRequests: z.object({
types: z.array(CredentialType),
conditions: z.array(AuthorizationZeroKnowledgeProofRequest)
}),
forOnChainVerification: z.object({
types: z.array(CredentialType),
verifications: z.array(z.object({
verifierContractAddress: z.string(),
conditions: z.array(AuthorizationZeroKnowledgeProofRequest)
}))
})
});

@@ -539,5 +556,14 @@ // ** Fields **

});
var ScenarioOnChainRequests = z.object({
verifierContractAddress: z.string(),
zeroKnowledgeProofRequests: z.array(z.object({
id: z.number(),
circuitId: z.string(),
optional: z["boolean"]().optional(),
query: z.record(z.unknown())
}))
});
var EnvironmentSchema = z.union([z.literal("local"), z.literal("dev"), z.literal("stage"), z.literal("prod")]);
export { AVAILABLE_FLOWS, AvailableFlow, BirthdaySchema, CloseScreenNotification, CreateAuthRequestProps, CreateZKProofRequestProps, CredentialSubjectsUnion, CredentialTypes, DataAvailableOnStart, DownloadableKycSchema, EmailAddressSchema, EncryptedKycKey, EncryptedVerifiableCredentialDataSchema, EncryptedVerifiableCredentialSchema, EnvironmentSchema, GetCredentialsRequest, GetCredentialsResponse, HostMessage, HostRequestMessage, HostResponseMessage, ID3, ID3CredentialSubjectSchema, IDScan, IDScanCredentialSubjectSchema, IDScanPassportCredentialSubjectSchema, IDScanSelfieCredentialSubjectSchema, IdentityMessage, IdentityNotificationMessage, IdentityRequestMessage, IdentityResponseMessage, InitialDataRequest, InitialDataResponse, KYCAgeCredential, KYCAgeCredentialSubjectSchema, KycCompletionData, KycCompletionNotification, OperatorEnum, OriginalPersonalDetailsSchema, PersonalDataSchema, PersonalDetailFieldSchema, PersonalDetailsSchema, PolygonIdInitialized, PolygonIdRequest, PolygonIdRequestData, PolygonIdResponse, PolygonIdResponseData, ProjectAuthorizationData, ProofOfResidenceCredentialSubjectSchema, ProofOfResidenceSchema, ScenarioAuthorizationData, ScenarioExecutionNotification, SendTransactionRequest, SignatureRequest, SignatureResponse, SimplifiedCredential, StartFlowRequest, SumsubApplicantAddressSchema, SumsubApplicantInfoSchema, SumsubApplicationDataSchema, TransactionData, TransactionResponse, VerifiableCredential, getCredentialSchemaLocation, stringifyAndSortPersonalData };
export { AVAILABLE_FLOWS, AuthorizationZeroKnowledgeProofRequest, AvailableFlow, BirthdaySchema, CloseScreenNotification, CreateAuthRequestProps, CreateZKProofRequestProps, CredentialSubjectsUnion, CredentialType, CredentialTypes, DataAvailableOnStart, DownloadableKycSchema, EmailAddressSchema, EncryptedKycKey, EncryptedVerifiableCredentialDataSchema, EncryptedVerifiableCredentialSchema, EnvironmentSchema, GetCredentialsRequest, GetCredentialsResponse, HostMessage, HostRequestMessage, HostResponseMessage, ID3, ID3CredentialSubjectSchema, IDScan, IDScanCredentialSubjectSchema, IDScanPassportCredentialSubjectSchema, IDScanSelfieCredentialSubjectSchema, IdentityMessage, IdentityNotificationMessage, IdentityRequestMessage, IdentityResponseMessage, InitialDataRequest, InitialDataResponse, KYCAgeCredential, KYCAgeCredentialSubjectSchema, KycCompletionData, KycCompletionNotification, OperatorEnum, OriginalPersonalDetailsSchema, PersonalDataSchema, PersonalDetailFieldSchema, PersonalDetailsSchema, PolygonIdInitialized, PolygonIdRequest, PolygonIdRequestData, PolygonIdResponse, PolygonIdResponseData, ProjectAuthorizationData, ProofOfResidenceCredentialSubjectSchema, ProofOfResidenceSchema, RequiredVerificationData, ScenarioAuthorizationData, ScenarioExecutionNotification, ScenarioOnChainRequests, SendTransactionRequest, SignatureRequest, SignatureResponse, SimplifiedCredential, StartFlowRequest, SumsubApplicantAddressSchema, SumsubApplicantInfoSchema, SumsubApplicationDataSchema, TransactionData, TransactionResponse, VerifiableCredential, getCredentialSchemaLocation, stringifyAndSortPersonalData };
{
"name": "@nexeraprotocol/nexera-id-schemas",
"version": "1.8.36",
"version": "1.8.37",
"description": "",

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

{
"name": "@nexeraprotocol/nexera-id-schemas",
"version": "1.8.36",
"version": "1.8.37",
"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 not supported yet

Sorry, the diff of this file is not supported yet

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