Socket
Socket
Sign inDemoInstall

@civic/bitgo

Package Overview
Dependencies
2
Maintainers
3
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @civic/bitgo

Bundled webpack version of the bitgo SDK


Version published
Weekly downloads
2
increased by100%
Maintainers
3
Created
Weekly downloads
 

Readme

Source

BitGo Javascript SDK bundler for NodeJS

Description

This tool allows to bundle BitGo Javascript SDK for nodeJS using webpack. At its current state bitgo lib has many transitive dependencies which makes the node_modules directory size over 400MB. This makes it impossible to use bitgo with AWS Lambdas because of the current 250MB limit per layer.

This service contains a webpack config which allows to bundle the BitGo Javascript SDK along with required dependencies. The resulting bundle is much more compact and can be used as a drop-in replacement for NPM version.

NB: The bundler has been tested with bitgo v11.7.0. Using a different version of BitGo JS SDK might affect the bundle integrity. Please test extensively before putting into production!

Requirements

node 12

Usage

  1. Specify the required version of the BitGo Javascript SDK in package.json.
  2. Run npm install
  3. Run npm publish
  4. Replace the NPM version of BitGo Javascript SDK in your project's package.json
"@civic/bitgo": "@<version>"
  1. Replace any require('bitgo') calls in your code with
const BitGoJS = require('@civic/bitgo');

FAQs

Last updated on 04 Feb 2021

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc