@dxos/client-services 0.6.10-main.bbdfaa4 → 0.6.10-staging.3cfcc89

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.
@@ -56,7 +56,7 @@ var findFeedOwner = (spaceManager, feedKey) => {
56
56
  ].flatMap((space) => [
57
57
  ...space.spaceState.feeds.values()
58
58
  ]).find((feed) => feed.key.equals(feedKey));
59
- log.info("feeds", {
59
+ log("feeds", {
60
60
  feedInfo,
61
61
  key: feedKey.truncate(),
62
62
  allSpaces: spaceManager.spaces.size
@@ -404,7 +404,7 @@ import { SpaceMember } from "@dxos/protocols/proto/dxos/client/services";
404
404
  import { TRACE_PROCESSOR } from "@dxos/tracing";
405
405
 
406
406
  // packages/sdk/client-services/src/version.ts
407
- var DXOS_VERSION = "0.6.10-main.bbdfaa4";
407
+ var DXOS_VERSION = "0.6.10-staging.3cfcc89";
408
408
 
409
409
  // packages/sdk/client-services/src/packlets/services/platform.ts
410
410
  import { Platform } from "@dxos/protocols/proto/dxos/client/services";
@@ -695,7 +695,7 @@ import { Trigger as Trigger2 } from "@dxos/async";
695
695
  import { Context as Context2 } from "@dxos/context";
696
696
  import { verifyCredential } from "@dxos/credentials";
697
697
  import { log as log3 } from "@dxos/log";
698
- import { schema } from "@dxos/protocols";
698
+ import { schema } from "@dxos/protocols/proto";
699
699
  var __dxlog_file5 = "/home/runner/work/dxos/dxos/packages/sdk/client-services/src/packlets/identity/authenticator.ts";
700
700
  var Credential = schema.getCodecForType("dxos.halo.credentials.Credential");
701
701
  var createAuthProvider = (signer) => async (nonce) => {
@@ -1829,7 +1829,8 @@ import { Trigger as Trigger4 } from "@dxos/async";
1829
1829
  import { cancelWithContext as cancelWithContext2, Context as Context4 } from "@dxos/context";
1830
1830
  import { invariant as invariant6 } from "@dxos/invariant";
1831
1831
  import { log as log8 } from "@dxos/log";
1832
- import { InvalidInvitationExtensionRoleError, schema as schema2 } from "@dxos/protocols";
1832
+ import { InvalidInvitationExtensionRoleError } from "@dxos/protocols";
1833
+ import { schema as schema2 } from "@dxos/protocols/proto";
1833
1834
  import { InvitationOptions } from "@dxos/protocols/proto/dxos/halo/invitations";
1834
1835
  import { RpcExtension } from "@dxos/teleport";
1835
1836
 
@@ -1869,7 +1870,7 @@ var InvitationGuestExtension = class extends RpcExtension {
1869
1870
  this._callbacks = _callbacks;
1870
1871
  this._ctx = new Context4(void 0, {
1871
1872
  F: __dxlog_file11,
1872
- L: 33
1873
+ L: 34
1873
1874
  });
1874
1875
  this._remoteOptionsTrigger = new Trigger4();
1875
1876
  this._invitationFlowLock = null;
@@ -1883,7 +1884,7 @@ var InvitationGuestExtension = class extends RpcExtension {
1883
1884
  options: async (options) => {
1884
1885
  invariant6(!this._remoteOptions, "Remote options already set.", {
1885
1886
  F: __dxlog_file11,
1886
- L: 63,
1887
+ L: 64,
1887
1888
  S: this,
1888
1889
  A: [
1889
1890
  "!this._remoteOptions",
@@ -1910,14 +1911,14 @@ var InvitationGuestExtension = class extends RpcExtension {
1910
1911
  try {
1911
1912
  log8("guest acquire lock", void 0, {
1912
1913
  F: __dxlog_file11,
1913
- L: 84,
1914
+ L: 85,
1914
1915
  S: this,
1915
1916
  C: (f, a) => f(...a)
1916
1917
  });
1917
1918
  this._invitationFlowLock = await tryAcquireBeforeContextDisposed(this._ctx, this._invitationFlowMutex);
1918
1919
  log8("guest lock acquired", void 0, {
1919
1920
  F: __dxlog_file11,
1920
- L: 86,
1921
+ L: 87,
1921
1922
  S: this,
1922
1923
  C: (f, a) => f(...a)
1923
1924
  });
@@ -1926,7 +1927,7 @@ var InvitationGuestExtension = class extends RpcExtension {
1926
1927
  }));
1927
1928
  log8("options sent", void 0, {
1928
1929
  F: __dxlog_file11,
1929
- L: 91,
1930
+ L: 92,
1930
1931
  S: this,
1931
1932
  C: (f, a) => f(...a)
1932
1933
  });
@@ -1935,7 +1936,7 @@ var InvitationGuestExtension = class extends RpcExtension {
1935
1936
  }));
1936
1937
  log8("options received", void 0, {
1937
1938
  F: __dxlog_file11,
1938
- L: 93,
1939
+ L: 94,
1939
1940
  S: this,
1940
1941
  C: (f, a) => f(...a)
1941
1942
  });
@@ -1969,7 +1970,7 @@ var InvitationGuestExtension = class extends RpcExtension {
1969
1970
  this._invitationFlowLock = null;
1970
1971
  log8("invitation flow lock released", void 0, {
1971
1972
  F: __dxlog_file11,
1972
- L: 126,
1973
+ L: 127,
1973
1974
  S: this,
1974
1975
  C: (f, a) => f(...a)
1975
1976
  });
@@ -1984,7 +1985,8 @@ import { randomBytes, verify } from "@dxos/crypto";
1984
1985
  import { invariant as invariant7, InvariantViolation } from "@dxos/invariant";
1985
1986
  import { PublicKey as PublicKey5 } from "@dxos/keys";
1986
1987
  import { log as log9 } from "@dxos/log";
1987
- import { InvalidInvitationExtensionRoleError as InvalidInvitationExtensionRoleError2, schema as schema3, trace as trace3 } from "@dxos/protocols";
1988
+ import { InvalidInvitationExtensionRoleError as InvalidInvitationExtensionRoleError2, trace as trace3 } from "@dxos/protocols";
1989
+ import { schema as schema3 } from "@dxos/protocols/proto";
1988
1990
  import { Invitation as Invitation3 } from "@dxos/protocols/proto/dxos/client/services";
1989
1991
  import { AuthenticationResponse, InvitationOptions as InvitationOptions2 } from "@dxos/protocols/proto/dxos/halo/invitations";
1990
1992
  import { RpcExtension as RpcExtension2 } from "@dxos/teleport";
@@ -2005,7 +2007,7 @@ var InvitationHostExtension = class extends RpcExtension2 {
2005
2007
  this._callbacks = _callbacks;
2006
2008
  this._ctx = new Context5(void 0, {
2007
2009
  F: __dxlog_file12,
2008
- L: 52
2010
+ L: 53
2009
2011
  });
2010
2012
  this._remoteOptionsTrigger = new Trigger5();
2011
2013
  this._challenge = void 0;
@@ -2026,7 +2028,7 @@ var InvitationHostExtension = class extends RpcExtension2 {
2026
2028
  options: async (options) => {
2027
2029
  invariant7(!this._remoteOptions, "Remote options already set.", {
2028
2030
  F: __dxlog_file12,
2029
- L: 101,
2031
+ L: 102,
2030
2032
  S: this,
2031
2033
  A: [
2032
2034
  "!this._remoteOptions",
@@ -2043,7 +2045,7 @@ var InvitationHostExtension = class extends RpcExtension2 {
2043
2045
  id: traceId
2044
2046
  }), {
2045
2047
  F: __dxlog_file12,
2046
- L: 110,
2048
+ L: 111,
2047
2049
  S: this,
2048
2050
  C: (f, a) => f(...a)
2049
2051
  });
@@ -2055,7 +2057,7 @@ var InvitationHostExtension = class extends RpcExtension2 {
2055
2057
  actual: invitationId
2056
2058
  }, {
2057
2059
  F: __dxlog_file12,
2058
- L: 116,
2060
+ L: 117,
2059
2061
  S: this,
2060
2062
  C: (f, a) => f(...a)
2061
2063
  });
@@ -2069,7 +2071,7 @@ var InvitationHostExtension = class extends RpcExtension2 {
2069
2071
  guestProfile: profile
2070
2072
  }, {
2071
2073
  F: __dxlog_file12,
2072
- L: 125,
2074
+ L: 126,
2073
2075
  S: this,
2074
2076
  C: (f, a) => f(...a)
2075
2077
  });
@@ -2080,7 +2082,7 @@ var InvitationHostExtension = class extends RpcExtension2 {
2080
2082
  id: traceId
2081
2083
  }), {
2082
2084
  F: __dxlog_file12,
2083
- L: 132,
2085
+ L: 133,
2084
2086
  S: this,
2085
2087
  C: (f, a) => f(...a)
2086
2088
  });
@@ -2095,7 +2097,7 @@ var InvitationHostExtension = class extends RpcExtension2 {
2095
2097
  id: traceId
2096
2098
  }), {
2097
2099
  F: __dxlog_file12,
2098
- L: 141,
2100
+ L: 142,
2099
2101
  S: this,
2100
2102
  C: (f, a) => f(...a)
2101
2103
  });
@@ -2104,7 +2106,7 @@ var InvitationHostExtension = class extends RpcExtension2 {
2104
2106
  authCode: code
2105
2107
  }, {
2106
2108
  F: __dxlog_file12,
2107
- L: 144,
2109
+ L: 145,
2108
2110
  S: this,
2109
2111
  C: (f, a) => f(...a)
2110
2112
  });
@@ -2118,7 +2120,7 @@ var InvitationHostExtension = class extends RpcExtension2 {
2118
2120
  case Invitation3.AuthMethod.NONE: {
2119
2121
  log9("authentication not required", void 0, {
2120
2122
  F: __dxlog_file12,
2121
- L: 152,
2123
+ L: 153,
2122
2124
  S: this,
2123
2125
  C: (f, a) => f(...a)
2124
2126
  });
@@ -2156,7 +2158,7 @@ var InvitationHostExtension = class extends RpcExtension2 {
2156
2158
  authMethod: invitation.authMethod
2157
2159
  }, {
2158
2160
  F: __dxlog_file12,
2159
- L: 190,
2161
+ L: 191,
2160
2162
  S: this,
2161
2163
  C: (f, a) => f(...a)
2162
2164
  });
@@ -2181,7 +2183,7 @@ var InvitationHostExtension = class extends RpcExtension2 {
2181
2183
  }
2182
2184
  }), {
2183
2185
  F: __dxlog_file12,
2184
- L: 202,
2186
+ L: 203,
2185
2187
  S: this,
2186
2188
  C: (f, a) => f(...a)
2187
2189
  });
@@ -2195,7 +2197,7 @@ var InvitationHostExtension = class extends RpcExtension2 {
2195
2197
  id: traceId
2196
2198
  }), {
2197
2199
  F: __dxlog_file12,
2198
- L: 208,
2200
+ L: 209,
2199
2201
  S: this,
2200
2202
  C: (f, a) => f(...a)
2201
2203
  });
@@ -2212,7 +2214,7 @@ var InvitationHostExtension = class extends RpcExtension2 {
2212
2214
  id: traceId
2213
2215
  }), {
2214
2216
  F: __dxlog_file12,
2215
- L: 222,
2217
+ L: 223,
2216
2218
  S: this,
2217
2219
  C: (f, a) => f(...a)
2218
2220
  });
@@ -2230,14 +2232,14 @@ var InvitationHostExtension = class extends RpcExtension2 {
2230
2232
  try {
2231
2233
  log9("host acquire lock", void 0, {
2232
2234
  F: __dxlog_file12,
2233
- L: 237,
2235
+ L: 238,
2234
2236
  S: this,
2235
2237
  C: (f, a) => f(...a)
2236
2238
  });
2237
2239
  this._invitationFlowLock = await tryAcquireBeforeContextDisposed(this._ctx, this._invitationFlowMutex);
2238
2240
  log9("host lock acquired", void 0, {
2239
2241
  F: __dxlog_file12,
2240
- L: 239,
2242
+ L: 240,
2241
2243
  S: this,
2242
2244
  C: (f, a) => f(...a)
2243
2245
  });
@@ -2248,7 +2250,7 @@ var InvitationHostExtension = class extends RpcExtension2 {
2248
2250
  });
2249
2251
  log9("options sent", void 0, {
2250
2252
  F: __dxlog_file12,
2251
- L: 243,
2253
+ L: 244,
2252
2254
  S: this,
2253
2255
  C: (f, a) => f(...a)
2254
2256
  });
@@ -2257,7 +2259,7 @@ var InvitationHostExtension = class extends RpcExtension2 {
2257
2259
  }));
