Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@datocms/cma-client

Package Overview
Dependencies
Maintainers
6
Versions
112
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@datocms/cma-client - npm Package Compare versions

Comparing version 3.3.0 to 3.3.1

dist/cjs/generated/resources/UploadTrack.js

3

dist/cjs/generated/Client.js

@@ -99,2 +99,3 @@ "use strict";

this.uploadRequest = new Resources.UploadRequest(this);
this.uploadTracks = new Resources.UploadTrack(this);
this.scheduledPublication = new Resources.ScheduledPublication(this);

@@ -133,3 +134,3 @@ this.scheduledUnpublishing = new Resources.ScheduledUnpublishing(this);

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.3.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.3.1', baseUrl: this.baseUrl, preCallStack: new Error().stack, extraHeaders: __assign(__assign(__assign({}, (this.config.extraHeaders || {})), (this.config.environment
? { 'X-Environment': this.config.environment }

@@ -136,0 +137,0 @@ : {})), { 'X-API-Version': '3' }), fetchJobResult: function (jobId) {

@@ -6,3 +6,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.Workflow = exports.Site = exports.UploadSmartTag = exports.UploadTag = exports.UsageCounter = exports.DailyUsage = exports.PublicInfo = exports.WhiteLabelSettings = exports.EmojiSuggestions = exports.SsoSettings = exports.SsoGroup = exports.EditingSession = exports.SiteInvitation = exports.UploadFilter = exports.ItemTypeFilter = exports.BuildTrigger = exports.WebhookCall = exports.Webhook = exports.MaintenanceMode = exports.Environment = exports.SearchResult = exports.ScheduledUnpublishing = exports.ScheduledPublication = exports.UploadRequest = exports.Upload = exports.ItemVersion = exports.Item = exports.BuildEvent = exports.SubscriptionFeature = exports.SubscriptionLimit = exports.JobResult = exports.Plugin = exports.AccessToken = exports.Session = exports.Fieldset = exports.Field = exports.ItemType = exports.SchemaMenuItem = exports.MenuItem = exports.AuditLogEvent = exports.SsoUser = exports.User = exports.Role = void 0;
exports.Workflow = exports.Site = exports.UploadSmartTag = exports.UploadTag = exports.UsageCounter = exports.DailyUsage = exports.PublicInfo = exports.WhiteLabelSettings = exports.EmojiSuggestions = exports.SsoSettings = exports.SsoGroup = exports.EditingSession = exports.SiteInvitation = exports.UploadFilter = exports.ItemTypeFilter = exports.BuildTrigger = exports.WebhookCall = exports.Webhook = exports.MaintenanceMode = exports.Environment = exports.SearchResult = exports.ScheduledUnpublishing = exports.ScheduledPublication = exports.UploadTrack = exports.UploadRequest = exports.Upload = exports.ItemVersion = exports.Item = exports.BuildEvent = exports.SubscriptionFeature = exports.SubscriptionLimit = exports.JobResult = exports.Plugin = exports.AccessToken = exports.Session = exports.Fieldset = exports.Field = exports.ItemType = exports.SchemaMenuItem = exports.MenuItem = exports.AuditLogEvent = exports.SsoUser = exports.User = exports.Role = void 0;
var Role_1 = require("../../resources/Role");

@@ -48,2 +48,4 @@ Object.defineProperty(exports, "Role", { enumerable: true, get: function () { return __importDefault(Role_1).default; } });

Object.defineProperty(exports, "UploadRequest", { enumerable: true, get: function () { return __importDefault(UploadRequest_1).default; } });
var UploadTrack_1 = require("./UploadTrack");
Object.defineProperty(exports, "UploadTrack", { enumerable: true, get: function () { return __importDefault(UploadTrack_1).default; } });
var ScheduledPublication_1 = require("./ScheduledPublication");

@@ -50,0 +52,0 @@ Object.defineProperty(exports, "ScheduledPublication", { enumerable: true, get: function () { return __importDefault(ScheduledPublication_1).default; } });

@@ -53,2 +53,3 @@ import { type LogLevel, request } from '@datocms/rest-client-utils';

uploadRequest: Resources.UploadRequest;
uploadTracks: Resources.UploadTrack;
scheduledPublication: Resources.ScheduledPublication;

@@ -55,0 +56,0 @@ scheduledUnpublishing: Resources.ScheduledUnpublishing;

@@ -73,2 +73,3 @@ var __assign = (this && this.__assign) || function () {

this.uploadRequest = new Resources.UploadRequest(this);
this.uploadTracks = new Resources.UploadTrack(this);
this.scheduledPublication = new Resources.ScheduledPublication(this);

@@ -107,3 +108,3 @@ this.scheduledUnpublishing = new Resources.ScheduledUnpublishing(this);

var _this = this;
return request(__assign(__assign(__assign({}, this.config), options), { logFn: this.config.logFn || console.log, userAgent: '@datocms/cma-client v3.3.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.3.1', baseUrl: this.baseUrl, preCallStack: new Error().stack, extraHeaders: __assign(__assign(__assign({}, (this.config.extraHeaders || {})), (this.config.environment
? { 'X-Environment': this.config.environment }

@@ -110,0 +111,0 @@ : {})), { 'X-API-Version': '3' }), fetchJobResult: function (jobId) {

@@ -21,2 +21,3 @@ export { default as Role } from '../../resources/Role';

export { default as UploadRequest } from './UploadRequest';
export { default as UploadTrack } from './UploadTrack';
export { default as ScheduledPublication } from './ScheduledPublication';

@@ -23,0 +24,0 @@ export { default as ScheduledUnpublishing } from './ScheduledUnpublishing';

@@ -21,2 +21,3 @@ export { default as Role } from '../../resources/Role';

export { default as UploadRequest } from './UploadRequest';
export { default as UploadTrack } from './UploadTrack';
export { default as ScheduledPublication } from './ScheduledPublication';

@@ -23,0 +24,0 @@ export { default as ScheduledUnpublishing } from './ScheduledUnpublishing';

@@ -53,2 +53,3 @@ import { type LogLevel, request } from '@datocms/rest-client-utils';

uploadRequest: Resources.UploadRequest;
uploadTracks: Resources.UploadTrack;
scheduledPublication: Resources.ScheduledPublication;

@@ -55,0 +56,0 @@ scheduledUnpublishing: Resources.ScheduledUnpublishing;

@@ -21,2 +21,3 @@ export { default as Role } from '../../resources/Role';

export { default as UploadRequest } from './UploadRequest';
export { default as UploadTrack } from './UploadTrack';
export { default as ScheduledPublication } from './ScheduledPublication';

@@ -23,0 +24,0 @@ export { default as ScheduledUnpublishing } from './ScheduledUnpublishing';

{
"name": "@datocms/cma-client",
"version": "3.3.0",
"version": "3.3.1",
"description": "JS client for DatoCMS REST Content Management API",

@@ -33,10 +33,10 @@ "keywords": ["datocms", "client"],

"dependencies": {
"@datocms/rest-client-utils": "^3.3.0",
"@datocms/rest-client-utils": "^3.3.1",
"uuid": "^9.0.1"
},
"devDependencies": {
"@datocms/dashboard-client": "^3.3.0",
"@datocms/dashboard-client": "^3.3.1",
"@types/uuid": "^9.0.7"
},
"gitHead": "1797aa66113ed33fd845d1433317f45c4ca6a47a"
"gitHead": "72d7577fe8451175d705bfec742f271351b7de30"
}

@@ -61,2 +61,3 @@ import {

uploadRequest: Resources.UploadRequest;
uploadTracks: Resources.UploadTrack;
scheduledPublication: Resources.ScheduledPublication;

@@ -113,2 +114,3 @@ scheduledUnpublishing: Resources.ScheduledUnpublishing;

this.uploadRequest = new Resources.UploadRequest(this);
this.uploadTracks = new Resources.UploadTrack(this);
this.scheduledPublication = new Resources.ScheduledPublication(this);

@@ -148,3 +150,3 @@ this.scheduledUnpublishing = new Resources.ScheduledUnpublishing(this);

logFn: this.config.logFn || console.log,
userAgent: '@datocms/cma-client v3.3.0',
userAgent: '@datocms/cma-client v3.3.1',
baseUrl: this.baseUrl,

@@ -151,0 +153,0 @@ preCallStack: new Error().stack,

@@ -21,2 +21,3 @@ export { default as Role } from '../../resources/Role';

export { default as UploadRequest } from './UploadRequest';
export { default as UploadTrack } from './UploadTrack';
export { default as ScheduledPublication } from './ScheduledPublication';

@@ -23,0 +24,0 @@ export { default as ScheduledUnpublishing } from './ScheduledUnpublishing';

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 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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc