@globalfishingwatch/api-client
Advanced tools
Comparing version 0.0.20-dataviews5 to 0.0.20-dataviews6
@@ -16,3 +16,3 @@ "use strict"; | ||
var template_1 = require("lodash/template"); | ||
var DOWNLOADABLE_ENDPOINTS_TYPES = ['track', 'info']; | ||
var DOWNLOADABLE_ENDPOINTS_TYPES = ['track', 'info', 'events']; | ||
var DataviewsClient = /** @class */ (function () { | ||
@@ -60,3 +60,3 @@ function DataviewsClient(_fetch, library) { | ||
_this._endpointsLoaded.set(resolvedUrl, true); | ||
return { response: response, dataviewWorkspace: dataviewWorkspace }; | ||
return { response: response, dataviewWorkspace: dataviewWorkspace, endpoint: endpoint, dataset: dataset }; | ||
}); | ||
@@ -63,0 +63,0 @@ promises.push(promise); |
@@ -1,2 +0,2 @@ | ||
export declare type EndpointType = 'track' | 'info' | 'tiles'; | ||
export declare type EndpointType = 'track' | 'info' | 'tiles' | 'events'; | ||
export interface Endpoint { | ||
@@ -3,0 +3,0 @@ type: EndpointType; |
{ | ||
"name": "@globalfishingwatch/api-client", | ||
"version": "0.0.20-dataviews5", | ||
"version": "0.0.20-dataviews6", | ||
"description": "js library to help with the login/logout and resources fetch of the GFW API", | ||
@@ -5,0 +5,0 @@ "keywords": [], |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
679599