@datocms/cma-client
Advanced tools
Comparing version
@@ -132,3 +132,3 @@ "use strict"; | ||
var _this = this; | ||
return (0, rest_client_utils_1.request)(__assign(__assign(__assign({}, this.config), options), { logFn: this.config.logFn || console.log, userAgent: '@datocms/cma-client v3.1.7-alpha.1', baseUrl: this.baseUrl, preCallStack: new Error().stack, extraHeaders: __assign(__assign(__assign({}, (this.config.extraHeaders || {})), (this.config.environment | ||
return (0, rest_client_utils_1.request)(__assign(__assign(__assign({}, this.config), options), { logFn: this.config.logFn || console.log, userAgent: '@datocms/cma-client v3.1.7-alpha.2', baseUrl: this.baseUrl, preCallStack: new Error().stack, extraHeaders: __assign(__assign(__assign({}, (this.config.extraHeaders || {})), (this.config.environment | ||
? { 'X-Environment': this.config.environment } | ||
@@ -135,0 +135,0 @@ : {})), { 'X-API-Version': '3' }), fetchJobResult: function (jobId) { |
@@ -106,3 +106,3 @@ var __assign = (this && this.__assign) || function () { | ||
var _this = this; | ||
return request(__assign(__assign(__assign({}, this.config), options), { logFn: this.config.logFn || console.log, userAgent: '@datocms/cma-client v3.1.7-alpha.1', baseUrl: this.baseUrl, preCallStack: new Error().stack, extraHeaders: __assign(__assign(__assign({}, (this.config.extraHeaders || {})), (this.config.environment | ||
return request(__assign(__assign(__assign({}, this.config), options), { logFn: this.config.logFn || console.log, userAgent: '@datocms/cma-client v3.1.7-alpha.2', baseUrl: this.baseUrl, preCallStack: new Error().stack, extraHeaders: __assign(__assign(__assign({}, (this.config.extraHeaders || {})), (this.config.environment | ||
? { 'X-Environment': this.config.environment } | ||
@@ -109,0 +109,0 @@ : {})), { 'X-API-Version': '3' }), fetchJobResult: function (jobId) { |
{ | ||
"name": "@datocms/cma-client", | ||
"version": "3.1.7-alpha.1", | ||
"version": "3.1.7-alpha.2", | ||
"description": "JS client for DatoCMS REST Content Management API", | ||
@@ -40,10 +40,10 @@ "keywords": [ | ||
"dependencies": { | ||
"@datocms/rest-client-utils": "^3.1.5", | ||
"@datocms/rest-client-utils": "^3.1.7-alpha.2", | ||
"uuid": "^9.0.1" | ||
}, | ||
"devDependencies": { | ||
"@datocms/dashboard-client": "^3.1.7-alpha.1", | ||
"@datocms/dashboard-client": "^3.1.7-alpha.2", | ||
"@types/uuid": "^9.0.7" | ||
}, | ||
"gitHead": "dbdf058508daf88d1fa324124f033fc50fc22517" | ||
"gitHead": "d3211c7e244f11cf2eef4146cf96c7d7d47f9559" | ||
} |
@@ -142,3 +142,3 @@ import { LogLevel, pollJobResult, request } from '@datocms/rest-client-utils'; | ||
logFn: this.config.logFn || console.log, | ||
userAgent: '@datocms/cma-client v3.1.7-alpha.1', | ||
userAgent: '@datocms/cma-client v3.1.7-alpha.2', | ||
baseUrl: this.baseUrl, | ||
@@ -145,0 +145,0 @@ preCallStack: new Error().stack, |
3344279
0