@celljs/ta-client 4.18.0 → 4.19.0
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.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type TaAccessServer, type TaAuthEvent, type TaAuthServer, type TaDesktopEvent, type TaErrorData, type TaEventEnvelope, type TaGatewayServer, type TaPackageServer, type TaPageServer, type TaPresenceServer, type TaRelayServer, type TaRemoteEvent, type TaRemoteServer, type TaRoomEvent, type TaRoomServer, type TaScreenShareServer, type TaServer, type TaSessionInfo, type TaSettingsServer, type TaTerminalServer, type TaVoiceEvent, type TaVoiceServer, type TaWorkspaceServer } from '@celljs/ta-protocol';
|
|
1
|
+
import { type TaAccessServer, type TaAccountServer, type TaAuthEvent, type TaAuthServer, type TaDesktopEvent, type TaErrorData, type TaEventEnvelope, type TaGatewayServer, type TaPackageServer, type TaPageServer, type TaPresenceServer, type TaRelayServer, type TaRemoteEvent, type TaRemoteServer, type TaRoomEvent, type TaRoomServer, type TaScreenShareServer, type TaServer, type TaSessionInfo, type TaSettingsServer, type TaTerminalServer, type TaVoiceEvent, type TaVoiceServer, type TaWorkspaceServer } from '@celljs/ta-protocol';
|
|
2
2
|
import type { TaConnectionOptions, TaSocket } from './ta-connection-options.js';
|
|
3
3
|
interface PendingCall {
|
|
4
4
|
resolve(result: unknown): void;
|
|
@@ -56,6 +56,8 @@ export declare class TaConnection {
|
|
|
56
56
|
/** Behind `ta gateway` only: a Ta service alone does not have it. */
|
|
57
57
|
readonly gateway: TaGatewayServer;
|
|
58
58
|
readonly relay: TaRelayServer;
|
|
59
|
+
/** The user's account and its devices (docs/design/ta-account.md). */
|
|
60
|
+
readonly account: TaAccountServer;
|
|
59
61
|
readonly remote: TaRemoteServer;
|
|
60
62
|
/** Desktops of other computers, seen and worked (docs/design/ta-desktop-remote.md). */
|
|
61
63
|
readonly screenShare: TaScreenShareServer;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TA_ACCESS_SERVICE, TA_AUTH_SERVICE, TA_CLIENT_SERVICE, TA_GATEWAY_SERVICE, TA_PACKAGE_SERVICE, TA_PAGE_SERVICE, TA_PRESENCE_SERVICE, TA_RELAY_SERVICE, TA_REMOTE_SERVICE, TA_ROOM_SERVICE, TA_SCREEN_SHARE_SERVICE, TA_SERVER_SERVICE, TA_SETTINGS_SERVICE, TA_TERMINAL_SERVICE, TA_VOICE_SERVICE, TA_WORKSPACE_SERVICE, TaErrorCode, } from '@celljs/ta-protocol';
|
|
1
|
+
import { TA_ACCESS_SERVICE, TA_ACCOUNT_SERVICE, TA_AUTH_SERVICE, TA_CLIENT_SERVICE, TA_GATEWAY_SERVICE, TA_PACKAGE_SERVICE, TA_PAGE_SERVICE, TA_PRESENCE_SERVICE, TA_RELAY_SERVICE, TA_REMOTE_SERVICE, TA_ROOM_SERVICE, TA_SCREEN_SHARE_SERVICE, TA_SERVER_SERVICE, TA_SETTINGS_SERVICE, TA_TERMINAL_SERVICE, TA_VOICE_SERVICE, TA_WORKSPACE_SERVICE, TaErrorCode, } from '@celljs/ta-protocol';
|
|
2
2
|
import { TaRemoteError } from './ta-remote-error.js';
|
|
3
3
|
/** Methods that only read: sent again after a lost connection. */
|
|
4
4
|
const READ_METHOD = /^(get|list|read|find)[A-Z]/;
|
|
@@ -32,6 +32,8 @@ export class TaConnection {
|
|
|
32
32
|
/** Behind `ta gateway` only: a Ta service alone does not have it. */
|
|
33
33
|
this.gateway = this.service(TA_GATEWAY_SERVICE);
|
|
34
34
|
this.relay = this.service(TA_RELAY_SERVICE);
|
|
35
|
+
/** The user's account and its devices (docs/design/ta-account.md). */
|
|
36
|
+
this.account = this.service(TA_ACCOUNT_SERVICE);
|
|
35
37
|
this.remote = this.service(TA_REMOTE_SERVICE);
|
|
36
38
|
/** Desktops of other computers, seen and worked (docs/design/ta-desktop-remote.md). */
|
|
37
39
|
this.screenShare = this.service(TA_SCREEN_SHARE_SERVICE);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type TaAccessServer, type TaAuthEvent, type TaAuthServer, type TaDesktopEvent, type TaErrorData, type TaEventEnvelope, type TaGatewayServer, type TaPackageServer, type TaPageServer, type TaPresenceServer, type TaRelayServer, type TaRemoteEvent, type TaRemoteServer, type TaRoomEvent, type TaRoomServer, type TaScreenShareServer, type TaServer, type TaSessionInfo, type TaSettingsServer, type TaTerminalServer, type TaVoiceEvent, type TaVoiceServer, type TaWorkspaceServer } from '@celljs/ta-protocol';
|
|
1
|
+
import { type TaAccessServer, type TaAccountServer, type TaAuthEvent, type TaAuthServer, type TaDesktopEvent, type TaErrorData, type TaEventEnvelope, type TaGatewayServer, type TaPackageServer, type TaPageServer, type TaPresenceServer, type TaRelayServer, type TaRemoteEvent, type TaRemoteServer, type TaRoomEvent, type TaRoomServer, type TaScreenShareServer, type TaServer, type TaSessionInfo, type TaSettingsServer, type TaTerminalServer, type TaVoiceEvent, type TaVoiceServer, type TaWorkspaceServer } from '@celljs/ta-protocol';
|
|
2
2
|
import type { TaConnectionOptions, TaSocket } from './ta-connection-options';
|
|
3
3
|
interface PendingCall {
|
|
4
4
|
resolve(result: unknown): void;
|
|
@@ -56,6 +56,8 @@ export declare class TaConnection {
|
|
|
56
56
|
/** Behind `ta gateway` only: a Ta service alone does not have it. */
|
|
57
57
|
readonly gateway: TaGatewayServer;
|
|
58
58
|
readonly relay: TaRelayServer;
|
|
59
|
+
/** The user's account and its devices (docs/design/ta-account.md). */
|
|
60
|
+
readonly account: TaAccountServer;
|
|
59
61
|
readonly remote: TaRemoteServer;
|
|
60
62
|
/** Desktops of other computers, seen and worked (docs/design/ta-desktop-remote.md). */
|
|
61
63
|
readonly screenShare: TaScreenShareServer;
|
|
@@ -35,6 +35,8 @@ class TaConnection {
|
|
|
35
35
|
/** Behind `ta gateway` only: a Ta service alone does not have it. */
|
|
36
36
|
this.gateway = this.service(ta_protocol_1.TA_GATEWAY_SERVICE);
|
|
37
37
|
this.relay = this.service(ta_protocol_1.TA_RELAY_SERVICE);
|
|
38
|
+
/** The user's account and its devices (docs/design/ta-account.md). */
|
|
39
|
+
this.account = this.service(ta_protocol_1.TA_ACCOUNT_SERVICE);
|
|
38
40
|
this.remote = this.service(ta_protocol_1.TA_REMOTE_SERVICE);
|
|
39
41
|
/** Desktops of other computers, seen and worked (docs/design/ta-desktop-remote.md). */
|
|
40
42
|
this.screenShare = this.service(ta_protocol_1.TA_SCREEN_SHARE_SERVICE);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@celljs/ta-client",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.19.0",
|
|
4
4
|
"description": "A client of ta serve for any JavaScript runtime: connection and UI-independent session state",
|
|
5
5
|
"homepage": "https://github.com/cellbang/ta",
|
|
6
6
|
"bugs": {
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"watch": "tsc -b -w --preserveWatchOutput"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@celljs/ta-protocol": "4.
|
|
32
|
+
"@celljs/ta-protocol": "4.19.0"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
35
|
"@earendil-works/pi-ai": "^1.5.2",
|