Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

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.13 to 0.3.14

2

package.json
{
"name": "bh-mobile-sdk",
"version": "0.3.13",
"version": "0.3.14",
"description": "wisedu mobile web sdk",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

@@ -0,1 +1,9 @@

const S4 = () => {
return (((1 + Math.random()) * 0x10000) | 0).toString(32);
}
const UUID = () => {
return (S4() + S4() + S4() + S4() + S4() + S4() + S4() + S4());
}
export let uploadToEMAP = (server, files, config = {}) => {

@@ -8,3 +16,4 @@ console.log('mobile_sdk_uploadToEMAP',server,files,config)

} else {
scope = new Date().getTime() + "" + parseInt(Math.random() * 100).toString()
scope = UUID() + '' + parseInt(Math.random() * 100).toString();
// new Date().getTime() + "" + parseInt(Math.random() * 100).toString()
token = scope + 1

@@ -11,0 +20,0 @@ }

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