
Product
Introducing Webhook Events for Pull Request Scans
Add real-time Socket webhook events to your workflows to automatically receive pull request scan results and security alerts in real time.
@proton/browser-transport
Advanced tools
A transport library for usage of [Proton Link](https://www.npmjs.com/package/@proton/link) within a web browser environment.
A transport library for usage of Proton Link within a web browser environment.
A transport is required for Proton Link to communicate with clients. In most examples we use the browser transport with no configuration, like so:
const transport = new ProtonLinkBrowserTransport()
const link = new ProtonLink({transport})
Parameters can be passed to the transport during construction as an object, allowing for the following optional changes:
const transport = new ProtonLinkBrowserTransport({
/** CSS class prefix, defaults to `@proton/link` */
classPrefix: 'my-css-prefix',
/** Whether to inject CSS styles in the page header, defaults to true. */
injectStyles: true,
/** Whether to display request success and error messages, defaults to true */
requestStatus: false,
/** Local storage prefix, defaults to `@proton/link`. */
storagePrefix: 'my-localstorage-prefix',
/** Requesting account of the dapp (optional) */
requestAccount: 'taskly',
/** Wallet name e.g. proton, anchor, etc */
walletType: 'proton'
})
const link = new ProtonLink({transport})
You need Make, node.js and yarn installed.
Clone the repository and run make
to checkout all dependencies and build the project. See the Makefile for other useful targets. Before submitting a pull request make sure to run make lint
.
Proton Web SDK is a cross-device authentication and signing protocol built on top of ESR (EOSIO Signing Requests / EEP-7).
More information in the Proton Web SDK
FAQs
Vanilla JS browser transport for Proton Link
We found that @proton/browser-transport demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 6 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.
Product
Add real-time Socket webhook events to your workflows to automatically receive pull request scan results and security alerts in real time.
Research
The Socket Threat Research Team uncovered malicious NuGet packages typosquatting the popular Nethereum project to steal wallet keys.
Product
A single platform for static analysis, secrets detection, container scanning, and CVE checks—built on trusted open source tools, ready to run out of the box.