@dxos/client-services 0.3.2-main.de57e73 → 0.3.2-main.e5374ab

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.
Files changed (154) hide show
  1. package/dist/lib/browser/{chunk-XEZCTVLQ.mjs → chunk-HQ4UBZ3F.mjs} +122 -112
  2. package/dist/lib/browser/chunk-HQ4UBZ3F.mjs.map +7 -0
  3. package/dist/lib/browser/index.mjs +2 -2
  4. package/dist/lib/browser/index.mjs.map +2 -2
  5. package/dist/lib/browser/meta.json +1 -1
  6. package/dist/lib/browser/packlets/testing/index.mjs +1 -1
  7. package/dist/lib/browser/packlets/testing/index.mjs.map +2 -2
  8. package/dist/lib/node/index.cjs +158 -138
  9. package/dist/lib/node/index.cjs.map +3 -3
  10. package/dist/lib/node/meta.json +1 -1
  11. package/dist/lib/node/packlets/testing/index.cjs +155 -135
  12. package/dist/lib/node/packlets/testing/index.cjs.map +3 -3
  13. package/dist/types/src/packlets/devices/devices-service.d.ts +4 -4
  14. package/dist/types/src/packlets/devices/devices-service.d.ts.map +1 -1
  15. package/dist/types/src/packlets/devtools/devtools.d.ts +4 -4
  16. package/dist/types/src/packlets/devtools/devtools.d.ts.map +1 -1
  17. package/dist/types/src/packlets/devtools/feeds.d.ts +3 -3
  18. package/dist/types/src/packlets/devtools/feeds.d.ts.map +1 -1
  19. package/dist/types/src/packlets/devtools/keys.d.ts +2 -2
  20. package/dist/types/src/packlets/devtools/keys.d.ts.map +1 -1
  21. package/dist/types/src/packlets/devtools/metadata.d.ts +2 -2
  22. package/dist/types/src/packlets/devtools/metadata.d.ts.map +1 -1
  23. package/dist/types/src/packlets/devtools/network.d.ts +3 -3
  24. package/dist/types/src/packlets/devtools/network.d.ts.map +1 -1
  25. package/dist/types/src/packlets/devtools/spaces.d.ts +2 -2
  26. package/dist/types/src/packlets/devtools/spaces.d.ts.map +1 -1
  27. package/dist/types/src/packlets/identity/authenticator.d.ts +5 -5
  28. package/dist/types/src/packlets/identity/authenticator.d.ts.map +1 -1
  29. package/dist/types/src/packlets/identity/identity-manager.d.ts +5 -5
  30. package/dist/types/src/packlets/identity/identity-manager.d.ts.map +1 -1
  31. package/dist/types/src/packlets/identity/identity-service.d.ts +4 -4
  32. package/dist/types/src/packlets/identity/identity-service.d.ts.map +1 -1
  33. package/dist/types/src/packlets/identity/identity.d.ts +8 -8
  34. package/dist/types/src/packlets/identity/identity.d.ts.map +1 -1
  35. package/dist/types/src/packlets/invitations/device-invitation-protocol.d.ts +4 -4
  36. package/dist/types/src/packlets/invitations/device-invitation-protocol.d.ts.map +1 -1
  37. package/dist/types/src/packlets/invitations/invitation-extension.d.ts +3 -3
  38. package/dist/types/src/packlets/invitations/invitation-extension.d.ts.map +1 -1
  39. package/dist/types/src/packlets/invitations/invitation-protocol.d.ts +3 -3
  40. package/dist/types/src/packlets/invitations/invitation-protocol.d.ts.map +1 -1
  41. package/dist/types/src/packlets/invitations/invitations-handler.d.ts +1 -1
  42. package/dist/types/src/packlets/invitations/invitations-handler.d.ts.map +1 -1
  43. package/dist/types/src/packlets/invitations/invitations-service.d.ts +3 -3
  44. package/dist/types/src/packlets/invitations/invitations-service.d.ts.map +1 -1
  45. package/dist/types/src/packlets/invitations/space-invitation-protocol.d.ts +6 -6
  46. package/dist/types/src/packlets/invitations/space-invitation-protocol.d.ts.map +1 -1
  47. package/dist/types/src/packlets/locks/browser.d.ts +1 -1
  48. package/dist/types/src/packlets/locks/browser.d.ts.map +1 -1
  49. package/dist/types/src/packlets/locks/node.d.ts +1 -1
  50. package/dist/types/src/packlets/locks/node.d.ts.map +1 -1
  51. package/dist/types/src/packlets/locks/resource-lock.d.ts +1 -1
  52. package/dist/types/src/packlets/locks/resource-lock.d.ts.map +1 -1
  53. package/dist/types/src/packlets/logging/logging-service.d.ts +1 -1
  54. package/dist/types/src/packlets/logging/logging-service.d.ts.map +1 -1
  55. package/dist/types/src/packlets/network/network-service.d.ts +3 -3
  56. package/dist/types/src/packlets/network/network-service.d.ts.map +1 -1
  57. package/dist/types/src/packlets/services/client-rpc-server.d.ts +5 -5
  58. package/dist/types/src/packlets/services/client-rpc-server.d.ts.map +1 -1
  59. package/dist/types/src/packlets/services/diagnostics.d.ts +8 -8
  60. package/dist/types/src/packlets/services/diagnostics.d.ts.map +1 -1
  61. package/dist/types/src/packlets/services/service-context.d.ts +6 -6
  62. package/dist/types/src/packlets/services/service-context.d.ts.map +1 -1
  63. package/dist/types/src/packlets/services/service-host.d.ts +5 -5
  64. package/dist/types/src/packlets/services/service-host.d.ts.map +1 -1
  65. package/dist/types/src/packlets/services/service-registry.d.ts +1 -1
  66. package/dist/types/src/packlets/services/service-registry.d.ts.map +1 -1
  67. package/dist/types/src/packlets/spaces/data-space-manager.d.ts +7 -7
  68. package/dist/types/src/packlets/spaces/data-space-manager.d.ts.map +1 -1
  69. package/dist/types/src/packlets/spaces/data-space.d.ts +9 -9
  70. package/dist/types/src/packlets/spaces/data-space.d.ts.map +1 -1
  71. package/dist/types/src/packlets/spaces/genesis.d.ts +3 -3
  72. package/dist/types/src/packlets/spaces/genesis.d.ts.map +1 -1
  73. package/dist/types/src/packlets/spaces/notarization-plugin.d.ts +5 -5
  74. package/dist/types/src/packlets/spaces/notarization-plugin.d.ts.map +1 -1
  75. package/dist/types/src/packlets/spaces/spaces-service.d.ts +7 -7
  76. package/dist/types/src/packlets/spaces/spaces-service.d.ts.map +1 -1
  77. package/dist/types/src/packlets/system/system-service.d.ts +5 -5
  78. package/dist/types/src/packlets/system/system-service.d.ts.map +1 -1
  79. package/dist/types/src/packlets/testing/credential-utils.d.ts +2 -2
  80. package/dist/types/src/packlets/testing/credential-utils.d.ts.map +1 -1
  81. package/dist/types/src/packlets/testing/invitation-utils.d.ts +1 -1
  82. package/dist/types/src/packlets/testing/invitation-utils.d.ts.map +1 -1
  83. package/dist/types/src/packlets/testing/test-builder.d.ts +4 -4
  84. package/dist/types/src/packlets/testing/test-builder.d.ts.map +1 -1
  85. package/dist/types/src/packlets/vault/iframe-host-runtime.d.ts +4 -4
  86. package/dist/types/src/packlets/vault/iframe-host-runtime.d.ts.map +1 -1
  87. package/dist/types/src/packlets/vault/iframe-proxy-runtime.d.ts +4 -4
  88. package/dist/types/src/packlets/vault/iframe-proxy-runtime.d.ts.map +1 -1
  89. package/dist/types/src/packlets/vault/shell-runtime.d.ts +4 -4
  90. package/dist/types/src/packlets/vault/shell-runtime.d.ts.map +1 -1
  91. package/dist/types/src/packlets/vault/worker-runtime.d.ts +3 -3
  92. package/dist/types/src/packlets/vault/worker-runtime.d.ts.map +1 -1
  93. package/dist/types/src/packlets/vault/worker-session.d.ts +3 -3
  94. package/dist/types/src/packlets/vault/worker-session.d.ts.map +1 -1
  95. package/dist/types/src/version.d.ts +1 -1
  96. package/package.json +37 -35
  97. package/src/packlets/devices/devices-service.test.ts +2 -2
  98. package/src/packlets/devices/devices-service.ts +11 -5
  99. package/src/packlets/devtools/devtools.ts +35 -35
  100. package/src/packlets/devtools/feeds.ts +6 -6
  101. package/src/packlets/devtools/keys.ts +2 -2
  102. package/src/packlets/devtools/metadata.ts +2 -2
  103. package/src/packlets/devtools/network.ts +8 -8
  104. package/src/packlets/devtools/spaces.ts +8 -5
  105. package/src/packlets/identity/authenticator.ts +5 -5
  106. package/src/packlets/identity/identity-manager.test.ts +13 -1
  107. package/src/packlets/identity/identity-manager.ts +18 -6
  108. package/src/packlets/identity/identity-service.test.ts +2 -2
  109. package/src/packlets/identity/identity-service.ts +8 -8
  110. package/src/packlets/identity/identity.test.ts +4 -4
  111. package/src/packlets/identity/identity.ts +16 -10
  112. package/src/packlets/invitations/device-invitation-protocol.test.ts +1 -1
  113. package/src/packlets/invitations/device-invitation-protocol.ts +8 -4
  114. package/src/packlets/invitations/invitation-extension.ts +6 -6
  115. package/src/packlets/invitations/invitation-protocol.ts +7 -3
  116. package/src/packlets/invitations/invitations-handler.ts +7 -2
  117. package/src/packlets/invitations/invitations-service.ts +5 -7
  118. package/src/packlets/invitations/space-invitation-protocol.test.ts +1 -1
  119. package/src/packlets/invitations/space-invitation-protocol.ts +12 -8
  120. package/src/packlets/locks/browser.ts +1 -1
  121. package/src/packlets/locks/node.ts +2 -2
  122. package/src/packlets/locks/resource-lock.ts +1 -1
  123. package/src/packlets/logging/logging-service.ts +14 -8
  124. package/src/packlets/logging/logging.test.ts +1 -1
  125. package/src/packlets/network/network-service.test.ts +2 -2
  126. package/src/packlets/network/network-service.ts +7 -3
  127. package/src/packlets/services/client-rpc-server.ts +5 -5
  128. package/src/packlets/services/diagnostics.ts +13 -13
  129. package/src/packlets/services/service-context.test.ts +2 -2
  130. package/src/packlets/services/service-context.ts +9 -9
  131. package/src/packlets/services/service-host.test.ts +3 -3
  132. package/src/packlets/services/service-host.ts +9 -9
  133. package/src/packlets/services/service-registry.test.ts +2 -2
  134. package/src/packlets/services/service-registry.ts +1 -1
  135. package/src/packlets/spaces/data-space-manager.test.ts +4 -4
  136. package/src/packlets/spaces/data-space-manager.ts +8 -8
  137. package/src/packlets/spaces/data-space.ts +10 -10
  138. package/src/packlets/spaces/genesis.ts +3 -3
  139. package/src/packlets/spaces/notarization-plugin.test.ts +2 -2
  140. package/src/packlets/spaces/notarization-plugin.ts +5 -5
  141. package/src/packlets/spaces/spaces-service.test.ts +2 -2
  142. package/src/packlets/spaces/spaces-service.ts +17 -17
  143. package/src/packlets/system/system-service.test.ts +1 -1
  144. package/src/packlets/system/system-service.ts +9 -9
  145. package/src/packlets/testing/credential-utils.ts +2 -2
  146. package/src/packlets/testing/invitation-utils.ts +1 -1
  147. package/src/packlets/testing/test-builder.ts +4 -4
  148. package/src/packlets/vault/iframe-host-runtime.ts +6 -6
  149. package/src/packlets/vault/iframe-proxy-runtime.ts +10 -5
  150. package/src/packlets/vault/shell-runtime.ts +4 -4
  151. package/src/packlets/vault/worker-runtime.ts +3 -3
  152. package/src/packlets/vault/worker-session.ts +5 -5
  153. package/src/version.ts +1 -1
  154. package/dist/lib/browser/chunk-XEZCTVLQ.mjs.map +0 -7
