@cloudflare/realtimekit 2.0.0 → 2.0.1-staging.2

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.
@@ -2837,7 +2837,8 @@ declare class Plugin extends CustomEventEmitter<PluginEvents$1> {
2837
2837
  enabledBy: string;
2838
2838
  readonly component: unknown;
2839
2839
  readonly telemetry: Telemetry;
2840
- constructor(context: Context<ContextState>, config: ClientPluginConfig, activePluginsStore: Store, self: Self);
2840
+ activePluginsStore: Store;
2841
+ constructor(context: Context<ContextState>, config: ClientPluginConfig, activePluginsStore: Store | undefined, self: Self);
2841
2842
  activateForSelf(): void;
2842
2843
  deactivateForSelf(): void;
2843
2844
  activate(): Promise<void>;
@@ -3033,6 +3034,7 @@ declare const ERROR_CODES: {
3033
3034
  '0601': string;
3034
3035
  '0602': string;
3035
3036
  '0603': string;
3037
+ '0604': string;
3036
3038
  '0700': string;
3037
3039
  '0705': string;
3038
3040
  '0800': string;
@@ -3394,7 +3394,8 @@ declare class Plugin extends CustomEventEmitter<PluginEvents$1> {
3394
3394
  enabledBy: string;
3395
3395
  readonly component: unknown;
3396
3396
  readonly telemetry: Telemetry;
3397
- constructor(context: Context<ContextState>, config: ClientPluginConfig, activePluginsStore: Store, self: Self);
3397
+ activePluginsStore: Store;
3398
+ constructor(context: Context<ContextState>, config: ClientPluginConfig, activePluginsStore: Store | undefined, self: Self);
3398
3399
  activateForSelf(): void;
3399
3400
  deactivateForSelf(): void;
3400
3401
  activate(): Promise<void>;
@@ -3880,6 +3881,7 @@ declare const ERROR_CODES: {
3880
3881
  '0601': string;
3881
3882
  '0602': string;
3882
3883
  '0603': string;
3884
+ '0604': string;
3883
3885
  '0700': string;
3884
3886
  '0705': string;
3885
3887
  '0800': string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cloudflare/realtimekit",
3
- "version": "2.0.0",
3
+ "version": "2.0.1-staging.2",
4
4
  "description": "A real-time video and audio SDK for building custom, collaborative communication experiences.",
5
5
  "main": "./dist/index.cjs.js",
6
6
  "module": "./dist/index.es.js",
@@ -86,8 +86,7 @@
86
86
  "worker-timers": "7.0.60"
87
87
  },
88
88
  "publishConfig": {
89
- "access": "public",
90
- "tag": "latest"
89
+ "tag": "staging"
91
90
  },
92
91
  "devDependencies": {
93
92
  "@types/events": "^3.0.0",