@pc-nexus/realtime 0.8.0-next.10 → 0.8.0-next.12

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/CHANGELOG.md CHANGED
@@ -2,6 +2,10 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file.
4
4
 
5
+ # 0.8.0-next.12 (2026-09-10)
6
+
7
+ # 0.8.0-next.11 (2026-09-02)
8
+
5
9
  # 0.8.0-next.10 (2026-08-27)
6
10
 
7
11
  # 0.8.0-next.9 (2026-08-25)
package/lib/type.d.ts CHANGED
@@ -3,11 +3,21 @@ export interface SignTokenResult {
3
3
  token: string;
4
4
  expires_at: number;
5
5
  }
6
- export interface RealtimePublishOptions {
7
- scope?: RealtimeScope;
8
- token?: string;
9
- context?: RealtimeContext;
6
+ export interface RealtimePublishSelfOptions {
7
+ scope: "self";
10
8
  }
9
+ export interface RealtimePublishGlobalOptions {
10
+ scope: "global";
11
+ }
12
+ export interface RealtimePublishTokenOptions {
13
+ scope: "token";
14
+ token: string;
15
+ }
16
+ export interface RealtimePublishContextOptions {
17
+ scope: "context";
18
+ context: RealtimeContext;
19
+ }
20
+ export type RealtimePublishOptions = RealtimePublishSelfOptions | RealtimePublishGlobalOptions | RealtimePublishTokenOptions | RealtimePublishContextOptions;
11
21
  export type RealtimeScope = "self" | "global" | "token" | "context";
12
22
  export type RealtimeContext = "project" | "workitem" | "sprint" | "product" | "idea" | "ticket" | "space" | "page" | "library" | "testcase" | "testplan" | "baseline" | "release" | "plan" | "widget" | "dashboard" | "entry";
13
23
  export interface RealtimePublishResult {
package/lib/type.d.ts.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../src/lib/type.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,uBAAuB,GAAG,WAAW,GAAG,SAAS,CAAC;AAE9D,MAAM,WAAW,eAAe;IAC5B,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MA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MAAM,eAAe,GACrB,SAAS,GACT,UAAU,GACV,QAAQ,GACR,SAAS,GACT,MAAM,GACN,QAAQ,GACR,OAAO,GACP,MAAM,GACN,SAAS,GACT,UAAU,GACV,UAAU,GACV,UAAU,GACV,SAAS,GACT,MAAM,GACN,QAAQ,GACR,WAAW,GACX,OAAO,CAAC;AAEd,MAAM,WAAW,qBAAqB;IAClC,UAAU,EAAE,MAAM,CAAC;CACtB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pc-nexus/realtime",
3
- "version": "0.8.0-next.10",
3
+ "version": "0.8.0-next.12",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -28,7 +28,7 @@
28
28
  },
29
29
  "type": "module",
30
30
  "dependencies": {
31
- "@pc-nexus/internal": "0.8.0-next.10"
31
+ "@pc-nexus/internal": "0.8.0-next.12"
32
32
  },
33
33
  "devDependencies": {},
34
34
  "peerDependencies": {}