@xtreamr/spark-api
Advanced tools
Comparing version 6.2.0 to 6.14.0
@@ -6,2 +6,10 @@ # Change Log | ||
# [6.14.0](https://github.com/XTreamr/spark_libs/compare/v6.13.0...v6.14.0) (2020-04-14) | ||
**Note:** Version bump only for package @xtreamr/spark-api | ||
# [6.2.0](https://github.com/XTreamr/spark_libs/compare/v6.1.2...v6.2.0) (2020-03-11) | ||
@@ -8,0 +16,0 @@ |
@@ -277,2 +277,21 @@ import request, { getAuthToken, internalDomain } from '@xtreamr/spark-request'; | ||
}); | ||
}, | ||
uploadFile: function uploadFile(_ref3) { | ||
var files = _ref3.files, | ||
hash = _ref3.hash, | ||
sessionId = _ref3.sessionId; | ||
var onProgress = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : function () {}; | ||
return request({ | ||
method: 'POST', | ||
path: '/editor', | ||
body: { | ||
files: files, | ||
hash: hash, | ||
sessionId: sessionId | ||
}, | ||
formData: true, | ||
onProgress: onProgress | ||
}); | ||
} | ||
@@ -279,0 +298,0 @@ }; |
@@ -288,2 +288,21 @@ 'use strict'; | ||
}); | ||
}, | ||
uploadFile: function uploadFile(_ref3) { | ||
var files = _ref3.files, | ||
hash = _ref3.hash, | ||
sessionId = _ref3.sessionId; | ||
var onProgress = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : function () {}; | ||
return (0, _sparkRequest2.default)({ | ||
method: 'POST', | ||
path: '/editor', | ||
body: { | ||
files: files, | ||
hash: hash, | ||
sessionId: sessionId | ||
}, | ||
formData: true, | ||
onProgress: onProgress | ||
}); | ||
} | ||
@@ -290,0 +309,0 @@ }; |
{ | ||
"name": "@xtreamr/spark-api", | ||
"version": "6.2.0", | ||
"version": "6.14.0", | ||
"description": "Describe spark-api here", | ||
@@ -35,3 +35,3 @@ "main": "lib/index.js", | ||
"repository": "", | ||
"gitHead": "29b316d2640fae71000bdbb392f66c13396b9eee" | ||
"gitHead": "bbc9bf34d8e3d8f8519034e649de65f733ba1b29" | ||
} |
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
37281
1022