Socket
Socket
Sign inDemoInstall

@xchainjs/xchain-util

Package Overview
Dependencies
Maintainers
10
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@xchainjs/xchain-util - npm Package Compare versions

Comparing version 0.13.1 to 0.13.2

2

lib/cached-value.d.ts

@@ -7,5 +7,5 @@ export declare class CachedValue<T> {

private refreshPromise;
constructor(refreshData: (params?: any) => Promise<T>, cacheMaxAge: number);
constructor(refreshData: (params?: any) => Promise<T>, cacheMaxAge?: number);
private isCacheValid;
getValue(params?: any): Promise<T>;
}

@@ -617,3 +617,3 @@ import BigNumber from 'bignumber.js';

this.refreshPromise = null;
this.cacheMaxAge = cacheMaxAge;
this.cacheMaxAge = cacheMaxAge || Infinity;
this.refreshData = refreshData;

@@ -620,0 +620,0 @@ }

@@ -625,3 +625,3 @@ 'use strict';

this.refreshPromise = null;
this.cacheMaxAge = cacheMaxAge;
this.cacheMaxAge = cacheMaxAge || Infinity;
this.refreshData = refreshData;

@@ -628,0 +628,0 @@ }

{
"name": "@xchainjs/xchain-util",
"version": "0.13.1",
"version": "0.13.2",
"description": "Helper utilities for XChain clients",

@@ -5,0 +5,0 @@ "keywords": [

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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