@dxos/protocols 0.8.4-main.84f28bd → 0.8.4-main.ae835ea
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/src/automerge.d.ts +8 -0
- package/dist/src/automerge.d.ts.map +1 -1
- package/dist/src/automerge.js.map +1 -1
- package/dist/src/buf/proto/gen/dxos/agent/dashboard_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/agent/dashboard_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/agent/echo-proxy_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/agent/echo-proxy_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/agent/epoch_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/agent/epoch_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/agent/functions_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/agent/functions_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/bot_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/bot_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/client/invitation_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/client/invitation_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/client/logging_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/client/logging_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/client/services_pb.d.ts +65 -19
- package/dist/src/buf/proto/gen/dxos/client/services_pb.d.ts.map +1 -1
- package/dist/src/buf/proto/gen/dxos/client/services_pb.js +28 -23
- package/dist/src/buf/proto/gen/dxos/client/services_pb.js.map +1 -1
- package/dist/src/buf/proto/gen/dxos/config_pb.d.ts +36 -7
- package/dist/src/buf/proto/gen/dxos/config_pb.d.ts.map +1 -1
- package/dist/src/buf/proto/gen/dxos/config_pb.js +7 -2
- package/dist/src/buf/proto/gen/dxos/config_pb.js.map +1 -1
- package/dist/src/buf/proto/gen/dxos/devtools/diagnostics_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/devtools/diagnostics_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/devtools/host_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/devtools/host_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/devtools/swarm_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/devtools/swarm_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/echo/blob_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/echo/blob_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/echo/feed_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/echo/feed_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/echo/filter_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/echo/filter_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/echo/indexing_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/echo/indexing_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/echo/metadata_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/echo/metadata_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/echo/model/document_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/echo/model/document_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/echo/model/messenger_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/echo/model/messenger_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/echo/model/text_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/echo/model/text_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/echo/object_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/echo/object_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/echo/query_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/echo/query_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/echo/service_pb.d.ts +16 -1
- package/dist/src/buf/proto/gen/dxos/echo/service_pb.d.ts.map +1 -1
- package/dist/src/buf/proto/gen/dxos/echo/service_pb.js +2 -2
- package/dist/src/buf/proto/gen/dxos/echo/service_pb.js.map +1 -1
- package/dist/src/buf/proto/gen/dxos/echo/snapshot_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/echo/snapshot_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/echo/timeframe_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/echo/timeframe_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/edge/calls_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/edge/calls_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/edge/messenger_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/edge/messenger_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/edge/signal_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/edge/signal_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/error_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/error_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/field_options_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/field_options_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/google_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/google_pb.js +2 -2
- package/dist/src/buf/proto/gen/dxos/gravity_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/gravity_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/halo/credentials/auth_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/halo/credentials/auth_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/halo/credentials/greet_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/halo/credentials/greet_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/halo/credentials/identity_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/halo/credentials/identity_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/halo/credentials_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/halo/credentials_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/halo/invitations_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/halo/invitations_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/halo/keyring_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/halo/keyring_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/halo/keys_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/halo/keys_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/halo/signed_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/halo/signed_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/iframe_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/iframe_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/keys_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/keys_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/mesh/bridge_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/mesh/bridge_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/mesh/broadcast_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/mesh/broadcast_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/mesh/messaging_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/mesh/messaging_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/mesh/muxer_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/mesh/muxer_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/mesh/presence_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/mesh/presence_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/mesh/protocol_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/mesh/protocol_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/mesh/replicator_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/mesh/replicator_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/mesh/signal_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/mesh/signal_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/mesh/swarm_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/mesh/swarm_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/mesh/teleport/admission-discovery_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/mesh/teleport/admission-discovery_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/mesh/teleport/auth_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/mesh/teleport/auth_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/mesh/teleport/automerge_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/mesh/teleport/automerge_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/mesh/teleport/blobsync_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/mesh/teleport/blobsync_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/mesh/teleport/control_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/mesh/teleport/control_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/mesh/teleport/gossip_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/mesh/teleport/gossip_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/mesh/teleport/notarization_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/mesh/teleport/notarization_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/mesh/teleport/replicator_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/mesh/teleport/replicator_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/registry_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/registry_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/rpc_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/rpc_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/service/agentmanager_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/service/agentmanager_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/service/publisher_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/service/publisher_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/service/supervisor_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/service/supervisor_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/service/tunnel_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/service/tunnel_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/tracing_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/tracing_pb.js +2 -2
- package/dist/src/buf/proto/gen/dxos/type_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/type_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/value_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/value_pb.js +1 -1
- package/dist/src/buf/proto/gen/example/testing/data_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/example/testing/data_pb.js +1 -1
- package/dist/src/buf/proto/gen/example/testing/rpc_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/example/testing/rpc_pb.js +1 -1
- package/dist/src/edge-error.d.ts +11 -7
- package/dist/src/edge-error.d.ts.map +1 -1
- package/dist/src/edge-error.js +24 -16
- package/dist/src/edge-error.js.map +1 -1
- package/dist/src/edge.d.ts +128 -7
- package/dist/src/edge.d.ts.map +1 -1
- package/dist/src/edge.js +102 -2
- package/dist/src/edge.js.map +1 -1
- package/dist/src/errors/base-errors.d.ts.map +1 -1
- package/dist/src/errors/base-errors.js +1 -0
- package/dist/src/errors/base-errors.js.map +1 -1
- package/dist/src/errors/encoding.d.ts.map +1 -1
- package/dist/src/errors/encoding.js.map +1 -1
- package/dist/src/errors/errors.d.ts +1 -1
- package/dist/src/errors/errors.d.ts.map +1 -1
- package/dist/src/errors/errors.js.map +1 -1
- package/dist/src/errors/helpers.d.ts.map +1 -1
- package/dist/src/errors/helpers.js.map +1 -1
- package/dist/src/index.d.ts +7 -7
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +6 -7
- package/dist/src/index.js.map +1 -1
- package/dist/src/indexing.d.ts +1 -1
- package/dist/src/indexing.d.ts.map +1 -1
- package/dist/src/indexing.js +1 -1
- package/dist/src/indexing.js.map +1 -1
- package/dist/src/invitation.d.ts +1 -1
- package/dist/src/invitation.d.ts.map +1 -1
- package/dist/src/invitation.js +1 -1
- package/dist/src/invitation.js.map +1 -1
- package/dist/src/proto/gen/dxos/client/services.d.ts +30 -3
- package/dist/src/proto/gen/dxos/client/services.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/client/services.js +9 -6
- package/dist/src/proto/gen/dxos/client/services.js.map +1 -1
- package/dist/src/proto/gen/dxos/config.d.ts +28 -2
- package/dist/src/proto/gen/dxos/config.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/config.js.map +1 -1
- package/dist/src/proto/gen/dxos/echo/service.d.ts +9 -0
- package/dist/src/proto/gen/dxos/echo/service.d.ts.map +1 -1
- package/dist/src/proto/gen/index.d.ts +2 -0
- package/dist/src/proto/gen/index.d.ts.map +1 -1
- package/dist/src/proto/gen/index.js +1 -1
- package/dist/src/proto/gen/index.js.map +1 -1
- package/dist/src/proto/index.d.ts +1 -1
- package/dist/src/proto/index.d.ts.map +1 -1
- package/dist/src/proto/index.js +0 -1
- package/dist/src/proto/index.js.map +1 -1
- package/dist/src/queue.d.ts +4 -0
- package/dist/src/queue.d.ts.map +1 -1
- package/dist/src/queue.js +4 -0
- package/dist/src/queue.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +13 -15
- package/src/automerge.ts +8 -0
- package/src/buf/proto/gen/dxos/agent/dashboard_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/agent/echo-proxy_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/agent/epoch_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/agent/functions_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/bot_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/client/invitation_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/client/logging_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/client/services_pb.ts +84 -29
- package/src/buf/proto/gen/dxos/config_pb.ts +43 -10
- package/src/buf/proto/gen/dxos/devtools/diagnostics_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/devtools/host_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/devtools/swarm_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/echo/blob_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/echo/feed_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/echo/filter_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/echo/indexing_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/echo/metadata_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/echo/model/document_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/echo/model/messenger_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/echo/model/text_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/echo/object_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/echo/query_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/echo/service_pb.ts +21 -4
- package/src/buf/proto/gen/dxos/echo/snapshot_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/echo/timeframe_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/edge/calls_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/edge/messenger_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/edge/signal_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/error_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/field_options_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/google_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/gravity_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/halo/credentials/auth_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/halo/credentials/greet_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/halo/credentials/identity_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/halo/credentials_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/halo/invitations_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/halo/keyring_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/halo/keys_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/halo/signed_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/iframe_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/keys_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/mesh/bridge_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/mesh/broadcast_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/mesh/messaging_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/mesh/muxer_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/mesh/presence_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/mesh/protocol_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/mesh/replicator_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/mesh/signal_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/mesh/swarm_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/mesh/teleport/admission-discovery_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/mesh/teleport/auth_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/mesh/teleport/automerge_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/mesh/teleport/blobsync_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/mesh/teleport/control_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/mesh/teleport/gossip_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/mesh/teleport/notarization_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/mesh/teleport/replicator_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/registry_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/rpc_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/service/agentmanager_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/service/publisher_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/service/supervisor_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/service/tunnel_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/tracing_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/type_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/value_pb.ts +3 -3
- package/src/buf/proto/gen/example/testing/data_pb.ts +3 -3
- package/src/buf/proto/gen/example/testing/rpc_pb.ts +3 -3
- package/src/edge-error.ts +25 -18
- package/src/edge.ts +240 -8
- package/src/errors/base-errors.ts +2 -0
- package/src/errors/encoding.ts +2 -1
- package/src/errors/errors.ts +2 -1
- package/src/errors/helpers.ts +2 -1
- package/src/index.ts +7 -7
- package/src/indexing.ts +1 -1
- package/src/invitation.ts +1 -1
- package/src/proto/dxos/client/services.proto +20 -3
- package/src/proto/dxos/config.proto +36 -40
- package/src/proto/dxos/echo/service.proto +11 -0
- package/src/proto/gen/dxos/client/services.ts +30 -3
- package/src/proto/gen/dxos/config.ts +28 -2
- package/src/proto/gen/dxos/echo/service.ts +9 -0
- package/src/proto/gen/index.ts +3 -1
- package/src/proto/index.ts +1 -1
- package/src/queue.ts +5 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
//
|
|
2
2
|
// Copyright 2022 DXOS.org
|
|
3
3
|
//
|
|
4
|
-
import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/
|
|
4
|
+
import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
|
5
5
|
import { file_google_protobuf_empty } from "@bufbuild/protobuf/wkt";
|
|
6
6
|
/**
|
|
7
7
|
* Describes the file dxos/mesh/teleport/automerge.proto.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/
|
|
1
|
+
import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
2
2
|
import type { EmptySchema } from "@bufbuild/protobuf/wkt";
|
|
3
3
|
import type { Message } from "@bufbuild/protobuf";
|
|
4
4
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
//
|
|
2
2
|
// Copyright 2022 DXOS.org
|
|
3
3
|
//
|
|
4
|
-
import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/
|
|
4
|
+
import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
|
5
5
|
import { file_google_protobuf_any, file_google_protobuf_empty } from "@bufbuild/protobuf/wkt";
|
|
6
6
|
/**
|
|
7
7
|
* Describes the file dxos/mesh/teleport/blobsync.proto.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/
|
|
1
|
+
import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
2
2
|
import type { EmptySchema, Timestamp } from "@bufbuild/protobuf/wkt";
|
|
3
3
|
import type { Message } from "@bufbuild/protobuf";
|
|
4
4
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
//
|
|
2
2
|
// Copyright 2022 DXOS.org
|
|
3
3
|
//
|
|
4
|
-
import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/
|
|
4
|
+
import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
|
5
5
|
import { file_google_protobuf_empty, file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
|
|
6
6
|
/**
|
|
7
7
|
* Describes the file dxos/mesh/teleport/control.proto.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/
|
|
1
|
+
import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
2
2
|
import type { Any, EmptySchema, Timestamp } from "@bufbuild/protobuf/wkt";
|
|
3
3
|
import type { PublicKey } from "../../keys_pb.js";
|
|
4
4
|
import type { Message } from "@bufbuild/protobuf";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
//
|
|
2
2
|
// Copyright 2022 DXOS.org
|
|
3
3
|
//
|
|
4
|
-
import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/
|
|
4
|
+
import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
|
5
5
|
import { file_google_protobuf_any, file_google_protobuf_empty, file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
|
|
6
6
|
import { file_dxos_keys } from "../../keys_pb.js";
|
|
7
7
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/
|
|
1
|
+
import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
2
2
|
import type { EmptySchema } from "@bufbuild/protobuf/wkt";
|
|
3
3
|
import type { Credential } from "../../halo/credentials_pb.js";
|
|
4
4
|
import type { Message } from "@bufbuild/protobuf";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
//
|
|
2
2
|
// Copyright 2022 DXOS.org
|
|
3
3
|
//
|
|
4
|
-
import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/
|
|
4
|
+
import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
|
5
5
|
import { file_google_protobuf_empty } from "@bufbuild/protobuf/wkt";
|
|
6
6
|
import { file_dxos_keys } from "../../keys_pb.js";
|
|
7
7
|
import { file_dxos_halo_credentials } from "../../halo/credentials_pb.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/
|
|
1
|
+
import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
2
2
|
import type { EmptySchema } from "@bufbuild/protobuf/wkt";
|
|
3
3
|
import type { PublicKey } from "../../keys_pb.js";
|
|
4
4
|
import type { Message } from "@bufbuild/protobuf";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
//
|
|
2
2
|
// Copyright 2022 DXOS.org
|
|
3
3
|
//
|
|
4
|
-
import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/
|
|
4
|
+
import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
|
5
5
|
import { file_google_protobuf_empty } from "@bufbuild/protobuf/wkt";
|
|
6
6
|
import { file_dxos_keys } from "../../keys_pb.js";
|
|
7
7
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { GenFile, GenMessage } from "@bufbuild/protobuf/
|
|
1
|
+
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
2
2
|
import type { Timestamp } from "@bufbuild/protobuf/wkt";
|
|
3
3
|
import type { JsonObject, Message } from "@bufbuild/protobuf";
|
|
4
4
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
//
|
|
2
2
|
// Copyright 2021 DXOS.org
|
|
3
3
|
//
|
|
4
|
-
import { fileDesc, messageDesc } from "@bufbuild/protobuf/
|
|
4
|
+
import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
|
|
5
5
|
import { file_google_protobuf_struct, file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
|
|
6
6
|
/**
|
|
7
7
|
* Describes the file dxos/registry.proto.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/
|
|
1
|
+
import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
2
2
|
import type { Any } from "@bufbuild/protobuf/wkt";
|
|
3
3
|
import type { Error } from "./error_pb.js";
|
|
4
4
|
import type { Message } from "@bufbuild/protobuf";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
//
|
|
2
2
|
// Copyright 2020 DXOS.org
|
|
3
3
|
//
|
|
4
|
-
import { enumDesc, fileDesc, messageDesc } from "@bufbuild/protobuf/
|
|
4
|
+
import { enumDesc, fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
|
|
5
5
|
import { file_google_protobuf_any } from "@bufbuild/protobuf/wkt";
|
|
6
6
|
import { file_dxos_error } from "./error_pb.js";
|
|
7
7
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/
|
|
1
|
+
import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
2
2
|
import type { Credential, Presentation } from "../halo/credentials_pb.js";
|
|
3
3
|
import type { PublicKey } from "../keys_pb.js";
|
|
4
4
|
import type { Message } from "@bufbuild/protobuf";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
//
|
|
2
2
|
// Copyright 2022 DXOS.org
|
|
3
3
|
//
|
|
4
|
-
import { enumDesc, fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/
|
|
4
|
+
import { enumDesc, fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
|
5
5
|
import { file_google_protobuf_any, file_google_protobuf_empty } from "@bufbuild/protobuf/wkt";
|
|
6
6
|
import { file_dxos_config } from "../config_pb.js";
|
|
7
7
|
import { file_dxos_halo_credentials } from "../halo/credentials_pb.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/
|
|
1
|
+
import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
2
2
|
import type { EmptySchema } from "@bufbuild/protobuf/wkt";
|
|
3
3
|
import type { Module, Package } from "../config_pb.js";
|
|
4
4
|
import type { Message } from "@bufbuild/protobuf";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
//
|
|
2
2
|
// Copyright 2023 DXOS.org
|
|
3
3
|
//
|
|
4
|
-
import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/
|
|
4
|
+
import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
|
5
5
|
import { file_google_protobuf_empty } from "@bufbuild/protobuf/wkt";
|
|
6
6
|
import { file_dxos_config } from "../config_pb.js";
|
|
7
7
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/
|
|
1
|
+
import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
2
2
|
import type { EmptySchema } from "@bufbuild/protobuf/wkt";
|
|
3
3
|
import type { Config } from "../config_pb.js";
|
|
4
4
|
import type { Credential, Presentation } from "../halo/credentials_pb.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
//
|
|
2
2
|
// Copyright 2022 DXOS.org
|
|
3
3
|
//
|
|
4
|
-
import { enumDesc, fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/
|
|
4
|
+
import { enumDesc, fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
|
5
5
|
import { file_google_protobuf_empty } from "@bufbuild/protobuf/wkt";
|
|
6
6
|
import { file_dxos_config } from "../config_pb.js";
|
|
7
7
|
import { file_dxos_halo_credentials } from "../halo/credentials_pb.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/
|
|
1
|
+
import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
2
2
|
import type { EmptySchema } from "@bufbuild/protobuf/wkt";
|
|
3
3
|
import type { Message } from "@bufbuild/protobuf";
|
|
4
4
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
//
|
|
2
2
|
// Copyright 2023 DXOS.org
|
|
3
3
|
//
|
|
4
|
-
import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/
|
|
4
|
+
import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
|
5
5
|
import { file_google_protobuf_empty } from "@bufbuild/protobuf/wkt";
|
|
6
6
|
/**
|
|
7
7
|
* Describes the file dxos/service/tunnel.proto.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/
|
|
1
|
+
import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
2
2
|
import type { EmptySchema } from "@bufbuild/protobuf/wkt";
|
|
3
3
|
import type { Error } from "./error_pb.js";
|
|
4
4
|
import type { LogEntry } from "./client/logging_pb.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
// @generated by protoc-gen-es v2.
|
|
1
|
+
// @generated by protoc-gen-es v2.9.0 with parameter "target=ts,import_extension=js"
|
|
2
2
|
// @generated from file dxos/tracing.proto (package dxos.tracing, syntax proto3)
|
|
3
3
|
/* eslint-disable */
|
|
4
|
-
import { enumDesc, fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/
|
|
4
|
+
import { enumDesc, fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
|
5
5
|
import { file_google_protobuf_empty, file_google_protobuf_struct } from "@bufbuild/protobuf/wkt";
|
|
6
6
|
import { file_dxos_error } from "./error_pb.js";
|
|
7
7
|
import { file_dxos_client_logging } from "./client/logging_pb.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { GenFile, GenMessage } from "@bufbuild/protobuf/
|
|
1
|
+
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
2
2
|
import type { Record_Extension } from "./registry_pb.js";
|
|
3
3
|
import type { JsonObject, Message } from "@bufbuild/protobuf";
|
|
4
4
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
//
|
|
2
2
|
// Copyright 2022 DXOS.org
|
|
3
3
|
//
|
|
4
|
-
import { fileDesc, messageDesc } from "@bufbuild/protobuf/
|
|
4
|
+
import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
|
|
5
5
|
import { file_google_protobuf_struct } from "@bufbuild/protobuf/wkt";
|
|
6
6
|
import { file_dxos_registry } from "./registry_pb.js";
|
|
7
7
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/
|
|
1
|
+
import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
2
2
|
import type { Any, EmptySchema } from "@bufbuild/protobuf/wkt";
|
|
3
3
|
import type { Message } from "@bufbuild/protobuf";
|
|
4
4
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
//
|
|
2
2
|
// Copyright 2020 DXOS.org
|
|
3
3
|
//
|
|
4
|
-
import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/
|
|
4
|
+
import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
|
5
5
|
import { file_google_protobuf_any, file_google_protobuf_empty } from "@bufbuild/protobuf/wkt";
|
|
6
6
|
/**
|
|
7
7
|
* Describes the file example/testing/rpc.proto.
|
package/dist/src/edge-error.d.ts
CHANGED
|
@@ -1,8 +1,16 @@
|
|
|
1
|
-
import { type EdgeErrorData, type
|
|
1
|
+
import { type EdgeErrorData, type EdgeFailure } from './edge.js';
|
|
2
|
+
/**
|
|
3
|
+
* Error thrown when a call to the Edge service fails.
|
|
4
|
+
* There 3 possible sources of failure:
|
|
5
|
+
* 1. EdgeFailure (JSON body with { success: false }) -> Processing the request failed and was gracefully handled by EDGE service.
|
|
6
|
+
* 2. Http failure (non-ok code) -> The HTTP request failed (e.g. timeout, network error).
|
|
7
|
+
* -> Unhandled exception on EDGE side, EDGE would provide serialized error in the response body.
|
|
8
|
+
* 3. Processing failure -> Unhandled exception on client side while processing the response.
|
|
9
|
+
*/
|
|
2
10
|
export declare class EdgeCallFailedError extends Error {
|
|
11
|
+
static fromUnsuccessfulResponse(response: Response, body: EdgeFailure): EdgeCallFailedError;
|
|
12
|
+
static fromHttpFailure(response: Response): Promise<EdgeCallFailedError>;
|
|
3
13
|
static fromProcessingFailureCause(cause: Error): EdgeCallFailedError;
|
|
4
|
-
static fromHttpFailure(response: Response): EdgeCallFailedError;
|
|
5
|
-
static fromUnsuccessfulResponse(response: Response, body: EdgeHttpFailure): EdgeCallFailedError;
|
|
6
14
|
readonly reason: string;
|
|
7
15
|
readonly errorData?: EdgeErrorData;
|
|
8
16
|
readonly isRetryable?: boolean;
|
|
@@ -19,8 +27,4 @@ export declare class EdgeAuthChallengeError extends EdgeCallFailedError {
|
|
|
19
27
|
readonly challenge: string;
|
|
20
28
|
constructor(challenge: string, errorData: EdgeErrorData);
|
|
21
29
|
}
|
|
22
|
-
export declare const createRetryableHttpFailure: (args: {
|
|
23
|
-
reason: any;
|
|
24
|
-
retryAfterSeconds: number;
|
|
25
|
-
}) => Response;
|
|
26
30
|
//# sourceMappingURL=edge-error.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"edge-error.d.ts","sourceRoot":"","sources":["../../src/edge-error.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,aAAa,EAAE,KAAK,
|
|
1
|
+
{"version":3,"file":"edge-error.d.ts","sourceRoot":"","sources":["../../src/edge-error.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,aAAa,EAAE,KAAK,WAAW,EAAkC,MAAM,WAAW,CAAC;AAGjG;;;;;;;GAOG;AACH,qBAAa,mBAAoB,SAAQ,KAAK;WAC9B,wBAAwB,CAAC,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE,WAAW,GAAG,mBAAmB;WAY9E,eAAe,CAAC,QAAQ,EAAE,QAAQ,GAAG,OAAO,CAAC,mBAAmB,CAAC;WASvE,0BAA0B,CAAC,KAAK,EAAE,KAAK,GAAG,mBAAmB;IAQ3E,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,SAAS,CAAC,EAAE,aAAa,CAAC;IACnC,QAAQ,CAAC,WAAW,CAAC,EAAE,OAAO,CAAC;IAC/B,QAAQ,CAAC,YAAY,CAAC,EAAE,MAAM,CAAC;gBAEnB,IAAI,EAAE;QAChB,MAAM,EAAE,MAAM,CAAC;QACf,WAAW,CAAC,EAAE,OAAO,CAAC;QACtB,SAAS,CAAC,EAAE,aAAa,CAAC;QAC1B,YAAY,CAAC,EAAE,MAAM,CAAC;QACtB,KAAK,CAAC,EAAE,KAAK,CAAC;KACf;CAOF;AAED,qBAAa,sBAAuB,SAAQ,mBAAmB;aAE3C,SAAS,EAAE,MAAM;gBAAjB,SAAS,EAAE,MAAM,EACjC,SAAS,EAAE,aAAa;CAI3B"}
|
package/dist/src/edge-error.js
CHANGED
|
@@ -1,27 +1,40 @@
|
|
|
1
1
|
//
|
|
2
2
|
// Copyright 2025 DXOS.org
|
|
3
3
|
//
|
|
4
|
+
import { EdgeHttpErrorCodec, ErrorCodec } from './edge.js';
|
|
5
|
+
// TODO(burdon): Reconcile with @dxos/errors.
|
|
6
|
+
/**
|
|
7
|
+
* Error thrown when a call to the Edge service fails.
|
|
8
|
+
* There 3 possible sources of failure:
|
|
9
|
+
* 1. EdgeFailure (JSON body with { success: false }) -> Processing the request failed and was gracefully handled by EDGE service.
|
|
10
|
+
* 2. Http failure (non-ok code) -> The HTTP request failed (e.g. timeout, network error).
|
|
11
|
+
* -> Unhandled exception on EDGE side, EDGE would provide serialized error in the response body.
|
|
12
|
+
* 3. Processing failure -> Unhandled exception on client side while processing the response.
|
|
13
|
+
*/
|
|
4
14
|
export class EdgeCallFailedError extends Error {
|
|
5
|
-
static
|
|
6
|
-
|
|
7
|
-
reason:
|
|
8
|
-
|
|
9
|
-
|
|
15
|
+
static fromUnsuccessfulResponse(response, body) {
|
|
16
|
+
const error = new EdgeCallFailedError({
|
|
17
|
+
reason: body.reason,
|
|
18
|
+
errorData: body.errorData,
|
|
19
|
+
isRetryable: body.errorData == null && response.headers.has('Retry-After'),
|
|
20
|
+
retryAfterMs: getRetryAfterMillis(response),
|
|
21
|
+
cause: body.cause ? ErrorCodec.decode(body.cause) : undefined,
|
|
10
22
|
});
|
|
23
|
+
return error;
|
|
11
24
|
}
|
|
12
|
-
static fromHttpFailure(response) {
|
|
25
|
+
static async fromHttpFailure(response) {
|
|
13
26
|
return new EdgeCallFailedError({
|
|
14
27
|
reason: `HTTP code ${response.status}: ${response.statusText}.`,
|
|
15
28
|
isRetryable: isRetryableCode(response.status),
|
|
16
29
|
retryAfterMs: getRetryAfterMillis(response),
|
|
30
|
+
cause: await EdgeHttpErrorCodec.decode(response),
|
|
17
31
|
});
|
|
18
32
|
}
|
|
19
|
-
static
|
|
33
|
+
static fromProcessingFailureCause(cause) {
|
|
20
34
|
return new EdgeCallFailedError({
|
|
21
|
-
reason:
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
retryAfterMs: getRetryAfterMillis(response),
|
|
35
|
+
reason: 'Error processing request.',
|
|
36
|
+
isRetryable: true,
|
|
37
|
+
cause,
|
|
25
38
|
});
|
|
26
39
|
}
|
|
27
40
|
reason;
|
|
@@ -47,11 +60,6 @@ const getRetryAfterMillis = (response) => {
|
|
|
47
60
|
const retryAfter = Number(response.headers.get('Retry-After'));
|
|
48
61
|
return Number.isNaN(retryAfter) || retryAfter === 0 ? undefined : retryAfter * 1000;
|
|
49
62
|
};
|
|
50
|
-
export const createRetryableHttpFailure = (args) => {
|
|
51
|
-
return new Response(JSON.stringify({ success: false, reason: args.reason }), {
|
|
52
|
-
headers: { 'Retry-After': String(args.retryAfterSeconds) },
|
|
53
|
-
});
|
|
54
|
-
};
|
|
55
63
|
const isRetryableCode = (status) => {
|
|
56
64
|
if (status === 501) {
|
|
57
65
|
// Not Implemented
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"edge-error.js","sourceRoot":"","sources":["../../src/edge-error.ts"],"names":[],"mappings":"AAAA,EAAE;AACF,0BAA0B;AAC1B,EAAE;
|
|
1
|
+
{"version":3,"file":"edge-error.js","sourceRoot":"","sources":["../../src/edge-error.ts"],"names":[],"mappings":"AAAA,EAAE;AACF,0BAA0B;AAC1B,EAAE;AAEF,OAAO,EAAwC,kBAAkB,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAEjG,6CAA6C;AAC7C;;;;;;;GAOG;AACH,MAAM,OAAO,mBAAoB,SAAQ,KAAK;IACrC,MAAM,CAAC,wBAAwB,CAAC,QAAkB,EAAE,IAAiB;QAC1E,MAAM,KAAK,GAAG,IAAI,mBAAmB,CAAC;YACpC,MAAM,EAAE,IAAI,CAAC,MAAM;YACnB,SAAS,EAAE,IAAI,CAAC,SAAS;YACzB,WAAW,EAAE,IAAI,CAAC,SAAS,IAAI,IAAI,IAAI,QAAQ,CAAC,OAAO,CAAC,GAAG,CAAC,aAAa,CAAC;YAC1E,YAAY,EAAE,mBAAmB,CAAC,QAAQ,CAAC;YAC3C,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,UAAU,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,SAAS;SAC9D,CAAC,CAAC;QAEH,OAAO,KAAK,CAAC;IACf,CAAC;IAEM,MAAM,CAAC,KAAK,CAAC,eAAe,CAAC,QAAkB;QACpD,OAAO,IAAI,mBAAmB,CAAC;YAC7B,MAAM,EAAE,aAAa,QAAQ,CAAC,MAAM,KAAK,QAAQ,CAAC,UAAU,GAAG;YAC/D,WAAW,EAAE,eAAe,CAAC,QAAQ,CAAC,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,CAAC,CAAC,CAAC,UAAU,GAAG,IAAI,CAAC;AACtF,CAAC,CAAC;AAEF,MAAM,eAAe,GAAG,CAAC,MAAc,EAAE,EAAE;IACzC,IAAI,MAAM,KAAK,GAAG,EAAE,CAAC;QACnB,kBAAkB;QAClB,OAAO,KAAK,CAAC;IACf,CAAC;IACD,OAAO,CAAC,CAAC,MAAM,IAAI,GAAG,IAAI,MAAM,GAAG,GAAG,CAAC,CAAC;AAC1C,CAAC,CAAC"}
|
package/dist/src/edge.d.ts
CHANGED
|
@@ -1,24 +1,43 @@
|
|
|
1
|
-
import
|
|
1
|
+
import * as Schema from 'effect/Schema';
|
|
2
2
|
import { SpaceId } from '@dxos/keys';
|
|
3
3
|
export declare enum EdgeService {
|
|
4
4
|
AUTOMERGE_REPLICATOR = "automerge-replicator",
|
|
5
5
|
FEED_REPLICATOR = "feed-replicator",
|
|
6
6
|
SWARM = "swarm",
|
|
7
|
-
SIGNAL = "signal"
|
|
7
|
+
SIGNAL = "signal",
|
|
8
|
+
STATUS = "status"
|
|
8
9
|
}
|
|
9
|
-
export type
|
|
10
|
+
export type EdgeSuccess<T> = {
|
|
10
11
|
success: true;
|
|
11
12
|
data: T;
|
|
12
13
|
};
|
|
14
|
+
export type SerializedError = {
|
|
15
|
+
code?: string;
|
|
16
|
+
message?: string;
|
|
17
|
+
context?: Record<string, unknown>;
|
|
18
|
+
stack?: string;
|
|
19
|
+
cause?: SerializedError;
|
|
20
|
+
};
|
|
13
21
|
export type EdgeErrorData = {
|
|
14
22
|
type: string;
|
|
15
23
|
} & Record<string, any>;
|
|
16
|
-
|
|
24
|
+
/**
|
|
25
|
+
* This is the shape of the error response from the Edge service,
|
|
26
|
+
* when the error is gracefully handled, the Response will be an object with this shape and have status code 200.
|
|
27
|
+
*/
|
|
28
|
+
export type EdgeFailure = {
|
|
29
|
+
/**
|
|
30
|
+
* Branded Type.
|
|
31
|
+
*/
|
|
17
32
|
success: false;
|
|
18
33
|
/**
|
|
19
34
|
* An explanation of why the call failed. Used mostly for logging and monitoring.
|
|
20
35
|
*/
|
|
21
36
|
reason: string;
|
|
37
|
+
/**
|
|
38
|
+
* Cause Error captured on the EDGE service to aid debugging on the client.
|
|
39
|
+
*/
|
|
40
|
+
cause?: SerializedError;
|
|
22
41
|
/**
|
|
23
42
|
* Information that can be used to retry the request such that it will succeed, for example:
|
|
24
43
|
* 1. { type: 'auth_required', challenge: string }
|
|
@@ -31,7 +50,48 @@ export type EdgeHttpFailure = {
|
|
|
31
50
|
*/
|
|
32
51
|
errorData?: EdgeErrorData;
|
|
33
52
|
};
|
|
34
|
-
|
|
53
|
+
/**
|
|
54
|
+
* Represents a body response from the Edge service.
|
|
55
|
+
*/
|
|
56
|
+
export type EdgeBody<T> = EdgeSuccess<T> | EdgeFailure;
|
|
57
|
+
/**
|
|
58
|
+
* Use this to create a response from the Edge service.
|
|
59
|
+
*/
|
|
60
|
+
export declare const EdgeResponse: Readonly<{
|
|
61
|
+
success: <T>(data: T, status?: number) => Response;
|
|
62
|
+
failure: ({ reason, cause, errorData, shouldRetryAfter, status, }: {
|
|
63
|
+
/**
|
|
64
|
+
* An explanation of why the call failed. Used mostly for logging and monitoring.
|
|
65
|
+
*/
|
|
66
|
+
reason: string;
|
|
67
|
+
/**
|
|
68
|
+
* Error that caused the failure.
|
|
69
|
+
* Useful for debugging.
|
|
70
|
+
*/
|
|
71
|
+
cause?: Error;
|
|
72
|
+
/**
|
|
73
|
+
* Information that can be used to retry the request such that it will succeed, for example:
|
|
74
|
+
* 1. { type: 'auth_required', challenge: string }
|
|
75
|
+
* Requires retrying the request with challenge signature included.
|
|
76
|
+
* 2. { type: 'user_confirmation_required', dialog: { title: string, message: string, confirmation_payload: string } }
|
|
77
|
+
* Requires showing a confirmation dialog to a user and retrying the request with confirmation_payload included
|
|
78
|
+
* if the user confirms.
|
|
79
|
+
* When errorData is returned simply retrying the request won't have any effect.
|
|
80
|
+
* EdgeHttpClient should parse well-known errorData into Error types and throw.
|
|
81
|
+
*/
|
|
82
|
+
errorData?: EdgeErrorData;
|
|
83
|
+
/**
|
|
84
|
+
* If provided, this request will be marked as retryable and the client will wait for the specified number of milliseconds before retrying.
|
|
85
|
+
* If not provided, the client will not retry the request.
|
|
86
|
+
*/
|
|
87
|
+
shouldRetryAfter?: number;
|
|
88
|
+
/**
|
|
89
|
+
* Status code of the response.
|
|
90
|
+
* @default 500
|
|
91
|
+
*/
|
|
92
|
+
status?: number;
|
|
93
|
+
}) => Response;
|
|
94
|
+
}>;
|
|
35
95
|
export type GetNotarizationResponseBody = {
|
|
36
96
|
awaitingNotarization: {
|
|
37
97
|
credentials: string[];
|
|
@@ -93,14 +153,17 @@ export type GetAgentStatusResponseBody = {
|
|
|
93
153
|
};
|
|
94
154
|
export type UploadFunctionRequest = {
|
|
95
155
|
name?: string;
|
|
96
|
-
script: string;
|
|
97
156
|
version: string;
|
|
98
157
|
ownerPublicKey: string;
|
|
158
|
+
entryPoint: string;
|
|
159
|
+
assets: Record<string, Uint8Array>;
|
|
99
160
|
};
|
|
100
161
|
export type UploadFunctionResponseBody = {
|
|
101
162
|
functionId: string;
|
|
102
163
|
version: string;
|
|
103
164
|
meta: {
|
|
165
|
+
key?: string;
|
|
166
|
+
name?: string;
|
|
104
167
|
description?: string;
|
|
105
168
|
/**
|
|
106
169
|
* JSON Schema for the input of the function.
|
|
@@ -113,11 +176,17 @@ export type UploadFunctionResponseBody = {
|
|
|
113
176
|
};
|
|
114
177
|
};
|
|
115
178
|
export type CreateSpaceRequest = {
|
|
179
|
+
/**
|
|
180
|
+
* HEX encoded public key of the agent.
|
|
181
|
+
*/
|
|
116
182
|
agentKey: string;
|
|
117
183
|
};
|
|
118
184
|
export type CreateSpaceResponseBody = {
|
|
185
|
+
/**
|
|
186
|
+
* HEX encoded public key of the space.
|
|
187
|
+
*/
|
|
119
188
|
spaceKey: string;
|
|
120
|
-
spaceId:
|
|
189
|
+
spaceId: SpaceId;
|
|
121
190
|
automergeRoot: string;
|
|
122
191
|
};
|
|
123
192
|
export declare enum EdgeAgentStatus {
|
|
@@ -195,4 +264,56 @@ export type EdgeStatus = {
|
|
|
195
264
|
fetchError?: string;
|
|
196
265
|
};
|
|
197
266
|
};
|
|
267
|
+
export type ImportBundleRequest = {
|
|
268
|
+
bundle: {
|
|
269
|
+
/**
|
|
270
|
+
* DocumentId.
|
|
271
|
+
*/
|
|
272
|
+
documentId: string;
|
|
273
|
+
/**
|
|
274
|
+
* Encoded mutation.
|
|
275
|
+
*/
|
|
276
|
+
mutation: string;
|
|
277
|
+
/**
|
|
278
|
+
* Heads of the document.
|
|
279
|
+
*/
|
|
280
|
+
heads: string[];
|
|
281
|
+
}[];
|
|
282
|
+
};
|
|
283
|
+
export type ExportBundleRequest = {
|
|
284
|
+
/**
|
|
285
|
+
* DocumentId -> Heads (decoded heads since which we want to export).
|
|
286
|
+
*/
|
|
287
|
+
docHeads: Record<string, string[]>;
|
|
288
|
+
};
|
|
289
|
+
export type ExportBundleResponse = {
|
|
290
|
+
bundle: {
|
|
291
|
+
/**
|
|
292
|
+
* DocumentId.
|
|
293
|
+
*/
|
|
294
|
+
documentId: string;
|
|
295
|
+
/**
|
|
296
|
+
* Encoded mutation.
|
|
297
|
+
*/
|
|
298
|
+
mutation: string;
|
|
299
|
+
}[];
|
|
300
|
+
};
|
|
301
|
+
export declare const DocumentCodec: Readonly<{
|
|
302
|
+
encode: (doc: Uint8Array) => string;
|
|
303
|
+
decode: (doc: string) => Uint8Array<ArrayBuffer>;
|
|
304
|
+
}>;
|
|
305
|
+
/**
|
|
306
|
+
* Codec for serializing and deserializing Edge Errors.
|
|
307
|
+
*/
|
|
308
|
+
export declare const ErrorCodec: Readonly<{
|
|
309
|
+
encode: (err: Error, depth?: number) => SerializedError;
|
|
310
|
+
decode: (serializedError: SerializedError, depth?: number) => Error;
|
|
311
|
+
}>;
|
|
312
|
+
/**
|
|
313
|
+
* Codec for serializing and deserializing Edge unhandled HTTP errors.
|
|
314
|
+
*/
|
|
315
|
+
export declare const EdgeHttpErrorCodec: Readonly<{
|
|
316
|
+
encode: (err: Error) => Response;
|
|
317
|
+
decode: (response: Response) => Promise<Error | undefined>;
|
|
318
|
+
}>;
|
|
198
319
|
//# sourceMappingURL=edge.d.ts.map
|
package/dist/src/edge.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"edge.d.ts","sourceRoot":"","sources":["../../src/edge.ts"],"names":[],"mappings":"AAIA,OAAO,
|
|
1
|
+
{"version":3,"file":"edge.d.ts","sourceRoot":"","sources":["../../src/edge.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAIxC,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAIrC,oBAAY,WAAW;IACrB,oBAAoB,yBAAyB;IAC7C,eAAe,oBAAoB;IACnC,KAAK,UAAU;IACf,MAAM,WAAW;IACjB,MAAM,WAAW;CAClB;AAED,MAAM,MAAM,WAAW,CAAC,CAAC,IAAI;IAC3B,OAAO,EAAE,IAAI,CAAC;IACd,IAAI,EAAE,CAAC,CAAC;CACT,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG;IAC5B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAClC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,eAAe,CAAC;CACzB,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG;IAAE,IAAI,EAAE,MAAM,CAAA;CAAE,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;AAEnE;;;GAGG;AACH,MAAM,MAAM,WAAW,GAAG;IACxB;;OAEG;IACH,OAAO,EAAE,KAAK,CAAC;IACf;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,KAAK,CAAC,EAAE,eAAe,CAAC;I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