zapier-platform-core
Advanced tools
Comparing version 15.11.0 to 15.11.1
{ | ||
"name": "zapier-platform-core", | ||
"version": "15.11.0", | ||
"version": "15.11.1", | ||
"description": "The core SDK for CLI apps in the Zapier Developer Platform.", | ||
@@ -56,3 +56,3 @@ "repository": "zapier/zapier-platform", | ||
"semver": "7.5.2", | ||
"zapier-platform-schema": "15.11.0" | ||
"zapier-platform-schema": "15.11.1" | ||
}, | ||
@@ -59,0 +59,0 @@ "devDependencies": { |
@@ -27,3 +27,3 @@ 'use strict'; | ||
) { | ||
const url = await responseStasher(output.input, payload, size); | ||
const url = await responseStasher(output.input, payload); | ||
output.resultsUrl = url; | ||
@@ -30,0 +30,0 @@ output.results = Array.isArray(output.results) ? [] : {}; |
@@ -21,3 +21,3 @@ 'use strict'; | ||
// responseStasher uploads the data and returns the URL that points to that data. | ||
const stashResponse = async (input, response, size) => { | ||
const stashResponse = async (input, response) => { | ||
const rpc = _.get(input, '_zapier.rpc'); | ||
@@ -29,2 +29,6 @@ | ||
const signedPostData = await rpc('get_presigned_upload_post_data'); | ||
// Encode the response to base64 to avoid uploading any non-ascii characters | ||
const encodedResponse = Buffer.from(response).toString('base64'); | ||
return withRetry( | ||
@@ -34,4 +38,4 @@ _.partial( | ||
signedPostData, | ||
response.toString(), // accept JSON string to send to uploader. | ||
size, | ||
encodedResponse, | ||
encodedResponse.length, | ||
crypto.randomUUID() + '.txt', | ||
@@ -38,0 +42,0 @@ 'text/plain' |
@@ -31,3 +31,2 @@ const path = require('path'); | ||
}); | ||
form.append('file', bufferStringStream, { | ||
@@ -34,0 +33,0 @@ knownLength, |
@@ -7,3 +7,3 @@ /** | ||
* | ||
* zapier-platform-schema version: 15.10.0 | ||
* zapier-platform-schema version: 15.11.1 | ||
* schema-to-ts compiler version: 0.1.0 | ||
@@ -10,0 +10,0 @@ */ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
226476
6533
+ Addedzapier-platform-schema@15.11.1(transitive)
- Removedzapier-platform-schema@15.11.0(transitive)