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

@crowdin/crowdin-api-client

Package Overview
Dependencies
Maintainers
4
Versions
122
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@crowdin/crowdin-api-client - npm Package Compare versions

Comparing version 1.23.4 to 1.24.0

out/notifications/index.d.ts

2

out/bundles/index.d.ts

@@ -71,2 +71,3 @@ import { CrowdinApi, DownloadLink, PaginationOptions, PatchRequest, ResponseList, ResponseObject, Status } from '../core';

isMultilingual: boolean;
includeProjectSourceLanguage: boolean;
labelIds: number[];

@@ -83,2 +84,3 @@ createdAt: string;

isMultilingual?: boolean;
includeProjectSourceLanguage?: boolean;
labelIds?: number[];

@@ -85,0 +87,0 @@ }

@@ -62,2 +62,3 @@ import { CrowdinApi, PaginationOptions, PatchRequest, ResponseList, ResponseObject } from '../core';

fileIds: number[];
bundleIds: number[];
format: string;

@@ -70,7 +71,17 @@ exportPattern: string;

interface CreateDistributionRequest {
exportMode?: ExportMode;
name: string;
fileIds: number[];
exportMode?: ExportMode;
fileIds?: number[];
bundleIds?: number[];
/**
* @deprecated This property is deprecated. Use bundleIds instead
*/
format?: string;
/**
* @deprecated This property is deprecated. Use bundleIds instead
*/
exportPattern?: string;
/**
* @deprecated This property is deprecated. Use bundleIds instead
*/
labelIds?: number[];

@@ -77,0 +88,0 @@ }

@@ -10,2 +10,3 @@ import { Bundles } from './bundles';

import { MachineTranslation } from './machineTranslation';
import { Notifications } from './notifications';
import { OrganizationWebhooks } from './organizationWebhooks';

@@ -38,2 +39,3 @@ import { ProjectsGroups } from './projectsGroups';

export * from './machineTranslation';
export * from './notifications';
export * from './organizationWebhooks';

@@ -90,3 +92,4 @@ export * from './projectsGroups';

readonly bundlesApi: Bundles;
readonly notificationsApi: Notifications;
constructor(credentials: Credentials, config?: ClientConfig);
}

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

const machineTranslation_1 = require("./machineTranslation");
const notifications_1 = require("./notifications");
const organizationWebhooks_1 = require("./organizationWebhooks");

@@ -54,2 +55,3 @@ const projectsGroups_1 = require("./projectsGroups");

__exportStar(require("./machineTranslation"), exports);
__exportStar(require("./notifications"), exports);
__exportStar(require("./organizationWebhooks"), exports);

@@ -105,4 +107,5 @@ __exportStar(require("./projectsGroups"), exports);

this.bundlesApi = new bundles_1.Bundles(credentials, config);
this.notificationsApi = new notifications_1.Notifications(credentials, config);
}
}
exports.default = Client;

2

package.json
{
"name": "@crowdin/crowdin-api-client",
"version": "1.23.4",
"version": "1.24.0",
"description": "JavaScript library for Crowdin API",

@@ -5,0 +5,0 @@ "main": "out/index.js",

@@ -145,3 +145,3 @@ [<p align='center'><img src='https://support.crowdin.com/assets/logos/crowdin-dark-symbol.png' data-canonical-src='https://support.crowdin.com/assets/logos/crowdin-dark-symbol.png' width='150' height='150' align='center'/></p>](https://crowdin.com)

```javascript
import crowdin, { SourceFilesModel } from '@crowdin/crowdin-api-client';
import crowdin from '@crowdin/crowdin-api-client';

@@ -154,3 +154,3 @@ // initialization of crowdin client

translationsApi
} = new crowdin({
} = new crowdin.default({
token: 'personalAccessToken',

@@ -157,0 +157,0 @@ organization: 'organizationName' // optional

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