@datocms/cma-client
Advanced tools
Comparing version 3.0.0 to 3.0.1
@@ -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 v3.0.0', 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.0.1', 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 v3.0.0', 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.0.1', 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": "3.0.0", | ||
"version": "3.0.1", | ||
"description": "JS client for DatoCMS REST Content Management API", | ||
@@ -40,8 +40,8 @@ "keywords": [ | ||
"dependencies": { | ||
"@datocms/rest-client-utils": "^3.0.0" | ||
"@datocms/rest-client-utils": "^3.0.1" | ||
}, | ||
"devDependencies": { | ||
"@datocms/dashboard-client": "^3.0.0" | ||
"@datocms/dashboard-client": "^3.0.1" | ||
}, | ||
"gitHead": "5a6f58cc816ea526350913a5ad49bf9c5cb968ea" | ||
"gitHead": "25bd2353c5bfa4f0beba4be666c47ade4b6483c9" | ||
} |
@@ -138,3 +138,3 @@ import * as Resources from './resources'; | ||
logFn: this.config.logFn || console.log, | ||
userAgent: '@datocms/cma-client v3.0.0', | ||
userAgent: '@datocms/cma-client v3.0.1', | ||
baseUrl: this.baseUrl, | ||
@@ -141,0 +141,0 @@ preCallStack: new Error().stack, |