@begin/api
Advanced tools
Comparing version 1.1.0 to 1.1.1
@@ -223,2 +223,6 @@ // @ts-check | ||
if (path) url += path | ||
// Automatically base64-encode zip buffers | ||
if (params.zip instanceof Buffer) { | ||
params.zip = Buffer.from(params.zip).toString('base64') | ||
} | ||
let result = await tiny.post({ | ||
@@ -225,0 +229,0 @@ url, |
{ | ||
"name": "@begin/api", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "Node client for api.begin.com", | ||
@@ -28,2 +28,7 @@ "type": "module", | ||
}, | ||
"files": [ | ||
"cjs/*", | ||
"client.d.ts", | ||
"client.js" | ||
], | ||
"keywords": [ | ||
@@ -30,0 +35,0 @@ "node", |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
327
22762
7
1