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

cot-lib

Package Overview
Dependencies
Maintainers
1
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cot-lib - npm Package Compare versions

Comparing version 5.0.3 to 5.0.4

14

dist/clients/cot-client.js

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

CotClient.prototype.getTypes = function () {
var url = this.host + '/inventory/types';
var url = this.host + '/types';
return Observable_1.Observable.fromPromise(this.ax.get(url)).pluck('data');

@@ -43,3 +43,3 @@ };

CotClient.prototype.getType = function (typeId) {
var url = this.host + '/inventory/types/' + typeId;
var url = this.host + '/types/' + typeId;
return Observable_1.Observable.fromPromise(this.ax.get(url)).pluck('data');

@@ -52,3 +52,3 @@ };

CotClient.prototype.getSources = function () {
var url = this.host + '/inventory/sources';
var url = this.host + '/sources';
return Observable_1.Observable.fromPromise(this.ax.get(url)).pluck('data');

@@ -64,3 +64,3 @@ };

if (expanded === void 0) { expanded = false; }
var url = this.host + '/inventory/sources/' + sourceId;
var url = this.host + '/sources/' + sourceId;
if (expanded) {

@@ -76,3 +76,3 @@ url += '/expanded';

CotClient.prototype.getMetrics = function () {
var url = this.host + '/inventory/metrics';
var url = this.host + '/metrics';
return Observable_1.Observable.fromPromise(this.ax.get(url)).pluck('data');

@@ -86,3 +86,3 @@ };

CotClient.prototype.getMetric = function (metricId) {
var url = this.host + '/inventory/metrics/' + metricId;
var url = this.host + '/metrics/' + metricId;
return Observable_1.Observable.fromPromise(this.ax.get(url)).pluck('data');

@@ -133,2 +133,2 @@ };

;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY290LWNsaWVudC5qcyIsInNvdXJjZVJvb3QiOiJDOi9Vc2Vycy90ZHVwb250L1dvcmtzcGFjZXMvY290LWxpYi9saWIvIiwic291cmNlcyI6WyJjbGllbnRzL2NvdC1jbGllbnQudHMiXSwibmFtZXMiOltd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JLENBQUMsSUFBSSxFQUFFLElBQUksQ0FBQyxFQUFFLFNBQUssU0FBUyxNQUFFO0lBQ2pFLENBQUM7SUFFRDs7O09BR0c7SUFDSCw4QkFBVSxHQUFWLFVBQVcsTUFBYztRQUNyQixNQUFNLENBQUMsSUFBSSwwQkFBVyxDQUFDLElBQUksQ0FBQyxJQUFJLEVBQUUsSUFBSSxDQUFDLEVBQUUsRUFBRSxNQUFNLENBQUMsQ0FBQztJQUN2RCxDQUFDO0lBQ0wsZ0JBQUM7QUFBRCxDQUFDLEFBeEhELElBd0hDO0FBeEhZLDhCQUFTO0FBNkhyQixDQUFDIn0=
{
"name": "cot-lib",
"version": "5.0.3",
"version": "5.0.4",
"description": "Easily consume the City of Things platform data",

@@ -5,0 +5,0 @@ "main": "dist/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