Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@igloosoftware/web-sdk

Package Overview
Dependencies
Maintainers
6
Versions
122
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@igloosoftware/web-sdk

A front end SDK for integration with Igloo apps and widgets

  • 0.1.66
  • unpublished
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
6
Weekly downloads
 
Created
Source

Web SDK

A front end SDK for integration with Igloo apps and widgets

Table of Contents

  1. About The Project
  2. Getting Started
  3. Usage
  4. Publishing

About The Project

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.

Built With

Getting Started

To set up the project locally for development:

  1. Clone the repo
    git clone https://github.com/igloosoftware/web-sdk.git
    
  2. Install NPM packages
    npm install
    

Usage

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";

Publishing

To publish a new version of the project, you will first need to configure npm and login to your account:

  1. If you do not have an account at npmjs.com, register a new one and set up 2 factor authentication (see the npmjs docs for instructions).
  2. After registering, you will need to request an admin to grant you access to npmjs @igloosoftware
  3. Login to your account on the command line using npm login
  4. Ensure the correct registry is set in your config file. Run npm config list to see your current settings or run npm config set registry="https://registry.npmjs.org/" to set your registry if needed.
  5. In the package.json file in the web-sdk project folder, increment the package version in order to publish a new version to npm. For example, "version": "0.1.45" becomes "version": "0.1.46" for a patch update.
  6. In the project folder, run npm run build
  7. Still in the project folder, run npm run publish. You should get an email from npm shortly to confirm that a new version was successfully published.
  8. Once testing is complete, create a PR.

FAQs

Package last updated on 27 Oct 2022

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc