build: update dependencies

This commit is contained in:
Jovan Krunić
2019-01-28 14:11:43 +01:00
parent db240aa4b1
commit e37a23e8e0
9 changed files with 260 additions and 159 deletions

View File

@@ -18,7 +18,7 @@ import {
SCLicensePlate,
SCNamespaces,
SCThings,
SCThingTypes,
SCThingType,
SCThingUpdateResponse,
SCThingUpdateRoute,
} from '@openstapps/core';
@@ -78,7 +78,7 @@ export class ConnectorClient extends Client {
* @param source Source identifier (should be unique per actual data source)
* @param timeout Timeout in seconds when the bulk should expire
*/
async bulk<T extends SCThings>(type: SCThingTypes, source: string, timeout?: number): Promise<Bulk<T>> {
async bulk<T extends SCThings>(type: SCThingType, source: string, timeout?: number): Promise<Bulk<T>> {
// set default value for timeout to one hour
if (typeof timeout !== 'number') {
timeout = 3600;