codesandboxer
Advanced tools
Comparing version 0.2.1 to 0.2.2
# Changelog | ||
## 0.2.2 | ||
Use the formData package for deploys instead of the native web formData. This is to allow codesandboxer to be node-compatible. | ||
## 0.2.1 | ||
An internal call of `fetchRelativeFile` was not being passed the new 'config' object, and now is. | ||
An internal call of `fetchRelativeFile` was not being passed the new 'config' object, causing an error in file fetching. It is now being passed the correct object. | ||
@@ -7,0 +11,0 @@ ## 0.2.0 |
@@ -22,3 +22,3 @@ 'use strict'; | ||
case 0: | ||
formData = new FormData(); | ||
formData = new _formData2.default(); | ||
@@ -34,3 +34,6 @@ formData.append('parameters', parameters); | ||
}).then(function (_ref2) { | ||
var sandbox_id = _ref2.sandbox_id; | ||
var errors = _ref2.errors, | ||
sandbox_id = _ref2.sandbox_id; | ||
if (errors) throw errors; | ||
return { | ||
@@ -59,4 +62,8 @@ sandboxId: sandbox_id, | ||
var _formData = require('form-data'); | ||
var _formData2 = _interopRequireDefault(_formData); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
exports.default = sendFilesToCSB; |
{ | ||
"name": "codesandboxer", | ||
"version": "0.2.1", | ||
"version": "0.2.2", | ||
"description": "Fetch files from a git repository and upload them to codesandbox", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
47837
941