Security News
GitHub Removes Malicious Pull Requests Targeting Open Source Repositories
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
@privacybydesign/irma-popup
Advanced tools
This plugin contains a popup for IRMA flows in the web browser. It is a pop-up
variant of the irma-web
plugin.
Because this plugin is based on irma-web
, it is also designed to be used with
irma-css
.
irma-css
is not a dependency of this package by design. This means that the CSS must be imported
separately. How to do this, you can check in the README of irma-css
. In this way you can also
adapt irma-css
to your own design and import this custom style instead.
If you do want to use irma-css
(which is recommended), you may also consider using
the irma-frontend
package
instead for ease of use, or take a look at
the irma-popup
example
for a more hands-on implementation example.
const IrmaCore = require('@privacybydesign/irma-core');
const Popup = require('@privacybydesign/irma-popup');
require('@privacybydesign/irma-css');
const irma = new IrmaCore(/* options */);
irma.use(Popup);
irma.start();
This plugin can handle all the options that the irma-web
plugin
accepts. It introduces one additional option:
This option determines how long the popup will remain open, after a session has been
succeeded or got into some other irrecoverable end state, before it automatically closes.
In this way the user can see the animation that indicates the reason why the popup is closing.
The default is 2000
milliseconds.
The irma-popup
plugin makes it possible for users to abort the session by closing
the popup. When using this plugin, the start
method of irma-core
will
reject its promise in this scenario using the callback message Aborted
.
FAQs
A frond-end plugin to show the IRMA form in a popup
The npm package @privacybydesign/irma-popup receives a total of 0 weekly downloads. As such, @privacybydesign/irma-popup popularity was classified as not popular.
We found that @privacybydesign/irma-popup demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 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
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.