@datocms/cma-client
Advanced tools
Comparing version 2.2.1 to 2.2.2
@@ -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.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 v2.2.2', 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) { |
@@ -73,2 +73,3 @@ "use strict"; | ||
'default_value', | ||
'deep_filtering_enabled', | ||
], | ||
@@ -118,2 +119,3 @@ relationships: ['fieldset'], | ||
'hint', | ||
'deep_filtering_enabled', | ||
], | ||
@@ -120,0 +122,0 @@ relationships: ['fieldset'], |
@@ -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.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 v2.2.2', 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) { |
@@ -45,2 +45,3 @@ var __extends = (this && this.__extends) || (function () { | ||
'default_value', | ||
'deep_filtering_enabled', | ||
], | ||
@@ -90,2 +91,3 @@ relationships: ['fieldset'], | ||
'hint', | ||
'deep_filtering_enabled', | ||
], | ||
@@ -92,0 +94,0 @@ relationships: ['fieldset'], |
{ | ||
"name": "@datocms/cma-client", | ||
"version": "2.2.1", | ||
"version": "2.2.2", | ||
"description": "JS client for DatoCMS REST Content Management API", | ||
@@ -43,5 +43,5 @@ "keywords": [ | ||
"devDependencies": { | ||
"@datocms/dashboard-client": "^2.2.1" | ||
"@datocms/dashboard-client": "^2.2.2" | ||
}, | ||
"gitHead": "d909b4dc5bbf9adb848a7da8d0a06682c2780a85" | ||
"gitHead": "5a342478d94ed4ab7c0796fe3cfa19ed3207e8d5" | ||
} |
@@ -136,3 +136,3 @@ import * as Resources from './resources'; | ||
logFn: this.config.logFn || console.log, | ||
userAgent: '@datocms/cma-client v2.2.1', | ||
userAgent: '@datocms/cma-client v2.2.2', | ||
baseUrl: this.baseUrl, | ||
@@ -139,0 +139,0 @@ preCallStack: new Error().stack, |
@@ -36,2 +36,3 @@ import * as Utils from '@datocms/rest-client-utils'; | ||
'default_value', | ||
'deep_filtering_enabled', | ||
], | ||
@@ -94,2 +95,3 @@ relationships: ['fieldset'], | ||
'hint', | ||
'deep_filtering_enabled', | ||
], | ||
@@ -96,0 +98,0 @@ relationships: ['fieldset'], |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
Sorry, the diff of this file is too big to display
3154277
94936