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

@botmock/client

Package Overview
Dependencies
Maintainers
5
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@botmock/client - npm Package Compare versions

Comparing version 0.3.1 to 0.3.2

4

lib/package.json
{
"name": "@botmock/client",
"version": "0.3.1",
"version": "0.3.2",
"description": "",

@@ -50,3 +50,3 @@ "contributors": [

"devDependencies": {
"@types/jest": "26.0.5",
"@types/jest": "26.0.6",
"jest": "26.1.0",

@@ -53,0 +53,0 @@ "ts-jest": "26.1.3"

@@ -13,3 +13,3 @@ import { FetchResult, ResourcesOptions, ProjectOptions, FetchResults, Config } from "./types";

getResources(opt: ResourcesOptions): Promise<FetchResult | FetchResult[]>;
getPaths(projectId: string, boardId: string): FetchResult;
getPaths(teamId: string, projectId: string, boardId: string): FetchResult;
getProject(teamId: string, projectId: string): FetchResult;

@@ -16,0 +16,0 @@ getProjectsFromOptions(options: ProjectOptions[]): FetchResults;

@@ -17,3 +17,3 @@ "use strict";

var result = {};
if (mod != null) for (var k in mod) if (k !== "default" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
__setModuleDefault(result, mod);

@@ -200,4 +200,4 @@ return result;

}
async getPaths(projectId, boardId) {
return __classPrivateFieldGet(this, _fetch).call(this, `projects/${projectId}/boards/${boardId}/paths`);
async getPaths(teamId, projectId, boardId) {
return __classPrivateFieldGet(this, _fetch).call(this, `teams/${teamId}/projects/${projectId}/boards/${boardId}/paths`);
}

@@ -204,0 +204,0 @@ async getProject(teamId, projectId) {

{
"name": "@botmock/client",
"version": "0.3.1",
"version": "0.3.2",
"description": "",

@@ -50,3 +50,3 @@ "contributors": [

"devDependencies": {
"@types/jest": "26.0.5",
"@types/jest": "26.0.6",
"jest": "26.1.0",

@@ -53,0 +53,0 @@ "ts-jest": "26.1.3"

@@ -148,3 +148,2 @@ import { Agent } from "https";

}
const fullURL = `${this.#url}/${endpoint}`;

@@ -221,7 +220,8 @@

* Gets all possible paths for the board.
* @param teamId id of the team
* @param projectId id of the project
* @param boardId id of the board
*/
public async getPaths(projectId: string, boardId: string): FetchResult {
return this.#fetch(`projects/${projectId}/boards/${boardId}/paths`);
public async getPaths(teamId: string, projectId: string, boardId: string): FetchResult {
return this.#fetch(`teams/${teamId}/projects/${projectId}/boards/${boardId}/paths`);
}

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