@nexeraid/identity-sdk
Advanced tools
Comparing version 1.1.17 to 1.1.18
@@ -5,5 +5,9 @@ 'use strict'; | ||
var z = require('zod'); | ||
var kyc = require('@nexeraprotocol/nexera-id-schemas/compliance/kyc'); | ||
var zod = require('zod'); | ||
function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; } | ||
var z__default = /*#__PURE__*/_interopDefault(z); | ||
function _regeneratorRuntime() { | ||
@@ -408,3 +412,3 @@ _regeneratorRuntime = function () { | ||
var KYCDataResponses = ["onStartKyc", "signature"]; | ||
var KYCDataResponseSchema = zod.z["enum"](KYCDataResponses); | ||
var KYCDataResponseSchema = z__default["default"]["enum"](KYCDataResponses); | ||
@@ -411,0 +415,0 @@ /** |
@@ -5,5 +5,9 @@ 'use strict'; | ||
var z = require('zod'); | ||
var kyc = require('@nexeraprotocol/nexera-id-schemas/compliance/kyc'); | ||
var zod = require('zod'); | ||
function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; } | ||
var z__default = /*#__PURE__*/_interopDefault(z); | ||
function _regeneratorRuntime() { | ||
@@ -408,3 +412,3 @@ _regeneratorRuntime = function () { | ||
var KYCDataResponses = ["onStartKyc", "signature"]; | ||
var KYCDataResponseSchema = zod.z["enum"](KYCDataResponses); | ||
var KYCDataResponseSchema = z__default["default"]["enum"](KYCDataResponses); | ||
@@ -411,0 +415,0 @@ /** |
@@ -0,3 +1,3 @@ | ||
import z from 'zod'; | ||
import { KycSdkResponsesSchema, KycCompletionDataSchema } from '@nexeraprotocol/nexera-id-schemas/compliance/kyc'; | ||
import { z } from 'zod'; | ||
@@ -4,0 +4,0 @@ function _regeneratorRuntime() { |
@@ -0,1 +1,2 @@ | ||
import z from "zod"; | ||
import type { Environment } from "@nexeraprotocol/nexera-id-schemas"; | ||
@@ -6,2 +7,4 @@ import type { KycCompletionData } from "@nexeraprotocol/nexera-id-schemas/compliance/kyc"; | ||
export * from "./types/actions.js"; | ||
export declare const KYCDataResponses: readonly ["onStartKyc", "signature"]; | ||
export declare const KYCDataResponseSchema: z.ZodEnum<["onStartKyc", "signature"]>; | ||
/** | ||
@@ -53,13 +56,13 @@ * Represents the configuration object for the IdentityClient. | ||
*/ | ||
onKycCompletion: (kycCompletionCallback: (data: import("zod").objectOutputType<{ | ||
issuer: import("zod").ZodString; | ||
type: import("zod").ZodArray<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodPipeline<import("zod").ZodEffects<import("zod").ZodString, string, string>, import("zod").ZodEnum<["ID3", "ProofOfResidence", "IDScanSelfie", "IDScanPassport", "IDScan", "KYCAgeCredential"]>>]>, "many">; | ||
credentialSubject: import("zod").ZodObject<{ | ||
journeyId: import("zod").ZodString; | ||
}, "strip", import("zod").ZodAny, import("zod").objectOutputType<{ | ||
journeyId: import("zod").ZodString; | ||
}, import("zod").ZodAny, "strip">, import("zod").objectInputType<{ | ||
journeyId: import("zod").ZodString; | ||
}, import("zod").ZodAny, "strip">>; | ||
}, import("zod").ZodAny, "strip">[]) => void) => void; | ||
onKycCompletion: (kycCompletionCallback: (data: z.objectOutputType<{ | ||
issuer: z.ZodString; | ||
type: z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, z.ZodEnum<["ID3", "ProofOfResidence", "IDScanSelfie", "IDScanPassport", "IDScan", "KYCAgeCredential"]>>]>, "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">[]) => void) => void; | ||
/** | ||
@@ -103,1 +106,2 @@ * Set a callback for handling the closing of the kyc modal. | ||
export default IdentityClient; | ||
//# sourceMappingURL=client.d.ts.map |
@@ -1,2 +0,1 @@ | ||
import { z } from "zod"; | ||
import type { DataAvailableOnStart, KycCompletionData } from "@nexeraprotocol/nexera-id-schemas/compliance/kyc"; | ||
@@ -9,3 +8,2 @@ export type Callbacks = { | ||
}; | ||
export declare const KYCDataResponses: readonly ["onStartKyc", "signature"]; | ||
export declare const KYCDataResponseSchema: z.ZodEnum<["onStartKyc", "signature"]>; | ||
//# sourceMappingURL=actions.d.ts.map |
@@ -12,1 +12,2 @@ import type { KycCompletionData } from "@nexeraprotocol/nexera-id-schemas/compliance/kyc"; | ||
}; | ||
//# sourceMappingURL=client.d.ts.map |
{ | ||
"name": "@nexeraid/identity-sdk", | ||
"version": "1.1.17", | ||
"version": "1.1.18", | ||
"description": "Nexera ID Identity Verification SDK", | ||
@@ -5,0 +5,0 @@ "main": "dist/nexeraprotocol-identity-sdk.cjs.js", |
{ | ||
"name": "@nexeraid/identity-sdk", | ||
"version": "1.1.17", | ||
"version": "1.1.18", | ||
"description": "Nexera ID Identity Verification SDK", | ||
@@ -23,3 +23,3 @@ "main": "dist/nexeraprotocol-identity-sdk.cjs.js", | ||
"zod": "^3.22.1", | ||
"@nexeraprotocol/nexera-id-schemas": "1.5.2" | ||
"@nexeraprotocol/nexera-id-schemas": "1.5.3" | ||
}, | ||
@@ -26,0 +26,0 @@ "devDependencies": { |
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
104325
16
1998
+ Added@nexeraprotocol/nexera-id-schemas@1.5.3(transitive)
- Removed@cspotcode/source-map-support@0.8.1(transitive)
- Removed@jridgewell/resolve-uri@3.1.2(transitive)
- Removed@jridgewell/sourcemap-codec@1.5.0(transitive)
- Removed@jridgewell/trace-mapping@0.3.9(transitive)
- Removed@nexeraprotocol/nexera-id-schemas@1.5.2(transitive)
- Removed@tsconfig/node10@1.0.11(transitive)
- Removed@tsconfig/node12@1.0.11(transitive)
- Removed@tsconfig/node14@1.0.3(transitive)
- Removed@tsconfig/node16@1.0.4(transitive)
- Removed@types/chai@4.3.20(transitive)
- Removed@types/mocha@10.0.10(transitive)
- Removed@types/node@22.10.2(transitive)
- Removedacorn@8.14.0(transitive)
- Removedacorn-walk@8.3.4(transitive)
- Removedansi-colors@4.1.3(transitive)
- Removedansi-regex@5.0.1(transitive)
- Removedansi-styles@4.3.0(transitive)
- Removedanymatch@3.1.3(transitive)
- Removedarg@4.1.3(transitive)
- Removedargparse@2.0.1(transitive)
- Removedassertion-error@1.1.0(transitive)
- Removedbalanced-match@1.0.2(transitive)
- Removedbinary-extensions@2.3.0(transitive)
- Removedbrace-expansion@2.0.1(transitive)
- Removedbraces@3.0.3(transitive)
- Removedbrowser-stdout@1.3.1(transitive)
- Removedcamelcase@6.3.0(transitive)
- Removedchai@4.5.0(transitive)
- Removedchalk@4.1.2(transitive)
- Removedcheck-error@1.0.3(transitive)
- Removedchokidar@3.6.0(transitive)
- Removedcliui@7.0.4(transitive)
- Removedcolor-convert@2.0.1(transitive)
- Removedcolor-name@1.1.4(transitive)
- Removedcreate-require@1.1.1(transitive)
- Removeddebug@4.4.0(transitive)
- Removeddecamelize@4.0.0(transitive)
- Removeddeep-eql@4.1.4(transitive)
- Removeddiff@4.0.25.2.0(transitive)
- Removedemoji-regex@8.0.0(transitive)
- Removedescalade@3.2.0(transitive)
- Removedescape-string-regexp@4.0.0(transitive)
- Removedfill-range@7.1.1(transitive)
- Removedfind-up@5.0.0(transitive)
- Removedflat@5.0.2(transitive)
- Removedfs.realpath@1.0.0(transitive)
- Removedfsevents@2.3.3(transitive)
- Removedget-caller-file@2.0.5(transitive)
- Removedget-func-name@2.0.2(transitive)
- Removedglob@8.1.0(transitive)
- Removedglob-parent@5.1.2(transitive)
- Removedhas-flag@4.0.0(transitive)
- Removedhe@1.2.0(transitive)
- Removedinflight@1.0.6(transitive)
- Removedis-binary-path@2.1.0(transitive)
- Removedis-extglob@2.1.1(transitive)
- Removedis-fullwidth-code-point@3.0.0(transitive)
- Removedis-glob@4.0.3(transitive)
- Removedis-number@7.0.0(transitive)
- Removedis-plain-obj@2.1.0(transitive)
- Removedis-unicode-supported@0.1.0(transitive)
- Removedjs-yaml@4.1.0(transitive)
- Removedlocate-path@6.0.0(transitive)
- Removedlog-symbols@4.1.0(transitive)
- Removedloupe@2.3.7(transitive)
- Removedmake-error@1.3.6(transitive)
- Removedminimatch@5.1.6(transitive)
- Removedmocha@10.8.2(transitive)
- Removedms@2.1.3(transitive)
- Removednormalize-path@3.0.0(transitive)
- Removedonce@1.4.0(transitive)
- Removedp-limit@3.1.0(transitive)
- Removedp-locate@5.0.0(transitive)
- Removedpath-exists@4.0.0(transitive)
- Removedpathval@1.1.1(transitive)
- Removedpicomatch@2.3.1(transitive)
- Removedrandombytes@2.1.0(transitive)
- Removedreaddirp@3.6.0(transitive)
- Removedrequire-directory@2.1.1(transitive)
- Removedsafe-buffer@5.2.1(transitive)
- Removedserialize-javascript@6.0.2(transitive)
- Removedstring-width@4.2.3(transitive)
- Removedstrip-ansi@6.0.1(transitive)
- Removedstrip-json-comments@3.1.1(transitive)
- Removedsupports-color@7.2.08.1.1(transitive)
- Removedto-regex-range@5.0.1(transitive)
- Removedts-node@10.9.2(transitive)
- Removedtype-detect@4.1.0(transitive)
- Removedtypescript@5.7.2(transitive)
- Removedundici-types@6.20.0(transitive)
- Removedv8-compile-cache-lib@3.0.1(transitive)
- Removedworkerpool@6.5.1(transitive)
- Removedwrap-ansi@7.0.0(transitive)
- Removedwrappy@1.0.2(transitive)
- Removedy18n@5.0.8(transitive)
- Removedyargs@16.2.0(transitive)
- Removedyargs-parser@20.2.9(transitive)
- Removedyargs-unparser@2.0.0(transitive)
- Removedyn@3.1.1(transitive)
- Removedyocto-queue@0.1.0(transitive)