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

@avalabs/glacier-sdk

Package Overview
Dependencies
Maintainers
15
Versions
593
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@avalabs/glacier-sdk - npm Package Compare versions

Comparing version 2.5.0-alpha.6 to 2.5.0-alpha.7

6

CHANGELOG.md

@@ -6,2 +6,8 @@ # Change Log

# 2.5.0-alpha.7 (2022-08-03)
### Bug Fixes
- make glacier sdk pass params to the http client correctly ([c7eb6f5](https://github.com/ava-labs/avalanche-sdks/commit/c7eb6f56a9f5769050c2d1f5db8012c5c0af0f11))
# 2.5.0-alpha.6 (2022-07-28)

@@ -8,0 +14,0 @@

8

dist/index.js

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

getNativeBalance(chainId, address, query, params = {}, customOptions = {}) {
return this.httpClient.get(`/chains/${chainId}/addresses/${address}/balances:getNative`, Object.assign({ query: query }, params), customOptions);
return this.httpClient.get(`/chains/${chainId}/addresses/${address}/balances:getNative`, Object.assign(Object.assign({}, query), params), customOptions);
}

@@ -45,3 +45,3 @@ /**

listErc20Balances(chainId, address, query, params = {}, customOptions = {}) {
return this.httpClient.get(`/chains/${chainId}/addresses/${address}/balances:listErc20`, Object.assign({ query: query }, params), customOptions);
return this.httpClient.get(`/chains/${chainId}/addresses/${address}/balances:listErc20`, Object.assign(Object.assign({}, query), params), customOptions);
}

@@ -57,3 +57,3 @@ /**

listErc721Balances(chainId, address, query, params = {}, customOptions = {}) {
return this.httpClient.get(`/chains/${chainId}/addresses/${address}/balances:listErc721`, Object.assign({ query: query }, params), customOptions);
return this.httpClient.get(`/chains/${chainId}/addresses/${address}/balances:listErc721`, Object.assign(Object.assign({}, query), params), customOptions);
}

@@ -69,3 +69,3 @@ /**

listTransactions(chainId, address, query, params = {}, customOptions = {}) {
return this.httpClient.get(`/chains/${chainId}/addresses/${address}/transactions`, Object.assign({ query: query }, params), customOptions);
return this.httpClient.get(`/chains/${chainId}/addresses/${address}/transactions`, Object.assign(Object.assign({}, query), params), customOptions);
}

@@ -72,0 +72,0 @@ /**

{
"name": "@avalabs/glacier-sdk",
"version": "2.5.0-alpha.6",
"version": "2.5.0-alpha.7",
"description": "sdk for interacting with glacier-api",

@@ -39,5 +39,5 @@ "author": "Oliver Wang <oliver.wang@avalabs.org>",

"dependencies": {
"@avalabs/utils-sdk": "2.4.1-alpha.8"
"@avalabs/utils-sdk": "2.5.0-alpha.7"
},
"gitHead": "b145d0c1280c713a2fe651a52307b70eaf37d8ed"
"gitHead": "8ed0d29b03bc89503e953e44078b7d508577b61c"
}

@@ -64,3 +64,3 @@ import { HttpClient, HttpOptions } from '@avalabs/utils-sdk';

`/chains/${chainId}/addresses/${address}/balances:getNative`,
{ query: query, ...params },
{ ...query, ...params },
customOptions

@@ -89,3 +89,3 @@ );

`/chains/${chainId}/addresses/${address}/balances:listErc20`,
{ query: query, ...params },
{ ...query, ...params },
customOptions

@@ -115,3 +115,3 @@ );

`/chains/${chainId}/addresses/${address}/balances:listErc721`,
{ query: query, ...params },
{ ...query, ...params },
customOptions

@@ -137,3 +137,3 @@ );

`/chains/${chainId}/addresses/${address}/transactions`,
{ query: query, ...params },
{ ...query, ...params },
customOptions

@@ -140,0 +140,0 @@ );

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