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

@byhealth/native-app-jssdk

Package Overview
Dependencies
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@byhealth/native-app-jssdk - npm Package Compare versions

Comparing version 2.2.0-beta.1 to 2.2.0-beta.2

2

dist/index.js

@@ -36,3 +36,3 @@ "use strict";

nativeBridge_1.default('getAPPVersion', createCallback_1.default(resolve));
setTimeout(function () { return reject(unsupported('getAPPVersion')); }, 1000);
setTimeout(function () { return reject(unsupported('getAPPVersion')); }, 500);
});

@@ -39,0 +39,0 @@ }

@@ -12,3 +12,3 @@ "use strict";

*/
var global = (typeof window === 'undefined' ? {} : window);
var global = typeof window === 'undefined' ? {} : window;
/**

@@ -59,6 +59,6 @@ * UserAgent

}
if (typeof nativeJSBridge[api] === 'function') {
if (isAndroid && typeof nativeJSBridge[api] === 'function') {
nativeJSBridge[api].apply(nativeJSBridge, args);
}
else {
else if (isIOS) {
var frame_1 = document.createElement('iframe');

@@ -65,0 +65,0 @@ frame_1.src = "" + nativeProtocol + api + "/" + args.map(function (x) { return encodeURIComponent(x); }).join('/');

@@ -22,3 +22,3 @@ /*

nativeBridge('getAPPVersion', createCallback(resolve));
setTimeout(function () { return reject(unsupported('getAPPVersion')); }, 1000);
setTimeout(function () { return reject(unsupported('getAPPVersion')); }, 500);
});

@@ -25,0 +25,0 @@ }

@@ -10,3 +10,3 @@ /*

*/
var global = (typeof window === 'undefined' ? {} : window);
var global = typeof window === 'undefined' ? {} : window;
/**

@@ -54,6 +54,6 @@ * UserAgent

}
if (typeof nativeJSBridge[api] === 'function') {
if (isAndroid && typeof nativeJSBridge[api] === 'function') {
nativeJSBridge[api].apply(nativeJSBridge, args);
}
else {
else if (isIOS) {
var frame_1 = document.createElement('iframe');

@@ -60,0 +60,0 @@ frame_1.src = "" + nativeProtocol + api + "/" + args.map(function (x) { return encodeURIComponent(x); }).join('/');

{
"name": "@byhealth/native-app-jssdk",
"version": "2.2.0-beta.1",
"version": "2.2.0-beta.2",
"description": "By-Health Native App Jssdk.",

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

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