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

bh-mobile-sdk

Package Overview
Dependencies
Maintainers
1
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.1.2 to 0.1.3

2

lib/index.js

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

!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.BH_MOBILE=t():e.BH_MOBILE=t()}(this,function(){return function(e){function t(n){if(o[n])return o[n].exports;var r=o[n]={exports:{},id:n,loaded:!1};return e[n].call(r.exports,r,r.exports,t),r.loaded=!0,r.exports}var o={};return t.m=e,t.c=o,t.p="",t(0)}([function(e,t,o){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0}),t.init=void 0;var r=o(3),i=n(r),u=o(1),a=n(u),s={};window.mamp=s,t["default"]=a["default"],t.init=i["default"]},function(e,t,o){"use strict";function n(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t["default"]=e,t}function r(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var i=o(4),u=r(i),a=o(2),s=r(a),c=o(5),l=n(c),d=null;t["default"]=function(){if(d)return d;var e=window.mamp,t={};return Object.keys(u["default"]).forEach(function(o){var n=u["default"][o],r=e[o]||{};t[o]={},Object.keys(n).forEach(function(e){var i=n[e],u=l[e];i&&(r[e]?u?t[o][e]=u(r[e]):r[e]&&(t[o][e]=r[e]):t[o][e]=function(){s["default"].wisedu?console.error("调用的"+o+"."+e+"接口不存在"):console.log("你当前不在 Hybrid 环境, 或Hybrid 环境没有初始化, "+e+" 处于 mock 实现")})})}),d=t}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]={wisedu:/wisedu/.test(navigator.userAgent)}},function(e,t,o){(function(e){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var r=o(1),i=n(r),u=!1;t["default"]=function(t){var o=function(){e.BH_MOBILE_SDK=(0,i["default"])(),t()};if(u)return o(),void console.error("请不要重复初始化");if(localStorage.getItem("wisedu-browser-debug")||/wisedu/.test(navigator.userAgent)===!1)o();else{var n="mamp://injectionmamp/cordova.js",r=document.createElement("script");r.src=n,document.head.appendChild(r),window.close=function(){window.location.href="mamp://close"},document.addEventListener("deviceready",o,!1)}u=!0}}).call(t,function(){return this}())},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]={UI:{setNavHeader:!0,setTitleText:!0,preViewImages:!0,openWebView:!0,setStatusBarBgColor:!0,setStatusBarTintColor:!0,closeWebView:!0,actionSheet:!0,singleSelect:!0,multiSelect:!0,multiPicker:!0,alertView:!0,toggleNavBar:!0,webviewOnResume:!0,showToast:!0},systemAbility:{takeCamera:!0,takePhoto:!0},file:{uploadToOSS:!0},cpdaily:{showLoginView:!0,showOrHideTabbar:!0,showSettingView:!0,mainAppListChange:!0,openMarketList:!0,showMain:!0,getTenantID:!0,setStatusBarColor:!0,startIMChat:!0,onMineAppChanged:!0,zhugeioTrack:!0}}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.webviewOnResume=function(e){var t=!1,o=[];return function(n){o.push(n),t||(e(function(){o.forEach(function(e){e()})}),t=!0)}}}])});
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.BH_MOBILE=t():e.BH_MOBILE=t()}(this,function(){return function(e){function t(n){if(o[n])return o[n].exports;var r=o[n]={exports:{},id:n,loaded:!1};return e[n].call(r.exports,r,r.exports,t),r.loaded=!0,r.exports}var o={};return t.m=e,t.c=o,t.p="",t(0)}([function(e,t,o){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0}),t.init=void 0;var r=o(3),i=n(r),u=o(1),a=n(u),s={};window.mamp=s,t["default"]=a["default"],t.init=i["default"]},function(e,t,o){"use strict";function n(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t["default"]=e,t}function r(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var i=o(4),u=r(i),a=o(2),s=r(a),c=o(5),l=n(c),d=null;t["default"]=function(){if(d)return d;var e=window.mamp,t={};return Object.keys(u["default"]).forEach(function(o){var n=u["default"][o],r=e[o]||{};t[o]={},Object.keys(n).forEach(function(e){var i=n[e],u=l[e];i&&(r[e]?u?t[o][e]=u(r[e]):r[e]&&(t[o][e]=r[e]):t[o][e]=function(){s["default"].wisedu?console.error("调用的"+o+"."+e+"接口不存在"):console.log("你当前不在 Hybrid 环境, 或Hybrid 环境没有初始化, "+e+" 处于 mock 实现")})})}),d=t}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]={wisedu:/wisedu/.test(navigator.userAgent)}},function(e,t,o){(function(e){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var r=o(1),i=n(r),u=!1;t["default"]=function(t){var o=function(){e.BH_MOBILE_SDK=(0,i["default"])(),t()};if(u)return o(),void console.error("请不要重复初始化");if(localStorage.getItem("wisedu-browser-debug")||/wisedu/.test(navigator.userAgent)===!1)o();else{var n="mamp://injectionmamp/cordova.js",r=document.createElement("script");r.src=n,document.head.appendChild(r),window.close=function(){window.location.href="mamp://close"},document.addEventListener("deviceready",o,!1)}u=!0}}).call(t,function(){return this}())},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]={UI:{setNavHeader:!0,setTitleText:!0,preViewImages:!0,openWebView:!0,setNavBarBgColor:!0,setStatusBarTintColor:!0,closeWebView:!0,actionSheet:!0,singleSelect:!0,multiSelect:!0,multiPicker:!0,alertView:!0,toggleNavBar:!0,webviewOnResume:!0,showToast:!0},systemAbility:{takeCamera:!0,takePhoto:!0},file:{uploadToOSS:!0},cpdaily:{showLoginView:!0,showOrHideTabbar:!0,showSettingView:!0,mainAppListChange:!0,openMarketList:!0,showMain:!0,getTenantID:!0,setStatusBarColor:!0,startIMChat:!0,onMineAppChanged:!0,zhugeioTrack:!0}}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.webviewOnResume=function(e){var t=!1,o=[];return function(n){o.push(n),t||(e(function(){o.forEach(function(e){e()})}),t=!0)}}}])});
{
"name": "bh-mobile-sdk",
"version": "0.1.2",
"version": "0.1.3",
"description": "wisedu mobile web sdk",

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

@@ -13,3 +13,3 @@ /**

openWebView: true,
setStatusBarBgColor: true,
setNavBarBgColor: true,
setStatusBarTintColor: true,

@@ -16,0 +16,0 @@ closeWebView: true,

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