Security News
How Threat Actors are Abusing GitHub’s File Upload Feature to Host Malware
GitHub is susceptible to a CDN flaw that allows attackers to host malware on any public repository.
@igloosoftware/web-sdk
Advanced tools
Readme
A front end SDK for integration with Igloo apps and widgets
The Web SDK project is designed as an NPM package that can be imported into any of the various apps and widgets of Igloo. It provides common methods and functionality such as user auth, making API calls, snackbar notifications, etc.
To set up the project locally for development:
git clone https://github.com/igloosoftware/web-sdk.git
npm install
To use the sdk in your Igloo apps and widgets, run the following in your project folder:
npm i @igloosoftware/web-sdk
You can then import any required methods into your project as usual:
import { getAuthInfo, useSnackbar } from "@igloosoftware/web-sdk";
To publish a new version of the project, you will first need to configure npm and login to your account:
npm login
npm config list
to see your current settings or run
npm config set registry="https://registry.npmjs.org/"
to set your registry
if needed."version": "0.1.45"
becomes "version": "0.1.46"
for a patch update. Make
sure you ran npm i
after changing the version.npm run build
npm run publish
. You should get an email
from npm shortly to confirm that a new version was successfully published.
Please note that it is likely that while running npm run publish
you will
likely get a warning and a couple of errors in the console. As long as you
got a publish confirmation error - ignore them. Also you can go to
npm site and check is
your version is up.web
repo and bump
@igloosoftware/web-sdk
version in package.json
file to match the one you
deployed. Do not forget to run npm i
before pushing your version changes.FAQs
A front end SDK for integration with Igloo apps and widgets
We found that @igloosoftware/web-sdk demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 8 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 is susceptible to a CDN flaw that allows attackers to host malware on any public repository.
Security News
At Node Congress, Socket CEO Feross Aboukhadijeh uncovers the darker aspects of open source, where applications that rely heavily on third-party dependencies can be exploited in supply chain attacks.
Research
Security News
The Socket Research team found this npm package includes code for collecting sensitive developer information, including your operating system username, Git username, and Git email.