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

@bandada/api-sdk

Package Overview
Dependencies
Maintainers
3
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bandada/api-sdk - npm Package Compare versions

Comparing version 2.2.3 to 2.2.4

8

dist/index.node.js
/**
* @module @bandada/api-sdk
* @version 2.2.3
* @version 2.2.4
* @file A Typescript SDK for the Bandada API.

@@ -179,3 +179,3 @@ * @copyright Ethereum Foundation 2023

requestUrl = "".concat(url$1, "/").concat(groupId);
newConfig = __assign({ method: "put", data: groupUpdateDetails }, config);
newConfig = __assign({ method: "patch", data: groupUpdateDetails }, config);
newConfig.headers["x-api-key"] = apiKey;

@@ -439,3 +439,5 @@ return [4 /*yield*/, utils.request(requestUrl, newConfig)];

case 0:
newConfig = __assign({ method: "post", data: groupId }, config);
newConfig = __assign({ method: "post", data: {
groupId: groupId
} }, config);
newConfig.headers["x-api-key"] = apiKey;

@@ -442,0 +444,0 @@ return [4 /*yield*/, utils.request(url, newConfig)];

@@ -25,5 +25,5 @@ export type Credential = {

export type GroupUpdateDetails = {
description: string;
treeDepth: number;
fingerprintDuration: number;
description?: string;
treeDepth?: number;
fingerprintDuration?: number;
credentials?: Credential;

@@ -30,0 +30,0 @@ };

{
"name": "@bandada/api-sdk",
"version": "2.2.3",
"version": "2.2.4",
"description": "A Typescript SDK for the Bandada API.",

@@ -32,3 +32,3 @@ "license": "MIT",

"dependencies": {
"@bandada/utils": "2.2.3"
"@bandada/utils": "2.2.4"
},

@@ -35,0 +35,0 @@ "devDependencies": {

@@ -110,3 +110,3 @@ import { request } from "@bandada/utils"

const newConfig: any = {
method: "put",
method: "patch",
data: groupUpdateDetails,

@@ -113,0 +113,0 @@ ...config

@@ -37,3 +37,5 @@ import { request } from "@bandada/utils"

method: "post",
data: groupId,
data: {
groupId
},
...config

@@ -40,0 +42,0 @@ }

@@ -28,5 +28,5 @@ export type Credential = {

export type GroupUpdateDetails = {
description: string
treeDepth: number
fingerprintDuration: number
description?: string
treeDepth?: number
fingerprintDuration?: number
credentials?: Credential

@@ -33,0 +33,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