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

troi-library

Package Overview
Dependencies
Maintainers
5
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

troi-library - npm Package Compare versions

Comparing version 1.1.1 to 1.2.0

11

index.js

@@ -133,3 +133,3 @@ import debugModule from "debug";

await this.makeRequest({
return await this.makeRequest({
url: "/billings/hours",

@@ -164,3 +164,3 @@ headers: { "Content-Type": "application/json" },

await this.makeRequest({
return await this.makeRequest({
url: `/billings/hours/${billingId}`,

@@ -200,5 +200,4 @@ headers: { "Content-Type": "application/json" },

const requestUrl = `${this.baseUrl}${url}${
params ? `?${new URLSearchParams(params)}` : ""
}`;
const requestUrl = `${this.baseUrl}${url}${params ? `?${new URLSearchParams(params)}` : ""
}`;
const requestOptions = {

@@ -232,3 +231,3 @@ method: method,

async getCalendarEvents(type, startDate, endDate) {
async getCalendarEvents(startDate, endDate, type = "") {
const calendarEvents = await this.makeRequest({

@@ -235,0 +234,0 @@ url: "/calendarEvents",

{
"name": "troi-library",
"version": "1.1.1",
"version": "1.2.0",
"description": "API library wrapper to interact with troi",

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

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