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
2
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.4.1 to 2.5.0-beta.1

6

dist/index.d.ts

@@ -38,2 +38,8 @@ import { ShareInfo, UserInfo, NewUserInfo } from './types/MemberAppJs';

/**
* 打开微信小程序
* @param appId 小程序AppId
* @param path 小程序内部路径
*/
export declare function openMiniProgram(appId: string, path?: string): Promise<void>;
/**
* 设置窗口标题

@@ -40,0 +46,0 @@ * @param title 标题内容

@@ -95,2 +95,17 @@ "use strict";

/**
* 打开微信小程序
* @param appId 小程序AppId
* @param path 小程序内部路径
*/
function openMiniProgram(appId, path) {
return minVersion({
Android: '4.3.0',
iOS: '4.3.0',
})
.then(function () {
nativeBridge_1.default('openMiniProgram', appId, path);
});
}
exports.openMiniProgram = openMiniProgram;
/**
* 设置窗口标题

@@ -97,0 +112,0 @@ * @param title 标题内容

@@ -76,2 +76,16 @@ /*

/**
* 打开微信小程序
* @param appId 小程序AppId
* @param path 小程序内部路径
*/
export function openMiniProgram(appId, path) {
return minVersion({
Android: '4.3.0',
iOS: '4.3.0',
})
.then(function () {
nativeBridge('openMiniProgram', appId, path);
});
}
/**
* 设置窗口标题

@@ -78,0 +92,0 @@ * @param title 标题内容

2

package.json
{
"name": "@byhealth/native-app-jssdk",
"version": "2.4.1",
"version": "2.5.0-beta.1",
"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