Socket
Socket
Sign inDemoInstall

cloudbase-adapter-privatelink

Package Overview
Dependencies
7
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    cloudbase-adapter-privatelink

wechat miniprogram adapter of cloudbase javascript SDK


Version published
Weekly downloads
100
increased by669.23%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

cloudbase-adapter-wx_mp

NPM Version

tcb-js-sdk适配器接口,各平台适配器按照此接口规范进行开发。

安装

npm i cloudbase-adapter-wx_mp -S

Unpkg(推荐)

可以使用unpkg托管的js文件,地址如下: https://unpkg.com/cloudbase-adapter-wx_mp/dist/index.js

使用

import tcb from 'tsb-js-sdk';
import adapterForWxMp from 'cloudbase-adapter-wx_mp';

// 以下两种方式二选一
// 1.单参数传入
tcb.useAdapters(adapterForWxMp);
// 2.数组形式传参
tcb.useAdapters([adapterForWxMp]);
// adapter必须在init之前传入
tcb.init();

FAQs

Last updated on 23 Apr 2024

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc