Comparing version 3.0.2 to 3.1.0
@@ -1,7 +0,2 @@ | ||
import { Observable } from 'rxjs/Observable'; | ||
import 'rxjs/add/observable/fromPromise'; | ||
import 'rxjs/add/observable/of'; | ||
import 'rxjs/add/operator/catch'; | ||
import 'rxjs/add/operator/delay'; | ||
import 'rxjs/add/operator/pluck'; | ||
import { Observable } from 'rxjs/Rx'; | ||
import { AxiosInstance } from 'axios'; | ||
@@ -8,0 +3,0 @@ import { SourcesClient } from './sources-client'; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var Observable_1 = require("rxjs/Observable"); | ||
require("rxjs/add/observable/fromPromise"); | ||
require("rxjs/add/observable/of"); | ||
require("rxjs/add/operator/catch"); | ||
require("rxjs/add/operator/delay"); | ||
require("rxjs/add/operator/pluck"); | ||
var Rx_1 = require("rxjs/Rx"); | ||
var axios_1 = require("axios"); | ||
@@ -38,3 +33,3 @@ var sources_client_1 = require("./sources-client"); | ||
var url = this.host + '/types'; | ||
return Observable_1.Observable.fromPromise(this.ax.get(url)).pluck('data'); | ||
return Rx_1.Observable.fromPromise(this.ax.get(url)).pluck('data'); | ||
}; | ||
@@ -48,3 +43,3 @@ /** | ||
var url = this.host + '/types/' + typeId; | ||
return Observable_1.Observable.fromPromise(this.ax.get(url)).pluck('data'); | ||
return Rx_1.Observable.fromPromise(this.ax.get(url)).pluck('data'); | ||
}; | ||
@@ -58,3 +53,3 @@ /** | ||
var url = this.host + '/types/' + typeId + '/sources'; | ||
return Observable_1.Observable.fromPromise(this.ax.get(url)).pluck('data'); | ||
return Rx_1.Observable.fromPromise(this.ax.get(url)).pluck('data'); | ||
}; | ||
@@ -67,3 +62,3 @@ /** | ||
var url = this.host + '/sources'; | ||
return Observable_1.Observable.fromPromise(this.ax.get(url)).pluck('data'); | ||
return Rx_1.Observable.fromPromise(this.ax.get(url)).pluck('data'); | ||
}; | ||
@@ -77,3 +72,3 @@ /** | ||
var url = this.host + '/sources/' + sourceId; | ||
return Observable_1.Observable.fromPromise(this.ax.get(url)).pluck('data'); | ||
return Rx_1.Observable.fromPromise(this.ax.get(url)).pluck('data'); | ||
}; | ||
@@ -95,3 +90,3 @@ /** | ||
return internal_utils_1.InternalUtils.getAsTemporalPage(url, this.ax).delay(period) | ||
.expand(function (tpage) { return !!tpage.link.next ? internal_utils_1.InternalUtils.getAsTemporalPage(_this.host + tpage.link.next, _this.ax).delay(period) : Observable_1.Observable.empty(); }); | ||
.expand(function (tpage) { return !!tpage.link.next ? internal_utils_1.InternalUtils.getAsTemporalPage(_this.host + tpage.link.next, _this.ax).delay(period) : Rx_1.Observable.empty(); }); | ||
}; | ||
@@ -128,3 +123,3 @@ /** | ||
return internal_utils_1.InternalUtils.getAsTemporalPage(url, this.ax).delay(period) | ||
.expand(function (tpage) { return !!tpage.link.next ? internal_utils_1.InternalUtils.getAsTemporalPage(_this.host + tpage.link.next, _this.ax).delay(period) : Observable_1.Observable.empty(); }); | ||
.expand(function (tpage) { return !!tpage.link.next ? internal_utils_1.InternalUtils.getAsTemporalPage(_this.host + tpage.link.next, _this.ax).delay(period) : Rx_1.Observable.empty(); }); | ||
}; | ||
@@ -178,2 +173,2 @@ /** | ||
; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY290LWNsaWVudC5qcyIsInNvdXJjZVJvb3QiOiJDOi9Vc2Vycy90ZHVwb250L1dvcmtzcGFjZXMvY290LWxpYi9saWIvIiwic291cmNlcyI6WyJjbGllbnRzL2NvdC1jbGllbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFBQSw4Q0FBNkM7QUFDN0MsMkNBQXlDO0FBQ3pDLGtDQUFnQztBQUNoQyxtQ0FBaUM7QUFDakMsbUNBQWlDO0FBQ2pDLG1DQUFpQztBQUNqQywrQkFBZ0Y7QUFFaEYsbURBQWlEO0FBQ2pELHVEQUFxRDtBQUNyRCxvREFBNEQ7QUFLNUQ7SUFJSTs7OztPQUlHO0lBQ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rxjs/Rx'; | ||
import { CotClient, CotClientCredentials } from './cot-client'; | ||
@@ -3,0 +3,0 @@ import { TemporalPage } from '../types/temporal-page'; |
@@ -65,2 +65,2 @@ "use strict"; | ||
exports.DebugClient = DebugClient; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGVidWctY2xpZW50LmpzIiwic291cmNlUm9vdCI6IkM6L1VzZXJzL3RkdXBvbnQvV29ya3NwYWNlcy9jb3QtbGliL2xpYi8iLCJzb3VyY2VzIjpbImNsaWVudHMvZGVidWctY2xpZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7OztBQUVBLDJDQUErRDtBQUMvRCxvREFBNEQ7QUFHNUQ7SUFBaUMsK0JBQVM7SUFFdEMscUJBQVksSUFBWSxFQUFFLFdBQWtDO2VBQ3hELGtCQUFNLElBQUksRUFBRSxXQUFXLENBQUM7SUFDNUIsQ0FBQztJQUVEOzs7O09BSUc7SUFDSCxxQ0FBZSxHQUFmLFVBQWdCLFFBQWdCLEVBQUUsSUFBYTtRQUMzQyxJQUFJLEtBQUssR0FBRyxFQUFFLENBQUM7UUFDZixFQUFFLENBQUMsQ0FBQyxJQUFJLENBQUMsQ0FBQyxDQUFDO1lBQ1AsS0FBSyxJQUFJLFFBQVEsR0FBRyxJQUFJLENBQUM7UUFDN0IsQ0FBQztRQUNELElBQUksR0FBRyxHQUFHLElBQUksQ0FBQyxJQUFJLEdBQUcsV0FBVyxHQUFHLFFBQVEsR0FBRyxTQUFTLEdBQUcsS0FBSyxDQUFDO1FBQ2pFLE1BQU0sQ0FBQyw4QkFBTSxDQUFDLGlCQUFpQixDQUFDLEdBQUcsRUFBRSxJQUFJLENBQUMsRUFBRSxDQUFDLENBQUM7SUFDbEQsQ0FBQztJQUVEOzs7OztPQUtHO0lBQ0gsdUNBQWlCLEdBQWpCLFVBQWtCLE9BQWUsRUFBRSxNQUFjLEVBQUUsSUFBYT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akYsTUFBTSxDQUFDLDhCQUFNLENBQUMsaUJBQWlCLENBQUMsR0FBRyxFQUFFLElBQUksQ0FBQyxFQUFFLENBQUMsQ0FBQztJQUNsRCxDQUFDO0lBRUQ7OztPQUdHO0lBQ0gsMkNBQXFCLEdBQXJCLFVBQXNCLEdBQVc7UUFDN0IsTUFBTSxDQUFDLDhCQUFNLENBQUMsaUJBQWlCLENBQUMsR0FBRyxFQUFFLElBQUksQ0FBQyxFQUFFLENBQUMsQ0FBQztJQUNsRCxDQUFDO0lBRUQ7OztPQUdHO0lBQ0gsNkJBQU8sR0FBUCxVQUFRLElBQVk7UUFDaEIsSUFBSSxHQUFHLEdBQUcsSUFBSSxDQUFDLElBQUksR0FBRyxJQUFJLENBQUM7UUFDM0IsTUFBTSxDQUFDLDhCQUFNLENBQUMsaUJBQWlCLENBQUMsR0FBRyxFQUFFLElBQUksQ0FBQyxFQUFFLENBQUMsQ0FBQztJQUNsRCxDQUFDO0lBQ0wsa0JBQUM7QUFBRCxDQUFDLEFBbkRELENBQWlDLHNCQUFTLEdBbUR6QztBQW5EWSxrQ0FBVyJ9 |
@@ -1,9 +0,2 @@ | ||
import { Observable } from 'rxjs/Observable'; | ||
import 'rxjs/add/observable/empty'; | ||
import 'rxjs/add/observable/fromPromise'; | ||
import 'rxjs/add/observable/merge'; | ||
import 'rxjs/add/operator/catch'; | ||
import 'rxjs/add/operator/filter'; | ||
import 'rxjs/add/operator/map'; | ||
import 'rxjs/add/operator/pluck'; | ||
import { Observable } from 'rxjs/Rx'; | ||
import { AxiosInstance } from 'axios'; | ||
@@ -10,0 +3,0 @@ import { TemporalPage, TemporalPageData } from '../types/temporal-page'; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var Observable_1 = require("rxjs/Observable"); | ||
require("rxjs/add/observable/empty"); | ||
require("rxjs/add/observable/fromPromise"); | ||
require("rxjs/add/observable/merge"); | ||
require("rxjs/add/operator/catch"); | ||
require("rxjs/add/operator/filter"); | ||
require("rxjs/add/operator/map"); | ||
require("rxjs/add/operator/pluck"); | ||
var Rx_1 = require("rxjs/Rx"); | ||
var axios_1 = require("axios"); | ||
@@ -43,5 +36,5 @@ var internal_utils_1 = require("../internal-utils"); | ||
var urls = this.geohashes.map(function (hash) { return _this.host + '/locations/' + hash + '/' + typeId + '/events' + query; }); | ||
return Observable_1.Observable | ||
.merge.apply(Observable_1.Observable, urls.map(function (url) { return internal_utils_1.InternalUtils.getAsTemporalPage(url, _this.ax).delay(period) | ||
.expand(function (tpage) { return !!tpage.link.next ? internal_utils_1.InternalUtils.getAsTemporalPage(_this.host + tpage.link.next, _this.ax).delay(period) : Observable_1.Observable.empty(); }); })); | ||
return Rx_1.Observable | ||
.merge.apply(Rx_1.Observable, urls.map(function (url) { return internal_utils_1.InternalUtils.getAsTemporalPage(url, _this.ax).delay(period) | ||
.expand(function (tpage) { return !!tpage.link.next ? internal_utils_1.InternalUtils.getAsTemporalPage(_this.host + tpage.link.next, _this.ax).delay(period) : Rx_1.Observable.empty(); }); })); | ||
}; | ||
@@ -59,4 +52,4 @@ /** | ||
var urls = this.geohashes.map(function (hash) { return _this.host + '/locations/' + hash + '/' + typeId + '/events' + query; }); | ||
return Observable_1.Observable | ||
.merge.apply(Observable_1.Observable, urls.map(function (url) { return internal_utils_1.InternalUtils.getCompleteInterval(url, _this.ax); })).filter(function (page) { return Object.keys(page.data).length > 0; }) | ||
return Rx_1.Observable | ||
.merge.apply(Rx_1.Observable, urls.map(function (url) { return internal_utils_1.InternalUtils.getCompleteInterval(url, _this.ax); })).filter(function (page) { return Object.keys(page.data).length > 0; }) | ||
.pluck('data'); | ||
@@ -67,2 +60,2 @@ }; | ||
exports.LocationsClient = LocationsClient; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibG9jYXRpb25zLWNsaWVudC5qcyIsInNvdXJjZVJvb3QiOiJDOi9Vc2Vycy90ZHVwb250L1dvcmtzcGFjZXMvY290LWxpYi9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QUFDO0lBRUQ7Ozs7OztPQU1HO0lBQ0gseUNBQWUsR0FBZixVQUFnQixNQUFjLEVBQUUsSUFBWSxFQUFFLEVBQVU7UUFBeEQsaUJBT0M7UUFORyxJQUFJLEtBQUssR0FBRyxRQUFRLEdBQUcsSUFBSSxHQUFHLE1BQU0sR0FBRyxFQUFFLENBQUM7UUFDMUMsSUFBSSxJQUFJLEdBQUcsSUFBSSxDQUFDLFNBQVMsQ0FBQyxHQUFHLENBQUMsVUFBQSxJQUFJLElBQUksT0FBQSxLQUFJLENBQUMsSUFBSSxHQUFHLGFBQWEsR0FBRyxJQUFJLEdBQUcsR0FBRyxHQUFHLE1BQU0sR0FBRyxTQUFTLEdBQUcsS0FBSyxFQUFuRSxDQUFtRSxDQUFDLENBQUM7UUFDM0csTUFBTSxDQUFDLGVBQVU7YUFDWixLQUFLLE9BREgsZUFBVSxFQUNILElBQUksQ0FBQyxHQUFHLENBQUMsVUFBQSxHQUFHLElBQUksT0FBQSw4QkFBTSxDQUFDLG1CQUFtQixDQUFDLEdBQUcsRUFBRSxLQUFJLENBQUMsRUFBRSxDQUFDLEVBQXhDLENBQXdDLENBQUMsRUFDbEUsTUFBTSxDQUFDLFVBQUEsSUFBSSxJQUFJLE9BQUEsTUFBTSxDQUFDLElBQUksQ0FBQyxJQUFJLENBQUMsSUFBSSxDQUFDLENBQUMsTUFBTSxHQUFHLENBQUMsRUFBakMsQ0FBaUMsQ0FBQzthQUNqRCxLQUFLLENBQUMsTUFBTSxDQUFDLENBQUM7SUFDdkIsQ0FBQztJQUVMLHNCQUFDO0FBQUQsQ0FBQyxBQXJERCxJQXFEQztBQXJEWSwwQ0FBZSJ9 |
@@ -1,9 +0,2 @@ | ||
import { Observable } from 'rxjs/Observable'; | ||
import 'rxjs/add/observable/empty'; | ||
import 'rxjs/add/observable/fromPromise'; | ||
import 'rxjs/add/observable/merge'; | ||
import 'rxjs/add/operator/catch'; | ||
import 'rxjs/add/operator/filter'; | ||
import 'rxjs/add/operator/map'; | ||
import 'rxjs/add/operator/pluck'; | ||
import { Observable } from 'rxjs/Rx'; | ||
import { AxiosInstance } from 'axios'; | ||
@@ -10,0 +3,0 @@ import { TemporalPage, TemporalPageData } from '../types/temporal-page'; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var Observable_1 = require("rxjs/Observable"); | ||
require("rxjs/add/observable/empty"); | ||
require("rxjs/add/observable/fromPromise"); | ||
require("rxjs/add/observable/merge"); | ||
require("rxjs/add/operator/catch"); | ||
require("rxjs/add/operator/filter"); | ||
require("rxjs/add/operator/map"); | ||
require("rxjs/add/operator/pluck"); | ||
var Rx_1 = require("rxjs/Rx"); | ||
var axios_1 = require("axios"); | ||
@@ -43,5 +36,5 @@ var internal_utils_1 = require("../internal-utils"); | ||
var urls = this.sourceIds.map(function (id) { return _this.host + '/sources/' + id + '/events' + query; }); | ||
return Observable_1.Observable | ||
.merge.apply(Observable_1.Observable, urls.map(function (url) { return internal_utils_1.InternalUtils.getAsTemporalPage(url, _this.ax).delay(period) | ||
.expand(function (tpage) { return !!tpage.link.next ? internal_utils_1.InternalUtils.getAsTemporalPage(_this.host + tpage.link.next, _this.ax).delay(period) : Observable_1.Observable.empty(); }); })); | ||
return Rx_1.Observable | ||
.merge.apply(Rx_1.Observable, urls.map(function (url) { return internal_utils_1.InternalUtils.getAsTemporalPage(url, _this.ax).delay(period) | ||
.expand(function (tpage) { return !!tpage.link.next ? internal_utils_1.InternalUtils.getAsTemporalPage(_this.host + tpage.link.next, _this.ax).delay(period) : Rx_1.Observable.empty(); }); })); | ||
}; | ||
@@ -58,4 +51,4 @@ /** | ||
var urls = this.sourceIds.map(function (id) { return _this.host + '/sources/' + id + '/events' + query; }); | ||
return Observable_1.Observable | ||
.merge.apply(Observable_1.Observable, urls.map(function (url) { return internal_utils_1.InternalUtils.getCompleteInterval(url, _this.ax); })).filter(function (page) { return Object.keys(page.data).length > 0; }) | ||
return Rx_1.Observable | ||
.merge.apply(Rx_1.Observable, urls.map(function (url) { return internal_utils_1.InternalUtils.getCompleteInterval(url, _this.ax); })).filter(function (page) { return Object.keys(page.data).length > 0; }) | ||
.pluck('data'); | ||
@@ -66,2 +59,2 @@ }; | ||
exports.SourcesClient = SourcesClient; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic291cmNlcy1jbGllbnQuanMiLCJzb3VyY2VSb290IjoiQzovVXNlcnMvdGR1cG9udC9Xb3Jrc3BhY2VzL2NvdC1saWIvbGliLyIsInNvdXJjZXMiOlsiY2xpZW50cy9zb3VyY2VzLWNsaWVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQUFBLDhDQUE2QztBQUM3QyxxQ0FBbUM7QUFDbkMsMkNBQXlDO0FBQ3pDLHFDQUFtQztBQUNuQyxtQ0FBaUM7QUFDakMsb0NBQWtDO0FBQ2xDLGlDQUErQjtBQUMvQixtQ0FBaUM7QUFDakMsK0JBQTBCO0FBRzFCLG9EQUE0RDtBQUc1RDtJQUtJOzs7Ozs7T0FNRztJQUNILHVCQUFZLElBQVksRUFBRSxhQUE0QjtRQUFFLG1CQUFzQjthQUF0QixVQUFzQixFQUF0QixxQkFBc0IsRUFBdEIsSUFBc0I7WUFBdEIsa0NBQXNCOztRQUMxRSxJQUFJLENBQUMsSUFBSSxHQUFHLElBQUksQ0FBQztRQUNqQixJQUFJLENBQUMsRUFBRSxHQUFHLGFBQWEsSUFBSSxlQUFLLENBQUMsTUFBTSxFQUFFLENBQUM7UUFDMUMsSUFBSSxDQUFDLFNBQVMsR0FBRyxTQUFTLENBQUM7SUFDL0IsQ0FBQztJQUVEOzs7OztPQUtHO0lBQ0gsZ0NBQVEsR0FBUixVQUFTLE1BQWMsRUFBRSxJQUFhO1FBQXRDLGlCQVdDO1FBVkcsSUFBSSxLQUFLLEdBQUcsRUFBRSxDQUFDO1FBQ2YsRUFBRSxDQUFDLENBQUMsSUFBSSxDQUFDLENBQUMsQ0FBQztZQ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rxjs/Observable'; | ||
import 'rxjs/add/observable/empty'; | ||
import 'rxjs/add/operator/do'; | ||
import 'rxjs/add/operator/expand'; | ||
import 'rxjs/add/operator/takeWhile'; | ||
import { Observable } from 'rxjs/Rx'; | ||
import { TemporalPage, TemporalPageLink } from './types/temporal-page'; | ||
@@ -8,0 +4,0 @@ export declare class InternalUtils { |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var axios_1 = require("axios"); | ||
var Observable_1 = require("rxjs/Observable"); | ||
require("rxjs/add/observable/empty"); | ||
require("rxjs/add/operator/do"); | ||
require("rxjs/add/operator/expand"); | ||
require("rxjs/add/operator/takeWhile"); | ||
var Rx_1 = require("rxjs/Rx"); | ||
var InternalUtils = (function () { | ||
@@ -64,3 +60,3 @@ function InternalUtils() { | ||
var ax = axiosInstance || axios_1.default.create(); | ||
return Observable_1.Observable.fromPromise(ax.get(url)).map(function (resp) { return InternalUtils.mapToTemporalPage(resp); }); | ||
return Rx_1.Observable.fromPromise(ax.get(url)).map(function (resp) { return InternalUtils.mapToTemporalPage(resp); }); | ||
}; | ||
@@ -95,3 +91,3 @@ /** | ||
// no last, stop expanding | ||
return Observable_1.Observable.empty(); | ||
return Rx_1.Observable.empty(); | ||
} | ||
@@ -105,3 +101,3 @@ var myLast = last.indexOf('?') >= 0 ? last.split('?')[0] : last; | ||
// this was the last request | ||
return Observable_1.Observable.empty(); | ||
return Rx_1.Observable.empty(); | ||
} | ||
@@ -116,2 +112,2 @@ else { | ||
exports.InternalUtils = InternalUtils; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW50ZXJuYWwtdXRpbHMuanMiLCJzb3VyY2VSb290IjoiQzovVXNlcnMvdGR1cG9udC9Xb3Jrc3BhY2VzL2NvdC1saWIvbGliLyIsInNvdXJjZXMiOlsiaW50ZXJuYWwtdXRpbHMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFBQSwrQkFBME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BTSxDQUFDLElBQUksQ0FBQyxpQkFBaUIsQ0FBQyxJQUFJLEdBQUcsS0FBSyxDQUFDLElBQUksQ0FBQyxNQUFNLENBQUMsRUFBRSxhQUFhLENBQUMsQ0FBQztRQUM1RSxDQUFDO0lBQ0wsQ0FBQztJQUNMLG9CQUFDO0FBQUQsQ0FBQyxBQTFHRCxJQTBHQztBQTFHWSxzQ0FBYSJ9 |
{ | ||
"name": "cot-lib", | ||
"version": "3.0.2", | ||
"version": "3.1.0", | ||
"description": "Easily consume the City of Things platform data", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
441556
990