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

@nexeraid/kyc-sdk

Package Overview
Dependencies
Maintainers
1
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nexeraid/kyc-sdk - npm Package Compare versions

Comparing version 0.2.10 to 0.2.11

33

client/dist/nexeraid-kyc-sdk-client.cjs.dev.js

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

_this._initEvents();
_this._initKycElement();
_this.alreadyInit = true;

@@ -456,20 +455,2 @@ }

});
_defineProperty(this, "_initKycElement", function () {
_this._initModal();
});
_defineProperty(this, "_initModal", function () {
document.body.addEventListener("click", function (event) {
var target = event.target;
if (target.id === _this.domElementId && !_this.isOpen) {
_this._openSession();
}
//TODO: refact this, not work for all
else {
var targetParent = target.parentNode;
if (targetParent && targetParent.id === _this.domElementId && !_this.isOpen) {
_this._openSession();
}
}
});
});
_defineProperty(this, "_initEvents", function () {

@@ -571,2 +552,15 @@ // TODO extract handler to its own function and then thi async can be removed (similar to useeffect in react)

}());
document.body.addEventListener("click", function (event) {
var target = event.target;
if (target.id === _this.domElementId && !_this.isOpen) {
_this._openSession();
}
//TODO: refact this, not work for all
else {
var targetParent = target.parentNode;
if (targetParent && targetParent.id === _this.domElementId && !_this.isOpen) {
_this._openSession();
}
}
});
});

@@ -593,2 +587,3 @@ _defineProperty(this, "_openSession", function () {

iframe.setAttribute("name", _this.iframeName);
iframe.setAttribute("title", _this.iframeName);
iframe.setAttribute("allow", "microphone; camera; midi; encrypted-media; usb; ethereum");

@@ -595,0 +590,0 @@ iframe.setAttribute("allowtransparency", "true");

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

_this._initEvents();
_this._initKycElement();
_this.alreadyInit = true;

@@ -456,20 +455,2 @@ }

});
_defineProperty(this, "_initKycElement", function () {
_this._initModal();
});
_defineProperty(this, "_initModal", function () {
document.body.addEventListener("click", function (event) {
var target = event.target;
if (target.id === _this.domElementId && !_this.isOpen) {
_this._openSession();
}
//TODO: refact this, not work for all
else {
var targetParent = target.parentNode;
if (targetParent && targetParent.id === _this.domElementId && !_this.isOpen) {
_this._openSession();
}
}
});
});
_defineProperty(this, "_initEvents", function () {

@@ -571,2 +552,15 @@ // TODO extract handler to its own function and then thi async can be removed (similar to useeffect in react)

}());
document.body.addEventListener("click", function (event) {
var target = event.target;
if (target.id === _this.domElementId && !_this.isOpen) {
_this._openSession();
}
//TODO: refact this, not work for all
else {
var targetParent = target.parentNode;
if (targetParent && targetParent.id === _this.domElementId && !_this.isOpen) {
_this._openSession();
}
}
});
});

@@ -593,2 +587,3 @@ _defineProperty(this, "_openSession", function () {

iframe.setAttribute("name", _this.iframeName);
iframe.setAttribute("title", _this.iframeName);
iframe.setAttribute("allow", "microphone; camera; midi; encrypted-media; usb; ethereum");

@@ -595,0 +590,0 @@ iframe.setAttribute("allowtransparency", "true");

@@ -442,3 +442,2 @@ import { KycSdkResponsesSchema, KycCompletitionDataSchema } from '@nexeraprotocol/nexera-id-schemas/compliance/kyc';

_this._initEvents();
_this._initKycElement();
_this.alreadyInit = true;

@@ -452,20 +451,2 @@ }

});
_defineProperty(this, "_initKycElement", function () {
_this._initModal();
});
_defineProperty(this, "_initModal", function () {
document.body.addEventListener("click", function (event) {
var target = event.target;
if (target.id === _this.domElementId && !_this.isOpen) {
_this._openSession();
}
//TODO: refact this, not work for all
else {
var targetParent = target.parentNode;
if (targetParent && targetParent.id === _this.domElementId && !_this.isOpen) {
_this._openSession();
}
}
});
});
_defineProperty(this, "_initEvents", function () {

@@ -567,2 +548,15 @@ // TODO extract handler to its own function and then thi async can be removed (similar to useeffect in react)

}());
document.body.addEventListener("click", function (event) {
var target = event.target;
if (target.id === _this.domElementId && !_this.isOpen) {
_this._openSession();
}
//TODO: refact this, not work for all
else {
var targetParent = target.parentNode;
if (targetParent && targetParent.id === _this.domElementId && !_this.isOpen) {
_this._openSession();
}
}
});
});

@@ -589,2 +583,3 @@ _defineProperty(this, "_openSession", function () {

iframe.setAttribute("name", _this.iframeName);
iframe.setAttribute("title", _this.iframeName);
iframe.setAttribute("allow", "microphone; camera; midi; encrypted-media; usb; ethereum");

@@ -591,0 +586,0 @@ iframe.setAttribute("allowtransparency", "true");

@@ -43,4 +43,2 @@ import { type Environment } from "@nexeraprotocol/nexera-id-schemas";

private _initStyle;
private _initKycElement;
private _initModal;
private _initEvents;

@@ -47,0 +45,0 @@ private _openSession;

{
"name": "@nexeraid/kyc-sdk",
"version": "0.2.10",
"version": "0.2.11",
"description": "Nexera ID KYC Verification SDK",

@@ -5,0 +5,0 @@ "main": "dist/nexeraprotocol-kyc-sdk.cjs.js",

{
"name": "@nexeraid/kyc-sdk",
"version": "0.2.10",
"version": "0.2.11",
"description": "Nexera ID KYC Verification SDK",

@@ -5,0 +5,0 @@ "main": "dist/nexeraprotocol-kyc-sdk.cjs.js",

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