Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@timetac/js-client-library

Package Overview
Dependencies
Maintainers
2
Versions
214
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@timetac/js-client-library - npm Package Compare versions

Comparing version 0.3.2 to 0.3.3

4

dist/baseApi.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const axios_1 = require("axios");
const DEFAULT_HOST = 'go.timetac.com';
const DEFAULT_API_VERSION = 3;

@@ -40,6 +41,7 @@ class BaseApi {

getAccountUrl() {
var _a;
if (!this.config.account) {
throw 'Account is not set';
}
return `${this.config.account}/`;
return `${this.config.https ? 'https' : 'http'}://${(_a = this.config.host) !== null && _a !== void 0 ? _a : DEFAULT_HOST}/${this.config.account}/`;
}

@@ -46,0 +48,0 @@ setAccount(account) {

{
"name": "@timetac/js-client-library",
"version": "0.3.2",
"version": "0.3.3",
"description": "TimeTac API JS client library",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/TimeTac/js-client-library#readme",

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