bh-mobile-sdk
Advanced tools
Comparing version 0.3.9 to 0.3.10
{ | ||
"name": "bh-mobile-sdk", | ||
"version": "0.3.9", | ||
"version": "0.3.10", | ||
"description": "wisedu mobile web sdk", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -0,0 +0,0 @@ # Wisedu Mobile JavaScript SDK |
export default { | ||
wisedu: /wisedu/.test(navigator.userAgent) | ||
} |
@@ -0,0 +0,0 @@ import init from './init' |
@@ -0,0 +0,0 @@ import SDK from './sdk' |
@@ -18,9 +18,17 @@ export let uploadToEMAP = (server, files, config = {}) => { | ||
} | ||
config.params = { | ||
scope, | ||
fileToken: token, | ||
// isSingle: '1', | ||
storeId: 'image' | ||
let req = { | ||
params: Object.assign({}, config, { | ||
scope, | ||
fileToken: token, | ||
// isSingle: '1', | ||
storeId: 'image' | ||
}) | ||
} | ||
BH_MOBILE_SDK.file.uploadToServer(server + '/sys/emapcomponent/file/uploadTempFileAsAttachment.do', files, config, (result) => { | ||
if (config.fileName) { | ||
req.params.fileName = config.fileName; | ||
delete req.fileName; | ||
} | ||
BH_MOBILE_SDK.file.uploadToServer(server + '/sys/emapcomponent/file/uploadTempFileAsAttachment.do', files, req, (result) => { | ||
let error = false | ||
@@ -27,0 +35,0 @@ result.forEach((fileResult) => { |
@@ -0,0 +0,0 @@ import whiteList from './whiteList' |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ export let webviewOnResume = (original) => { |
Sorry, the diff of this file is too big to display
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
92787
2309