tq-pat-sdknew
v3.0.4
Published
sdk for pat
Downloads
3
Readme
多端平安通公共sdk库
prism3复写taro方法
"config","ready","error","getVer","request","getAuthCode","getUserInfo","imageRecognition","livenessRecognition", "ocrIdcard","closeWindow","chooseImage","downloadVoice","stopRecord","onVoiceRecordEnd","playVoice","pauseVoice", "stopVoice","onVoicePlayEnd","getLocation","openLocation","chooseLocation","getNetworkType","scanCode","share", "url2base64","chooseFile","_dd","_qwx","_zwx","_tq"
集成步骤
- 执行yarn build,将tsx、ts转js,发布,账号信息仍需手输
yarn build
- 切换npm源
npm config set registry=http://registry.npmjs.org
或
nrm use npm
- 登陆到npm
npm login
账号信息:
见群内公告
- 上传库
npm publish
依赖该库
- 切回npm工作源
nrm use tianque
- 依赖
yarn add tq-pat-sdk
或者更新
yarn upgrade [-latest] tq-pat-sdk