Socket
Socket
Sign inDemoInstall

bh-mobile-sdk

Package Overview
Dependencies
Maintainers
5
Versions
90
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bh-mobile-sdk - npm Package Compare versions

Comparing version 0.3.9 to 0.3.10

2

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc