Socket
Socket
Sign inDemoInstall

@lukehagar/discoursejs

Package Overview
Dependencies
26
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.4.2 to 0.4.3

6

dist/sdk/sdk.js

@@ -34,5 +34,5 @@ "use strict";

this.openapiDocVersion = "latest";
this.sdkVersion = "0.4.2";
this.genVersion = "2.258.2";
this.userAgent = "speakeasy-sdk/typescript 0.4.2 2.258.2 latest @lukehagar/discoursejs";
this.sdkVersion = "0.4.3";
this.genVersion = "2.272.4";
this.userAgent = "speakeasy-sdk/typescript 0.4.3 2.272.4 latest @lukehagar/discoursejs";
Object.assign(this, init);

@@ -39,0 +39,0 @@ }

@@ -8,3 +8,3 @@ # BatchPresignMultipartPartsRequestBody

| --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- |
| `partNumbers` | *any*[] | :heavy_check_mark: | The part numbers to generate the presigned URLs for, must be between 1 and 10000. | [1,2,3] |
| `partNumbers` | *any*[] | :heavy_check_mark: | The part numbers to generate the presigned URLs for, must be between 1 and 10000. | [<br/>1,<br/>2,<br/>3<br/>] |
| `uniqueIdentifier` | *string* | :heavy_check_mark: | The unique identifier returned in the original /create-multipart request. | 66e86218-80d9-4bda-b4d5-2b6def968705 |

@@ -8,4 +8,4 @@ # BatchPresignMultipartPartsResponseBody

| Field | Type | Required | Description | Example |
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `presignedUrls` | [operations.PresignedUrls](../../../sdk/models/operations/presignedurls.md) | :heavy_check_mark: | The presigned URLs for each part number, which has the part numbers as keys. | {"1":"https://discourse-martin-uploads-test.s3.us-east-2.amazonaws.com/temp/uploads/default/123abc/123abc.jpg?partNumber=1&uploadId=123456abcd&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=test&X-Amz-Date=20211222T012336Z&X-Amz-Expires=600&X-Amz-SignedHeaders=host&X-Amz-Signature=abc123"} |
| Field | Type | Required | Description | Example |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `presignedUrls` | [operations.PresignedUrls](../../../sdk/models/operations/presignedurls.md) | :heavy_check_mark: | The presigned URLs for each part number, which has the part numbers as keys. | {<br/>"1": "https://discourse-martin-uploads-test.s3.us-east-2.amazonaws.com/temp/uploads/default/123abc/123abc.jpg?partNumber=1\u0026uploadId=123456abcd\u0026X-Amz-Algorithm=AWS4-HMAC-SHA256\u0026X-Amz-Credential=test\u0026X-Amz-Date=20211222T012336Z\u0026X-Amz-Expires=600\u0026X-Amz-SignedHeaders=host\u0026X-Amz-Signature=abc123"<br/>} |

@@ -6,5 +6,5 @@ # CompleteMultipartRequestBody

| Field | Type | Required | Description | Example |
| ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- |
| `parts` | *any*[] | :heavy_check_mark: | All of the part numbers and their corresponding ETags that have been uploaded must be provided. | [{"etag":"0c376dcfcc2606f4335bbc732de93344","part_number":1},{"etag":"09ert8cfcc2606f4335bbc732de91122","part_number":2}] |
| `uniqueIdentifier` | *string* | :heavy_check_mark: | The unique identifier returned in the original /create-multipart request. | 66e86218-80d9-4bda-b4d5-2b6def968705 |
| Field | Type | Required | Description | Example |
| -------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- |
| `parts` | *any*[] | :heavy_check_mark: | All of the part numbers and their corresponding ETags that have been uploaded must be provided. | [<br/>{<br/>"part_number": 1,<br/>"etag": "0c376dcfcc2606f4335bbc732de93344"<br/>},<br/>{<br/>"part_number": 2,<br/>"etag": "09ert8cfcc2606f4335bbc732de91122"<br/>}<br/>] |
| `uniqueIdentifier` | *string* | :heavy_check_mark: | The unique identifier returned in the original /create-multipart request. | 66e86218-80d9-4bda-b4d5-2b6def968705 |

@@ -11,4 +11,4 @@ # GeneratePresignedPutResponseBody

| `key` | *string* | :heavy_minus_sign: | The path of the temporary file on the external storage service. | temp/site/uploads/default/12345/67890.jpg |
| `signedHeaders` | [operations.SignedHeaders](../../../sdk/models/operations/signedheaders.md) | :heavy_minus_sign: | A map of headers that must be sent with the PUT request. | {"x-amz-acl":"private","x-amz-meta-sha1-checksum":"sha1"} |
| `signedHeaders` | [operations.SignedHeaders](../../../sdk/models/operations/signedheaders.md) | :heavy_minus_sign: | A map of headers that must be sent with the PUT request. | {<br/>"x-amz-acl": "private",<br/>"x-amz-meta-sha1-checksum": "sha1"<br/>} |
| `uniqueIdentifier` | *string* | :heavy_minus_sign: | A unique string that identifies the external upload. This must be stored and then sent in the /complete-external-upload endpoint to complete the direct upload. | 66e86218-80d9-4bda-b4d5-2b6def968705 |
| `url` | *string* | :heavy_minus_sign: | A presigned PUT URL which must be used to upload the file binary blob to. | https://file-uploads.s3.us-west-2.amazonaws.com/temp/site/uploads/default/123/456.jpg?x-amz-acl=private&x-amz-meta-sha1-checksum=sha1&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AAAAus-west-2%2Fs3%2Faws4_request&X-Amz-Date=20211221T011246Z&X-Amz-Expires=600&X-Amz-SignedHeaders=host&X-Amz-Signature=12345678 |
{
"name": "@lukehagar/discoursejs",
"version": "0.4.2",
"version": "0.4.3",
"author": "LukeHagar",

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

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc