Security News
Cloudflare Adds Security.txt Setup Wizard
Cloudflare has launched a setup wizard allowing users to easily create and manage a security.txt file for vulnerability disclosure on their websites.
@galoymoney/client
Advanced tools
JavaScript client library for the Galoy stack. This is used in front-end applications like the web and mobile wallets.
JavaScript client library for the Galoy stack. This is used in front-end applications like the web and mobile wallets.
Install the package with:
npm i @galoymoney/client
# or
yarn add @galoymoney/client
import { parsePaymentDestination } from "@galoymoney/client"
const { valid, paymentType, amount } = parsePaymentDestination({
destination: "username or invoice or bitcoin address",
network: "mainnet", // or testnet or regtest
pubKey: "nodePubKey",
})
Test with Jest framework:
yarn test
Build production (distribution) files in dist folder:
yarn build
Run:
yarn link
# or
npm link
and in your test project run:
yarn link @galoymoney/client
# or
npm link @galoymoney/client
If you want to remove the symlink, run:
# in your test project
yarn unlink @galoymoney/client
# or
npm unlink @galoymoney/client
# in galoymoney/client folder
yarn unlink
# or
npm unlink
FAQs
JavaScript client library for the Galoy stack. This is used in front-end applications like the web and mobile wallets.
We found that @galoymoney/client demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 5 open source maintainers 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
Cloudflare has launched a setup wizard allowing users to easily create and manage a security.txt file for vulnerability disclosure on their websites.
Security News
The Socket Research team breaks down a malicious npm package targeting the legitimate DOMPurify library. It uses obfuscated code to hide that it is exfiltrating browser and crypto wallet data.
Security News
ENISA’s 2024 report highlights the EU’s top cybersecurity threats, including rising DDoS attacks, ransomware, supply chain vulnerabilities, and weaponized AI.