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

@trezor/blockchain-link

Package Overview
Dependencies
Maintainers
6
Versions
74
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@trezor/blockchain-link - npm Package Compare versions

Comparing version 2.1.0 to 2.1.1

5

CHANGELOG.md

@@ -0,1 +1,6 @@

# 2.1.1
#### changes
- Proxy agent in Ripple worker is set based on `RippleAPI._ALLOW_AGENT` flag, in order not to fail in standalone `trezor-connect` implementation (#4942)
# 2.1.0

@@ -2,0 +7,0 @@

9

lib/workers/ripple/index.js

@@ -339,7 +339,10 @@ "use strict";

try {
api = new ripple_lib_1.RippleAPI({
const options = {
server: this.endpoints[0],
connectionTimeout: this.settings.timeout || DEFAULT_TIMEOUT,
agent: this.proxyAgent,
});
};
if (ripple_lib_1.RippleAPI._ALLOW_AGENT) {
options.agent = this.proxyAgent;
}
api = new ripple_lib_1.RippleAPI(options);
api.connection.reconnect = () => new Promise(() => { });

@@ -346,0 +349,0 @@ await api.connect();

{
"name": "@trezor/blockchain-link",
"version": "2.1.0",
"version": "2.1.1",
"author": "Trezor <info@trezor.io>",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/trezor/trezor-suite/packages/blockchain-link",

@@ -80,23 +80,2 @@ # @trezor/blockchain-link

#### Prerequisites
1. Make sure you have a npm account with write access to `@trezor/blockchain-link` package.
1. Update CHANGELOG.md and list all changes since the last release.
1. Bump the version in `packages/blockchain-link/package.json`. Use the [semver](https://semver.org/) convention.
#### Production
1. `cd packages/blockchain-link` cd into the root of `blockchain-link` package.
1. `yarn build:lib` Build the library.
1. `npm publish` Publish!
#### Beta
If you want to publish to npm as `beta` (from any branch) do the following:
1. `cd packages/blockchain-link` cd into the root of `blockchain-link` package.
1. Change the version in `packages/blockchain-link/package.json` from `X.X.X` to `X.X.(X + 1)-beta.1`.
The `-beta.<n>` suffix is important because NPM registry doesn't allow overriding already published versions.
With this suffix we can publish multiple beta versions for a single patch.
1. `yarn build:lib` Build the library.
1. `npm publish --tag beta` Publish!
[Follow instructions](../../docs/releases/npm-packages.md) how to publish @trezor package to npm registry.
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