bitmovin-javascript
Advanced tools
Comparing version 2.31.0 to 2.32.0
@@ -17,2 +17,5 @@ import { MetricName } from '.'; | ||
offset(offset: number): MetricQueryBuilder; | ||
async(async: any): MetricQueryBuilder; | ||
jobId(jobId: any): MetricQueryBuilder; | ||
cursor(cursor: any): MetricQueryBuilder; | ||
extendQuery_(extensions: any): MetricQueryBuilder; | ||
@@ -19,0 +22,0 @@ query(): Promise<{}>; |
@@ -51,2 +51,11 @@ "use strict"; | ||
}; | ||
MetricQueryBuilder.prototype.async = function (async) { | ||
return this.extendQuery_({ async: async }); | ||
}; | ||
MetricQueryBuilder.prototype.jobId = function (jobId) { | ||
return this.extendQuery_({ jobId: jobId }); | ||
}; | ||
MetricQueryBuilder.prototype.cursor = function (cursor) { | ||
return this.extendQuery_({ cursor: cursor }); | ||
}; | ||
MetricQueryBuilder.prototype.extendQuery_ = function (extensions) { | ||
@@ -53,0 +62,0 @@ return new MetricQueryBuilder(this.queries, __assign({}, this.queryObj, extensions)); |
@@ -16,2 +16,5 @@ declare class Builder { | ||
offset(offset: any): Builder; | ||
async(async: any): Builder; | ||
jobId(jobId: any): Builder; | ||
cursor(cursor: any): Builder; | ||
extendQuery_(extensions: any): Builder; | ||
@@ -18,0 +21,0 @@ query(): any; |
@@ -69,2 +69,11 @@ "use strict"; | ||
}; | ||
Builder.prototype.async = function (async) { | ||
return this.extendQuery_({ async: async }); | ||
}; | ||
Builder.prototype.jobId = function (jobId) { | ||
return this.extendQuery_({ jobId: jobId }); | ||
}; | ||
Builder.prototype.cursor = function (cursor) { | ||
return this.extendQuery_({ cursor: cursor }); | ||
}; | ||
Builder.prototype.extendQuery_ = function (extensions) { | ||
@@ -71,0 +80,0 @@ return new Builder(this.aggregations, Object.freeze(__assign({}, this.queryObj, extensions))); |
@@ -49,3 +49,3 @@ "use strict"; | ||
internalConfig.apiBaseUrl = urljoin(internalConfig.protocol + '://' + internalConfig.host, internalConfig.basePath); | ||
internalConfig.httpHeaders = __assign({ 'Content-Type': 'application/json', 'X-Api-Key': internalConfig.apiKey, 'X-Api-Client': internalConfig.xApiClient, 'X-Api-Client-Version': "" + '2.31.0' }, internalConfig.additionalHeaders); | ||
internalConfig.httpHeaders = __assign({ 'Content-Type': 'application/json', 'X-Api-Key': internalConfig.apiKey, 'X-Api-Client': internalConfig.xApiClient, 'X-Api-Client-Version': "" + '2.32.0' }, internalConfig.additionalHeaders); | ||
if (internalConfig.tenantOrgId !== undefined) { | ||
@@ -52,0 +52,0 @@ internalConfig.httpHeaders['X-Tenant-Org-Id'] = internalConfig.tenantOrgId; |
{ | ||
"name": "bitmovin-javascript", | ||
"version": "2.31.0", | ||
"version": "2.32.0", | ||
"main": "./dist/index.js", | ||
@@ -5,0 +5,0 @@ "browser": "./dist/bitmovin.browser.js", |
Sorry, the diff of this file is not supported yet
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 too big to display
2369916
28579