2258
2260
  log9("options received", void 0, {
2259
2261
  F: __dxlog_file12,
2260
- L: 245,
2262
+ L: 246,
2261
2263
  S: this,
2262
2264
  C: (f, a) => f(...a)
2263
2265
  });
@@ -2311,7 +2313,7 @@ var InvitationHostExtension = class extends RpcExtension2 {
2311
2313
  this._invitationFlowLock = null;
2312
2314
  log9("invitation flow lock released", void 0, {
2313
2315
  F: __dxlog_file12,
2314
- L: 300,
2316
+ L: 301,
2315
2317
  S: this,
2316
2318
  C: (f, a) => f(...a)
2317
2319
  });
@@ -4563,7 +4565,7 @@ import { Context as Context7, rejectOnDispose } from "@dxos/context";
4563
4565
  import { invariant as invariant14 } from "@dxos/invariant";
4564
4566
  import { PublicKey as PublicKey10 } from "@dxos/keys";
4565
4567
  import { log as log17 } from "@dxos/log";
4566
- import { schema as schema4 } from "@dxos/protocols";
4568
+ import { schema as schema4 } from "@dxos/protocols/proto";
4567
4569
  import { RpcExtension as RpcExtension3 } from "@dxos/teleport";
4568
4570
  import { ComplexMap as ComplexMap3, ComplexSet as ComplexSet4, entry } from "@dxos/util";
4569
4571
  var __dxlog_file20 = "/home/runner/work/dxos/dxos/packages/sdk/client-services/src/packlets/spaces/notarization-plugin.ts";
@@ -7895,4 +7897,4 @@ export {
7895
7897
  importProfileData,
7896
7898
  ClientServicesHost
7897
7899
  };
7898
- //# sourceMappingURL=chunk-DJUFNLVB.mjs.map
7900
+ //# sourceMappingURL=chunk-2LR2776X.mjs.map