@datocms/cma-client
Advanced tools
Comparing version 3.3.9 to 3.3.10
@@ -134,3 +134,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.3.9', 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.3.10', baseUrl: this.baseUrl, preCallStack: new Error().stack, extraHeaders: __assign(__assign(__assign({}, (this.config.extraHeaders || {})), (this.config.environment | ||
? { 'X-Environment': this.config.environment } | ||
@@ -137,0 +137,0 @@ : {})), { 'X-API-Version': '3' }), fetchJobResult: function (jobId) { |
@@ -108,3 +108,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.3.9', 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.3.10', baseUrl: this.baseUrl, preCallStack: new Error().stack, extraHeaders: __assign(__assign(__assign({}, (this.config.extraHeaders || {})), (this.config.environment | ||
? { 'X-Environment': this.config.environment } | ||
@@ -111,0 +111,0 @@ : {})), { 'X-API-Version': '3' }), fetchJobResult: function (jobId) { |
{ | ||
"name": "@datocms/cma-client", | ||
"version": "3.3.9", | ||
"version": "3.3.10", | ||
"description": "JS client for DatoCMS REST Content Management API", | ||
@@ -40,10 +40,10 @@ "keywords": [ | ||
"dependencies": { | ||
"@datocms/rest-client-utils": "^3.3.5", | ||
"@datocms/rest-client-utils": "^3.3.10", | ||
"uuid": "^9.0.1" | ||
}, | ||
"devDependencies": { | ||
"@datocms/dashboard-client": "^3.3.7", | ||
"@datocms/dashboard-client": "^3.3.10", | ||
"@types/uuid": "^9.0.7" | ||
}, | ||
"gitHead": "0a74727e9f6008824496e8db450f1186bbad6a4a" | ||
"gitHead": "cdd10b11be7e7449b0b9b5f49f296596d8104e44" | ||
} |
@@ -150,3 +150,3 @@ import { | ||
logFn: this.config.logFn || console.log, | ||
userAgent: '@datocms/cma-client v3.3.9', | ||
userAgent: '@datocms/cma-client v3.3.10', | ||
baseUrl: this.baseUrl, | ||
@@ -153,0 +153,0 @@ preCallStack: new Error().stack, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
3620821