@@ -3,14 +3,19 @@
3
3
  //
4
4
 
5
5
  import { Trigger } from '@dxos/async';
6
- import { iframeServiceBundle, ShellRuntime, workerServiceBundle, WorkerServiceBundle } from '@dxos/client-protocol';
7
- import { Config } from '@dxos/config';
6
+ import {
7
+ iframeServiceBundle,
8
+ type ShellRuntime,
9
+ workerServiceBundle,
10
+ type WorkerServiceBundle,
11
+ } from '@dxos/client-protocol';
12
+ import { type Config } from '@dxos/config';
8
13
  import { log } from '@dxos/log';
9
14
  import { SimplePeerTransportService } from '@dxos/network-manager';
10
15
  import { RemoteServiceConnectionError } from '@dxos/protocols';
11
- import { BridgeService } from '@dxos/protocols/proto/dxos/mesh/bridge';
12
- import { createProtoRpcPeer, ProtoRpcPeer, RpcPort } from '@dxos/rpc';
13
- import { getAsyncValue, MaybePromise, Provider } from '@dxos/util';
16
+ import { type BridgeService } from '@dxos/protocols/proto/dxos/mesh/bridge';
17
+ import { createProtoRpcPeer, type ProtoRpcPeer, type RpcPort } from '@dxos/rpc';
18
+ import { getAsyncValue, type MaybePromise, type Provider } from '@dxos/util';
14
19
 
