@datocms/cma-client
Advanced tools
Comparing version 2.0.0-alpha.0 to 2.0.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 v2.0.0-alpha.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 v2.0.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 v2.0.0-alpha.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 v2.0.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": "2.0.0-alpha.0", | ||
"version": "2.0.0", | ||
"description": "JS client for DatoCMS REST Content Management API", | ||
@@ -43,5 +43,5 @@ "keywords": [ | ||
"devDependencies": { | ||
"@datocms/dashboard-client": "^2.0.0-alpha.0" | ||
"@datocms/dashboard-client": "^2.0.0" | ||
}, | ||
"gitHead": "0875dbbb36a17e689b6e2d07466d617877a72c6c" | ||
"gitHead": "0ca68051182a932f5dbbd2cb2da4177a83de82aa" | ||
} |
@@ -136,3 +136,3 @@ import * as Resources from './resources'; | ||
logFn: this.config.logFn || console.log, | ||
userAgent: '@datocms/cma-client v2.0.0-alpha.0', | ||
userAgent: '@datocms/cma-client v2.0.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
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
3148383
94773
0