Socket
Book a DemoInstallSign in
Socket

@hyext/ext-sdk-common

Package Overview
Dependencies
Maintainers
13
Versions
76
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hyext/ext-sdk-common

To develop, debug, bundle huya extension (ReactNative version).

latest
npmnpm
Version
2.1.3
Version published
Weekly downloads
3
50%
Maintainers
13
Weekly downloads
 
Created
Source

小程序通用SDK

  • 小程序公用SDK
  • 暂仅支持RN平台

API 概览

基础

  • extsdk.onAppear
  • extsdk.onDisappear
  • extsdk.request
  • extsdk.onLoad
  • extsdk.onEnterForeground
  • extsdk.onLeaveForeground

持久化 storage

  • extsdk.storage.getItem

日志 logger

  • extsdk.logger.debug
  • extsdk.logger.info
  • extsdk.logger.warn
  • extsdk.logger.error

监听 observer

  • extsdk.observer.on
  • extsdk.observer.off

容器 context

  • extsdk.context.onLayoutChange

环境 env

  • extsdk.env.getInitialPara
  • extsdk.env.getVersionType
  • extsdk.env.getInitialParam
  • extsdk.env.getExtInfo

秩序 order

  • extsdk.order.reportText

面板 panel

  • extsdk.panel.setLayout

高级 vip

  • extsdk.vip.getJWT

文件 fs

  • extsdk.fs.offlineFileReady
  • extsdk.fs.uploadImg

后台 backend

  • extsdk.backend.commonQuery

原生 app

  • extsdk.app.disableContainerGesture

FAQs

Package last updated on 10 Dec 2020

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