15
20
  import { ShellRuntimeImpl } from './shell-runtime';
16
21
 
@@ -3,11 +3,11 @@
3
3
  //
4
4
 
5
5
  import { Event } from '@dxos/async';
6
- import { appServiceBundle, AppServiceBundle, ShellRuntime, shellServiceBundle } from '@dxos/client-protocol';
6
+ import { appServiceBundle, type AppServiceBundle, type ShellRuntime, shellServiceBundle } from '@dxos/client-protocol';
7
7
  import { invariant } from '@dxos/invariant';
8
- import { PublicKey } from '@dxos/keys';
9
- import { AppContextRequest, LayoutRequest, ShellLayout } from '@dxos/protocols/proto/dxos/iframe';
10
- import { createProtoRpcPeer, ProtoRpcPeer, RpcPort } from '@dxos/rpc';
8
+ import { type PublicKey } from '@dxos/keys';
9
+ import { type AppContextRequest, type LayoutRequest, ShellLayout } from '@dxos/protocols/proto/dxos/iframe';
10
+ import { createProtoRpcPeer, type ProtoRpcPeer, type RpcPort } from '@dxos/rpc';
11
11
 
12
12
  /**
13
13
  * Endpoint that handles shell services.
@@ -3,13 +3,13 @@
3
3
  //
4
4
 
5
5
  import { Trigger } from '@dxos/async';
6
- import { Config } from '@dxos/config';
6
+ import { type Config } from '@dxos/config';
7
7
  import { Context } from '@dxos/context';
8
8
  import { log } from '@dxos/log';
9
9
  import { MemorySignalManager, MemorySignalManagerContext, WebsocketSignalManager } from '@dxos/messaging';
10
10
  import { SimplePeerTransportProxyFactory } from '@dxos/network-manager';
11
- import { RpcPort } from '@dxos/rpc';
12
- import { MaybePromise } from '@dxos/util';
11
+ import { type RpcPort } from '@dxos/rpc';
12
+ import { type MaybePromise } from '@dxos/util';
13
13
 
14
14
  import { WorkerSession } from './worker-session';
15
15
  import { ClientServicesHost } from '../services';
@@ -5,17 +5,17 @@
5
5
  import { asyncTimeout, Trigger } from '@dxos/async';
6
6
  import {
7
7
  iframeServiceBundle,
8
- IframeServiceBundle,
8
+ type IframeServiceBundle,
9
9
  PROXY_CONNECTION_TIMEOUT,
10
10
  workerServiceBundle,
11
11
  } from '@dxos/client-protocol';
12
12
  import { invariant } from '@dxos/invariant';
13
13
  import { log, logInfo } from '@dxos/log';
14
- import { BridgeService } from '@dxos/protocols/proto/dxos/mesh/bridge';
15
- import { createProtoRpcPeer, ProtoRpcPeer, RpcPort } from '@dxos/rpc';
16
- import { Callback, MaybePromise } from '@dxos/util';
14
+ import { type BridgeService } from '@dxos/protocols/proto/dxos/mesh/bridge';
15
+ import { createProtoRpcPeer, type ProtoRpcPeer, type RpcPort } from '@dxos/rpc';
16
+ import { Callback, type MaybePromise } from '@dxos/util';
17
17
 
18
- import { ClientServicesHost, ClientRpcServer, ClientRpcServerParams } from '../services';
18
+ import { type ClientServicesHost, ClientRpcServer, type ClientRpcServerParams } from '../services';
19
19
 
20
20
  export type WorkerSessionParams = {
21
21
  serviceHost: ClientServicesHost;
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const DXOS_VERSION = "0.3.2-main.de57e73";
1
+ export const DXOS_VERSION = "0.3.2-main.e5374ab";