@datocms/cma-client
Advanced tools
Comparing version 1.1.23-alpha.1 to 1.1.23-y.0
@@ -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 v1.1.23-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 v1.1.23-y.0', 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 v1.1.23-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 v1.1.23-y.0', 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": "1.1.23-alpha.1", | ||
"version": "1.1.23-y.0", | ||
"description": "JS client for DatoCMS REST Content Management API", | ||
@@ -43,5 +43,5 @@ "keywords": [ | ||
"devDependencies": { | ||
"@datocms/dashboard-client": "^1.1.23-alpha.1" | ||
"@datocms/dashboard-client": "^1.1.23-y.0" | ||
}, | ||
"gitHead": "9a060bb6389c7696868177051a76e2ef2358eb6e" | ||
"gitHead": "8346bdc2552acb0f2672f5aa25b4ccf57992eed1" | ||
} |
@@ -136,3 +136,3 @@ import * as Resources from './resources'; | ||
logFn: this.config.logFn || console.log, | ||
userAgent: '@datocms/cma-client v1.1.23-alpha.1', | ||
userAgent: '@datocms/cma-client v1.1.23-y.0', | ||
baseUrl: this.baseUrl, | ||
@@ -139,0 +139,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
3042433