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

@codat/files

Package Overview
Dependencies
Maintainers
4
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@codat/files - npm Package Compare versions

Comparing version 0.23.1 to 0.25.2

12

dist/internal/utils/utils.js

@@ -146,7 +146,9 @@ "use strict";

var res = stringWithParams;
Object.entries(params).forEach(function (_a) {
var key = _a[0], value = _a[1];
var match = "{" + key + "}";
res = res.replaceAll(match, value);
});
if (params) {
Object.entries(params).forEach(function (_a) {
var key = _a[0], value = _a[1];
var match = "{" + key + "}";
res = res.replaceAll(match, value);
});
}
return res;

@@ -153,0 +155,0 @@ }

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

"application/json;q=1, application/json;q=0.7, application/octet-stream;q=0";
headers["user-agent"] = "speakeasy-sdk/".concat(this.sdkConfiguration.language, " ").concat(this.sdkConfiguration.sdkVersion, " ").concat(this.sdkConfiguration.genVersion);
headers["user-agent"] = "speakeasy-sdk/".concat(this.sdkConfiguration.language, " ").concat(this.sdkConfiguration.sdkVersion, " ").concat(this.sdkConfiguration.genVersion, " ").concat(this.sdkConfiguration.openapiDocVersion);
retryConfig = retries;

@@ -178,3 +178,3 @@ if (!retryConfig) {

headers["Accept"] = "application/json;q=1, application/json;q=0.7, application/json;q=0";
headers["user-agent"] = "speakeasy-sdk/".concat(this.sdkConfiguration.language, " ").concat(this.sdkConfiguration.sdkVersion, " ").concat(this.sdkConfiguration.genVersion);
headers["user-agent"] = "speakeasy-sdk/".concat(this.sdkConfiguration.language, " ").concat(this.sdkConfiguration.sdkVersion, " ").concat(this.sdkConfiguration.genVersion, " ").concat(this.sdkConfiguration.openapiDocVersion);
retryConfig = retries;

@@ -254,3 +254,3 @@ if (!retryConfig) {

headers["Accept"] = "application/json;q=1, application/json;q=0";
headers["user-agent"] = "speakeasy-sdk/".concat(this.sdkConfiguration.language, " ").concat(this.sdkConfiguration.sdkVersion, " ").concat(this.sdkConfiguration.genVersion);
headers["user-agent"] = "speakeasy-sdk/".concat(this.sdkConfiguration.language, " ").concat(this.sdkConfiguration.sdkVersion, " ").concat(this.sdkConfiguration.genVersion, " ").concat(this.sdkConfiguration.openapiDocVersion);
retryConfig = retries;

@@ -257,0 +257,0 @@ if (!retryConfig) {

@@ -35,2 +35,3 @@ import { Files } from "./files";

language: string;
openapiDocVersion: string;
sdkVersion: string;

@@ -37,0 +38,0 @@ genVersion: string;

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

this.language = "typescript";
this.sdkVersion = "0.23.1";
this.genVersion = "2.35.9";
this.openapiDocVersion = "2.1.0";
this.sdkVersion = "0.25.2";
this.genVersion = "2.39.2";
Object.assign(this, init);

@@ -53,0 +54,0 @@ }

{
"name": "@codat/files",
"version": "0.23.1",
"version": "0.25.2",
"author": "Speakeasy",

@@ -5,0 +5,0 @@ "scripts": {

@@ -33,3 +33,3 @@ # @codat/files

companyId: "8a210b68-6988-11ed-a1eb-0242ac120002",
date: "corrupti",
date: "2022-10-23T00:00:00.000Z",
}).then((res: DownloadFilesResponse) => {

@@ -47,9 +47,9 @@ if (res.statusCode == 200) {

### [files](docs/files/README.md)
### [files](docs/sdks/files/README.md)
* [downloadFiles](docs/files/README.md#downloadfiles) - Download all files for a company
* [listFiles](docs/files/README.md#listfiles) - List all files uploaded by a company
* [uploadFiles](docs/files/README.md#uploadfiles) - Upload files for a company
* [downloadFiles](docs/sdks/files/README.md#downloadfiles) - Download all files for a company
* [listFiles](docs/sdks/files/README.md#listfiles) - List all files uploaded by a company
* [uploadFiles](docs/sdks/files/README.md#uploadfiles) - Upload files for a company
<!-- End SDK Available Operations -->
### SDK Generated by [Speakeasy](https://docs.speakeasyapi.dev/docs/using-speakeasy/client-sdks)
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