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.2 to 2.2.0-beta.3

13

dist/index.js

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

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

@@ -258,4 +258,11 @@ }

*/
function unsupported(api) {
throw new TypeError("Native webview does not support '" + api + "' API");
function unsupported(api, isThrow) {
if (isThrow === void 0) { isThrow = true; }
var error = new TypeError("Native webview does not support '" + api + "' API");
if (isThrow) {
throw error;
}
else {
return error;
}
}

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

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

@@ -219,5 +219,12 @@ }

*/
function unsupported(api) {
throw new TypeError("Native webview does not support '" + api + "' API");
function unsupported(api, isThrow) {
if (isThrow === void 0) { isThrow = true; }
var error = new TypeError("Native webview does not support '" + api + "' API");
if (isThrow) {
throw error;
}
else {
return error;
}
}
export { NativeView };
{
"name": "@byhealth/native-app-jssdk",
"version": "2.2.0-beta.2",
"version": "2.2.0-beta.3",
"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