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

@altangent/lib-anchorage

Package Overview
Dependencies
Maintainers
2
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@altangent/lib-anchorage - npm Package Compare versions

Comparing version 0.12.9 to 0.13.0

2

dist/AnchorageClient.d.ts

@@ -9,3 +9,3 @@ import { Asset, Transaction, Vault } from "./Types";

*/
getCurrentAssets(): Promise<Asset[]>;
getCurrentAssets(vaultId?: string): Promise<Asset[]>;
/**

@@ -12,0 +12,0 @@ * All transactions in all vaults in the given date range

@@ -14,4 +14,7 @@ "use strict";

*/
async getCurrentAssets() {
const path = "/v1/assets/current";
async getCurrentAssets(vaultId) {
let path = "/v1/assets/current";
if (vaultId) {
path += `/${vaultId}`;
}
return this.get(path);

@@ -18,0 +21,0 @@ }

@@ -12,4 +12,7 @@ /* eslint-disable @typescript-eslint/no-unsafe-call */

*/
public async getCurrentAssets(): Promise<Asset[]> {
const path = "/v1/assets/current";
public async getCurrentAssets(vaultId?: string): Promise<Asset[]> {
let path = "/v1/assets/current";
if (vaultId) {
path += `/${vaultId}`;
}
return this.get(path);

@@ -16,0 +19,0 @@ }

{
"name": "@altangent/lib-anchorage",
"version": "0.12.9",
"version": "0.13.0",
"description": "Anchorage API client",

@@ -32,3 +32,3 @@ "author": "Brian Mancini <bmancini@gmail.com>",

},
"gitHead": "4c7a6ea0f0d39032d0aee188d2c403a0f92ceaaf"
"gitHead": "132fe9c9726770608c39b96174ecdc5f3e3d8403"
}

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