@datocms/cma-client
Advanced tools
Comparing version 3.0.6 to 3.0.8
@@ -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.6', 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.8', 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) { |
@@ -100,2 +100,3 @@ "use strict"; | ||
'ip_tracking_enabled', | ||
'force_use_of_sandbox_environments', | ||
], | ||
@@ -102,0 +103,0 @@ relationships: ['sso_default_role'], |
@@ -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.6', 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.8', 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) { |
@@ -72,2 +72,3 @@ var __extends = (this && this.__extends) || (function () { | ||
'ip_tracking_enabled', | ||
'force_use_of_sandbox_environments', | ||
], | ||
@@ -74,0 +75,0 @@ relationships: ['sso_default_role'], |
{ | ||
"name": "@datocms/cma-client", | ||
"version": "3.0.6", | ||
"version": "3.0.8", | ||
"description": "JS client for DatoCMS REST Content Management API", | ||
@@ -47,3 +47,3 @@ "keywords": [ | ||
}, | ||
"gitHead": "cee3f805421882ded88e56e4a76a4710df5ce2d9" | ||
"gitHead": "f4e820d720b6696cbff563894159cda9deaef337" | ||
} |
@@ -138,3 +138,3 @@ import * as Resources from './resources'; | ||
logFn: this.config.logFn || console.log, | ||
userAgent: '@datocms/cma-client v3.0.6', | ||
userAgent: '@datocms/cma-client v3.0.8', | ||
baseUrl: this.baseUrl, | ||
@@ -141,0 +141,0 @@ preCallStack: new Error().stack, |
@@ -65,2 +65,3 @@ import * as Utils from '@datocms/rest-client-utils'; | ||
'ip_tracking_enabled', | ||
'force_use_of_sandbox_environments', | ||
], | ||
@@ -67,0 +68,0 @@ relationships: ['sso_default_role'], |
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
3179274
95342