import _extends from"@babel/runtime/helpers/extends";import invoker from"./invoker";invoker.registerAPI("uploadFile",{mini:!0}),uploadLocalFile.version={android:"1.6.2",ios:"1.6.2"};export default function uploadLocalFile(e){return new Promise((function(i,o){my.uploadFile(_extends({},e,{success:function(e){i(e)},fail:function(e){o(e)}}))}))}