@datocms/cma-client
Advanced tools
Comparing version
@@ -130,3 +130,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 v2.2.3', 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 v2.2.4', baseUrl: this.baseUrl, preCallStack: new Error().stack, extraHeaders: __assign(__assign(__assign({}, (this.config.extraHeaders || {})), (this.config.environment | ||
? { 'X-Environment': this.config.environment } | ||
@@ -133,0 +133,0 @@ : {})), { 'X-API-Version': '3' }), fetchJobResult: function (jobId) { |
@@ -104,3 +104,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 v2.2.3', 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 v2.2.4', baseUrl: this.baseUrl, preCallStack: new Error().stack, extraHeaders: __assign(__assign(__assign({}, (this.config.extraHeaders || {})), (this.config.environment | ||
? { 'X-Environment': this.config.environment } | ||
@@ -107,0 +107,0 @@ : {})), { 'X-API-Version': '3' }), fetchJobResult: function (jobId) { |
{ | ||
"name": "@datocms/cma-client", | ||
"version": "2.2.3", | ||
"version": "2.2.4", | ||
"description": "JS client for DatoCMS REST Content Management API", | ||
@@ -43,5 +43,5 @@ "keywords": [ | ||
"devDependencies": { | ||
"@datocms/dashboard-client": "^2.2.3" | ||
"@datocms/dashboard-client": "^2.2.4" | ||
}, | ||
"gitHead": "817ed176edb67f667e18513951f4f0c657ab43f1" | ||
"gitHead": "21b449369c7e9cce0c78ab3e7d73034403667889" | ||
} |
@@ -136,3 +136,3 @@ import * as Resources from './resources'; | ||
logFn: this.config.logFn || console.log, | ||
userAgent: '@datocms/cma-client v2.2.3', | ||
userAgent: '@datocms/cma-client v2.2.4', | ||
baseUrl: this.baseUrl, | ||
@@ -139,0 +139,0 @@ preCallStack: new Error().stack, |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
3154445
0.01%