Security News
Input Validation Vulnerabilities Dominate MITRE's 2024 CWE Top 25 List
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
caas_sdk_web
Advanced tools
Caas Web SDK
lets you integrate crypto onRamp, offRamp, KYC module provided by mudrex. Let's get started!
Simply go to the command line and run this command.
npm i caas_sdk_web
Add the folllowing scrip tag in you index.html file
<script src="https://hv-camera-web-sg.s3-ap-southeast-1.amazonaws.com/hyperverge-web-sdk@6.1.2/src/sdk.min.js"></script>
React Native Design System uses a centralized theme to provide consistency across all the components.
const init = async () => {
let myHeaders = new Headers();
myHeaders.append("X-USER-ID", "04bc7ef7-6cdf-4b1a-a4cc-93ed058a9a7c");
myHeaders.append("X-CLIENT-ID", "18e963ea-39fd-4a1b-b1e6-decbfe791d31");
myHeaders.append("X-AUTH-TOKEN", "clientId");
let requestOptions = {
method: "GET",
headers: myHeaders,
redirect: "follow",
};
let result = await fetch("https://staging.mudrex.com/api/v1/user/create_client_user_secret", requestOptions)
.then((response) => response.text())
.then((result) => {
return result;
})
.catch((error) => {});
let res = JSON.parse(result);
return {
signature: res?.secret,
timestamp: res?.timestamp,
userId: res?.user_id,
clientId: res?.client_id,
hv_token: res?.hv_token,
};
};
//your root component
import { Caas } from "caas_sdk_web";
function App() {
return (
<div className="App">
<Caas
init={init}
onSuccess={() => {
console.log("Success");
}}
sdkConfiguration={{ steps: ["kyc"], kycEnabled: true }}
onKYCSuccessCallback={() => {}}
offRampSuccessCallback={() => {}}
/>
</div>
);
}
FAQs
Welcome to Caas React SDK 👋
The npm package caas_sdk_web receives a total of 2 weekly downloads. As such, caas_sdk_web popularity was classified as not popular.
We found that caas_sdk_web demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.
Research
Security News
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.