0.1.4 • Published 5 years ago

@cloudbase/adapter-oppo_game v0.1.4

Weekly downloads
5
License
ISC
Repository
-
Last release
5 years ago

@cloudbase/adapter-oppo_game

NPM Version npm.io

tcb-js-sdk Oppo小游戏适配器

安装

npm i @cloudbase/adapter-oppo_game -S

使用

ES Module

import tcb from 'tsb-js-sdk';
import adapter from '@cloudbase/adapter-oppo_game';

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

CommonJS

const tcb = require('tsb-js-sdk');
const {adapter} = require('@cloudbase/adapter-oppo_game');

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

5 years ago

0.1.3

5 years ago

0.1.2

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago