@dxos/client-services 0.1.48 → 0.1.49-next.55d8a92

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.
@@ -34,7 +34,7 @@ import {
34
34
  subscribeToSignal,
35
35
  subscribeToSpaces,
36
36
  subscribeToSwarmInfo
37
- } from "./chunk-KN2NX2RP.mjs";
37
+ } from "./chunk-KMQOZOUZ.mjs";
38
38
  export {
39
39
  ClientServicesHost,
40
40
  DataSpace,
@@ -1 +1 @@
1
- {"inputs":{"packages/sdk/client-services/src/packlets/devtools/feeds.ts":{"bytes":10041,"imports":[{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/codec-protobuf","kind":"import-statement","external":true},{"path":"@dxos/feed-store","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true}]},"packages/sdk/client-services/src/packlets/devtools/keys.ts":{"bytes":1968,"imports":[{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/codec-protobuf","kind":"import-statement","external":true}]},"packages/sdk/client-services/src/packlets/devtools/network.ts":{"bytes":10505,"imports":[{"path":"@dxos/codec-protobuf","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true}]},"packages/sdk/client-services/src/packlets/devtools/spaces.ts":{"bytes":5907,"imports":[{"path":"@dxos/codec-protobuf","kind":"import-statement","external":true}]},"packages/sdk/client-services/src/packlets/devtools/devtools.ts":{"bytes":14459,"imports":[{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/codec-protobuf","kind":"import-statement","external":true},{"path":"packages/sdk/client-services/src/packlets/devtools/feeds.ts","kind":"import-statement","original":"./feeds"},{"path":"packages/sdk/client-services/src/packlets/devtools/keys.ts","kind":"import-statement","original":"./keys"},{"path":"packages/sdk/client-services/src/packlets/devtools/network.ts","kind":"import-statement","original":"./network"},{"path":"packages/sdk/client-services/src/packlets/devtools/spaces.ts","kind":"import-statement","original":"./spaces"}]},"packages/sdk/client-services/src/packlets/devtools/index.ts":{"bytes":626,"imports":[{"path":"packages/sdk/client-services/src/packlets/devtools/devtools.ts","kind":"import-statement","original":"./devtools"},{"path":"packages/sdk/client-services/src/packlets/devtools/feeds.ts","kind":"import-statement","original":"./feeds"},{"path":"packages/sdk/client-services/src/packlets/devtools/network.ts","kind":"import-statement","original":"./network"},{"path":"packages/sdk/client-services/src/packlets/devtools/spaces.ts","kind":"import-statement","original":"./spaces"}]},"packages/sdk/client-services/src/packlets/identity/authenticator.ts":{"bytes":11540,"imports":[{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/credentials","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/protocols","kind":"import-statement","external":true}]},"packages/sdk/client-services/src/packlets/identity/identity.ts":{"bytes":19293,"imports":[{"path":"@dxos/node-std/assert","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/client-protocol","kind":"import-statement","external":true},{"path":"@dxos/credentials","kind":"import-statement","external":true},{"path":"@dxos/debug","kind":"import-statement","external":true},{"path":"@dxos/feed-store","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto/dxos/halo/credentials","kind":"import-statement","external":true},{"path":"packages/sdk/client-services/src/packlets/identity/authenticator.ts","kind":"import-statement","original":"./authenticator"}]},"packages/sdk/client-services/src/packlets/identity/identity-manager.ts":{"bytes":30422,"imports":[{"path":"@dxos/node-std/assert","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/credentials","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/protocols","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto/dxos/halo/credentials","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"packages/sdk/client-services/src/packlets/identity/authenticator.ts","kind":"import-statement","original":"./authenticator"},{"path":"packages/sdk/client-services/src/packlets/identity/identity.ts","kind":"import-statement","original":"./identity"}]},"packages/sdk/client-services/src/packlets/identity/identity-service.ts":{"bytes":7007,"imports":[{"path":"@dxos/node-std/assert","kind":"import-statement","external":true},{"path":"@dxos/codec-protobuf","kind":"import-statement","external":true},{"path":"@dxos/credentials","kind":"import-statement","external":true},{"path":"@dxos/debug","kind":"import-statement","external":true}]},"packages/sdk/client-services/src/packlets/identity/index.ts":{"bytes":697,"imports":[{"path":"packages/sdk/client-services/src/packlets/identity/authenticator.ts","kind":"import-statement","original":"./authenticator"},{"path":"packages/sdk/client-services/src/packlets/identity/identity.ts","kind":"import-statement","original":"./identity"},{"path":"packages/sdk/client-services/src/packlets/identity/identity-manager.ts","kind":"import-statement","original":"./identity-manager"},{"path":"packages/sdk/client-services/src/packlets/identity/identity-service.ts","kind":"import-statement","original":"./identity-service"}]},"packages/sdk/client-services/src/packlets/invitations/device-invitation-protocol.ts":{"bytes":7567,"imports":[{"path":"@dxos/node-std/assert","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto/dxos/client/services","kind":"import-statement","external":true}]},"packages/sdk/client-services/src/packlets/invitations/invitation-protocol.ts":{"bytes":1340,"imports":[]},"packages/sdk/client-services/src/packlets/invitations/invitation-extension.ts":{"bytes":36016,"imports":[{"path":"@dxos/node-std/assert","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/errors","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/protocols","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto/dxos/client/services","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto/dxos/halo/invitations","kind":"import-statement","external":true},{"path":"@dxos/teleport","kind":"import-statement","external":true}]},"packages/sdk/client-services/src/packlets/invitations/invitations-handler.ts":{"bytes":59222,"imports":[{"path":"@dxos/node-std/assert","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/client-protocol","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/credentials","kind":"import-statement","external":true},{"path":"@dxos/errors","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/network-manager","kind":"import-statement","external":true},{"path":"@dxos/protocols","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto/dxos/client/services","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto/dxos/halo/invitations","kind":"import-statement","external":true},{"path":"packages/sdk/client-services/src/packlets/invitations/invitation-extension.ts","kind":"import-statement","original":"./invitation-extension"}]},"packages/sdk/client-services/src/packlets/invitations/invitations-service.ts":{"bytes":20879,"imports":[{"path":"@dxos/node-std/assert","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/codec-protobuf","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto/dxos/client/services","kind":"import-statement","external":true}]},"packages/sdk/client-services/src/packlets/invitations/space-invitation-protocol.ts":{"bytes":13008,"imports":[{"path":"@dxos/node-std/assert","kind":"import-statement","external":true},{"path":"@dxos/credentials","kind":"import-statement","external":true},{"path":"@dxos/feed-store","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto/dxos/client/services","kind":"import-statement","external":true}]},"packages/sdk/client-services/src/packlets/invitations/index.ts":{"bytes":900,"imports":[{"path":"packages/sdk/client-services/src/packlets/invitations/device-invitation-protocol.ts","kind":"import-statement","original":"./device-invitation-protocol"},{"path":"packages/sdk/client-services/src/packlets/invitations/invitation-protocol.ts","kind":"import-statement","original":"./invitation-protocol"},{"path":"packages/sdk/client-services/src/packlets/invitations/invitations-handler.ts","kind":"import-statement","original":"./invitations-handler"},{"path":"packages/sdk/client-services/src/packlets/invitations/invitations-service.ts","kind":"import-statement","original":"./invitations-service"},{"path":"packages/sdk/client-services/src/packlets/invitations/space-invitation-protocol.ts","kind":"import-statement","original":"./space-invitation-protocol"}]},"packages/sdk/client-services/src/packlets/devices/devices-service.ts":{"bytes":5846,"imports":[{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/codec-protobuf","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto/dxos/client/services","kind":"import-statement","external":true}]},"packages/sdk/client-services/src/packlets/devices/index.ts":{"bytes":395,"imports":[{"path":"packages/sdk/client-services/src/packlets/devices/devices-service.ts","kind":"import-statement","original":"./devices-service"}]},"packages/sdk/client-services/src/packlets/logging/logging-service.ts":{"bytes":6725,"imports":[{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/codec-protobuf","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true}]},"packages/sdk/client-services/src/packlets/logging/index.ts":{"bytes":395,"imports":[{"path":"packages/sdk/client-services/src/packlets/logging/logging-service.ts","kind":"import-statement","original":"./logging-service"}]},"packages/sdk/client-services/src/packlets/network/network-service.ts":{"bytes":4278,"imports":[{"path":"@dxos/codec-protobuf","kind":"import-statement","external":true}]},"packages/sdk/client-services/src/packlets/network/index.ts":{"bytes":395,"imports":[{"path":"packages/sdk/client-services/src/packlets/network/network-service.ts","kind":"import-statement","original":"./network-service"}]},"packages/sdk/client-services/src/packlets/spaces/notarization-plugin.ts":{"bytes":26973,"imports":[{"path":"@dxos/node-std/assert","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/protocols","kind":"import-statement","external":true},{"path":"@dxos/teleport","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true}]},"packages/sdk/client-services/src/packlets/spaces/data-space.ts":{"bytes":33369,"imports":[{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/client-protocol","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/debug","kind":"import-statement","external":true},{"path":"@dxos/echo-pipeline","kind":"import-statement","external":true},{"path":"@dxos/errors","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto/dxos/client/services","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto/dxos/halo/credentials","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"packages/sdk/client-services/src/packlets/identity/index.ts","kind":"import-statement","original":"../identity"},{"path":"packages/sdk/client-services/src/packlets/spaces/notarization-plugin.ts","kind":"import-statement","original":"./notarization-plugin"}]},"packages/sdk/client-services/src/packlets/spaces/genesis.ts":{"bytes":8653,"imports":[{"path":"@dxos/credentials","kind":"import-statement","external":true},{"path":"@dxos/debug","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto/dxos/halo/credentials","kind":"import-statement","external":true},{"path":"@dxos/timeframe","kind":"import-statement","external":true}]},"packages/sdk/client-services/src/packlets/spaces/data-space-manager.ts":{"bytes":31941,"imports":[{"path":"@dxos/node-std/assert","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/credentials","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/protocols","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto/dxos/client/services","kind":"import-statement","external":true},{"path":"@dxos/teleport-extension-gossip","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"packages/sdk/client-services/src/packlets/identity/index.ts","kind":"import-statement","original":"../identity"},{"path":"packages/sdk/client-services/src/packlets/spaces/data-space.ts","kind":"import-statement","original":"./data-space"},{"path":"packages/sdk/client-services/src/packlets/spaces/genesis.ts","kind":"import-statement","original":"./genesis"}]},"packages/sdk/client-services/src/packlets/spaces/spaces-service.ts":{"bytes":25279,"imports":[{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/codec-protobuf","kind":"import-statement","external":true},{"path":"@dxos/debug","kind":"import-statement","external":true},{"path":"@dxos/echo-pipeline","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/protocols","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto/dxos/client/services","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true}]},"packages/sdk/client-services/src/packlets/spaces/index.ts":{"bytes":598,"imports":[{"path":"packages/sdk/client-services/src/packlets/spaces/data-space-manager.ts","kind":"import-statement","original":"./data-space-manager"},{"path":"packages/sdk/client-services/src/packlets/spaces/data-space.ts","kind":"import-statement","original":"./data-space"},{"path":"packages/sdk/client-services/src/packlets/spaces/spaces-service.ts","kind":"import-statement","original":"./spaces-service"}]},"packages/sdk/client-services/src/packlets/storage/storage.ts":{"bytes":6822,"imports":[{"path":"@dxos/errors","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto/dxos/config","kind":"import-statement","external":true},{"path":"@dxos/random-access-storage","kind":"import-statement","external":true}]},"packages/sdk/client-services/src/packlets/storage/index.ts":{"bytes":375,"imports":[{"path":"packages/sdk/client-services/src/packlets/storage/storage.ts","kind":"import-statement","original":"./storage"}]},"packages/sdk/client-services/src/packlets/system/system-service.ts":{"bytes":5467,"imports":[{"path":"@dxos/codec-protobuf","kind":"import-statement","external":true}]},"packages/sdk/client-services/src/packlets/system/index.ts":{"bytes":394,"imports":[{"path":"packages/sdk/client-services/src/packlets/system/system-service.ts","kind":"import-statement","original":"./system-service"}]},"packages/sdk/client-services/src/packlets/services/client-rpc-server.ts":{"bytes":9623,"imports":[{"path":"@dxos/codec-protobuf","kind":"import-statement","external":true},{"path":"@dxos/debug","kind":"import-statement","external":true},{"path":"@dxos/rpc","kind":"import-statement","external":true}]},"packages/sdk/client-services/src/packlets/vault/shell-runtime.ts":{"bytes":10624,"imports":[{"path":"@dxos/node-std/assert","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/client-protocol","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto/dxos/iframe","kind":"import-statement","external":true},{"path":"@dxos/rpc","kind":"import-statement","external":true}]},"packages/sdk/client-services/src/packlets/vault/iframe-host-runtime.ts":{"bytes":14791,"imports":[{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/client-protocol","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/messaging","kind":"import-statement","external":true},{"path":"@dxos/network-manager","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"packages/sdk/client-services/src/packlets/services/index.ts","kind":"import-statement","original":"../services"},{"path":"packages/sdk/client-services/src/packlets/services/client-rpc-server.ts","kind":"import-statement","original":"../services/client-rpc-server"},{"path":"packages/sdk/client-services/src/packlets/vault/shell-runtime.ts","kind":"import-statement","original":"./shell-runtime"}]},"packages/sdk/client-services/src/packlets/vault/iframe-proxy-runtime.ts":{"bytes":10559,"imports":[{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/client-protocol","kind":"import-statement","external":true},{"path":"@dxos/errors","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/network-manager","kind":"import-statement","external":true},{"path":"@dxos/rpc","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"packages/sdk/client-services/src/packlets/vault/shell-runtime.ts","kind":"import-statement","original":"./shell-runtime"}]},"packages/sdk/client-services/src/packlets/vault/vault-resource-lock.ts":{"bytes":9820,"imports":[{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/client-protocol","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true}]},"packages/sdk/client-services/src/packlets/vault/worker-session.ts":{"bytes":15573,"imports":[{"path":"@dxos/node-std/assert","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/client-protocol","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/rpc","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"packages/sdk/client-services/src/packlets/services/client-rpc-server.ts","kind":"import-statement","original":"../services/client-rpc-server"}]},"packages/sdk/client-services/src/packlets/vault/worker-runtime.ts":{"bytes":12372,"imports":[{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/messaging","kind":"import-statement","external":true},{"path":"@dxos/network-manager","kind":"import-statement","external":true},{"path":"packages/sdk/client-services/src/packlets/services/index.ts","kind":"import-statement","original":"../services"},{"path":"packages/sdk/client-services/src/packlets/vault/worker-session.ts","kind":"import-statement","original":"./worker-session"}]},"packages/sdk/client-services/src/packlets/vault/index.ts":{"bytes":951,"imports":[{"path":"packages/sdk/client-services/src/packlets/vault/iframe-host-runtime.ts","kind":"import-statement","original":"./iframe-host-runtime"},{"path":"packages/sdk/client-services/src/packlets/vault/iframe-proxy-runtime.ts","kind":"import-statement","original":"./iframe-proxy-runtime"},{"path":"packages/sdk/client-services/src/packlets/vault/shell-runtime.ts","kind":"import-statement","original":"./shell-runtime"},{"path":"packages/sdk/client-services/src/packlets/vault/vault-resource-lock.ts","kind":"import-statement","original":"./vault-resource-lock"},{"path":"packages/sdk/client-services/src/packlets/vault/worker-runtime.ts","kind":"import-statement","original":"./worker-runtime"},{"path":"packages/sdk/client-services/src/packlets/vault/worker-session.ts","kind":"import-statement","original":"./worker-session"}]},"packages/sdk/client-services/src/packlets/services/service-context.ts":{"bytes":29162,"imports":[{"path":"@dxos/node-std/assert","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/credentials","kind":"import-statement","external":true},{"path":"@dxos/debug","kind":"import-statement","external":true},{"path":"@dxos/echo-pipeline","kind":"import-statement","external":true},{"path":"@dxos/feed-store","kind":"import-statement","external":true},{"path":"@dxos/keyring","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/protocols","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto/dxos/client/services","kind":"import-statement","external":true},{"path":"packages/sdk/client-services/src/packlets/identity/index.ts","kind":"import-statement","original":"../identity"},{"path":"packages/sdk/client-services/src/packlets/invitations/index.ts","kind":"import-statement","original":"../invitations"},{"path":"packages/sdk/client-services/src/packlets/spaces/index.ts","kind":"import-statement","original":"../spaces"}]},"packages/sdk/client-services/src/packlets/services/service-registry.ts":{"bytes":2558,"imports":[]},"packages/sdk/client-services/src/packlets/services/service-host.ts":{"bytes":30475,"imports":[{"path":"@dxos/node-std/assert","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/client-protocol","kind":"import-statement","external":true},{"path":"@dxos/echo-pipeline","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/messaging","kind":"import-statement","external":true},{"path":"@dxos/network-manager","kind":"import-statement","external":true},{"path":"@dxos/protocols","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto/dxos/client/services","kind":"import-statement","external":true},{"path":"packages/sdk/client-services/src/packlets/devices/index.ts","kind":"import-statement","original":"../devices"},{"path":"packages/sdk/client-services/src/packlets/devtools/index.ts","kind":"import-statement","original":"../devtools"},{"path":"packages/sdk/client-services/src/packlets/identity/index.ts","kind":"import-statement","original":"../identity"},{"path":"packages/sdk/client-services/src/packlets/invitations/index.ts","kind":"import-statement","original":"../invitations"},{"path":"packages/sdk/client-services/src/packlets/logging/index.ts","kind":"import-statement","original":"../logging"},{"path":"packages/sdk/client-services/src/packlets/network/index.ts","kind":"import-statement","original":"../network"},{"path":"packages/sdk/client-services/src/packlets/spaces/index.ts","kind":"import-statement","original":"../spaces"},{"path":"packages/sdk/client-services/src/packlets/storage/index.ts","kind":"import-statement","original":"../storage"},{"path":"packages/sdk/client-services/src/packlets/system/index.ts","kind":"import-statement","original":"../system"},{"path":"packages/sdk/client-services/src/packlets/vault/index.ts","kind":"import-statement","original":"../vault"},{"path":"packages/sdk/client-services/src/packlets/services/service-context.ts","kind":"import-statement","original":"./service-context"},{"path":"packages/sdk/client-services/src/packlets/services/service-registry.ts","kind":"import-statement","original":"./service-registry"}]},"packages/sdk/client-services/src/packlets/services/local-client-services.ts":{"bytes":2762,"imports":[{"path":"packages/sdk/client-services/src/packlets/services/service-host.ts","kind":"import-statement","original":"./service-host"}]},"packages/sdk/client-services/src/packlets/services/index.ts":{"bytes":724,"imports":[{"path":"packages/sdk/client-services/src/packlets/services/local-client-services.ts","kind":"import-statement","original":"./local-client-services"},{"path":"packages/sdk/client-services/src/packlets/services/service-context.ts","kind":"import-statement","original":"./service-context"},{"path":"packages/sdk/client-services/src/packlets/services/service-host.ts","kind":"import-statement","original":"./service-host"},{"path":"packages/sdk/client-services/src/packlets/services/service-registry.ts","kind":"import-statement","original":"./service-registry"}]},"packages/sdk/client-services/src/index.ts":{"bytes":1064,"imports":[{"path":"packages/sdk/client-services/src/packlets/devtools/index.ts","kind":"import-statement","original":"./packlets/devtools"},{"path":"packages/sdk/client-services/src/packlets/identity/index.ts","kind":"import-statement","original":"./packlets/identity"},{"path":"packages/sdk/client-services/src/packlets/invitations/index.ts","kind":"import-statement","original":"./packlets/invitations"},{"path":"packages/sdk/client-services/src/packlets/services/index.ts","kind":"import-statement","original":"./packlets/services"},{"path":"packages/sdk/client-services/src/packlets/spaces/index.ts","kind":"import-statement","original":"./packlets/spaces"},{"path":"packages/sdk/client-services/src/packlets/storage/index.ts","kind":"import-statement","original":"./packlets/storage"},{"path":"packages/sdk/client-services/src/packlets/vault/index.ts","kind":"import-statement","original":"./packlets/vault"}]},"packages/sdk/client-services/src/packlets/testing/credential-utils.ts":{"bytes":2190,"imports":[{"path":"@dxos/credentials","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true}]},"packages/sdk/client-services/src/packlets/testing/invitation-utils.ts":{"bytes":23060,"imports":[{"path":"@dxos/node-std/assert","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto/dxos/client/services","kind":"import-statement","external":true},{"path":"packages/sdk/client-services/src/packlets/services/index.ts","kind":"import-statement","original":"../services"}]},"packages/sdk/client-services/src/packlets/testing/test-builder.ts":{"bytes":16206,"imports":[{"path":"@dxos/client-protocol","kind":"import-statement","external":true},{"path":"@dxos/credentials","kind":"import-statement","external":true},{"path":"@dxos/echo-pipeline","kind":"import-statement","external":true},{"path":"@dxos/echo-pipeline/testing","kind":"import-statement","external":true},{"path":"@dxos/feed-store","kind":"import-statement","external":true},{"path":"@dxos/keyring","kind":"import-statement","external":true},{"path":"@dxos/messaging","kind":"import-statement","external":true},{"path":"@dxos/network-manager","kind":"import-statement","external":true},{"path":"@dxos/random-access-storage","kind":"import-statement","external":true},{"path":"packages/sdk/client-services/src/packlets/services/index.ts","kind":"import-statement","original":"../services"}]},"packages/sdk/client-services/src/packlets/testing/index.ts":{"bytes":608,"imports":[{"path":"packages/sdk/client-services/src/packlets/testing/credential-utils.ts","kind":"import-statement","original":"./credential-utils"},{"path":"packages/sdk/client-services/src/packlets/testing/invitation-utils.ts","kind":"import-statement","original":"./invitation-utils"},{"path":"packages/sdk/client-services/src/packlets/testing/test-builder.ts","kind":"import-statement","original":"./test-builder"}]}},"outputs":{"packages/sdk/client-services/dist/lib/browser/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"packages/sdk/client-services/dist/lib/browser/index.mjs":{"imports":[{"path":"packages/sdk/client-services/dist/lib/browser/chunk-KN2NX2RP.mjs","kind":"import-statement"}],"exports":["ClientServicesHost","DataSpace","DataSpaceManager","DeviceInvitationProtocol","DevtoolsHostEvents","DevtoolsServiceImpl","IFrameHostRuntime","IFrameProxyRuntime","Identity","IdentityManager","IdentityServiceImpl","InvitationsHandler","InvitationsServiceImpl","LocalClientServices","MemoryShellRuntime","ServiceContext","ServiceRegistry","ShellRuntimeImpl","SpaceInvitationProtocol","SpacesServiceImpl","TrustedKeySetAuthVerifier","VaultResourceLock","WorkerRuntime","WorkerSession","createAuthProvider","createStorageObjects","getNetworkPeers","subscribeToFeedBlocks","subscribeToFeeds","subscribeToNetworkStatus","subscribeToNetworkTopics","subscribeToSignal","subscribeToSpaces","subscribeToSwarmInfo"],"entryPoint":"packages/sdk/client-services/src/index.ts","inputs":{"packages/sdk/client-services/src/index.ts":{"bytesInOutput":0}},"bytes":1595},"packages/sdk/client-services/dist/lib/browser/packlets/testing/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":22012},"packages/sdk/client-services/dist/lib/browser/packlets/testing/index.mjs":{"imports":[{"path":"packages/sdk/client-services/dist/lib/browser/chunk-KN2NX2RP.mjs","kind":"import-statement"},{"path":"@dxos/credentials","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/node-std/assert","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto/dxos/client/services","kind":"import-statement","external":true},{"path":"@dxos/client-protocol","kind":"import-statement","external":true},{"path":"@dxos/credentials","kind":"import-statement","external":true},{"path":"@dxos/echo-pipeline","kind":"import-statement","external":true},{"path":"@dxos/echo-pipeline/testing","kind":"import-statement","external":true},{"path":"@dxos/feed-store","kind":"import-statement","external":true},{"path":"@dxos/keyring","kind":"import-statement","external":true},{"path":"@dxos/messaging","kind":"import-statement","external":true},{"path":"@dxos/network-manager","kind":"import-statement","external":true},{"path":"@dxos/random-access-storage","kind":"import-statement","external":true}],"exports":["TestBuilder","TestPeer","createIdentity","createMockCredential","createPeers","createServiceContext","createServiceHost","createSigningContext","performInvitation","sanitizeInvitation","syncItemsLocal"],"entryPoint":"packages/sdk/client-services/src/packlets/testing/index.ts","inputs":{"packages/sdk/client-services/src/packlets/testing/credential-utils.ts":{"bytesInOutput":403},"packages/sdk/client-services/src/packlets/testing/index.ts":{"bytesInOutput":0},"packages/sdk/client-services/src/packlets/testing/invitation-utils.ts":{"bytesInOutput":6774},"packages/sdk/client-services/src/packlets/testing/test-builder.ts":{"bytesInOutput":4244}},"bytes":12014},"packages/sdk/client-services/dist/lib/browser/chunk-KN2NX2RP.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":269864},"packages/sdk/client-services/dist/lib/browser/chunk-KN2NX2RP.mjs":{"imports":[{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/codec-protobuf","kind":"import-statement","external":true},{"path":"@dxos/feed-store","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"@dxos/codec-protobuf","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/codec-protobuf","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/codec-protobuf","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/codec-protobuf","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/credentials","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/protocols","kind":"import-statement","external":true},{"path":"@dxos/node-std/assert","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/client-protocol","kind":"import-statement","external":true},{"path":"@dxos/credentials","kind":"import-statement","external":true},{"path":"@dxos/debug","kind":"import-statement","external":true},{"path":"@dxos/feed-store","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto/dxos/halo/credentials","kind":"import-statement","external":true},{"path":"@dxos/node-std/assert","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/credentials","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/protocols","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto/dxos/halo/credentials","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"@dxos/node-std/assert","kind":"import-statement","external":true},{"path":"@dxos/codec-protobuf","kind":"import-statement","external":true},{"path":"@dxos/credentials","kind":"import-statement","external":true},{"path":"@dxos/debug","kind":"import-statement","external":true},{"path":"@dxos/node-std/assert","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto/dxos/client/services","kind":"import-statement","external":true},{"path":"@dxos/node-std/assert","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/client-protocol","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/credentials","kind":"import-statement","external":true},{"path":"@dxos/errors","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/network-manager","kind":"import-statement","external":true},{"path":"@dxos/protocols","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto/dxos/client/services","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto/dxos/halo/invitations","kind":"import-statement","external":true},{"path":"@dxos/node-std/assert","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/errors","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/protocols","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto/dxos/client/services","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto/dxos/halo/invitations","kind":"import-statement","external":true},{"path":"@dxos/teleport","kind":"import-statement","external":true},{"path":"@dxos/node-std/assert","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/codec-protobuf","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto/dxos/client/services","kind":"import-statement","external":true},{"path":"@dxos/node-std/assert","kind":"import-statement","external":true},{"path":"@dxos/credentials","kind":"import-statement","external":true},{"path":"@dxos/feed-store","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto/dxos/client/services","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/client-protocol","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/debug","kind":"import-statement","external":true},{"path":"@dxos/echo-pipeline","kind":"import-statement","external":true},{"path":"@dxos/errors","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto/dxos/client/services","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto/dxos/halo/credentials","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"@dxos/node-std/assert","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/protocols","kind":"import-statement","external":true},{"path":"@dxos/teleport","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"@dxos/node-std/assert","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/credentials","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/protocols","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto/dxos/client/services","kind":"import-statement","external":true},{"path":"@dxos/teleport-extension-gossip","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"@dxos/credentials","kind":"import-statement","external":true},{"path":"@dxos/debug","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto/dxos/halo/credentials","kind":"import-statement","external":true},{"path":"@dxos/timeframe","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/codec-protobuf","kind":"import-statement","external":true},{"path":"@dxos/debug","kind":"import-statement","external":true},{"path":"@dxos/echo-pipeline","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/protocols","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto/dxos/client/services","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"@dxos/errors","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto/dxos/config","kind":"import-statement","external":true},{"path":"@dxos/random-access-storage","kind":"import-statement","external":true},{"path":"@dxos/node-std/assert","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/client-protocol","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto/dxos/iframe","kind":"import-statement","external":true},{"path":"@dxos/rpc","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/client-protocol","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/messaging","kind":"import-statement","external":true},{"path":"@dxos/network-manager","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"@dxos/node-std/assert","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/client-protocol","kind":"import-statement","external":true},{"path":"@dxos/echo-pipeline","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/messaging","kind":"import-statement","external":true},{"path":"@dxos/network-manager","kind":"import-statement","external":true},{"path":"@dxos/protocols","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto/dxos/client/services","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/codec-protobuf","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto/dxos/client/services","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/codec-protobuf","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"@dxos/codec-protobuf","kind":"import-statement","external":true},{"path":"@dxos/codec-protobuf","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/client-protocol","kind":"import-statement","external":true},{"path":"@dxos/errors","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/network-manager","kind":"import-statement","external":true},{"path":"@dxos/rpc","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/client-protocol","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/messaging","kind":"import-statement","external":true},{"path":"@dxos/network-manager","kind":"import-statement","external":true},{"path":"@dxos/node-std/assert","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/client-protocol","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/rpc","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"@dxos/codec-protobuf","kind":"import-statement","external":true},{"path":"@dxos/debug","kind":"import-statement","external":true},{"path":"@dxos/rpc","kind":"import-statement","external":true},{"path":"@dxos/node-std/assert","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/credentials","kind":"import-statement","external":true},{"path":"@dxos/debug","kind":"import-statement","external":true},{"path":"@dxos/echo-pipeline","kind":"import-statement","external":true},{"path":"@dxos/feed-store","kind":"import-statement","external":true},{"path":"@dxos/keyring","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/protocols","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto/dxos/client/services","kind":"import-statement","external":true}],"exports":["ClientServicesHost","DataSpace","DataSpaceManager","DeviceInvitationProtocol","DevtoolsHostEvents","DevtoolsServiceImpl","IFrameHostRuntime","IFrameProxyRuntime","Identity","IdentityManager","IdentityServiceImpl","InvitationsHandler","InvitationsServiceImpl","LocalClientServices","MemoryShellRuntime","ServiceContext","ServiceRegistry","ShellRuntimeImpl","SpaceInvitationProtocol","SpacesServiceImpl","TrustedKeySetAuthVerifier","VaultResourceLock","WorkerRuntime","WorkerSession","createAuthProvider","createStorageObjects","getNetworkPeers","subscribeToFeedBlocks","subscribeToFeeds","subscribeToNetworkStatus","subscribeToNetworkTopics","subscribeToSignal","subscribeToSpaces","subscribeToSwarmInfo"],"inputs":{"packages/sdk/client-services/src/packlets/devtools/feeds.ts":{"bytesInOutput":2264},"packages/sdk/client-services/src/packlets/devtools/network.ts":{"bytesInOutput":2399},"packages/sdk/client-services/src/packlets/devtools/spaces.ts":{"bytesInOutput":1284},"packages/sdk/client-services/src/packlets/devtools/devtools.ts":{"bytesInOutput":2729},"packages/sdk/client-services/src/packlets/devtools/keys.ts":{"bytesInOutput":340},"packages/sdk/client-services/src/packlets/devtools/index.ts":{"bytesInOutput":0},"packages/sdk/client-services/src/packlets/identity/authenticator.ts":{"bytesInOutput":3146},"packages/sdk/client-services/src/packlets/identity/identity.ts":{"bytesInOutput":4641},"packages/sdk/client-services/src/packlets/identity/identity-manager.ts":{"bytesInOutput":8619},"packages/sdk/client-services/src/packlets/identity/identity-service.ts":{"bytesInOutput":1582},"packages/sdk/client-services/src/packlets/identity/index.ts":{"bytesInOutput":0},"packages/sdk/client-services/src/packlets/invitations/device-invitation-protocol.ts":{"bytesInOutput":1717},"packages/sdk/client-services/src/packlets/invitations/invitations-handler.ts":{"bytesInOutput":18235},"packages/sdk/client-services/src/packlets/invitations/invitation-extension.ts":{"bytesInOutput":10546},"packages/sdk/client-services/src/packlets/invitations/invitations-service.ts":{"bytesInOutput":5435},"packages/sdk/client-services/src/packlets/invitations/space-invitation-protocol.ts":{"bytesInOutput":3133},"packages/sdk/client-services/src/packlets/invitations/index.ts":{"bytesInOutput":0},"packages/sdk/client-services/src/packlets/spaces/data-space.ts":{"bytesInOutput":8635},"packages/sdk/client-services/src/packlets/spaces/notarization-plugin.ts":{"bytesInOutput":7354},"packages/sdk/client-services/src/packlets/spaces/data-space-manager.ts":{"bytesInOutput":9716},"packages/sdk/client-services/src/packlets/spaces/genesis.ts":{"bytesInOutput":2300},"packages/sdk/client-services/src/packlets/spaces/spaces-service.ts":{"bytesInOutput":6684},"packages/sdk/client-services/src/packlets/spaces/index.ts":{"bytesInOutput":0},"packages/sdk/client-services/src/packlets/storage/storage.ts":{"bytesInOutput":1749},"packages/sdk/client-services/src/packlets/storage/index.ts":{"bytesInOutput":0},"packages/sdk/client-services/src/packlets/vault/shell-runtime.ts":{"bytesInOutput":2374},"packages/sdk/client-services/src/packlets/vault/iframe-host-runtime.ts":{"bytesInOutput":4260},"packages/sdk/client-services/src/packlets/services/service-host.ts":{"bytesInOutput":7992},"packages/sdk/client-services/src/packlets/devices/devices-service.ts":{"bytesInOutput":1489},"packages/sdk/client-services/src/packlets/devices/index.ts":{"bytesInOutput":0},"packages/sdk/client-services/src/packlets/logging/logging-service.ts":{"bytesInOutput":1601},"packages/sdk/client-services/src/packlets/logging/index.ts":{"bytesInOutput":0},"packages/sdk/client-services/src/packlets/network/network-service.ts":{"bytesInOutput":938},"packages/sdk/client-services/src/packlets/network/index.ts":{"bytesInOutput":0},"packages/sdk/client-services/src/packlets/system/system-service.ts":{"bytesInOutput":1018},"packages/sdk/client-services/src/packlets/system/index.ts":{"bytesInOutput":0},"packages/sdk/client-services/src/packlets/vault/index.ts":{"bytesInOutput":0},"packages/sdk/client-services/src/packlets/vault/iframe-proxy-runtime.ts":{"bytesInOutput":2402},"packages/sdk/client-services/src/packlets/vault/vault-resource-lock.ts":{"bytesInOutput":3636},"packages/sdk/client-services/src/packlets/vault/worker-runtime.ts":{"bytesInOutput":2933},"packages/sdk/client-services/src/packlets/vault/worker-session.ts":{"bytesInOutput":4522},"packages/sdk/client-services/src/packlets/services/client-rpc-server.ts":{"bytesInOutput":2085},"packages/sdk/client-services/src/packlets/services/service-context.ts":{"bytesInOutput":7977},"packages/sdk/client-services/src/packlets/services/service-registry.ts":{"bytesInOutput":480},"packages/sdk/client-services/src/packlets/services/local-client-services.ts":{"bytesInOutput":374},"packages/sdk/client-services/src/packlets/services/index.ts":{"bytesInOutput":0}},"bytes":150544}}}
1
+ {"inputs":{"packages/sdk/client-services/src/packlets/devtools/feeds.ts":{"bytes":10025,"imports":[{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/codec-protobuf","kind":"import-statement","external":true},{"path":"@dxos/feed-store","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true}]},"packages/sdk/client-services/src/packlets/devtools/keys.ts":{"bytes":1968,"imports":[{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/codec-protobuf","kind":"import-statement","external":true}]},"packages/sdk/client-services/src/packlets/devtools/network.ts":{"bytes":10505,"imports":[{"path":"@dxos/codec-protobuf","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true}]},"packages/sdk/client-services/src/packlets/devtools/spaces.ts":{"bytes":5907,"imports":[{"path":"@dxos/codec-protobuf","kind":"import-statement","external":true}]},"packages/sdk/client-services/src/packlets/devtools/devtools.ts":{"bytes":14459,"imports":[{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/codec-protobuf","kind":"import-statement","external":true},{"path":"packages/sdk/client-services/src/packlets/devtools/feeds.ts","kind":"import-statement","original":"./feeds"},{"path":"packages/sdk/client-services/src/packlets/devtools/keys.ts","kind":"import-statement","original":"./keys"},{"path":"packages/sdk/client-services/src/packlets/devtools/network.ts","kind":"import-statement","original":"./network"},{"path":"packages/sdk/client-services/src/packlets/devtools/spaces.ts","kind":"import-statement","original":"./spaces"}]},"packages/sdk/client-services/src/packlets/devtools/index.ts":{"bytes":626,"imports":[{"path":"packages/sdk/client-services/src/packlets/devtools/devtools.ts","kind":"import-statement","original":"./devtools"},{"path":"packages/sdk/client-services/src/packlets/devtools/feeds.ts","kind":"import-statement","original":"./feeds"},{"path":"packages/sdk/client-services/src/packlets/devtools/network.ts","kind":"import-statement","original":"./network"},{"path":"packages/sdk/client-services/src/packlets/devtools/spaces.ts","kind":"import-statement","original":"./spaces"}]},"packages/sdk/client-services/src/packlets/identity/authenticator.ts":{"bytes":11540,"imports":[{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/credentials","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/protocols","kind":"import-statement","external":true}]},"packages/sdk/client-services/src/packlets/identity/identity.ts":{"bytes":19293,"imports":[{"path":"@dxos/node-std/assert","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/client-protocol","kind":"import-statement","external":true},{"path":"@dxos/credentials","kind":"import-statement","external":true},{"path":"@dxos/debug","kind":"import-statement","external":true},{"path":"@dxos/feed-store","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto/dxos/halo/credentials","kind":"import-statement","external":true},{"path":"packages/sdk/client-services/src/packlets/identity/authenticator.ts","kind":"import-statement","original":"./authenticator"}]},"packages/sdk/client-services/src/packlets/identity/identity-manager.ts":{"bytes":30422,"imports":[{"path":"@dxos/node-std/assert","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/credentials","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/protocols","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto/dxos/halo/credentials","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"packages/sdk/client-services/src/packlets/identity/authenticator.ts","kind":"import-statement","original":"./authenticator"},{"path":"packages/sdk/client-services/src/packlets/identity/identity.ts","kind":"import-statement","original":"./identity"}]},"packages/sdk/client-services/src/packlets/identity/identity-service.ts":{"bytes":7007,"imports":[{"path":"@dxos/node-std/assert","kind":"import-statement","external":true},{"path":"@dxos/codec-protobuf","kind":"import-statement","external":true},{"path":"@dxos/credentials","kind":"import-statement","external":true},{"path":"@dxos/debug","kind":"import-statement","external":true}]},"packages/sdk/client-services/src/packlets/identity/index.ts":{"bytes":697,"imports":[{"path":"packages/sdk/client-services/src/packlets/identity/authenticator.ts","kind":"import-statement","original":"./authenticator"},{"path":"packages/sdk/client-services/src/packlets/identity/identity.ts","kind":"import-statement","original":"./identity"},{"path":"packages/sdk/client-services/src/packlets/identity/identity-manager.ts","kind":"import-statement","original":"./identity-manager"},{"path":"packages/sdk/client-services/src/packlets/identity/identity-service.ts","kind":"import-statement","original":"./identity-service"}]},"packages/sdk/client-services/src/packlets/invitations/device-invitation-protocol.ts":{"bytes":7567,"imports":[{"path":"@dxos/node-std/assert","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto/dxos/client/services","kind":"import-statement","external":true}]},"packages/sdk/client-services/src/packlets/invitations/invitation-protocol.ts":{"bytes":1340,"imports":[]},"packages/sdk/client-services/src/packlets/invitations/invitation-extension.ts":{"bytes":36016,"imports":[{"path":"@dxos/node-std/assert","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/errors","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/protocols","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto/dxos/client/services","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto/dxos/halo/invitations","kind":"import-statement","external":true},{"path":"@dxos/teleport","kind":"import-statement","external":true}]},"packages/sdk/client-services/src/packlets/invitations/invitations-handler.ts":{"bytes":59222,"imports":[{"path":"@dxos/node-std/assert","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/client-protocol","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/credentials","kind":"import-statement","external":true},{"path":"@dxos/errors","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/network-manager","kind":"import-statement","external":true},{"path":"@dxos/protocols","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto/dxos/client/services","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto/dxos/halo/invitations","kind":"import-statement","external":true},{"path":"packages/sdk/client-services/src/packlets/invitations/invitation-extension.ts","kind":"import-statement","original":"./invitation-extension"}]},"packages/sdk/client-services/src/packlets/invitations/invitations-service.ts":{"bytes":20879,"imports":[{"path":"@dxos/node-std/assert","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/codec-protobuf","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto/dxos/client/services","kind":"import-statement","external":true}]},"packages/sdk/client-services/src/packlets/invitations/space-invitation-protocol.ts":{"bytes":13008,"imports":[{"path":"@dxos/node-std/assert","kind":"import-statement","external":true},{"path":"@dxos/credentials","kind":"import-statement","external":true},{"path":"@dxos/feed-store","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto/dxos/client/services","kind":"import-statement","external":true}]},"packages/sdk/client-services/src/packlets/invitations/index.ts":{"bytes":900,"imports":[{"path":"packages/sdk/client-services/src/packlets/invitations/device-invitation-protocol.ts","kind":"import-statement","original":"./device-invitation-protocol"},{"path":"packages/sdk/client-services/src/packlets/invitations/invitation-protocol.ts","kind":"import-statement","original":"./invitation-protocol"},{"path":"packages/sdk/client-services/src/packlets/invitations/invitations-handler.ts","kind":"import-statement","original":"./invitations-handler"},{"path":"packages/sdk/client-services/src/packlets/invitations/invitations-service.ts","kind":"import-statement","original":"./invitations-service"},{"path":"packages/sdk/client-services/src/packlets/invitations/space-invitation-protocol.ts","kind":"import-statement","original":"./space-invitation-protocol"}]},"packages/sdk/client-services/src/packlets/devices/devices-service.ts":{"bytes":5846,"imports":[{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/codec-protobuf","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto/dxos/client/services","kind":"import-statement","external":true}]},"packages/sdk/client-services/src/packlets/devices/index.ts":{"bytes":395,"imports":[{"path":"packages/sdk/client-services/src/packlets/devices/devices-service.ts","kind":"import-statement","original":"./devices-service"}]},"packages/sdk/client-services/src/packlets/logging/logging-service.ts":{"bytes":6725,"imports":[{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/codec-protobuf","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true}]},"packages/sdk/client-services/src/packlets/logging/index.ts":{"bytes":395,"imports":[{"path":"packages/sdk/client-services/src/packlets/logging/logging-service.ts","kind":"import-statement","original":"./logging-service"}]},"packages/sdk/client-services/src/packlets/network/network-service.ts":{"bytes":4278,"imports":[{"path":"@dxos/codec-protobuf","kind":"import-statement","external":true}]},"packages/sdk/client-services/src/packlets/network/index.ts":{"bytes":395,"imports":[{"path":"packages/sdk/client-services/src/packlets/network/network-service.ts","kind":"import-statement","original":"./network-service"}]},"packages/sdk/client-services/src/packlets/spaces/notarization-plugin.ts":{"bytes":26973,"imports":[{"path":"@dxos/node-std/assert","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/protocols","kind":"import-statement","external":true},{"path":"@dxos/teleport","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true}]},"packages/sdk/client-services/src/packlets/spaces/data-space.ts":{"bytes":33369,"imports":[{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/client-protocol","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/debug","kind":"import-statement","external":true},{"path":"@dxos/echo-pipeline","kind":"import-statement","external":true},{"path":"@dxos/errors","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto/dxos/client/services","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto/dxos/halo/credentials","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"packages/sdk/client-services/src/packlets/identity/index.ts","kind":"import-statement","original":"../identity"},{"path":"packages/sdk/client-services/src/packlets/spaces/notarization-plugin.ts","kind":"import-statement","original":"./notarization-plugin"}]},"packages/sdk/client-services/src/packlets/spaces/genesis.ts":{"bytes":8653,"imports":[{"path":"@dxos/credentials","kind":"import-statement","external":true},{"path":"@dxos/debug","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto/dxos/halo/credentials","kind":"import-statement","external":true},{"path":"@dxos/timeframe","kind":"import-statement","external":true}]},"packages/sdk/client-services/src/packlets/spaces/data-space-manager.ts":{"bytes":31941,"imports":[{"path":"@dxos/node-std/assert","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/credentials","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/protocols","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto/dxos/client/services","kind":"import-statement","external":true},{"path":"@dxos/teleport-extension-gossip","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"packages/sdk/client-services/src/packlets/identity/index.ts","kind":"import-statement","original":"../identity"},{"path":"packages/sdk/client-services/src/packlets/spaces/data-space.ts","kind":"import-statement","original":"./data-space"},{"path":"packages/sdk/client-services/src/packlets/spaces/genesis.ts","kind":"import-statement","original":"./genesis"}]},"packages/sdk/client-services/src/packlets/spaces/spaces-service.ts":{"bytes":25279,"imports":[{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/codec-protobuf","kind":"import-statement","external":true},{"path":"@dxos/debug","kind":"import-statement","external":true},{"path":"@dxos/echo-pipeline","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/protocols","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto/dxos/client/services","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true}]},"packages/sdk/client-services/src/packlets/spaces/index.ts":{"bytes":598,"imports":[{"path":"packages/sdk/client-services/src/packlets/spaces/data-space-manager.ts","kind":"import-statement","original":"./data-space-manager"},{"path":"packages/sdk/client-services/src/packlets/spaces/data-space.ts","kind":"import-statement","original":"./data-space"},{"path":"packages/sdk/client-services/src/packlets/spaces/spaces-service.ts","kind":"import-statement","original":"./spaces-service"}]},"packages/sdk/client-services/src/packlets/storage/storage.ts":{"bytes":6822,"imports":[{"path":"@dxos/errors","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto/dxos/config","kind":"import-statement","external":true},{"path":"@dxos/random-access-storage","kind":"import-statement","external":true}]},"packages/sdk/client-services/src/packlets/storage/index.ts":{"bytes":375,"imports":[{"path":"packages/sdk/client-services/src/packlets/storage/storage.ts","kind":"import-statement","original":"./storage"}]},"packages/sdk/client-services/src/packlets/system/system-service.ts":{"bytes":5467,"imports":[{"path":"@dxos/codec-protobuf","kind":"import-statement","external":true}]},"packages/sdk/client-services/src/packlets/system/index.ts":{"bytes":394,"imports":[{"path":"packages/sdk/client-services/src/packlets/system/system-service.ts","kind":"import-statement","original":"./system-service"}]},"packages/sdk/client-services/src/packlets/services/client-rpc-server.ts":{"bytes":9623,"imports":[{"path":"@dxos/codec-protobuf","kind":"import-statement","external":true},{"path":"@dxos/debug","kind":"import-statement","external":true},{"path":"@dxos/rpc","kind":"import-statement","external":true}]},"packages/sdk/client-services/src/packlets/vault/shell-runtime.ts":{"bytes":10624,"imports":[{"path":"@dxos/node-std/assert","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/client-protocol","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto/dxos/iframe","kind":"import-statement","external":true},{"path":"@dxos/rpc","kind":"import-statement","external":true}]},"packages/sdk/client-services/src/packlets/vault/iframe-host-runtime.ts":{"bytes":14791,"imports":[{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/client-protocol","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/messaging","kind":"import-statement","external":true},{"path":"@dxos/network-manager","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"packages/sdk/client-services/src/packlets/services/index.ts","kind":"import-statement","original":"../services"},{"path":"packages/sdk/client-services/src/packlets/services/client-rpc-server.ts","kind":"import-statement","original":"../services/client-rpc-server"},{"path":"packages/sdk/client-services/src/packlets/vault/shell-runtime.ts","kind":"import-statement","original":"./shell-runtime"}]},"packages/sdk/client-services/src/packlets/vault/iframe-proxy-runtime.ts":{"bytes":10559,"imports":[{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/client-protocol","kind":"import-statement","external":true},{"path":"@dxos/errors","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/network-manager","kind":"import-statement","external":true},{"path":"@dxos/rpc","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"packages/sdk/client-services/src/packlets/vault/shell-runtime.ts","kind":"import-statement","original":"./shell-runtime"}]},"packages/sdk/client-services/src/packlets/vault/vault-resource-lock.ts":{"bytes":9820,"imports":[{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/client-protocol","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true}]},"packages/sdk/client-services/src/packlets/vault/worker-session.ts":{"bytes":15573,"imports":[{"path":"@dxos/node-std/assert","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/client-protocol","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/rpc","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"packages/sdk/client-services/src/packlets/services/client-rpc-server.ts","kind":"import-statement","original":"../services/client-rpc-server"}]},"packages/sdk/client-services/src/packlets/vault/worker-runtime.ts":{"bytes":12372,"imports":[{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/messaging","kind":"import-statement","external":true},{"path":"@dxos/network-manager","kind":"import-statement","external":true},{"path":"packages/sdk/client-services/src/packlets/services/index.ts","kind":"import-statement","original":"../services"},{"path":"packages/sdk/client-services/src/packlets/vault/worker-session.ts","kind":"import-statement","original":"./worker-session"}]},"packages/sdk/client-services/src/packlets/vault/index.ts":{"bytes":951,"imports":[{"path":"packages/sdk/client-services/src/packlets/vault/iframe-host-runtime.ts","kind":"import-statement","original":"./iframe-host-runtime"},{"path":"packages/sdk/client-services/src/packlets/vault/iframe-proxy-runtime.ts","kind":"import-statement","original":"./iframe-proxy-runtime"},{"path":"packages/sdk/client-services/src/packlets/vault/shell-runtime.ts","kind":"import-statement","original":"./shell-runtime"},{"path":"packages/sdk/client-services/src/packlets/vault/vault-resource-lock.ts","kind":"import-statement","original":"./vault-resource-lock"},{"path":"packages/sdk/client-services/src/packlets/vault/worker-runtime.ts","kind":"import-statement","original":"./worker-runtime"},{"path":"packages/sdk/client-services/src/packlets/vault/worker-session.ts","kind":"import-statement","original":"./worker-session"}]},"packages/sdk/client-services/src/packlets/services/service-context.ts":{"bytes":29162,"imports":[{"path":"@dxos/node-std/assert","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/credentials","kind":"import-statement","external":true},{"path":"@dxos/debug","kind":"import-statement","external":true},{"path":"@dxos/echo-pipeline","kind":"import-statement","external":true},{"path":"@dxos/feed-store","kind":"import-statement","external":true},{"path":"@dxos/keyring","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/protocols","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto/dxos/client/services","kind":"import-statement","external":true},{"path":"packages/sdk/client-services/src/packlets/identity/index.ts","kind":"import-statement","original":"../identity"},{"path":"packages/sdk/client-services/src/packlets/invitations/index.ts","kind":"import-statement","original":"../invitations"},{"path":"packages/sdk/client-services/src/packlets/spaces/index.ts","kind":"import-statement","original":"../spaces"}]},"packages/sdk/client-services/src/packlets/services/service-registry.ts":{"bytes":2558,"imports":[]},"packages/sdk/client-services/src/packlets/services/service-host.ts":{"bytes":30479,"imports":[{"path":"@dxos/node-std/assert","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/client-protocol","kind":"import-statement","external":true},{"path":"@dxos/echo-pipeline","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/messaging","kind":"import-statement","external":true},{"path":"@dxos/network-manager","kind":"import-statement","external":true},{"path":"@dxos/protocols","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto/dxos/client/services","kind":"import-statement","external":true},{"path":"packages/sdk/client-services/src/packlets/devices/index.ts","kind":"import-statement","original":"../devices"},{"path":"packages/sdk/client-services/src/packlets/devtools/index.ts","kind":"import-statement","original":"../devtools"},{"path":"packages/sdk/client-services/src/packlets/identity/index.ts","kind":"import-statement","original":"../identity"},{"path":"packages/sdk/client-services/src/packlets/invitations/index.ts","kind":"import-statement","original":"../invitations"},{"path":"packages/sdk/client-services/src/packlets/logging/index.ts","kind":"import-statement","original":"../logging"},{"path":"packages/sdk/client-services/src/packlets/network/index.ts","kind":"import-statement","original":"../network"},{"path":"packages/sdk/client-services/src/packlets/spaces/index.ts","kind":"import-statement","original":"../spaces"},{"path":"packages/sdk/client-services/src/packlets/storage/index.ts","kind":"import-statement","original":"../storage"},{"path":"packages/sdk/client-services/src/packlets/system/index.ts","kind":"import-statement","original":"../system"},{"path":"packages/sdk/client-services/src/packlets/vault/index.ts","kind":"import-statement","original":"../vault"},{"path":"packages/sdk/client-services/src/packlets/services/service-context.ts","kind":"import-statement","original":"./service-context"},{"path":"packages/sdk/client-services/src/packlets/services/service-registry.ts","kind":"import-statement","original":"./service-registry"}]},"packages/sdk/client-services/src/packlets/services/local-client-services.ts":{"bytes":2762,"imports":[{"path":"packages/sdk/client-services/src/packlets/services/service-host.ts","kind":"import-statement","original":"./service-host"}]},"packages/sdk/client-services/src/packlets/services/index.ts":{"bytes":724,"imports":[{"path":"packages/sdk/client-services/src/packlets/services/local-client-services.ts","kind":"import-statement","original":"./local-client-services"},{"path":"packages/sdk/client-services/src/packlets/services/service-context.ts","kind":"import-statement","original":"./service-context"},{"path":"packages/sdk/client-services/src/packlets/services/service-host.ts","kind":"import-statement","original":"./service-host"},{"path":"packages/sdk/client-services/src/packlets/services/service-registry.ts","kind":"import-statement","original":"./service-registry"}]},"packages/sdk/client-services/src/index.ts":{"bytes":1064,"imports":[{"path":"packages/sdk/client-services/src/packlets/devtools/index.ts","kind":"import-statement","original":"./packlets/devtools"},{"path":"packages/sdk/client-services/src/packlets/identity/index.ts","kind":"import-statement","original":"./packlets/identity"},{"path":"packages/sdk/client-services/src/packlets/invitations/index.ts","kind":"import-statement","original":"./packlets/invitations"},{"path":"packages/sdk/client-services/src/packlets/services/index.ts","kind":"import-statement","original":"./packlets/services"},{"path":"packages/sdk/client-services/src/packlets/spaces/index.ts","kind":"import-statement","original":"./packlets/spaces"},{"path":"packages/sdk/client-services/src/packlets/storage/index.ts","kind":"import-statement","original":"./packlets/storage"},{"path":"packages/sdk/client-services/src/packlets/vault/index.ts","kind":"import-statement","original":"./packlets/vault"}]},"packages/sdk/client-services/src/packlets/testing/credential-utils.ts":{"bytes":2190,"imports":[{"path":"@dxos/credentials","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true}]},"packages/sdk/client-services/src/packlets/testing/invitation-utils.ts":{"bytes":23060,"imports":[{"path":"@dxos/node-std/assert","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto/dxos/client/services","kind":"import-statement","external":true},{"path":"packages/sdk/client-services/src/packlets/services/index.ts","kind":"import-statement","original":"../services"}]},"packages/sdk/client-services/src/packlets/testing/test-builder.ts":{"bytes":17799,"imports":[{"path":"@dxos/client-protocol","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/credentials","kind":"import-statement","external":true},{"path":"@dxos/echo-pipeline","kind":"import-statement","external":true},{"path":"@dxos/echo-pipeline/testing","kind":"import-statement","external":true},{"path":"@dxos/feed-store","kind":"import-statement","external":true},{"path":"@dxos/keyring","kind":"import-statement","external":true},{"path":"@dxos/messaging","kind":"import-statement","external":true},{"path":"@dxos/network-manager","kind":"import-statement","external":true},{"path":"@dxos/random-access-storage","kind":"import-statement","external":true},{"path":"packages/sdk/client-services/src/packlets/services/index.ts","kind":"import-statement","original":"../services"}]},"packages/sdk/client-services/src/packlets/testing/index.ts":{"bytes":608,"imports":[{"path":"packages/sdk/client-services/src/packlets/testing/credential-utils.ts","kind":"import-statement","original":"./credential-utils"},{"path":"packages/sdk/client-services/src/packlets/testing/invitation-utils.ts","kind":"import-statement","original":"./invitation-utils"},{"path":"packages/sdk/client-services/src/packlets/testing/test-builder.ts","kind":"import-statement","original":"./test-builder"}]}},"outputs":{"packages/sdk/client-services/dist/lib/browser/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"packages/sdk/client-services/dist/lib/browser/index.mjs":{"imports":[{"path":"packages/sdk/client-services/dist/lib/browser/chunk-KMQOZOUZ.mjs","kind":"import-statement"}],"exports":["ClientServicesHost","DataSpace","DataSpaceManager","DeviceInvitationProtocol","DevtoolsHostEvents","DevtoolsServiceImpl","IFrameHostRuntime","IFrameProxyRuntime","Identity","IdentityManager","IdentityServiceImpl","InvitationsHandler","InvitationsServiceImpl","LocalClientServices","MemoryShellRuntime","ServiceContext","ServiceRegistry","ShellRuntimeImpl","SpaceInvitationProtocol","SpacesServiceImpl","TrustedKeySetAuthVerifier","VaultResourceLock","WorkerRuntime","WorkerSession","createAuthProvider","createStorageObjects","getNetworkPeers","subscribeToFeedBlocks","subscribeToFeeds","subscribeToNetworkStatus","subscribeToNetworkTopics","subscribeToSignal","subscribeToSpaces","subscribeToSwarmInfo"],"entryPoint":"packages/sdk/client-services/src/index.ts","inputs":{"packages/sdk/client-services/src/index.ts":{"bytesInOutput":0}},"bytes":1595},"packages/sdk/client-services/dist/lib/browser/packlets/testing/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":22872},"packages/sdk/client-services/dist/lib/browser/packlets/testing/index.mjs":{"imports":[{"path":"packages/sdk/client-services/dist/lib/browser/chunk-KMQOZOUZ.mjs","kind":"import-statement"},{"path":"@dxos/credentials","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/node-std/assert","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto/dxos/client/services","kind":"import-statement","external":true},{"path":"@dxos/client-protocol","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/credentials","kind":"import-statement","external":true},{"path":"@dxos/echo-pipeline","kind":"import-statement","external":true},{"path":"@dxos/echo-pipeline/testing","kind":"import-statement","external":true},{"path":"@dxos/feed-store","kind":"import-statement","external":true},{"path":"@dxos/keyring","kind":"import-statement","external":true},{"path":"@dxos/messaging","kind":"import-statement","external":true},{"path":"@dxos/network-manager","kind":"import-statement","external":true},{"path":"@dxos/random-access-storage","kind":"import-statement","external":true}],"exports":["TestBuilder","TestPeer","createIdentity","createMockCredential","createPeers","createServiceContext","createServiceHost","createSigningContext","performInvitation","sanitizeInvitation","syncItemsLocal"],"entryPoint":"packages/sdk/client-services/src/packlets/testing/index.ts","inputs":{"packages/sdk/client-services/src/packlets/testing/credential-utils.ts":{"bytesInOutput":403},"packages/sdk/client-services/src/packlets/testing/index.ts":{"bytesInOutput":0},"packages/sdk/client-services/src/packlets/testing/invitation-utils.ts":{"bytesInOutput":6774},"packages/sdk/client-services/src/packlets/testing/test-builder.ts":{"bytesInOutput":4602}},"bytes":12372},"packages/sdk/client-services/dist/lib/browser/chunk-KMQOZOUZ.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":269858},"packages/sdk/client-services/dist/lib/browser/chunk-KMQOZOUZ.mjs":{"imports":[{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/codec-protobuf","kind":"import-statement","external":true},{"path":"@dxos/feed-store","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"@dxos/codec-protobuf","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/codec-protobuf","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/codec-protobuf","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/codec-protobuf","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/credentials","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/protocols","kind":"import-statement","external":true},{"path":"@dxos/node-std/assert","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/client-protocol","kind":"import-statement","external":true},{"path":"@dxos/credentials","kind":"import-statement","external":true},{"path":"@dxos/debug","kind":"import-statement","external":true},{"path":"@dxos/feed-store","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto/dxos/halo/credentials","kind":"import-statement","external":true},{"path":"@dxos/node-std/assert","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/credentials","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/protocols","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto/dxos/halo/credentials","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"@dxos/node-std/assert","kind":"import-statement","external":true},{"path":"@dxos/codec-protobuf","kind":"import-statement","external":true},{"path":"@dxos/credentials","kind":"import-statement","external":true},{"path":"@dxos/debug","kind":"import-statement","external":true},{"path":"@dxos/node-std/assert","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto/dxos/client/services","kind":"import-statement","external":true},{"path":"@dxos/node-std/assert","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/client-protocol","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/credentials","kind":"import-statement","external":true},{"path":"@dxos/errors","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/network-manager","kind":"import-statement","external":true},{"path":"@dxos/protocols","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto/dxos/client/services","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto/dxos/halo/invitations","kind":"import-statement","external":true},{"path":"@dxos/node-std/assert","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/errors","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/protocols","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto/dxos/client/services","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto/dxos/halo/invitations","kind":"import-statement","external":true},{"path":"@dxos/teleport","kind":"import-statement","external":true},{"path":"@dxos/node-std/assert","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/codec-protobuf","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto/dxos/client/services","kind":"import-statement","external":true},{"path":"@dxos/node-std/assert","kind":"import-statement","external":true},{"path":"@dxos/credentials","kind":"import-statement","external":true},{"path":"@dxos/feed-store","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto/dxos/client/services","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/client-protocol","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/debug","kind":"import-statement","external":true},{"path":"@dxos/echo-pipeline","kind":"import-statement","external":true},{"path":"@dxos/errors","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto/dxos/client/services","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto/dxos/halo/credentials","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"@dxos/node-std/assert","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/protocols","kind":"import-statement","external":true},{"path":"@dxos/teleport","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"@dxos/node-std/assert","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/credentials","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/protocols","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto/dxos/client/services","kind":"import-statement","external":true},{"path":"@dxos/teleport-extension-gossip","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"@dxos/credentials","kind":"import-statement","external":true},{"path":"@dxos/debug","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto/dxos/halo/credentials","kind":"import-statement","external":true},{"path":"@dxos/timeframe","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/codec-protobuf","kind":"import-statement","external":true},{"path":"@dxos/debug","kind":"import-statement","external":true},{"path":"@dxos/echo-pipeline","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/protocols","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto/dxos/client/services","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"@dxos/errors","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto/dxos/config","kind":"import-statement","external":true},{"path":"@dxos/random-access-storage","kind":"import-statement","external":true},{"path":"@dxos/node-std/assert","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/client-protocol","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto/dxos/iframe","kind":"import-statement","external":true},{"path":"@dxos/rpc","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/client-protocol","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/messaging","kind":"import-statement","external":true},{"path":"@dxos/network-manager","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"@dxos/node-std/assert","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/client-protocol","kind":"import-statement","external":true},{"path":"@dxos/echo-pipeline","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/messaging","kind":"import-statement","external":true},{"path":"@dxos/network-manager","kind":"import-statement","external":true},{"path":"@dxos/protocols","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto/dxos/client/services","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/codec-protobuf","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto/dxos/client/services","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/codec-protobuf","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"@dxos/codec-protobuf","kind":"import-statement","external":true},{"path":"@dxos/codec-protobuf","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/client-protocol","kind":"import-statement","external":true},{"path":"@dxos/errors","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/network-manager","kind":"import-statement","external":true},{"path":"@dxos/rpc","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/client-protocol","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/messaging","kind":"import-statement","external":true},{"path":"@dxos/network-manager","kind":"import-statement","external":true},{"path":"@dxos/node-std/assert","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/client-protocol","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/rpc","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"@dxos/codec-protobuf","kind":"import-statement","external":true},{"path":"@dxos/debug","kind":"import-statement","external":true},{"path":"@dxos/rpc","kind":"import-statement","external":true},{"path":"@dxos/node-std/assert","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/credentials","kind":"import-statement","external":true},{"path":"@dxos/debug","kind":"import-statement","external":true},{"path":"@dxos/echo-pipeline","kind":"import-statement","external":true},{"path":"@dxos/feed-store","kind":"import-statement","external":true},{"path":"@dxos/keyring","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/protocols","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto/dxos/client/services","kind":"import-statement","external":true}],"exports":["ClientServicesHost","DataSpace","DataSpaceManager","DeviceInvitationProtocol","DevtoolsHostEvents","DevtoolsServiceImpl","IFrameHostRuntime","IFrameProxyRuntime","Identity","IdentityManager","IdentityServiceImpl","InvitationsHandler","InvitationsServiceImpl","LocalClientServices","MemoryShellRuntime","ServiceContext","ServiceRegistry","ShellRuntimeImpl","SpaceInvitationProtocol","SpacesServiceImpl","TrustedKeySetAuthVerifier","VaultResourceLock","WorkerRuntime","WorkerSession","createAuthProvider","createStorageObjects","getNetworkPeers","subscribeToFeedBlocks","subscribeToFeeds","subscribeToNetworkStatus","subscribeToNetworkTopics","subscribeToSignal","subscribeToSpaces","subscribeToSwarmInfo"],"inputs":{"packages/sdk/client-services/src/packlets/devtools/feeds.ts":{"bytesInOutput":2260},"packages/sdk/client-services/src/packlets/devtools/network.ts":{"bytesInOutput":2399},"packages/sdk/client-services/src/packlets/devtools/spaces.ts":{"bytesInOutput":1284},"packages/sdk/client-services/src/packlets/devtools/devtools.ts":{"bytesInOutput":2729},"packages/sdk/client-services/src/packlets/devtools/keys.ts":{"bytesInOutput":340},"packages/sdk/client-services/src/packlets/devtools/index.ts":{"bytesInOutput":0},"packages/sdk/client-services/src/packlets/identity/authenticator.ts":{"bytesInOutput":3146},"packages/sdk/client-services/src/packlets/identity/identity.ts":{"bytesInOutput":4641},"packages/sdk/client-services/src/packlets/identity/identity-manager.ts":{"bytesInOutput":8619},"packages/sdk/client-services/src/packlets/identity/identity-service.ts":{"bytesInOutput":1582},"packages/sdk/client-services/src/packlets/identity/index.ts":{"bytesInOutput":0},"packages/sdk/client-services/src/packlets/invitations/device-invitation-protocol.ts":{"bytesInOutput":1717},"packages/sdk/client-services/src/packlets/invitations/invitations-handler.ts":{"bytesInOutput":18235},"packages/sdk/client-services/src/packlets/invitations/invitation-extension.ts":{"bytesInOutput":10546},"packages/sdk/client-services/src/packlets/invitations/invitations-service.ts":{"bytesInOutput":5435},"packages/sdk/client-services/src/packlets/invitations/space-invitation-protocol.ts":{"bytesInOutput":3133},"packages/sdk/client-services/src/packlets/invitations/index.ts":{"bytesInOutput":0},"packages/sdk/client-services/src/packlets/spaces/data-space.ts":{"bytesInOutput":8635},"packages/sdk/client-services/src/packlets/spaces/notarization-plugin.ts":{"bytesInOutput":7354},"packages/sdk/client-services/src/packlets/spaces/data-space-manager.ts":{"bytesInOutput":9716},"packages/sdk/client-services/src/packlets/spaces/genesis.ts":{"bytesInOutput":2300},"packages/sdk/client-services/src/packlets/spaces/spaces-service.ts":{"bytesInOutput":6684},"packages/sdk/client-services/src/packlets/spaces/index.ts":{"bytesInOutput":0},"packages/sdk/client-services/src/packlets/storage/storage.ts":{"bytesInOutput":1749},"packages/sdk/client-services/src/packlets/storage/index.ts":{"bytesInOutput":0},"packages/sdk/client-services/src/packlets/vault/shell-runtime.ts":{"bytesInOutput":2374},"packages/sdk/client-services/src/packlets/vault/iframe-host-runtime.ts":{"bytesInOutput":4260},"packages/sdk/client-services/src/packlets/services/service-host.ts":{"bytesInOutput":7992},"packages/sdk/client-services/src/packlets/devices/devices-service.ts":{"bytesInOutput":1489},"packages/sdk/client-services/src/packlets/devices/index.ts":{"bytesInOutput":0},"packages/sdk/client-services/src/packlets/logging/logging-service.ts":{"bytesInOutput":1601},"packages/sdk/client-services/src/packlets/logging/index.ts":{"bytesInOutput":0},"packages/sdk/client-services/src/packlets/network/network-service.ts":{"bytesInOutput":938},"packages/sdk/client-services/src/packlets/network/index.ts":{"bytesInOutput":0},"packages/sdk/client-services/src/packlets/system/system-service.ts":{"bytesInOutput":1018},"packages/sdk/client-services/src/packlets/system/index.ts":{"bytesInOutput":0},"packages/sdk/client-services/src/packlets/vault/index.ts":{"bytesInOutput":0},"packages/sdk/client-services/src/packlets/vault/iframe-proxy-runtime.ts":{"bytesInOutput":2402},"packages/sdk/client-services/src/packlets/vault/vault-resource-lock.ts":{"bytesInOutput":3636},"packages/sdk/client-services/src/packlets/vault/worker-runtime.ts":{"bytesInOutput":2933},"packages/sdk/client-services/src/packlets/vault/worker-session.ts":{"bytesInOutput":4522},"packages/sdk/client-services/src/packlets/services/client-rpc-server.ts":{"bytesInOutput":2085},"packages/sdk/client-services/src/packlets/services/service-context.ts":{"bytesInOutput":7977},"packages/sdk/client-services/src/packlets/services/service-registry.ts":{"bytesInOutput":480},"packages/sdk/client-services/src/packlets/services/local-client-services.ts":{"bytesInOutput":374},"packages/sdk/client-services/src/packlets/services/index.ts":{"bytesInOutput":0}},"bytes":150540}}}
@@ -2,7 +2,7 @@ import "@dxos/node-std/globals"
2
2
  import {
3
3
  ClientServicesHost,
4
4
  ServiceContext
5
- } from "../../chunk-KN2NX2RP.mjs";
5
+ } from "../../chunk-KMQOZOUZ.mjs";
6
6
 
7
7
  // packages/sdk/client-services/src/packlets/testing/credential-utils.ts
8
8
  import { createCredential } from "@dxos/credentials";
@@ -197,6 +197,7 @@ var acceptInvitation = (guest, invitation) => {
197
197
 
198
198
  // packages/sdk/client-services/src/packlets/testing/test-builder.ts
199
199
  import { createDefaultModelFactory } from "@dxos/client-protocol";
200
+ import { Context } from "@dxos/context";
200
201
  import { createCredentialSignerWithChain, CredentialGenerator } from "@dxos/credentials";
201
202
  import { SnapshotStore, MetadataStore, SpaceManager, valueEncoding } from "@dxos/echo-pipeline";
202
203
  import { testLocalDatabase } from "@dxos/echo-pipeline/testing";
@@ -244,20 +245,29 @@ var syncItemsLocal = async (db1, db2) => {
244
245
  var TestBuilder = class {
245
246
  constructor() {
246
247
  this.signalContext = new MemorySignalManagerContext();
248
+ this._ctx = new Context();
247
249
  }
248
- createPeer() {
249
- return new TestPeer(this.signalContext);
250
+ createPeer(peerOptions) {
251
+ const peer = new TestPeer(this.signalContext, peerOptions);
252
+ this._ctx.onDispose(async () => peer.destroy());
253
+ return peer;
254
+ }
255
+ async destroy() {
256
+ await this._ctx.dispose();
250
257
  }
251
258
  };
252
259
  var TestPeer = class {
253
- constructor(signalContext) {
260
+ constructor(signalContext, opts = {
261
+ storageType: StorageType.RAM
262
+ }) {
254
263
  this.signalContext = signalContext;
264
+ this.opts = opts;
255
265
  this._props = {};
256
266
  }
257
267
  get storage() {
258
268
  var _a, _b;
259
269
  return (_b = (_a = this._props).storage) != null ? _b : _a.storage = createStorage({
260
- type: StorageType.RAM
270
+ type: this.opts.storageType
261
271
  });
262
272
  }
263
273
  get keyring() {
@@ -301,6 +311,9 @@ var TestPeer = class {
301
311
  snapshotStore: this.snapshotStore
302
312
  });
303
313
  }
314
+ async destroy() {
315
+ await this.storage.reset();
316
+ }
304
317
  };
305
318
  var createSigningContext = async (keyring) => {
306
319
  const identityKey = await keyring.createKey();
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../../src/packlets/testing/credential-utils.ts", "../../../../../src/packlets/testing/invitation-utils.ts", "../../../../../src/packlets/testing/test-builder.ts"],
4
- "sourcesContent": ["//\n// Copyright 2023 DXOS.org\n//\n\nimport { createCredential } from '@dxos/credentials';\nimport { Signer } from '@dxos/crypto';\nimport { PublicKey } from '@dxos/keys';\nimport { Credential } from '@dxos/protocols/proto/dxos/halo/credentials';\n\nexport const createMockCredential = async ({\n signer,\n issuer,\n}: {\n signer: Signer;\n issuer: PublicKey;\n}): Promise<Credential> =>\n createCredential({\n signer,\n issuer,\n subject: new PublicKey(Buffer.from('test')),\n assertion: {\n '@type': 'example.testing.rpc.MessageWithAny',\n payload: {\n '@type': 'google.protobuf.Any',\n value: Buffer.from('test'),\n },\n },\n });\n", "//\n// Copyright 2023 DXOS.org\n//\n\nimport assert from 'node:assert';\n\nimport { Trigger } from '@dxos/async';\nimport { AuthenticatingInvitationObservable, CancellableInvitationObservable } from '@dxos/client-protocol';\nimport { Invitation } from '@dxos/protocols/proto/dxos/client/services';\n\nimport { ServiceContext } from '../services';\n\n/**\n * Strip secrets from invitation before giving it to the peer.\n */\nexport const sanitizeInvitation = (invitation: Invitation): Invitation => {\n return {\n invitationId: invitation.invitationId,\n type: invitation.type,\n kind: invitation.kind,\n authMethod: invitation.authMethod,\n swarmKey: invitation.swarmKey,\n state: invitation.state,\n timeout: invitation.timeout,\n };\n};\n\nexport type InvitationHost = {\n createInvitation(options?: Partial<Invitation>): CancellableInvitationObservable;\n};\n\nexport type InvitationGuest = {\n acceptInvitation(invitation: Invitation): AuthenticatingInvitationObservable;\n};\n\nexport type PerformInvitationCallbacks<T> = {\n onConnecting?: (value: T) => boolean | void;\n onConnected?: (value: T) => boolean | void;\n onReady?: (value: T) => boolean | void;\n onAuthenticating?: (value: T) => boolean | void;\n onSuccess?: (value: T) => boolean | void;\n onCancelled?: (value: T) => boolean | void;\n onTimeout?: (value: T) => boolean | void;\n onError?: (value: T) => boolean | void;\n};\n\nexport type PerformInvitationParams = {\n host: ServiceContext | InvitationHost;\n guest: ServiceContext | InvitationGuest;\n options?: Partial<Invitation>;\n hooks?: {\n host?: PerformInvitationCallbacks<CancellableInvitationObservable>;\n guest?: PerformInvitationCallbacks<AuthenticatingInvitationObservable>;\n };\n};\n\nexport type Result = { invitation?: Invitation; error?: Error };\n\nexport const performInvitation = ({\n host,\n guest,\n options,\n hooks,\n}: PerformInvitationParams): [Promise<Result>, Promise<Result>] => {\n const hostComplete = new Trigger<Result>();\n const guestComplete = new Trigger<Result>();\n const authCode = new Trigger<string>();\n\n const hostObservable = createInvitation(host, options);\n hostObservable.subscribe(\n async (hostInvitation: Invitation) => {\n switch (hostInvitation.state) {\n case Invitation.State.CONNECTING: {\n if (hooks?.host?.onConnecting?.(hostObservable)) {\n break;\n }\n const guestObservable = acceptInvitation(guest, hostInvitation);\n guestObservable.subscribe(\n async (guestInvitation: Invitation) => {\n switch (guestInvitation.state) {\n case Invitation.State.CONNECTING: {\n if (hooks?.guest?.onConnecting?.(guestObservable)) {\n break;\n }\n assert(hostInvitation.swarmKey!.equals(guestInvitation.swarmKey!));\n break;\n }\n\n case Invitation.State.CONNECTED: {\n hooks?.guest?.onConnected?.(guestObservable);\n break;\n }\n\n case Invitation.State.READY_FOR_AUTHENTICATION: {\n if (hooks?.guest?.onReady?.(guestObservable)) {\n break;\n }\n await guestObservable.authenticate(await authCode.wait());\n break;\n }\n\n case Invitation.State.AUTHENTICATING: {\n hooks?.guest?.onAuthenticating?.(guestObservable);\n break;\n }\n\n case Invitation.State.SUCCESS: {\n if (hooks?.guest?.onSuccess?.(guestObservable)) {\n break;\n }\n guestComplete.wake({ invitation: guestInvitation });\n break;\n }\n\n case Invitation.State.CANCELLED: {\n if (hooks?.guest?.onCancelled?.(guestObservable)) {\n break;\n }\n guestComplete.wake({ invitation: guestInvitation });\n break;\n }\n\n case Invitation.State.TIMEOUT: {\n if (hooks?.guest?.onTimeout?.(guestObservable)) {\n return;\n }\n guestComplete.wake({ invitation: guestInvitation });\n }\n }\n },\n (error: Error) => {\n if (hooks?.guest?.onError?.(guestObservable)) {\n return;\n }\n guestComplete.wake({ error });\n },\n );\n break;\n }\n\n case Invitation.State.CONNECTED: {\n hooks?.host?.onConnected?.(hostObservable);\n break;\n }\n\n case Invitation.State.READY_FOR_AUTHENTICATION: {\n if (hooks?.host?.onReady?.(hostObservable)) {\n break;\n }\n if (hostInvitation.authCode) {\n authCode.wake(hostInvitation.authCode);\n }\n break;\n }\n\n case Invitation.State.AUTHENTICATING: {\n hooks?.host?.onAuthenticating?.(hostObservable);\n break;\n }\n\n case Invitation.State.SUCCESS: {\n if (hooks?.host?.onSuccess?.(hostObservable)) {\n break;\n }\n hostComplete.wake({ invitation: hostInvitation });\n break;\n }\n\n case Invitation.State.CANCELLED: {\n if (hooks?.host?.onCancelled?.(hostObservable)) {\n break;\n }\n hostComplete.wake({ invitation: hostInvitation });\n break;\n }\n\n case Invitation.State.TIMEOUT: {\n if (hooks?.host?.onTimeout?.(hostObservable)) {\n break;\n }\n hostComplete.wake({ invitation: hostInvitation });\n break;\n }\n }\n },\n (error: Error) => {\n if (hooks?.host?.onError?.(hostObservable)) {\n return;\n }\n hostComplete.wake({ error });\n },\n );\n\n return [hostComplete.wait(), guestComplete.wait()];\n};\n\nconst createInvitation = (\n host: ServiceContext | InvitationHost,\n options?: Partial<Invitation>,\n): CancellableInvitationObservable => {\n options ??= {\n authMethod: Invitation.AuthMethod.NONE,\n ...(options ?? {}),\n };\n\n if (host instanceof ServiceContext) {\n const hostHandler = host.getInvitationHandler({ kind: Invitation.Kind.SPACE, ...options });\n return host.invitations.createInvitation(hostHandler, options);\n }\n\n return host.createInvitation(options);\n};\n\nconst acceptInvitation = (\n guest: ServiceContext | InvitationGuest,\n invitation: Invitation,\n): AuthenticatingInvitationObservable => {\n invitation = sanitizeInvitation(invitation);\n\n if (guest instanceof ServiceContext) {\n const guestHandler = guest.getInvitationHandler({ kind: invitation.kind });\n return guest.invitations.acceptInvitation(guestHandler, invitation);\n }\n\n return guest.acceptInvitation(invitation);\n};\n", "//\n// Copyright 2022 DXOS.org\n//\n\nimport { createDefaultModelFactory } from '@dxos/client-protocol';\nimport { Config } from '@dxos/config';\nimport { createCredentialSignerWithChain, CredentialGenerator } from '@dxos/credentials';\nimport { SnapshotStore, DataPipeline, MetadataStore, SpaceManager, valueEncoding } from '@dxos/echo-pipeline';\nimport { testLocalDatabase } from '@dxos/echo-pipeline/testing';\nimport { FeedFactory, FeedStore } from '@dxos/feed-store';\nimport { Keyring } from '@dxos/keyring';\nimport { MemorySignalManager, MemorySignalManagerContext } from '@dxos/messaging';\nimport { MemoryTransportFactory, NetworkManager } from '@dxos/network-manager';\nimport { createStorage, Storage, StorageType } from '@dxos/random-access-storage';\n\nimport { ClientServicesHost, ServiceContext } from '../services';\nimport { SigningContext } from '../spaces';\n\n//\n// TODO(burdon): Replace with test builder.\n//\n\nexport const createServiceHost = (config: Config, signalManagerContext: MemorySignalManagerContext) => {\n return new ClientServicesHost({\n config,\n signalManager: new MemorySignalManager(signalManagerContext),\n transportFactory: MemoryTransportFactory,\n });\n};\n\nexport const createServiceContext = ({\n signalContext = new MemorySignalManagerContext(),\n storage = createStorage({ type: StorageType.RAM }),\n}: {\n signalContext?: MemorySignalManagerContext;\n storage?: Storage;\n} = {}) => {\n const signalManager = new MemorySignalManager(signalContext);\n const networkManager = new NetworkManager({\n signalManager,\n transportFactory: MemoryTransportFactory,\n });\n\n const modelFactory = createDefaultModelFactory();\n return new ServiceContext(storage, networkManager, signalManager, modelFactory);\n};\n\nexport const createPeers = async (numPeers: number) => {\n const signalContext = new MemorySignalManagerContext();\n\n return await Promise.all(\n Array.from(Array(numPeers)).map(async () => {\n const peer = createServiceContext({ signalContext });\n await peer.open();\n return peer;\n }),\n );\n};\n\nexport const createIdentity = async (peer: ServiceContext) => {\n await peer.createIdentity();\n return peer;\n};\n\n// TODO(burdon): Remove @dxos/client-testing.\n// TODO(burdon): Create builder and make configurable.\nexport const syncItemsLocal = async (db1: DataPipeline, db2: DataPipeline) => {\n await testLocalDatabase(db1, db2);\n await testLocalDatabase(db2, db1);\n};\n\nexport class TestBuilder {\n public readonly signalContext = new MemorySignalManagerContext();\n\n createPeer(): TestPeer {\n return new TestPeer(this.signalContext);\n }\n}\n\nexport type TestPeerProps = {\n storage?: Storage;\n feedStore?: FeedStore<any>;\n metadataStore?: MetadataStore;\n keyring?: Keyring;\n networkManager?: NetworkManager;\n spaceManager?: SpaceManager;\n snapshotStore?: SnapshotStore;\n};\n\nexport class TestPeer {\n private _props: TestPeerProps = {};\n\n constructor(private readonly signalContext: MemorySignalManagerContext) {}\n\n get storage() {\n return (this._props.storage ??= createStorage({ type: StorageType.RAM }));\n }\n\n get keyring() {\n return (this._props.keyring ??= new Keyring(this.storage.createDirectory('keyring')));\n }\n\n get feedStore() {\n return (this._props.feedStore ??= new FeedStore({\n factory: new FeedFactory({\n root: this.storage.createDirectory('feeds'),\n signer: this.keyring,\n hypercore: {\n valueEncoding,\n },\n }),\n }));\n }\n\n get metadataStore() {\n return (this._props.metadataStore ??= new MetadataStore(this.storage.createDirectory('metadata')));\n }\n\n get snapshotStore() {\n return (this._props.snapshotStore ??= new SnapshotStore(this.storage.createDirectory('snapshots')));\n }\n\n get networkManager() {\n return (this._props.networkManager ??= new NetworkManager({\n signalManager: new MemorySignalManager(this.signalContext),\n transportFactory: MemoryTransportFactory,\n }));\n }\n\n get spaceManager() {\n return (this._props.spaceManager ??= new SpaceManager({\n feedStore: this.feedStore,\n networkManager: this.networkManager,\n metadataStore: this.metadataStore,\n modelFactory: createDefaultModelFactory(),\n snapshotStore: this.snapshotStore,\n }));\n }\n}\n\nexport const createSigningContext = async (keyring: Keyring): Promise<SigningContext> => {\n const identityKey = await keyring.createKey();\n const deviceKey = await keyring.createKey();\n\n return {\n identityKey,\n deviceKey,\n credentialSigner: createCredentialSignerWithChain(\n keyring,\n {\n credential: await new CredentialGenerator(keyring, identityKey, deviceKey).createDeviceAuthorization(deviceKey),\n },\n deviceKey,\n ),\n recordCredential: async () => {}, // No-op.\n };\n};\n"],
5
- "mappings": ";;;;;;;AAIA,SAASA,wBAAwB;AAEjC,SAASC,iBAAiB;AAGnB,IAAMC,uBAAuB,OAAO,EACzCC,QACAC,OAAM,MAKNJ,iBAAiB;EACfG;EACAC;EACAC,SAAS,IAAIJ,UAAUK,OAAOC,KAAK,MAAA,CAAA;EACnCC,WAAW;IACT,SAAS;IACTC,SAAS;MACP,SAAS;MACTC,OAAOJ,OAAOC,KAAK,MAAA;IACrB;EACF;AACF,CAAA;;;ACvBF,OAAOI,YAAY;AAEnB,SAASC,eAAe;AAExB,SAASC,kBAAkB;AAOpB,IAAMC,qBAAqB,CAACC,eAAuC;AACxE,SAAO;IACLC,cAAcD,WAAWC;IACzBC,MAAMF,WAAWE;IACjBC,MAAMH,WAAWG;IACjBC,YAAYJ,WAAWI;IACvBC,UAAUL,WAAWK;IACrBC,OAAON,WAAWM;IAClBC,SAASP,WAAWO;EACtB;AACF;AAiCO,IAAMC,oBAAoB,CAAC,EAChCC,MACAC,OACAC,SACAC,MAAK,MAC4D;AACjE,QAAMC,eAAe,IAAIC,QAAAA;AACzB,QAAMC,gBAAgB,IAAID,QAAAA;AAC1B,QAAME,WAAW,IAAIF,QAAAA;AAErB,QAAMG,iBAAiBC,iBAAiBT,MAAME,OAAAA;AAC9CM,iBAAeE,UACb,OAAOC,mBAA+B;AAtE1C;AAuEM,YAAQA,eAAed,OAAK;MAC1B,KAAKe,WAAWC,MAAMC,YAAY;AAChC,aAAIX,0CAAOH,SAAPG,mBAAaY,iBAAbZ,4BAA4BK,iBAAiB;AAC/C;QACF;AACA,cAAMQ,kBAAkBC,iBAAiBhB,OAAOU,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AAOgB,iBAAZ,eAAYA,eAAiB,IAAIC,aAAa;MACpDb,WAAW,KAAKA;MAChB3B,gBAAgB,KAAKA;MACrBmC,eAAe,KAAKA;MACpBjC,cAAcC,0BAAAA;MACdkC,eAAe,KAAKA;IACtB,CAAA;EACF;AACF;AAEO,IAAMI,uBAAuB,OAAOjB,YAA8C;AACvF,QAAMkB,cAAc,MAAMlB,QAAQmB,UAAS;AAC3C,QAAMC,YAAY,MAAMpB,QAAQmB,UAAS;AAEzC,SAAO;IACLD;IACAE;IACAC,kBAAkBC,gCAChBtB,SACA;MACEuB,YAAY,MAAM,IAAIC,oBAAoBxB,SAASkB,aAAaE,SAAAA,EAAWK,0BAA0BL,SAAAA;IACvG,GACAA,SAAAA;IAEFM,kBAAkB,YAAY;IAAC;EACjC;AACF;",
6
- "names": ["createCredential", "PublicKey", "createMockCredential", "signer", "issuer", "subject", "Buffer", "from", "assertion", "payload", "value", "assert", "Trigger", "Invitation", "sanitizeInvitation", "invitation", "invitationId", "type", "kind", "authMethod", "swarmKey", "state", "timeout", "performInvitation", "host", "guest", "options", "hooks", "hostComplete", "Trigger", "guestComplete", "authCode", "hostObservable", "createInvitation", "subscribe", "hostInvitation", "Invitation", "State", "CONNECTING", "onConnecting", "guestObservable", "acceptInvitation", "guestInvitation", "_a", "_b", "_c", "_d", "_e", "_f", "_g", "_h", "_i", "_j", "_k", "_l", "_m", "_n", "assert", "equals", "CONNECTED", "onConnected", "READY_FOR_AUTHENTICATION", "onReady", "authenticate", "wait", "AUTHENTICATING", "onAuthenticating", "SUCCESS", "onSuccess", "wake", "CANCELLED", "onCancelled", "TIMEOUT", "onTimeout", "error", "onError", "AuthMethod", "NONE", "ServiceContext", "hostHandler", "getInvitationHandler", "Kind", "SPACE", "invitations", "guestHandler", "createDefaultModelFactory", "createCredentialSignerWithChain", "CredentialGenerator", "SnapshotStore", "MetadataStore", "SpaceManager", "valueEncoding", "testLocalDatabase", "FeedFactory", "FeedStore", "Keyring", "MemorySignalManager", "MemorySignalManagerContext", "MemoryTransportFactory", "NetworkManager", "createStorage", "StorageType", "createServiceHost", "config", "signalManagerContext", "ClientServicesHost", "signalManager", "MemorySignalManager", "transportFactory", "MemoryTransportFactory", "createServiceContext", "signalContext", "MemorySignalManagerContext", "storage", "createStorage", "type", "StorageType", "RAM", "networkManager", "NetworkManager", "modelFactory", "createDefaultModelFactory", "ServiceContext", "createPeers", "numPeers", "Promise", "all", "Array", "from", "map", "peer", "open", "createIdentity", "syncItemsLocal", "db1", "db2", "testLocalDatabase", "TestBuilder", "createPeer", "TestPeer", "constructor", "_props", "keyring", "Keyring", "createDirectory", "feedStore", "FeedStore", "factory", "FeedFactory", "root", "signer", "hypercore", "valueEncoding", "metadataStore", "MetadataStore", "snapshotStore", "SnapshotStore", "spaceManager", "SpaceManager", "createSigningContext", "identityKey", "createKey", "deviceKey", "credentialSigner", "createCredentialSignerWithChain", "credential", "CredentialGenerator", "createDeviceAuthorization", "recordCredential"]
4
+ "sourcesContent": ["//\n// Copyright 2023 DXOS.org\n//\n\nimport { createCredential } from '@dxos/credentials';\nimport { Signer } from '@dxos/crypto';\nimport { PublicKey } from '@dxos/keys';\nimport { Credential } from '@dxos/protocols/proto/dxos/halo/credentials';\n\nexport const createMockCredential = async ({\n signer,\n issuer,\n}: {\n signer: Signer;\n issuer: PublicKey;\n}): Promise<Credential> =>\n createCredential({\n signer,\n issuer,\n subject: new PublicKey(Buffer.from('test')),\n assertion: {\n '@type': 'example.testing.rpc.MessageWithAny',\n payload: {\n '@type': 'google.protobuf.Any',\n value: Buffer.from('test'),\n },\n },\n });\n", "//\n// Copyright 2023 DXOS.org\n//\n\nimport assert from 'node:assert';\n\nimport { Trigger } from '@dxos/async';\nimport { AuthenticatingInvitationObservable, CancellableInvitationObservable } from '@dxos/client-protocol';\nimport { Invitation } from '@dxos/protocols/proto/dxos/client/services';\n\nimport { ServiceContext } from '../services';\n\n/**\n * Strip secrets from invitation before giving it to the peer.\n */\nexport const sanitizeInvitation = (invitation: Invitation): Invitation => {\n return {\n invitationId: invitation.invitationId,\n type: invitation.type,\n kind: invitation.kind,\n authMethod: invitation.authMethod,\n swarmKey: invitation.swarmKey,\n state: invitation.state,\n timeout: invitation.timeout,\n };\n};\n\nexport type InvitationHost = {\n createInvitation(options?: Partial<Invitation>): CancellableInvitationObservable;\n};\n\nexport type InvitationGuest = {\n acceptInvitation(invitation: Invitation): AuthenticatingInvitationObservable;\n};\n\nexport type PerformInvitationCallbacks<T> = {\n onConnecting?: (value: T) => boolean | void;\n onConnected?: (value: T) => boolean | void;\n onReady?: (value: T) => boolean | void;\n onAuthenticating?: (value: T) => boolean | void;\n onSuccess?: (value: T) => boolean | void;\n onCancelled?: (value: T) => boolean | void;\n onTimeout?: (value: T) => boolean | void;\n onError?: (value: T) => boolean | void;\n};\n\nexport type PerformInvitationParams = {\n host: ServiceContext | InvitationHost;\n guest: ServiceContext | InvitationGuest;\n options?: Partial<Invitation>;\n hooks?: {\n host?: PerformInvitationCallbacks<CancellableInvitationObservable>;\n guest?: PerformInvitationCallbacks<AuthenticatingInvitationObservable>;\n };\n};\n\nexport type Result = { invitation?: Invitation; error?: Error };\n\nexport const performInvitation = ({\n host,\n guest,\n options,\n hooks,\n}: PerformInvitationParams): [Promise<Result>, Promise<Result>] => {\n const hostComplete = new Trigger<Result>();\n const guestComplete = new Trigger<Result>();\n const authCode = new Trigger<string>();\n\n const hostObservable = createInvitation(host, options);\n hostObservable.subscribe(\n async (hostInvitation: Invitation) => {\n switch (hostInvitation.state) {\n case Invitation.State.CONNECTING: {\n if (hooks?.host?.onConnecting?.(hostObservable)) {\n break;\n }\n const guestObservable = acceptInvitation(guest, hostInvitation);\n guestObservable.subscribe(\n async (guestInvitation: Invitation) => {\n switch (guestInvitation.state) {\n case Invitation.State.CONNECTING: {\n if (hooks?.guest?.onConnecting?.(guestObservable)) {\n break;\n }\n assert(hostInvitation.swarmKey!.equals(guestInvitation.swarmKey!));\n break;\n }\n\n case Invitation.State.CONNECTED: {\n hooks?.guest?.onConnected?.(guestObservable);\n break;\n }\n\n case Invitation.State.READY_FOR_AUTHENTICATION: {\n if (hooks?.guest?.onReady?.(guestObservable)) {\n break;\n }\n await guestObservable.authenticate(await authCode.wait());\n break;\n }\n\n case Invitation.State.AUTHENTICATING: {\n hooks?.guest?.onAuthenticating?.(guestObservable);\n break;\n }\n\n case Invitation.State.SUCCESS: {\n if (hooks?.guest?.onSuccess?.(guestObservable)) {\n break;\n }\n guestComplete.wake({ invitation: guestInvitation });\n break;\n }\n\n case Invitation.State.CANCELLED: {\n if (hooks?.guest?.onCancelled?.(guestObservable)) {\n break;\n }\n guestComplete.wake({ invitation: guestInvitation });\n break;\n }\n\n case Invitation.State.TIMEOUT: {\n if (hooks?.guest?.onTimeout?.(guestObservable)) {\n return;\n }\n guestComplete.wake({ invitation: guestInvitation });\n }\n }\n },\n (error: Error) => {\n if (hooks?.guest?.onError?.(guestObservable)) {\n return;\n }\n guestComplete.wake({ error });\n },\n );\n break;\n }\n\n case Invitation.State.CONNECTED: {\n hooks?.host?.onConnected?.(hostObservable);\n break;\n }\n\n case Invitation.State.READY_FOR_AUTHENTICATION: {\n if (hooks?.host?.onReady?.(hostObservable)) {\n break;\n }\n if (hostInvitation.authCode) {\n authCode.wake(hostInvitation.authCode);\n }\n break;\n }\n\n case Invitation.State.AUTHENTICATING: {\n hooks?.host?.onAuthenticating?.(hostObservable);\n break;\n }\n\n case Invitation.State.SUCCESS: {\n if (hooks?.host?.onSuccess?.(hostObservable)) {\n break;\n }\n hostComplete.wake({ invitation: hostInvitation });\n break;\n }\n\n case Invitation.State.CANCELLED: {\n if (hooks?.host?.onCancelled?.(hostObservable)) {\n break;\n }\n hostComplete.wake({ invitation: hostInvitation });\n break;\n }\n\n case Invitation.State.TIMEOUT: {\n if (hooks?.host?.onTimeout?.(hostObservable)) {\n break;\n }\n hostComplete.wake({ invitation: hostInvitation });\n break;\n }\n }\n },\n (error: Error) => {\n if (hooks?.host?.onError?.(hostObservable)) {\n return;\n }\n hostComplete.wake({ error });\n },\n );\n\n return [hostComplete.wait(), guestComplete.wait()];\n};\n\nconst createInvitation = (\n host: ServiceContext | InvitationHost,\n options?: Partial<Invitation>,\n): CancellableInvitationObservable => {\n options ??= {\n authMethod: Invitation.AuthMethod.NONE,\n ...(options ?? {}),\n };\n\n if (host instanceof ServiceContext) {\n const hostHandler = host.getInvitationHandler({ kind: Invitation.Kind.SPACE, ...options });\n return host.invitations.createInvitation(hostHandler, options);\n }\n\n return host.createInvitation(options);\n};\n\nconst acceptInvitation = (\n guest: ServiceContext | InvitationGuest,\n invitation: Invitation,\n): AuthenticatingInvitationObservable => {\n invitation = sanitizeInvitation(invitation);\n\n if (guest instanceof ServiceContext) {\n const guestHandler = guest.getInvitationHandler({ kind: invitation.kind });\n return guest.invitations.acceptInvitation(guestHandler, invitation);\n }\n\n return guest.acceptInvitation(invitation);\n};\n", "//\n// Copyright 2022 DXOS.org\n//\n\nimport { createDefaultModelFactory } from '@dxos/client-protocol';\nimport { Config } from '@dxos/config';\nimport { Context } from '@dxos/context';\nimport { createCredentialSignerWithChain, CredentialGenerator } from '@dxos/credentials';\nimport { SnapshotStore, DataPipeline, MetadataStore, SpaceManager, valueEncoding } from '@dxos/echo-pipeline';\nimport { testLocalDatabase } from '@dxos/echo-pipeline/testing';\nimport { FeedFactory, FeedStore } from '@dxos/feed-store';\nimport { Keyring } from '@dxos/keyring';\nimport { MemorySignalManager, MemorySignalManagerContext } from '@dxos/messaging';\nimport { MemoryTransportFactory, NetworkManager } from '@dxos/network-manager';\nimport { createStorage, Storage, StorageType } from '@dxos/random-access-storage';\n\nimport { ClientServicesHost, ServiceContext } from '../services';\nimport { SigningContext } from '../spaces';\n\n//\n// TODO(burdon): Replace with test builder.\n//\n\nexport const createServiceHost = (config: Config, signalManagerContext: MemorySignalManagerContext) => {\n return new ClientServicesHost({\n config,\n signalManager: new MemorySignalManager(signalManagerContext),\n transportFactory: MemoryTransportFactory,\n });\n};\n\nexport const createServiceContext = ({\n signalContext = new MemorySignalManagerContext(),\n storage = createStorage({ type: StorageType.RAM }),\n}: {\n signalContext?: MemorySignalManagerContext;\n storage?: Storage;\n} = {}) => {\n const signalManager = new MemorySignalManager(signalContext);\n const networkManager = new NetworkManager({\n signalManager,\n transportFactory: MemoryTransportFactory,\n });\n\n const modelFactory = createDefaultModelFactory();\n return new ServiceContext(storage, networkManager, signalManager, modelFactory);\n};\n\nexport const createPeers = async (numPeers: number) => {\n const signalContext = new MemorySignalManagerContext();\n\n return await Promise.all(\n Array.from(Array(numPeers)).map(async () => {\n const peer = createServiceContext({ signalContext });\n await peer.open();\n return peer;\n }),\n );\n};\n\nexport const createIdentity = async (peer: ServiceContext) => {\n await peer.createIdentity();\n return peer;\n};\n\n// TODO(burdon): Remove @dxos/client-testing.\n// TODO(burdon): Create builder and make configurable.\nexport const syncItemsLocal = async (db1: DataPipeline, db2: DataPipeline) => {\n await testLocalDatabase(db1, db2);\n await testLocalDatabase(db2, db1);\n};\n\nexport class TestBuilder {\n public readonly signalContext = new MemorySignalManagerContext();\n private readonly _ctx = new Context();\n\n createPeer(peerOptions?: TestPeerOpts): TestPeer {\n const peer = new TestPeer(this.signalContext, peerOptions);\n this._ctx.onDispose(async () => peer.destroy());\n return peer;\n }\n\n async destroy() {\n await this._ctx.dispose();\n }\n}\n\nexport type TestPeerOpts = {\n storageType?: StorageType;\n};\n\nexport type TestPeerProps = {\n storage?: Storage;\n feedStore?: FeedStore<any>;\n metadataStore?: MetadataStore;\n keyring?: Keyring;\n networkManager?: NetworkManager;\n spaceManager?: SpaceManager;\n snapshotStore?: SnapshotStore;\n};\n\nexport class TestPeer {\n private _props: TestPeerProps = {};\n\n constructor(\n private readonly signalContext: MemorySignalManagerContext,\n private readonly opts: TestPeerOpts = { storageType: StorageType.RAM },\n ) {}\n\n get storage() {\n return (this._props.storage ??= createStorage({ type: this.opts.storageType }));\n }\n\n get keyring() {\n return (this._props.keyring ??= new Keyring(this.storage.createDirectory('keyring')));\n }\n\n get feedStore() {\n return (this._props.feedStore ??= new FeedStore({\n factory: new FeedFactory({\n root: this.storage.createDirectory('feeds'),\n signer: this.keyring,\n hypercore: {\n valueEncoding,\n },\n }),\n }));\n }\n\n get metadataStore() {\n return (this._props.metadataStore ??= new MetadataStore(this.storage.createDirectory('metadata')));\n }\n\n get snapshotStore() {\n return (this._props.snapshotStore ??= new SnapshotStore(this.storage.createDirectory('snapshots')));\n }\n\n get networkManager() {\n return (this._props.networkManager ??= new NetworkManager({\n signalManager: new MemorySignalManager(this.signalContext),\n transportFactory: MemoryTransportFactory,\n }));\n }\n\n get spaceManager() {\n return (this._props.spaceManager ??= new SpaceManager({\n feedStore: this.feedStore,\n networkManager: this.networkManager,\n metadataStore: this.metadataStore,\n modelFactory: createDefaultModelFactory(),\n snapshotStore: this.snapshotStore,\n }));\n }\n\n async destroy() {\n await this.storage.reset();\n }\n}\n\nexport const createSigningContext = async (keyring: Keyring): Promise<SigningContext> => {\n const identityKey = await keyring.createKey();\n const deviceKey = await keyring.createKey();\n\n return {\n identityKey,\n deviceKey,\n credentialSigner: createCredentialSignerWithChain(\n keyring,\n {\n credential: await new CredentialGenerator(keyring, identityKey, deviceKey).createDeviceAuthorization(deviceKey),\n },\n deviceKey,\n ),\n recordCredential: async () => {}, // No-op.\n };\n};\n"],
5
+ "mappings": ";;;;;;;AAIA,SAASA,wBAAwB;AAEjC,SAASC,iBAAiB;AAGnB,IAAMC,uBAAuB,OAAO,EACzCC,QACAC,OAAM,MAKNJ,iBAAiB;EACfG;EACAC;EACAC,SAAS,IAAIJ,UAAUK,OAAOC,KAAK,MAAA,CAAA;EACnCC,WAAW;IACT,SAAS;IACTC,SAAS;MACP,SAAS;MACTC,OAAOJ,OAAOC,KAAK,MAAA;IACrB;EACF;AACF,CAAA;;;ACvBF,OAAOI,YAAY;AAEnB,SAASC,eAAe;AAExB,SAASC,kBAAkB;AAOpB,IAAMC,qBAAqB,CAACC,eAAuC;AACxE,SAAO;IACLC,cAAcD,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B,SACA;MACEwB,YAAY,MAAM,IAAIC,oBAAoBzB,SAASmB,aAAaE,SAAAA,EAAWK,0BAA0BL,SAAAA;IACvG,GACAA,SAAAA;IAEFM,kBAAkB,YAAY;IAAC;EACjC;AACF;",
6
+ "names": ["createCredential", "PublicKey", "createMockCredential", "signer", "issuer", "subject", "Buffer", "from", "assertion", "payload", "value", "assert", "Trigger", "Invitation", "sanitizeInvitation", "invitation", "invitationId", "type", "kind", "authMethod", "swarmKey", "state", "timeout", "performInvitation", "host", "guest", "options", "hooks", "hostComplete", "Trigger", "guestComplete", "authCode", "hostObservable", "createInvitation", "subscribe", "hostInvitation", "Invitation", "State", "CONNECTING", "onConnecting", "guestObservable", "acceptInvitation", "guestInvitation", "_a", "_b", "_c", "_d", "_e", "_f", "_g", "_h", "_i", "_j", "_k", "_l", "_m", "_n", "assert", "equals", "CONNECTED", "onConnected", "READY_FOR_AUTHENTICATION", "onReady", "authenticate", "wait", "AUTHENTICATING", "onAuthenticating", "SUCCESS", "onSuccess", "wake", "CANCELLED", "onCancelled", "TIMEOUT", "onTimeout", "error", "onError", "AuthMethod", "NONE", "ServiceContext", "hostHandler", "getInvitationHandler", "Kind", "SPACE", "invitations", "guestHandler", "createDefaultModelFactory", "Context", "createCredentialSignerWithChain", "CredentialGenerator", "SnapshotStore", "MetadataStore", "SpaceManager", "valueEncoding", "testLocalDatabase", "FeedFactory", "FeedStore", "Keyring", "MemorySignalManager", "MemorySignalManagerContext", "MemoryTransportFactory", "NetworkManager", "createStorage", "StorageType", "createServiceHost", "config", "signalManagerContext", "ClientServicesHost", "signalManager", "MemorySignalManager", "transportFactory", "MemoryTransportFactory", "createServiceContext", "signalContext", "MemorySignalManagerContext", "storage", "createStorage", "type", "StorageType", "RAM", "networkManager", "NetworkManager", "modelFactory", "createDefaultModelFactory", "ServiceContext", "createPeers", "numPeers", "Promise", "all", "Array", "from", "map", "peer", "open", "createIdentity", "syncItemsLocal", "db1", "db2", "testLocalDatabase", "TestBuilder", "_ctx", "Context", "createPeer", "peerOptions", "TestPeer", "onDispose", "destroy", "dispose", "constructor", "opts", "storageType", "_props", "keyring", "Keyring", "createDirectory", "feedStore", "FeedStore", "factory", "FeedFactory", "root", "signer", "hypercore", "valueEncoding", "metadataStore", "MetadataStore", "snapshotStore", "SnapshotStore", "spaceManager", "SpaceManager", "reset", "createSigningContext", "identityKey", "createKey", "deviceKey", "credentialSigner", "createCredentialSignerWithChain", "credential", "CredentialGenerator", "createDeviceAuthorization", "recordCredential"]
7
7
  }