@nexeraid/kyc-sdk
Advanced tools
Comparing version 0.1.4 to 0.1.5
@@ -435,2 +435,5 @@ 'use strict'; | ||
} | ||
if (options.identityProviders) { | ||
_this.identityProviders = options.identityProviders; | ||
} | ||
if (options.initOnFlow) { | ||
@@ -497,2 +500,3 @@ _this.initOnFlow = options.initOnFlow; | ||
initOnFlow: _this.initOnFlow, | ||
identityProviders: _this.identityProviders, | ||
provider: { | ||
@@ -635,2 +639,3 @@ name: _this.provider.name, | ||
this.initOnFlow = "KYC"; | ||
this.identityProviders = ["GBG"]; | ||
this.provider = { | ||
@@ -646,2 +651,6 @@ name: "", | ||
exports.KYCDataMessageSchema = KYCDataMessageSchema; | ||
exports.KYCDataMessages = KYCDataMessages; | ||
exports.KYCDataResponseSchema = KYCDataResponseSchema; | ||
exports.KYCDataResponses = KYCDataResponses; | ||
exports["default"] = KycClient; |
@@ -435,2 +435,5 @@ 'use strict'; | ||
} | ||
if (options.identityProviders) { | ||
_this.identityProviders = options.identityProviders; | ||
} | ||
if (options.initOnFlow) { | ||
@@ -497,2 +500,3 @@ _this.initOnFlow = options.initOnFlow; | ||
initOnFlow: _this.initOnFlow, | ||
identityProviders: _this.identityProviders, | ||
provider: { | ||
@@ -635,2 +639,3 @@ name: _this.provider.name, | ||
this.initOnFlow = "KYC"; | ||
this.identityProviders = ["GBG"]; | ||
this.provider = { | ||
@@ -646,2 +651,6 @@ name: "", | ||
exports.KYCDataMessageSchema = KYCDataMessageSchema; | ||
exports.KYCDataMessages = KYCDataMessages; | ||
exports.KYCDataResponseSchema = KYCDataResponseSchema; | ||
exports.KYCDataResponses = KYCDataResponses; | ||
exports["default"] = KycClient; |
@@ -431,2 +431,5 @@ import { z } from 'zod'; | ||
} | ||
if (options.identityProviders) { | ||
_this.identityProviders = options.identityProviders; | ||
} | ||
if (options.initOnFlow) { | ||
@@ -493,2 +496,3 @@ _this.initOnFlow = options.initOnFlow; | ||
initOnFlow: _this.initOnFlow, | ||
identityProviders: _this.identityProviders, | ||
provider: { | ||
@@ -631,2 +635,3 @@ name: _this.provider.name, | ||
this.initOnFlow = "KYC"; | ||
this.identityProviders = ["GBG"]; | ||
this.provider = { | ||
@@ -642,2 +647,2 @@ name: "", | ||
export { KycClient as default }; | ||
export { KYCDataMessageSchema, KYCDataMessages, KYCDataResponseSchema, KYCDataResponses, KycClient as default }; |
import { type ethers } from "ethers"; | ||
import { type DataAvailableOnInit, type IKycClient, type KYCSDKInitOptions } from "./types/client"; | ||
export * from "./types/client"; | ||
export * from "./types/actions"; | ||
export default class KycClient implements IKycClient { | ||
@@ -14,2 +16,3 @@ private baseURL; | ||
private isOpen; | ||
private identityProviders; | ||
private styles; | ||
@@ -16,0 +19,0 @@ private domElementId; |
import { type ethers } from "ethers"; | ||
export type AvailableFlows = "KYC" | "ZKProofs" | "GENERIC-KYC" | "MANAGEMENT"; | ||
export type AvailableFlows = "KYC" | "ZKProofs" | "GENERIC_KYC" | "MANAGEMENT"; | ||
export type AvailableIdentityProviders = "GBG"; | ||
export type Auth = { | ||
@@ -18,2 +19,3 @@ accessToken: string; | ||
provider: Provider; | ||
identityProviders?: AvailableIdentityProviders[]; | ||
dataShareConfig?: { | ||
@@ -28,2 +30,3 @@ endpoint: string; | ||
initOnFlow?: AvailableFlows; | ||
identityProviders?: AvailableIdentityProviders[]; | ||
provider: Provider; | ||
@@ -30,0 +33,0 @@ }; |
{ | ||
"name": "@nexeraid/kyc-sdk", | ||
"version": "0.1.4", | ||
"version": "0.1.5", | ||
"description": "Nexera ID KYC Verification SDK", | ||
@@ -5,0 +5,0 @@ "main": "dist/nexeraprotocol-kyc-sdk.cjs.js", |
{ | ||
"name": "@nexeraid/kyc-sdk", | ||
"version": "0.1.4", | ||
"version": "0.1.5", | ||
"description": "Nexera ID KYC Verification SDK", | ||
@@ -5,0 +5,0 @@ "main": "dist/nexeraprotocol-kyc-sdk.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
99753
2033