"use strict";var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");exports.__esModule=!0,exports.default=uploadLocalFile;var _extends2=_interopRequireDefault(require("@babel/runtime/helpers/extends")),_invoker=_interopRequireDefault(require("./invoker"));function uploadLocalFile(e){return new Promise((function(r,i){my.uploadFile((0,_extends2.default)({},e,{success:function(e){r(e)},fail:function(e){i(e)}}))}))}_invoker.default.registerAPI("uploadFile",{mini:!0}),uploadLocalFile.version={android:"1.6.2",ios:"1.6.2"},module.exports=exports.default,module.exports.default=exports.default;