0.7.3 • Published 2 years ago
@cere/games-sdk-ui v0.7.3
Cere Games SDK UI
Cere Games SDK UI
is an NPM package which provides a set of UI elements (Web Components) which can be used in a game.
This package is used by `@cere/games-sdk` and should not be used directly at the moment
Installation
Using NPM
:
npm install @cere/games-sdk-ui --save
Using yarn
:
yarn add @cere/games-sdk-ui
API
register()
Registers UI elements to be later used by Cere Games SDK
or inside game logic
import { register } from '@cere/games-sdk-u';
await register({...});
Parameters
context
- UI elements context created by createContext()
createContext()
Creates context object for register()
import { register, createContext } from '@cere/games-sdk-u';
const uiContext = createContext();
await register(uiContext);
uiContext.wallet.address = '0x0...'; // The UI is automatically updated with the new address
0.7.3
2 years ago
0.6.6
2 years ago
0.6.2-rc.0
2 years ago
0.7.2
2 years ago
0.6.3
2 years ago
0.7.1
2 years ago
0.6.5
2 years ago
0.6.4
2 years ago
0.4.0
2 years ago
0.2.0-rc.15
2 years ago
0.3.0
2 years ago
0.2.0
2 years ago
0.1.1
2 years ago
0.1.0
2 years ago
0.0.1-rc.41
2 years ago
0.0.1-rc.40
2 years ago
0.0.1-rc.38
2 years ago
0.0.1-rc.35
2 years ago
0.0.1-rc.33
2 years ago
0.0.1-rc.31
2 years ago
0.0.1-rc.30
2 years ago
0.0.1-rc.26
2 years ago
0.0.1-rc.25
2 years ago
0.0.1-rc.23
2 years ago
0.0.1-rc.22
2 years ago
0.0.1-rc.21
2 years ago
0.0.1-rc.17
2 years ago
0.0.1-rc.16
2 years ago
0.0.1-rc.15
2 years ago
0.0.1-rc.14
2 years ago
0.0.1-rc.13
2 years ago
0.0.1-rc.12
2 years ago
0.0.1-rc.11
2 years ago
0.0.1-rc.10
2 years ago
0.0.1-rc.9
2 years ago
0.0.1-rc.8
2 years ago
0.0.1-rc.7
2 years ago
0.0.1-rc.6
2 years ago
0.0.1-rc.5
2 years ago
0.0.1-rc.4
2 years ago
0.0.1-rc.3
2 years ago
0.0.1-rc.2
2 years ago
0.0.1-rc.1
2 years ago
0.0.1
2 years ago