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
5
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.8.4 to 1.8.5

6

out/uploadStorage/index.d.ts
import { CrowdinApi, ResponseList, ResponseObject } from '../core';
export declare class UploadStorage extends CrowdinApi {
listStorages(): Promise<ResponseList<UploadStorageModel.Storage>>;
/**
* @param limit maximum number of items to retrieve (default 25)
* @param offset starting offset in the collection (default 0)
*/
listStorages(limit?: number, offset?: number): Promise<ResponseList<UploadStorageModel.Storage>>;
/**
* @param fileName file name

@@ -6,0 +10,0 @@ * @param request binary file data

10

out/uploadStorage/index.js

@@ -5,4 +5,10 @@ "use strict";

class UploadStorage extends core_1.CrowdinApi {
listStorages() {
const url = `${this.url}/storages`;
/**
* @param limit maximum number of items to retrieve (default 25)
* @param offset starting offset in the collection (default 0)
*/
listStorages(limit, offset) {
let url = `${this.url}/storages`;
url = this.addQueryParam(url, 'limit', limit);
url = this.addQueryParam(url, 'offset', offset);
return this.get(url, this.defaultConfig());

@@ -9,0 +15,0 @@ }

{
"name": "@crowdin/crowdin-api-client",
"version": "1.8.4",
"version": "1.8.5",
"description": "JavaScript library for Crowdin API v2.",

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

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