polotno-node
Advanced tools
Comparing version 2.9.21 to 2.9.22
{ | ||
"name": "polotno-node", | ||
"version": "2.9.21", | ||
"version": "2.9.22", | ||
"description": "Polotno workflow from NodeJS", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -86,4 +86,10 @@ const fs = require('fs'); | ||
module.exports.jsonToVideo = async function jsonToVideo(inst, json, attrs) { | ||
const tempFolder = tmp.dirSync(); | ||
module.exports.jsonToVideo = async function jsonToVideo( | ||
inst, | ||
json, | ||
attrs = {} | ||
) { | ||
const tempFolder = tmp.dirSync({ | ||
tmpdir: attrs.tmpdir, | ||
}); | ||
// const tempFolder = { | ||
@@ -90,0 +96,0 @@ // name: './temp', |
1231638
5557