New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@aarc-dev/core-viem

Package Overview
Dependencies
Maintainers
0
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aarc-dev/core-viem - npm Package Compare versions

Comparing version 0.1.14 to 0.1.15

2

dist/src/AarcCore.d.ts

@@ -12,3 +12,3 @@ import { BalancesData, BalancesResponse, CheckoutDto, CheckoutOnrampParams, CheckoutRouteDto, DepositCalldataResponse, DepositDto, DepositOnRampParams, DepositRouteDto, ExecuteMigrationForwardDto, ExecuteMigrationGaslessDto, ExecuteMigrationNonGaslessDto, IsTokenSupportedResponse, MoonpayOnRampParams, PriceData, RelayedTxListResponse, SupportedChainInfo, SupportedTokensResponse, TrxStatusResponse, KadoOnRampParams, DepositAddressData, StatusResponseDto, DepositAddressDTO } from "./utils/CoreTypes";

fetchBalances(eoaAddress: string, chainId: number, fetchBalancesOnly?: boolean, tokenAddresses?: string[]): Promise<BalancesResponse>;
fetchMultiChainBalances(eoaAddress: string, extendedBalances?: boolean, destinationTokenAmount?: string, destinationTokenSymbol?: string): Promise<BalancesData>;
fetchMultiChainBalances(eoaAddress: string): Promise<BalancesData>;
fetchTokenPrice(tokenSymbol: string): Promise<PriceData>;

@@ -15,0 +15,0 @@ isTokenSupported(chainId: number, tokenAddress: string): Promise<IsTokenSupportedResponse>;

@@ -177,4 +177,4 @@ "use strict";

}
async fetchMultiChainBalances(eoaAddress, extendedBalances = false, destinationTokenAmount, destinationTokenSymbol) {
return await (0, Helper_1.getMultiChainBalances)(this.apiKey, eoaAddress, extendedBalances);
async fetchMultiChainBalances(eoaAddress) {
return await (0, Helper_1.getMultiChainBalances)(this.apiKey, eoaAddress);
}

@@ -181,0 +181,0 @@ async fetchTokenPrice(tokenSymbol) {

@@ -15,3 +15,3 @@ import { BalancesData, BalancesResponse, CheckoutCallDataDto, CheckoutCalldataResponse, DepositCallDataDto, DepositCalldataResponse, ForwardCallDataDto, ForwardCalldataRes, GaslessCalldataResponse, IsTokenSupportedResponse, PriceData, RelayedTxListResponse, SupportedChainInfo, SupportedTokensResponse, TRX_RESPONSE } from "./CoreTypes";

export declare const fetchBalances: (apiKey: string, chainId: number, eoaAddress: string, fetchBalancesOnly?: boolean, tokenAddresses?: string[]) => Promise<BalancesResponse>;
export declare const getMultiChainBalances: (apiKey: string, walletAddress: string, extendedBalances?: boolean) => Promise<BalancesData>;
export declare const getMultiChainBalances: (apiKey: string, walletAddress: string) => Promise<BalancesData>;
export declare const IsTokenSupported: (apiKey: string, chainId: number, address: string) => Promise<IsTokenSupportedResponse>;

@@ -18,0 +18,0 @@ export declare const GetSupportedTokens: (apiKey: string, chainId: number, isShortList?: boolean) => Promise<SupportedTokensResponse>;

@@ -202,4 +202,4 @@ "use strict";

exports.fetchBalances = fetchBalances;
const getMultiChainBalances = async (apiKey, walletAddress, extendedBalances = false) => {
const response = await fetch(`${Constants_1.MULTI_CHAIN_BALANCES_ENDPOINT}/${walletAddress}/${extendedBalances}`, {
const getMultiChainBalances = async (apiKey, walletAddress) => {
const response = await fetch(`${Constants_1.MULTI_CHAIN_BALANCES_ENDPOINT}/${walletAddress}`, {
method: "GET",

@@ -206,0 +206,0 @@ headers: {

{
"name": "@aarc-dev/core-viem",
"version": "0.1.14",
"version": "0.1.15",
"description": "",

@@ -5,0 +5,0 @@ "main": "./dist/src/index.js",

Sorry, the diff of this file is not supported yet

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