@cloudflare/realtimekit-ui 1.0.0-staging.2 → 1.0.0-staging.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -3
- package/dist/docs/docs-components.json +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -7,7 +7,6 @@ This package includes Web Components that work natively in HTML — so no framew
|
|
|
7
7
|
If you're using a specific framework, we also offer dedicated packages:
|
|
8
8
|
|
|
9
9
|
- [React](https://npmjs.com/package/@cloudflare/realtimekit-react-ui)
|
|
10
|
-
- [Vue](https://npmjs.com/package/@cloudflare/realtimekit-vue-ui)
|
|
11
10
|
- [Angular](https://npmjs.com/package/@cloudflare/realtimekit-angular-ui)
|
|
12
11
|
|
|
13
12
|
## Usage
|
|
@@ -27,7 +26,9 @@ Then you'll need to initialize a meeting object once you've received an `authTok
|
|
|
27
26
|
> to use with RealtimeKit.
|
|
28
27
|
|
|
29
28
|
```js
|
|
30
|
-
|
|
29
|
+
import RealtimeKitClient from '@cloudflare/realtimekit';
|
|
30
|
+
|
|
31
|
+
const meeting = await RealtimeKitClient.init({
|
|
31
32
|
authToken: '<your-auth-token>',
|
|
32
33
|
defaults: {
|
|
33
34
|
video: true,
|
|
@@ -44,7 +45,7 @@ You can now pass this meeting instance to any of the components:
|
|
|
44
45
|
|
|
45
46
|
<script>
|
|
46
47
|
const init = async () => {
|
|
47
|
-
const meeting = await
|
|
48
|
+
const meeting = await RealtimeKitClient.init({
|
|
48
49
|
authToken: '<your-auth-token>',
|
|
49
50
|
defaults: {
|
|
50
51
|
video: true,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cloudflare/realtimekit-ui",
|
|
3
|
-
"version": "1.0.0-staging.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "1.0.0-staging.3",
|
|
4
|
+
"description": "Pre-built, ready-to-use UI components and utilities for integrating with Cloudflare RealtimeKit",
|
|
5
5
|
"main": "dist/index.cjs.js",
|
|
6
6
|
"module": "dist/index.js",
|
|
7
7
|
"es2015": "dist/esm/index.js",
|