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

By-Health Native App Jssdk.

  • 2.0.0-alpha.3
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
4
increased by100%
Maintainers
1
Weekly downloads
 
Created
Source

By-Health Native App Jssdk

汤臣倍健营养家App

安装

  • Yarn: yarn add @byhealth/native-app-jssdk@next
  • NPM: npm install @byhealth/native-app-jssdk@next --save

使用

import { scanQrCode, closeWindow } from '@byhealth/native-app-jssdk';

scanQrCode()
  .then(result => {
    // result 是识别后的结果
    console.log(result);
  });

closeWindow();

更新

  • 生成 TypeScript 类型定义,使用 VSCode 可获得更佳体验;
  • 无回调或返回的接口,不再返回Promise对象;
  • 重写 iOS 端调用方法,支持连续调用接口(1.x不支持);
  • 部分接口名称或参数变化:
    • userInfo() => getUserInfo()

API 文档

文档地址

FAQs

Package last updated on 24 Oct 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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