facebook-api-video-upload
Advanced tools
Comparing version 1.2.0 to 1.2.1
@@ -36,3 +36,3 @@ 'use strict'; | ||
return rp(options).then(res => ({ ...res, id: video_id })); | ||
return rp(options).then(res => ({res, id: video_id })); | ||
} | ||
@@ -72,3 +72,3 @@ | ||
return uploadChunk(args, id, res.start_offset, chunk) | ||
.then(resp => uploadChain(buffer, args, id, { ...resp, video_id: res.video_id })); | ||
.then(resp => uploadChain(buffer, args, id, {resp: resp, video_id: res.video_id })); | ||
} | ||
@@ -75,0 +75,0 @@ |
{ | ||
"name": "facebook-api-video-upload", | ||
"version": "1.2.0", | ||
"version": "1.2.1", | ||
"description": "A handy function to upload video in chunk on the facebook graph.", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
24461559
9
86
1