@dxos/client-services 0.3.2-main.ec06501 → 0.3.2-main.f938553
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/lib/browser/{chunk-KLSDV4XQ.mjs → chunk-JKJ5S5BV.mjs} +51 -51
- package/dist/lib/browser/chunk-JKJ5S5BV.mjs.map +7 -0
- package/dist/lib/browser/index.mjs +2 -2
- package/dist/lib/browser/index.mjs.map +2 -2
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/browser/packlets/testing/index.mjs +1 -1
- package/dist/lib/browser/packlets/testing/index.mjs.map +2 -2
- package/dist/lib/node/index.cjs +51 -51
- package/dist/lib/node/index.cjs.map +2 -2
- package/dist/lib/node/meta.json +1 -1
- package/dist/lib/node/packlets/testing/index.cjs +50 -50
- package/dist/lib/node/packlets/testing/index.cjs.map +2 -2
- package/dist/types/src/packlets/devices/devices-service.d.ts +3 -3
- package/dist/types/src/packlets/devices/devices-service.d.ts.map +1 -1
- package/dist/types/src/packlets/devtools/devtools.d.ts +4 -4
- package/dist/types/src/packlets/devtools/devtools.d.ts.map +1 -1
- package/dist/types/src/packlets/devtools/feeds.d.ts +3 -3
- package/dist/types/src/packlets/devtools/feeds.d.ts.map +1 -1
- package/dist/types/src/packlets/devtools/keys.d.ts +2 -2
- package/dist/types/src/packlets/devtools/keys.d.ts.map +1 -1
- package/dist/types/src/packlets/devtools/metadata.d.ts +2 -2
- package/dist/types/src/packlets/devtools/metadata.d.ts.map +1 -1
- package/dist/types/src/packlets/devtools/network.d.ts +3 -3
- package/dist/types/src/packlets/devtools/network.d.ts.map +1 -1
- package/dist/types/src/packlets/devtools/spaces.d.ts +2 -2
- package/dist/types/src/packlets/devtools/spaces.d.ts.map +1 -1
- package/dist/types/src/packlets/identity/authenticator.d.ts +5 -5
- package/dist/types/src/packlets/identity/authenticator.d.ts.map +1 -1
- package/dist/types/src/packlets/identity/identity-manager.d.ts +5 -5
- package/dist/types/src/packlets/identity/identity-manager.d.ts.map +1 -1
- package/dist/types/src/packlets/identity/identity-service.d.ts +4 -4
- package/dist/types/src/packlets/identity/identity-service.d.ts.map +1 -1
- package/dist/types/src/packlets/identity/identity.d.ts +7 -7
- package/dist/types/src/packlets/identity/identity.d.ts.map +1 -1
- package/dist/types/src/packlets/invitations/device-invitation-protocol.d.ts +4 -4
- package/dist/types/src/packlets/invitations/device-invitation-protocol.d.ts.map +1 -1
- package/dist/types/src/packlets/invitations/invitation-extension.d.ts +3 -3
- package/dist/types/src/packlets/invitations/invitation-extension.d.ts.map +1 -1
- package/dist/types/src/packlets/invitations/invitation-protocol.d.ts +3 -3
- package/dist/types/src/packlets/invitations/invitation-protocol.d.ts.map +1 -1
- package/dist/types/src/packlets/invitations/invitations-handler.d.ts +1 -1
- package/dist/types/src/packlets/invitations/invitations-handler.d.ts.map +1 -1
- package/dist/types/src/packlets/invitations/invitations-service.d.ts +3 -3
- package/dist/types/src/packlets/invitations/invitations-service.d.ts.map +1 -1
- package/dist/types/src/packlets/invitations/space-invitation-protocol.d.ts +6 -6
- package/dist/types/src/packlets/invitations/space-invitation-protocol.d.ts.map +1 -1
- package/dist/types/src/packlets/locks/browser.d.ts +1 -1
- package/dist/types/src/packlets/locks/browser.d.ts.map +1 -1
- package/dist/types/src/packlets/locks/node.d.ts +1 -1
- package/dist/types/src/packlets/locks/node.d.ts.map +1 -1
- package/dist/types/src/packlets/locks/resource-lock.d.ts +1 -1
- package/dist/types/src/packlets/locks/resource-lock.d.ts.map +1 -1
- package/dist/types/src/packlets/logging/logging-service.d.ts +1 -1
- package/dist/types/src/packlets/logging/logging-service.d.ts.map +1 -1
- package/dist/types/src/packlets/network/network-service.d.ts +3 -3
- package/dist/types/src/packlets/network/network-service.d.ts.map +1 -1
- package/dist/types/src/packlets/services/client-rpc-server.d.ts +5 -5
- package/dist/types/src/packlets/services/client-rpc-server.d.ts.map +1 -1
- package/dist/types/src/packlets/services/diagnostics.d.ts +8 -8
- package/dist/types/src/packlets/services/diagnostics.d.ts.map +1 -1
- package/dist/types/src/packlets/services/service-context.d.ts +6 -6
- package/dist/types/src/packlets/services/service-context.d.ts.map +1 -1
- package/dist/types/src/packlets/services/service-host.d.ts +5 -5
- package/dist/types/src/packlets/services/service-host.d.ts.map +1 -1
- package/dist/types/src/packlets/services/service-registry.d.ts +1 -1
- package/dist/types/src/packlets/services/service-registry.d.ts.map +1 -1
- package/dist/types/src/packlets/spaces/data-space-manager.d.ts +7 -7
- package/dist/types/src/packlets/spaces/data-space-manager.d.ts.map +1 -1
- package/dist/types/src/packlets/spaces/data-space.d.ts +9 -9
- package/dist/types/src/packlets/spaces/data-space.d.ts.map +1 -1
- package/dist/types/src/packlets/spaces/genesis.d.ts +3 -3
- package/dist/types/src/packlets/spaces/genesis.d.ts.map +1 -1
- package/dist/types/src/packlets/spaces/notarization-plugin.d.ts +5 -5
- package/dist/types/src/packlets/spaces/notarization-plugin.d.ts.map +1 -1
- package/dist/types/src/packlets/spaces/spaces-service.d.ts +7 -7
- package/dist/types/src/packlets/spaces/spaces-service.d.ts.map +1 -1
- package/dist/types/src/packlets/system/system-service.d.ts +5 -5
- package/dist/types/src/packlets/system/system-service.d.ts.map +1 -1
- package/dist/types/src/packlets/testing/credential-utils.d.ts +2 -2
- package/dist/types/src/packlets/testing/credential-utils.d.ts.map +1 -1
- package/dist/types/src/packlets/testing/invitation-utils.d.ts +1 -1
- package/dist/types/src/packlets/testing/invitation-utils.d.ts.map +1 -1
- package/dist/types/src/packlets/testing/test-builder.d.ts +4 -4
- package/dist/types/src/packlets/testing/test-builder.d.ts.map +1 -1
- package/dist/types/src/packlets/vault/iframe-host-runtime.d.ts +4 -4
- package/dist/types/src/packlets/vault/iframe-host-runtime.d.ts.map +1 -1
- package/dist/types/src/packlets/vault/iframe-proxy-runtime.d.ts +4 -4
- package/dist/types/src/packlets/vault/iframe-proxy-runtime.d.ts.map +1 -1
- package/dist/types/src/packlets/vault/shell-runtime.d.ts +4 -4
- package/dist/types/src/packlets/vault/shell-runtime.d.ts.map +1 -1
- package/dist/types/src/packlets/vault/worker-runtime.d.ts +3 -3
- package/dist/types/src/packlets/vault/worker-runtime.d.ts.map +1 -1
- package/dist/types/src/packlets/vault/worker-session.d.ts +3 -3
- package/dist/types/src/packlets/vault/worker-session.d.ts.map +1 -1
- package/dist/types/src/version.d.ts +1 -1
- package/package.json +35 -35
- package/src/packlets/devices/devices-service.test.ts +2 -2
- package/src/packlets/devices/devices-service.ts +9 -4
- package/src/packlets/devtools/devtools.ts +35 -35
- package/src/packlets/devtools/feeds.ts +6 -6
- package/src/packlets/devtools/keys.ts +2 -2
- package/src/packlets/devtools/metadata.ts +2 -2
- package/src/packlets/devtools/network.ts +8 -8
- package/src/packlets/devtools/spaces.ts +8 -5
- package/src/packlets/identity/authenticator.ts +5 -5
- package/src/packlets/identity/identity-manager.test.ts +1 -1
- package/src/packlets/identity/identity-manager.ts +6 -6
- package/src/packlets/identity/identity-service.test.ts +2 -2
- package/src/packlets/identity/identity-service.ts +8 -8
- package/src/packlets/identity/identity.test.ts +2 -2
- package/src/packlets/identity/identity.ts +12 -8
- package/src/packlets/invitations/device-invitation-protocol.test.ts +1 -1
- package/src/packlets/invitations/device-invitation-protocol.ts +8 -4
- package/src/packlets/invitations/invitation-extension.ts +6 -6
- package/src/packlets/invitations/invitation-protocol.ts +7 -3
- package/src/packlets/invitations/invitations-handler.ts +7 -2
- package/src/packlets/invitations/invitations-service.ts +5 -5
- package/src/packlets/invitations/space-invitation-protocol.test.ts +1 -1
- package/src/packlets/invitations/space-invitation-protocol.ts +12 -8
- package/src/packlets/locks/browser.ts +1 -1
- package/src/packlets/locks/node.ts +2 -2
- package/src/packlets/locks/resource-lock.ts +1 -1
- package/src/packlets/logging/logging-service.ts +14 -8
- package/src/packlets/logging/logging.test.ts +1 -1
- package/src/packlets/network/network-service.test.ts +2 -2
- package/src/packlets/network/network-service.ts +7 -3
- package/src/packlets/services/client-rpc-server.ts +5 -5
- package/src/packlets/services/diagnostics.ts +13 -13
- package/src/packlets/services/service-context.test.ts +2 -2
- package/src/packlets/services/service-context.ts +9 -9
- package/src/packlets/services/service-host.test.ts +3 -3
- package/src/packlets/services/service-host.ts +9 -9
- package/src/packlets/services/service-registry.test.ts +2 -2
- package/src/packlets/services/service-registry.ts +1 -1
- package/src/packlets/spaces/data-space-manager.test.ts +4 -4
- package/src/packlets/spaces/data-space-manager.ts +8 -8
- package/src/packlets/spaces/data-space.ts +10 -10
- package/src/packlets/spaces/genesis.ts +3 -3
- package/src/packlets/spaces/notarization-plugin.test.ts +2 -2
- package/src/packlets/spaces/notarization-plugin.ts +5 -5
- package/src/packlets/spaces/spaces-service.test.ts +2 -2
- package/src/packlets/spaces/spaces-service.ts +17 -17
- package/src/packlets/system/system-service.test.ts +1 -1
- package/src/packlets/system/system-service.ts +9 -9
- package/src/packlets/testing/credential-utils.ts +2 -2
- package/src/packlets/testing/invitation-utils.ts +1 -1
- package/src/packlets/testing/test-builder.ts +4 -4
- package/src/packlets/vault/iframe-host-runtime.ts +6 -6
- package/src/packlets/vault/iframe-proxy-runtime.ts +10 -5
- package/src/packlets/vault/shell-runtime.ts +4 -4
- package/src/packlets/vault/worker-runtime.ts +3 -3
- package/src/packlets/vault/worker-session.ts +5 -5
- package/src/version.ts +1 -1
- package/dist/lib/browser/chunk-KLSDV4XQ.mjs.map +0 -7
package/dist/lib/node/index.cjs
CHANGED
|
@@ -556,7 +556,7 @@ var Identity = class Identity2 {
|
|
|
556
556
|
deviceKey
|
|
557
557
|
}, {
|
|
558
558
|
F: __dxlog_file2,
|
|
559
|
-
L:
|
|
559
|
+
L: 64,
|
|
560
560
|
S: this,
|
|
561
561
|
C: (f, a) => f(...a)
|
|
562
562
|
});
|
|
@@ -628,7 +628,7 @@ var Identity = class Identity2 {
|
|
|
628
628
|
getIdentityCredentialSigner() {
|
|
629
629
|
(0, import_invariant.invariant)(this._deviceStateMachine.deviceCredentialChain, "Device credential chain is not ready.", {
|
|
630
630
|
F: __dxlog_file2,
|
|
631
|
-
L:
|
|
631
|
+
L: 145,
|
|
632
632
|
S: this,
|
|
633
633
|
A: [
|
|
634
634
|
"this._deviceStateMachine.deviceCredentialChain",
|
|
@@ -652,7 +652,7 @@ var Identity = class Identity2 {
|
|
|
652
652
|
dataFeedKey
|
|
653
653
|
}, {
|
|
654
654
|
F: __dxlog_file2,
|
|
655
|
-
L:
|
|
655
|
+
L: 161,
|
|
656
656
|
S: this,
|
|
657
657
|
C: (f, a) => f(...a)
|
|
658
658
|
});
|
|
@@ -1173,7 +1173,7 @@ var DeviceInvitationProtocol = class {
|
|
|
1173
1173
|
async admit(request) {
|
|
1174
1174
|
(0, import_invariant4.invariant)(request.device, void 0, {
|
|
1175
1175
|
F: __dxlog_file5,
|
|
1176
|
-
L:
|
|
1176
|
+
L: 35,
|
|
1177
1177
|
S: this,
|
|
1178
1178
|
A: [
|
|
1179
1179
|
"request.device",
|
|
@@ -1209,7 +1209,7 @@ var DeviceInvitationProtocol = class {
|
|
|
1209
1209
|
async accept(response, request) {
|
|
1210
1210
|
(0, import_invariant4.invariant)(response.device, void 0, {
|
|
1211
1211
|
F: __dxlog_file5,
|
|
1212
|
-
L:
|
|
1212
|
+
L: 68,
|
|
1213
1213
|
S: this,
|
|
1214
1214
|
A: [
|
|
1215
1215
|
"response.device",
|
|
@@ -1219,7 +1219,7 @@ var DeviceInvitationProtocol = class {
|
|
|
1219
1219
|
const { identityKey, haloSpaceKey, genesisFeedKey, controlTimeframe } = response.device;
|
|
1220
1220
|
(0, import_invariant4.invariant)(request.device, void 0, {
|
|
1221
1221
|
F: __dxlog_file5,
|
|
1222
|
-
L:
|
|
1222
|
+
L: 71,
|
|
1223
1223
|
S: this,
|
|
1224
1224
|
A: [
|
|
1225
1225
|
"request.device",
|
|
@@ -1609,7 +1609,7 @@ var InvitationsHandler = class {
|
|
|
1609
1609
|
const authCode = options?.authCode ?? (authMethod === import_services3.Invitation.AuthMethod.SHARED_SECRET ? (0, import_credentials7.generatePasscode)(import_client_protocol2.AUTHENTICATION_CODE_LENGTH) : void 0);
|
|
1610
1610
|
(0, import_invariant6.invariant)(protocol, void 0, {
|
|
1611
1611
|
F: __dxlog_file7,
|
|
1612
|
-
L:
|
|
1612
|
+
L: 80,
|
|
1613
1613
|
S: this,
|
|
1614
1614
|
A: [
|
|
1615
1615
|
"protocol",
|
|
@@ -1638,7 +1638,7 @@ var InvitationsHandler = class {
|
|
|
1638
1638
|
...protocol.toJSON()
|
|
1639
1639
|
}, {
|
|
1640
1640
|
F: __dxlog_file7,
|
|
1641
|
-
L:
|
|
1641
|
+
L: 102,
|
|
1642
1642
|
S: this,
|
|
1643
1643
|
C: (f, a) => f(...a)
|
|
1644
1644
|
});
|
|
@@ -1663,7 +1663,7 @@ var InvitationsHandler = class {
|
|
|
1663
1663
|
const deviceKey = admissionRequest.device?.deviceKey ?? admissionRequest.space?.deviceKey;
|
|
1664
1664
|
(0, import_invariant6.invariant)(deviceKey, void 0, {
|
|
1665
1665
|
F: __dxlog_file7,
|
|
1666
|
-
L:
|
|
1666
|
+
L: 123,
|
|
1667
1667
|
S: this,
|
|
1668
1668
|
A: [
|
|
1669
1669
|
"deviceKey",
|
|
@@ -1686,7 +1686,7 @@ var InvitationsHandler = class {
|
|
|
1686
1686
|
id: traceId
|
|
1687
1687
|
}), {
|
|
1688
1688
|
F: __dxlog_file7,
|
|
1689
|
-
L:
|
|
1689
|
+
L: 141,
|
|
1690
1690
|
S: this,
|
|
1691
1691
|
C: (f, a) => f(...a)
|
|
1692
1692
|
});
|
|
@@ -1694,7 +1694,7 @@ var InvitationsHandler = class {
|
|
|
1694
1694
|
...protocol.toJSON()
|
|
1695
1695
|
}, {
|
|
1696
1696
|
F: __dxlog_file7,
|
|
1697
|
-
L:
|
|
1697
|
+
L: 142,
|
|
1698
1698
|
S: this,
|
|
1699
1699
|
C: (f, a) => f(...a)
|
|
1700
1700
|
});
|
|
@@ -1710,7 +1710,7 @@ var InvitationsHandler = class {
|
|
|
1710
1710
|
...protocol.toJSON()
|
|
1711
1711
|
}, {
|
|
1712
1712
|
F: __dxlog_file7,
|
|
1713
|
-
L:
|
|
1713
|
+
L: 145,
|
|
1714
1714
|
S: this,
|
|
1715
1715
|
C: (f, a) => f(...a)
|
|
1716
1716
|
});
|
|
@@ -1722,7 +1722,7 @@ var InvitationsHandler = class {
|
|
|
1722
1722
|
id: traceId
|
|
1723
1723
|
}), {
|
|
1724
1724
|
F: __dxlog_file7,
|
|
1725
|
-
L:
|
|
1725
|
+
L: 147,
|
|
1726
1726
|
S: this,
|
|
1727
1727
|
C: (f, a) => f(...a)
|
|
1728
1728
|
});
|
|
@@ -1732,7 +1732,7 @@ var InvitationsHandler = class {
|
|
|
1732
1732
|
...protocol.toJSON()
|
|
1733
1733
|
}, {
|
|
1734
1734
|
F: __dxlog_file7,
|
|
1735
|
-
L:
|
|
1735
|
+
L: 150,
|
|
1736
1736
|
S: this,
|
|
1737
1737
|
C: (f, a) => f(...a)
|
|
1738
1738
|
});
|
|
@@ -1743,7 +1743,7 @@ var InvitationsHandler = class {
|
|
|
1743
1743
|
} else {
|
|
1744
1744
|
import_log5.log.error("failed", err, {
|
|
1745
1745
|
F: __dxlog_file7,
|
|
1746
|
-
L:
|
|
1746
|
+
L: 153,
|
|
1747
1747
|
S: this,
|
|
1748
1748
|
C: (f, a) => f(...a)
|
|
1749
1749
|
});
|
|
@@ -1754,7 +1754,7 @@ var InvitationsHandler = class {
|
|
|
1754
1754
|
error: err
|
|
1755
1755
|
}), {
|
|
1756
1756
|
F: __dxlog_file7,
|
|
1757
|
-
L:
|
|
1757
|
+
L: 156,
|
|
1758
1758
|
S: this,
|
|
1759
1759
|
C: (f, a) => f(...a)
|
|
1760
1760
|
});
|
|
@@ -1775,7 +1775,7 @@ var InvitationsHandler = class {
|
|
|
1775
1775
|
...protocol.toJSON()
|
|
1776
1776
|
}, {
|
|
1777
1777
|
F: __dxlog_file7,
|
|
1778
|
-
L:
|
|
1778
|
+
L: 171,
|
|
1779
1779
|
S: this,
|
|
1780
1780
|
C: (f, a) => f(...a)
|
|
1781
1781
|
});
|
|
@@ -1786,7 +1786,7 @@ var InvitationsHandler = class {
|
|
|
1786
1786
|
} else {
|
|
1787
1787
|
import_log5.log.error("failed", err, {
|
|
1788
1788
|
F: __dxlog_file7,
|
|
1789
|
-
L:
|
|
1789
|
+
L: 174,
|
|
1790
1790
|
S: this,
|
|
1791
1791
|
C: (f, a) => f(...a)
|
|
1792
1792
|
});
|
|
@@ -1831,7 +1831,7 @@ var InvitationsHandler = class {
|
|
|
1831
1831
|
const { timeout = import_client_protocol2.INVITATION_TIMEOUT } = invitation;
|
|
1832
1832
|
(0, import_invariant6.invariant)(protocol, void 0, {
|
|
1833
1833
|
F: __dxlog_file7,
|
|
1834
|
-
L:
|
|
1834
|
+
L: 215,
|
|
1835
1835
|
S: this,
|
|
1836
1836
|
A: [
|
|
1837
1837
|
"protocol",
|
|
@@ -1845,7 +1845,7 @@ var InvitationsHandler = class {
|
|
|
1845
1845
|
const setState = (newData) => {
|
|
1846
1846
|
(0, import_invariant6.invariant)(newData.state !== void 0, void 0, {
|
|
1847
1847
|
F: __dxlog_file7,
|
|
1848
|
-
L:
|
|
1848
|
+
L: 226,
|
|
1849
1849
|
S: this,
|
|
1850
1850
|
A: [
|
|
1851
1851
|
"newData.state !== undefined",
|
|
@@ -1865,7 +1865,7 @@ var InvitationsHandler = class {
|
|
|
1865
1865
|
...protocol.toJSON()
|
|
1866
1866
|
}, {
|
|
1867
1867
|
F: __dxlog_file7,
|
|
1868
|
-
L:
|
|
1868
|
+
L: 234,
|
|
1869
1869
|
S: this,
|
|
1870
1870
|
C: (f, a) => f(...a)
|
|
1871
1871
|
});
|
|
@@ -1875,7 +1875,7 @@ var InvitationsHandler = class {
|
|
|
1875
1875
|
} else {
|
|
1876
1876
|
import_log5.log.warn("auth failed", err, {
|
|
1877
1877
|
F: __dxlog_file7,
|
|
1878
|
-
L:
|
|
1878
|
+
L: 237,
|
|
1879
1879
|
S: this,
|
|
1880
1880
|
C: (f, a) => f(...a)
|
|
1881
1881
|
});
|
|
@@ -1889,7 +1889,7 @@ var InvitationsHandler = class {
|
|
|
1889
1889
|
...protocol.toJSON()
|
|
1890
1890
|
}, {
|
|
1891
1891
|
F: __dxlog_file7,
|
|
1892
|
-
L:
|
|
1892
|
+
L: 245,
|
|
1893
1893
|
S: this,
|
|
1894
1894
|
C: (f, a) => f(...a)
|
|
1895
1895
|
});
|
|
@@ -1904,7 +1904,7 @@ var InvitationsHandler = class {
|
|
|
1904
1904
|
currentState
|
|
1905
1905
|
}, {
|
|
1906
1906
|
F: __dxlog_file7,
|
|
1907
|
-
L:
|
|
1907
|
+
L: 255,
|
|
1908
1908
|
S: this,
|
|
1909
1909
|
C: (f, a) => f(...a)
|
|
1910
1910
|
});
|
|
@@ -1919,7 +1919,7 @@ var InvitationsHandler = class {
|
|
|
1919
1919
|
id: traceId
|
|
1920
1920
|
}), {
|
|
1921
1921
|
F: __dxlog_file7,
|
|
1922
|
-
L:
|
|
1922
|
+
L: 264,
|
|
1923
1923
|
S: this,
|
|
1924
1924
|
C: (f, a) => f(...a)
|
|
1925
1925
|
});
|
|
@@ -1931,7 +1931,7 @@ var InvitationsHandler = class {
|
|
|
1931
1931
|
...protocol.toJSON()
|
|
1932
1932
|
}, {
|
|
1933
1933
|
F: __dxlog_file7,
|
|
1934
|
-
L:
|
|
1934
|
+
L: 272,
|
|
1935
1935
|
S: this,
|
|
1936
1936
|
C: (f, a) => f(...a)
|
|
1937
1937
|
});
|
|
@@ -1942,7 +1942,7 @@ var InvitationsHandler = class {
|
|
|
1942
1942
|
...protocol.toJSON()
|
|
1943
1943
|
}, {
|
|
1944
1944
|
F: __dxlog_file7,
|
|
1945
|
-
L:
|
|
1945
|
+
L: 276,
|
|
1946
1946
|
S: this,
|
|
1947
1947
|
C: (f, a) => f(...a)
|
|
1948
1948
|
});
|
|
@@ -1952,7 +1952,7 @@ var InvitationsHandler = class {
|
|
|
1952
1952
|
response: introductionResponse
|
|
1953
1953
|
}, {
|
|
1954
1954
|
F: __dxlog_file7,
|
|
1955
|
-
L:
|
|
1955
|
+
L: 280,
|
|
1956
1956
|
S: this,
|
|
1957
1957
|
C: (f, a) => f(...a)
|
|
1958
1958
|
});
|
|
@@ -1964,7 +1964,7 @@ var InvitationsHandler = class {
|
|
|
1964
1964
|
for (let attempt = 1; attempt <= MAX_OTP_ATTEMPTS; attempt++) {
|
|
1965
1965
|
(0, import_log5.log)("guest waiting for authentication code...", void 0, {
|
|
1966
1966
|
F: __dxlog_file7,
|
|
1967
|
-
L:
|
|
1967
|
+
L: 289,
|
|
1968
1968
|
S: this,
|
|
1969
1969
|
C: (f, a) => f(...a)
|
|
1970
1970
|
});
|
|
@@ -1976,7 +1976,7 @@ var InvitationsHandler = class {
|
|
|
1976
1976
|
});
|
|
1977
1977
|
(0, import_log5.log)("sending authentication request", void 0, {
|
|
1978
1978
|
F: __dxlog_file7,
|
|
1979
|
-
L:
|
|
1979
|
+
L: 293,
|
|
1980
1980
|
S: this,
|
|
1981
1981
|
C: (f, a) => f(...a)
|
|
1982
1982
|
});
|
|
@@ -1997,7 +1997,7 @@ var InvitationsHandler = class {
|
|
|
1997
1997
|
attempt
|
|
1998
1998
|
}, {
|
|
1999
1999
|
F: __dxlog_file7,
|
|
2000
|
-
L:
|
|
2000
|
+
L: 304,
|
|
2001
2001
|
S: this,
|
|
2002
2002
|
C: (f, a) => f(...a)
|
|
2003
2003
|
});
|
|
@@ -2014,7 +2014,7 @@ var InvitationsHandler = class {
|
|
|
2014
2014
|
...protocol.toJSON()
|
|
2015
2015
|
}, {
|
|
2016
2016
|
F: __dxlog_file7,
|
|
2017
|
-
L:
|
|
2017
|
+
L: 315,
|
|
2018
2018
|
S: this,
|
|
2019
2019
|
C: (f, a) => f(...a)
|
|
2020
2020
|
});
|
|
@@ -2026,7 +2026,7 @@ var InvitationsHandler = class {
|
|
|
2026
2026
|
...protocol.toJSON()
|
|
2027
2027
|
}, {
|
|
2028
2028
|
F: __dxlog_file7,
|
|
2029
|
-
L:
|
|
2029
|
+
L: 326,
|
|
2030
2030
|
S: this,
|
|
2031
2031
|
C: (f, a) => f(...a)
|
|
2032
2032
|
});
|
|
@@ -2038,7 +2038,7 @@ var InvitationsHandler = class {
|
|
|
2038
2038
|
id: traceId
|
|
2039
2039
|
}), {
|
|
2040
2040
|
F: __dxlog_file7,
|
|
2041
|
-
L:
|
|
2041
|
+
L: 328,
|
|
2042
2042
|
S: this,
|
|
2043
2043
|
C: (f, a) => f(...a)
|
|
2044
2044
|
});
|
|
@@ -2048,7 +2048,7 @@ var InvitationsHandler = class {
|
|
|
2048
2048
|
...protocol.toJSON()
|
|
2049
2049
|
}, {
|
|
2050
2050
|
F: __dxlog_file7,
|
|
2051
|
-
L:
|
|
2051
|
+
L: 331,
|
|
2052
2052
|
S: this,
|
|
2053
2053
|
C: (f, a) => f(...a)
|
|
2054
2054
|
});
|
|
@@ -2058,7 +2058,7 @@ var InvitationsHandler = class {
|
|
|
2058
2058
|
} else {
|
|
2059
2059
|
(0, import_log5.log)("auth failed", err, {
|
|
2060
2060
|
F: __dxlog_file7,
|
|
2061
|
-
L:
|
|
2061
|
+
L: 334,
|
|
2062
2062
|
S: this,
|
|
2063
2063
|
C: (f, a) => f(...a)
|
|
2064
2064
|
});
|
|
@@ -2069,7 +2069,7 @@ var InvitationsHandler = class {
|
|
|
2069
2069
|
error: err
|
|
2070
2070
|
}), {
|
|
2071
2071
|
F: __dxlog_file7,
|
|
2072
|
-
L:
|
|
2072
|
+
L: 337,
|
|
2073
2073
|
S: this,
|
|
2074
2074
|
C: (f, a) => f(...a)
|
|
2075
2075
|
});
|
|
@@ -2087,7 +2087,7 @@ var InvitationsHandler = class {
|
|
|
2087
2087
|
...protocol.toJSON()
|
|
2088
2088
|
}, {
|
|
2089
2089
|
F: __dxlog_file7,
|
|
2090
|
-
L:
|
|
2090
|
+
L: 348,
|
|
2091
2091
|
S: this,
|
|
2092
2092
|
C: (f, a) => f(...a)
|
|
2093
2093
|
});
|
|
@@ -2097,7 +2097,7 @@ var InvitationsHandler = class {
|
|
|
2097
2097
|
} else {
|
|
2098
2098
|
(0, import_log5.log)("auth failed", err, {
|
|
2099
2099
|
F: __dxlog_file7,
|
|
2100
|
-
L:
|
|
2100
|
+
L: 351,
|
|
2101
2101
|
S: this,
|
|
2102
2102
|
C: (f, a) => f(...a)
|
|
2103
2103
|
});
|
|
@@ -2110,7 +2110,7 @@ var InvitationsHandler = class {
|
|
|
2110
2110
|
(0, import_async8.scheduleTask)(ctx, async () => {
|
|
2111
2111
|
(0, import_invariant6.invariant)(invitation.swarmKey, void 0, {
|
|
2112
2112
|
F: __dxlog_file7,
|
|
2113
|
-
L:
|
|
2113
|
+
L: 361,
|
|
2114
2114
|
S: this,
|
|
2115
2115
|
A: [
|
|
2116
2116
|
"invitation.swarmKey",
|
|
@@ -2360,7 +2360,7 @@ var SpaceInvitationProtocol = class {
|
|
|
2360
2360
|
async admit(request, guestProfile) {
|
|
2361
2361
|
(0, import_invariant8.invariant)(this._spaceKey, void 0, {
|
|
2362
2362
|
F: __dxlog_file9,
|
|
2363
|
-
L:
|
|
2363
|
+
L: 46,
|
|
2364
2364
|
S: this,
|
|
2365
2365
|
A: [
|
|
2366
2366
|
"this._spaceKey",
|
|
@@ -2370,7 +2370,7 @@ var SpaceInvitationProtocol = class {
|
|
|
2370
2370
|
const space = await this._spaceManager.spaces.get(this._spaceKey);
|
|
2371
2371
|
(0, import_invariant8.invariant)(space, void 0, {
|
|
2372
2372
|
F: __dxlog_file9,
|
|
2373
|
-
L:
|
|
2373
|
+
L: 48,
|
|
2374
2374
|
S: this,
|
|
2375
2375
|
A: [
|
|
2376
2376
|
"space",
|
|
@@ -2379,7 +2379,7 @@ var SpaceInvitationProtocol = class {
|
|
|
2379
2379
|
});
|
|
2380
2380
|
(0, import_invariant8.invariant)(request.space, void 0, {
|
|
2381
2381
|
F: __dxlog_file9,
|
|
2382
|
-
L:
|
|
2382
|
+
L: 50,
|
|
2383
2383
|
S: this,
|
|
2384
2384
|
A: [
|
|
2385
2385
|
"request.space",
|
|
@@ -2392,14 +2392,14 @@ var SpaceInvitationProtocol = class {
|
|
|
2392
2392
|
guest: deviceKey
|
|
2393
2393
|
}, {
|
|
2394
2394
|
F: __dxlog_file9,
|
|
2395
|
-
L:
|
|
2395
|
+
L: 53,
|
|
2396
2396
|
S: this,
|
|
2397
2397
|
C: (f, a) => f(...a)
|
|
2398
2398
|
});
|
|
2399
2399
|
const credentials = await (0, import_credentials8.createAdmissionCredentials)(this._signingContext.credentialSigner, identityKey, space.key, space.inner.genesisFeedKey, guestProfile);
|
|
2400
2400
|
(0, import_invariant8.invariant)(credentials[0].credential, void 0, {
|
|
2401
2401
|
F: __dxlog_file9,
|
|
2402
|
-
L:
|
|
2402
|
+
L: 64,
|
|
2403
2403
|
S: this,
|
|
2404
2404
|
A: [
|
|
2405
2405
|
"credentials[0].credential",
|
|
@@ -2409,7 +2409,7 @@ var SpaceInvitationProtocol = class {
|
|
|
2409
2409
|
const spaceMemberCredential = credentials[0].credential.credential;
|
|
2410
2410
|
(0, import_invariant8.invariant)((0, import_credentials8.getCredentialAssertion)(spaceMemberCredential)["@type"] === "dxos.halo.credentials.SpaceMember", void 0, {
|
|
2411
2411
|
F: __dxlog_file9,
|
|
2412
|
-
L:
|
|
2412
|
+
L: 66,
|
|
2413
2413
|
S: this,
|
|
2414
2414
|
A: [
|
|
2415
2415
|
"getCredentialAssertion(spaceMemberCredential)['@type'] === 'dxos.halo.credentials.SpaceMember'",
|
|
@@ -2445,7 +2445,7 @@ var SpaceInvitationProtocol = class {
|
|
|
2445
2445
|
async accept(response) {
|
|
2446
2446
|
(0, import_invariant8.invariant)(response.space, void 0, {
|
|
2447
2447
|
F: __dxlog_file9,
|
|
2448
|
-
L:
|
|
2448
|
+
L: 101,
|
|
2449
2449
|
S: this,
|
|
2450
2450
|
A: [
|
|
2451
2451
|
"response.space",
|
|
@@ -2456,7 +2456,7 @@ var SpaceInvitationProtocol = class {
|
|
|
2456
2456
|
const assertion = (0, import_credentials8.getCredentialAssertion)(credential);
|
|
2457
2457
|
(0, import_invariant8.invariant)(assertion["@type"] === "dxos.halo.credentials.SpaceMember", "Invalid credential", {
|
|
2458
2458
|
F: __dxlog_file9,
|
|
2459
|
-
L:
|
|
2459
|
+
L: 104,
|
|
2460
2460
|
S: this,
|
|
2461
2461
|
A: [
|
|
2462
2462
|
"assertion['@type'] === 'dxos.halo.credentials.SpaceMember'",
|
|
@@ -2465,7 +2465,7 @@ var SpaceInvitationProtocol = class {
|
|
|
2465
2465
|
});
|
|
2466
2466
|
(0, import_invariant8.invariant)(credential.subject.id.equals(this._signingContext.identityKey), void 0, {
|
|
2467
2467
|
F: __dxlog_file9,
|
|
2468
|
-
L:
|
|
2468
|
+
L: 105,
|
|
2469
2469
|
S: this,
|
|
2470
2470
|
A: [
|
|
2471
2471
|
"credential.subject.id.equals(this._signingContext.identityKey)",
|
|
@@ -2576,7 +2576,7 @@ var getPlatform = () => {
|
|
|
2576
2576
|
};
|
|
2577
2577
|
|
|
2578
2578
|
// packages/sdk/client-services/src/version.ts
|
|
2579
|
-
var DXOS_VERSION = "0.3.2-main.
|
|
2579
|
+
var DXOS_VERSION = "0.3.2-main.f938553";
|
|
2580
2580
|
|
|
2581
2581
|
// packages/sdk/client-services/src/packlets/services/diagnostics.ts
|
|
2582
2582
|
var __dxlog_file10 = "/home/runner/work/dxos/dxos/packages/sdk/client-services/src/packlets/services/diagnostics.ts";
|
|
@@ -5270,7 +5270,7 @@ var IFrameProxyRuntime = class {
|
|
|
5270
5270
|
} catch (err) {
|
|
5271
5271
|
import_log18.log.catch(err, void 0, {
|
|
5272
5272
|
F: __dxlog_file20,
|
|
5273
|
-
L:
|
|
5273
|
+
L: 90,
|
|
5274
5274
|
S: this,
|
|
5275
5275
|
C: (f, a) => f(...a)
|
|
5276
5276
|
});
|