@interop/was-client 0.100.0 → 0.100.1

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/WasClient.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { isValidTarget } from '@interop/zcap';
2
- import { canonicalContainerUrl, parseAbsoluteHttpUrl, parseSpaceTarget } from './internal/paths.js';
2
+ import { canonicalBaseServerUrl, canonicalContainerUrl, canonicalSpaceUrl, parseAbsoluteHttpUrl, parseSpaceTarget, serviceDescriptionUrl, spacesRepositoryUrl, spaceUrlById, splitCollectionUrl } from './internal/paths.js';
3
3
  import { send, rawRequest, unsignedRequest } from './internal/request.js';
4
4
  import { parseResource, readJsonData } from './internal/content.js';
5
5
  import { buildPageWalk, collectPages, collectWalk, signedPageWalk, walkItems, walkPagesOrEmpty } from './internal/pagination.js';
@@ -13,47 +13,34 @@ import { Space } from './Space.js';
13
13
  import { Collection } from './Collection.js';
14
14
  import { Resource } from './Resource.js';
15
15
  /**
16
- * Checks that `value` is an absolute `http(s)` URL and returns it as `URL`
17
- * serializes it, or throws.
18
- *
19
- * @param options {object}
20
- * @param options.name {string} the option's name, for the error
21
- * @param options.value {string}
22
- * @returns {string}
23
- * @throws {ValidationError}
16
+ * The module-private key under which {@link WasClient.forSpace} hands the
17
+ * constructor a Space URL in place of a base server URL. A `unique symbol`
18
+ * keeps that arm off the public constructor: a caller holding a Space URL goes
19
+ * through `forSpace`, which documents what such a client can and cannot do.
24
20
  */
25
- function absoluteHttpUrl({ name, value }) {
26
- const parsed = parseAbsoluteHttpUrl(value);
27
- if (parsed === null) {
28
- throw new ValidationError(`${name} "${value}" is not an absolute http(s) URL.`);
29
- }
30
- return parsed.toString();
31
- }
21
+ const fixedSpace = Symbol('WasClient.forSpace');
32
22
  export class WasClient {
33
23
  /**
34
- * The service description's URL, when the client was built from one. Read
35
- * directly by discovery.
24
+ * The base server URL the client was built from, in canonical form
25
+ * (trailing slash supplied): the URL under which the server lays out
26
+ * `service`, `spaces/` and `space/{space_id}/`. `undefined` for a client
27
+ * built by {@link WasClient.forSpace}, which has none.
36
28
  */
37
- serviceUrl;
29
+ baseServerUrl;
38
30
  /**
39
- * The Spaces Repository URL the client was built from, when it was built
40
- * from one, in canonical container form (trailing slash supplied).
41
- * Discovery probes it for the `service` link. The URL `createSpace` and
42
- * `listSpaces` address is the service description's `spaces` member, not
43
- * this value.
31
+ * The Space URL a client built by {@link WasClient.forSpace} was opened on,
32
+ * in canonical form. `undefined` for a client built from a base server URL.
44
33
  */
45
- spacesUrl;
34
+ spaceUrl;
46
35
  zcapClient;
47
36
  encryption;
48
37
  /**
49
38
  * @param options {object}
50
- * @param [options.serviceUrl] {string} the URL of the server's service
51
- * description. Discovery reads it with an unsigned `GET`. Exactly one of
52
- * `serviceUrl` and `spacesUrl` is given
53
- * @param [options.spacesUrl] {string} the server's Spaces Repository
54
- * URL, for a caller that holds that rather than the service URL.
55
- * Discovery sends an unsigned `HEAD` to it and follows the `service`
56
- * link every response carries
39
+ * @param options.baseServerUrl {string} the server's base server URL: an
40
+ * absolute http(s) URL with no query or fragment, under which the server
41
+ * serves `service`, `spaces/` and `space/{space_id}/`. A missing trailing
42
+ * slash is supplied. For a server that is one fixed Space with no base,
43
+ * use {@link WasClient.forSpace} instead
57
44
  * @param options.zcapClient {ZcapClient} an ezcap client holding the signer
58
45
  * @param [options.encryption] {EncryptionProvider} the keystore that
59
46
  * supplies keys for collections declared encrypted (by their `encryption`
@@ -66,32 +53,63 @@ export class WasClient {
66
53
  * description the caller already holds (from a cache, say). The client
67
54
  * selects its version from this copy instead of discovering the document,
68
55
  * and still refuses it with `IncompatibleServerError` if it names no
69
- * version this client speaks, or (for a client built from `serviceUrl`)
70
- * if its `url` is another server's service URL. `service({ refresh:
71
- * true })` discards it and discovers afresh.
72
- * @throws {ValidationError} when neither or both of `serviceUrl` and
73
- * `spacesUrl` are given, or the one given is not an absolute http(s) URL
56
+ * version this client speaks, or (for a client built from a base server
57
+ * URL) if it describes another server (see {@link service}).
58
+ * `service({ refresh: true })` discards it and discovers afresh.
59
+ * @throws {ValidationError} when `baseServerUrl` is not an absolute
60
+ * http(s) URL, or carries a query or fragment
74
61
  */
75
- constructor({ serviceUrl, spacesUrl, zcapClient, encryption, serviceDescription }) {
76
- if ((serviceUrl === undefined) === (spacesUrl === undefined)) {
77
- throw new ValidationError('A WasClient is built from exactly one of `serviceUrl` (the service ' +
78
- 'description URL) and `spacesUrl` (the Spaces Repository URL).');
79
- }
80
- if (serviceUrl !== undefined) {
81
- this.serviceUrl = absoluteHttpUrl({
82
- name: 'serviceUrl',
83
- value: serviceUrl
84
- });
62
+ constructor(options) {
63
+ if (fixedSpace in options) {
64
+ this.spaceUrl = canonicalSpaceUrl(options[fixedSpace]);
85
65
  }
86
66
  else {
87
- // Canonical container form, so the probe addresses the container
88
- // itself rather than its redirect, and `was.spacesUrl` reads the same
89
- // as the `spacesUrl` discovery reports for the same repository.
90
- this.spacesUrl = canonicalContainerUrl(absoluteHttpUrl({ name: 'spacesUrl', value: spacesUrl }));
67
+ this.baseServerUrl = canonicalBaseServerUrl(options.baseServerUrl);
91
68
  }
92
- this.zcapClient = zcapClient;
93
- this.encryption = encryption;
94
- this.#serviceDescription = serviceDescription;
69
+ this.zcapClient = options.zcapClient;
70
+ this.encryption = options.encryption;
71
+ this.#serviceDescription = options.serviceDescription;
72
+ }
73
+ /**
74
+ * Opens a client on a single fixed Space: a server that is one Space with
75
+ * no Space id and no base server URL (a personal site whose Collections are
76
+ * `https://alice.example/posts/`, `https://alice.example/images/`, ...).
77
+ * The service description is found by following the `service` link on an
78
+ * unsigned `HEAD` of the Space URL. The Space itself is
79
+ * `was.spaceAt(was.spaceUrl)`, and `collectionAt(url)` opens one of its
80
+ * Collections directly.
81
+ *
82
+ * Such a client has no base server URL, so `space(id)`, `createSpace()` and
83
+ * `listSpaces()` throw `NotSupportedError`. Everything Space-scoped
84
+ * (`spaceAt`, `collectionAt`, `fromCapability`, `grant`, `revoke`, the
85
+ * public reads) works as on any client. Whether the server lets a client
86
+ * create Collections is read from its `collection-management` feature
87
+ * token, as for every server.
88
+ *
89
+ * @param options {object}
90
+ * @param options.spaceUrl {string} the Space's absolute URL, which may be
91
+ * an origin root
92
+ * @param [options.zcapClient] {ZcapClient} an ezcap client holding the
93
+ * signer; one of `zcapClient` and `signer` is given
94
+ * @param [options.signer] {ISigner} a signer to build the `ZcapClient`
95
+ * from, as {@link fromSigner} does
96
+ * @param [options.encryption] {EncryptionProvider} see the constructor
97
+ * @param [options.serviceDescription] {ServiceDescription} see the
98
+ * constructor; not checked against the Space URL, which names no server
99
+ * @returns {WasClient}
100
+ * @throws {ValidationError} when `spaceUrl` is not a Space URL, or neither
101
+ * or both of `zcapClient` and `signer` are given
102
+ */
103
+ static forSpace({ spaceUrl, zcapClient, signer, encryption, serviceDescription }) {
104
+ if ((zcapClient === undefined) === (signer === undefined)) {
105
+ throw new ValidationError('WasClient.forSpace takes exactly one of `zcapClient` and `signer`.');
106
+ }
107
+ return new WasClient({
108
+ [fixedSpace]: spaceUrl,
109
+ zcapClient: zcapClient ?? zcapClientForSigner({ signer: signer }),
110
+ encryption,
111
+ serviceDescription
112
+ });
95
113
  }
96
114
  /**
97
115
  * Convenience constructor that builds the ezcap `ZcapClient` internally from
@@ -103,17 +121,16 @@ export class WasClient {
103
121
  * and never needs a JSON-LD document loader to serve the suite's context.
104
122
  *
105
123
  * @param options {object}
106
- * @param [options.serviceUrl] {string} see the constructor
107
- * @param [options.spacesUrl] {string} see the constructor
124
+ * @param options.baseServerUrl {string} see the constructor
108
125
  * @param options.signer {ISigner}
109
126
  * @param [options.encryption] {EncryptionProvider} see the constructor
110
127
  * @param [options.serviceDescription] {ServiceDescription} see the
111
128
  * constructor
112
129
  * @returns {WasClient}
113
130
  */
114
- static fromSigner({ signer, encryption, serviceDescription, ...locator }) {
131
+ static fromSigner({ baseServerUrl, signer, encryption, serviceDescription }) {
115
132
  return new WasClient({
116
- ...locator,
133
+ baseServerUrl,
117
134
  zcapClient: zcapClientForSigner({ signer }),
118
135
  encryption,
119
136
  serviceDescription
@@ -134,46 +151,71 @@ export class WasClient {
134
151
  }
135
152
  #serviceDescription;
136
153
  #service = new Memo(async () => {
154
+ let info;
137
155
  if (this.#serviceDescription !== undefined) {
138
- const info = selectServiceVersion(this.#serviceDescription);
139
- this.#assertDescribesThisServer(info);
140
- return info;
156
+ info = selectServiceVersion(this.#serviceDescription);
141
157
  }
142
- return this.serviceUrl !== undefined
143
- ? readServiceDescription({ serviceUrl: this.serviceUrl })
144
- : discoverService({ url: this.spacesUrl });
158
+ else if (this.baseServerUrl !== undefined) {
159
+ info = await readServiceDescription({
160
+ serviceUrl: serviceDescriptionUrl({
161
+ baseServerUrl: this.baseServerUrl
162
+ })
163
+ });
164
+ }
165
+ else {
166
+ info = await discoverService({ url: this.spaceUrl });
167
+ }
168
+ this.#assertDescribesThisServer(info);
169
+ return info;
145
170
  });
146
171
  /**
147
- * Refuses a caller-supplied service description of another server than
148
- * the one this client was built for: a cache entry keyed wrongly, or kept
149
- * across deployments, would otherwise route `createSpace` and `listSpaces`
150
- * to the other server's Spaces Repository. A server is identified by its
151
- * service URL, so the description's `url` must be the `serviceUrl` given.
152
- * A client built from `spacesUrl` names no service URL and is not checked;
153
- * nor is a discovered description, which came from the server named.
172
+ * Refuses a service description that does not describe the server at this
173
+ * client's base server URL: its `url` must be `{base}service` and its
174
+ * `spaces` member, when present, `{base}spaces/`. A caller-supplied copy
175
+ * keyed wrongly or kept across deployments, or a base that names a
176
+ * different mount than the server's, would otherwise fail later with a 404
177
+ * deep in a Space; refusing here names both values. A client built by
178
+ * {@link forSpace} has no base and is not checked.
154
179
  *
155
180
  * @param info {ServiceInfo}
156
181
  * @throws {IncompatibleServerError}
157
182
  */
158
183
  #assertDescribesThisServer(info) {
159
- if (this.serviceUrl === undefined) {
184
+ if (this.baseServerUrl === undefined) {
185
+ return;
186
+ }
187
+ const expectedUrl = serviceDescriptionUrl({
188
+ baseServerUrl: this.baseServerUrl
189
+ });
190
+ const describedUrl = parseAbsoluteHttpUrl(info.description.url)?.toString();
191
+ if (describedUrl !== expectedUrl) {
192
+ throw new IncompatibleServerError(`The service description names itself "${info.description.url}", ` +
193
+ `but the base server URL "${this.baseServerUrl}" places it at ` +
194
+ `"${expectedUrl}".`);
195
+ }
196
+ if (info.spacesUrl === undefined) {
160
197
  return;
161
198
  }
162
- const described = parseAbsoluteHttpUrl(info.description.url)?.toString();
163
- if (described !== this.serviceUrl) {
164
- throw new IncompatibleServerError(`The service description given is of ` +
165
- `"${info.description.url}", but this client was built for ` +
166
- `"${this.serviceUrl}".`);
199
+ const expectedSpaces = spacesRepositoryUrl({
200
+ baseServerUrl: this.baseServerUrl
201
+ });
202
+ // `selectServiceVersion` stores `spacesUrl` in canonical container form.
203
+ if (info.spacesUrl !== expectedSpaces) {
204
+ throw new IncompatibleServerError(`The service description names the Spaces Repository ` +
205
+ `"${info.spacesUrl}", but the base server URL ` +
206
+ `"${this.baseServerUrl}" places it at "${expectedSpaces}".`);
167
207
  }
168
208
  }
169
209
  /**
170
- * Discovers the server's service description and the WAS version this
171
- * client speaks with it. A client built from `serviceUrl` reads the document
172
- * with an unsigned `GET`; one built from `spacesUrl` first follows the
173
- * `rel="service"` link on the response to an unsigned `HEAD` of that URL.
174
- * No capability is invoked. The result is memoized for the life of the
175
- * client and shared by every handle; concurrent callers share one
176
- * discovery, and a failure is not memoized, so the next call retries.
210
+ * Reads the server's service description and selects the WAS version this
211
+ * client speaks with it. A client built from a base server URL reads
212
+ * `{base}service` with an unsigned `GET` and checks that the document
213
+ * describes that base (its `url` and `spaces` members agree with the
214
+ * layout); one built by {@link forSpace} follows the `rel="service"` link on
215
+ * the response to an unsigned `HEAD` of the Space URL. No capability is
216
+ * invoked. The result is memoized for the life of the client and shared by
217
+ * every handle; concurrent callers share one discovery, and a failure is
218
+ * not memoized, so the next call retries.
177
219
  *
178
220
  * Every signed request waits on this discovery, so a caller rarely needs to
179
221
  * call it first. It is the way to read the server-wide affordances:
@@ -191,7 +233,8 @@ export class WasClient {
191
233
  * @returns {Promise<ServiceInfo>}
192
234
  * @throws {IncompatibleServerError} when the probed response carries no
193
235
  * `service` link (the server predates v0.5), the document is malformed,
194
- * or it lists no version this client speaks
236
+ * it lists no version this client speaks, or it does not describe the
237
+ * server at this client's base server URL
195
238
  */
196
239
  async service(options = {}) {
197
240
  if (options.refresh) {
@@ -201,14 +244,32 @@ export class WasClient {
201
244
  return this.#service.get();
202
245
  }
203
246
  /**
204
- * Waits for discovery and returns the Spaces Repository URL the service
205
- * description names, refusing a server whose description has none.
247
+ * The base server URL, or the `NotSupportedError` a client built by
248
+ * {@link forSpace} throws from every id-addressed operation.
206
249
  *
250
+ * @param operation {string} the operation's name, for the error
251
+ * @returns {string}
252
+ * @throws {NotSupportedError}
253
+ */
254
+ #requireBase(operation) {
255
+ if (this.baseServerUrl === undefined) {
256
+ throw new NotSupportedError(`${operation} needs a base server URL, and this client was opened ` +
257
+ `on the single fixed Space "${this.spaceUrl}", which has none.`);
258
+ }
259
+ return this.baseServerUrl;
260
+ }
261
+ /**
262
+ * The Spaces Repository URL the service description names, which the
263
+ * layout check in discovery has already confirmed is `{base}spaces/`
264
+ * (every signed request waits on discovery anyway).
265
+ *
266
+ * @param operation {string} the operation's name, for the error
207
267
  * @returns {Promise<string>}
208
- * @throws {NotSupportedError} when the server does not implement the
209
- * Spaces Repository
268
+ * @throws {NotSupportedError} when the client has no base server URL, or
269
+ * the server does not implement the Spaces Repository
210
270
  */
211
- async #spacesRepositoryUrl() {
271
+ async #spacesRepositoryUrl(operation) {
272
+ this.#requireBase(operation);
212
273
  const { spacesUrl, version, description } = await this.service();
213
274
  if (spacesUrl === undefined) {
214
275
  throw new NotSupportedError(`The server at "${description.url}" does not implement the Spaces ` +
@@ -265,13 +326,71 @@ export class WasClient {
265
326
  encryption: options.encryption
266
327
  });
267
328
  }
329
+ /**
330
+ * Returns a lazy handle to the Space with id `spaceId` on this client's
331
+ * server, at `{base}space/{spaceId}/` as the spec's Server Layout places
332
+ * it. No I/O. The same handle as `spaceAt` opened on that URL; the Space
333
+ * need not exist yet (`space.configure(...)` with `ifNoneMatch` creates it
334
+ * by id).
335
+ *
336
+ * @param spaceId {string}
337
+ * @param options {object}
338
+ * @param [options.capability] {IZcap}
339
+ * @param [options.encryption] {EncryptionOverride} see {@link spaceAt}
340
+ * @returns {Space}
341
+ * @throws {NotSupportedError} on a client built by {@link forSpace}, which
342
+ * has no base server URL
343
+ * @throws {ValidationError} when `spaceId` is empty or a dot segment
344
+ */
345
+ space(spaceId, options = {}) {
346
+ const baseServerUrl = this.#requireBase('space(id)');
347
+ return this.spaceAt(spaceUrlById({ baseServerUrl, spaceId }), options);
348
+ }
349
+ /**
350
+ * Returns a lazy handle to a Collection by its absolute URL: the parent
351
+ * container is its Space and the last segment its id, so the handle is
352
+ * what `spaceAt(parent).collection(id)` would produce. No I/O. The direct
353
+ * route for a single fixed Space, where a caller typically holds the
354
+ * Collection URLs (`https://alice.example/posts/`) and nothing else.
355
+ *
356
+ * @param collectionUrl {string}
357
+ * @param options {object}
358
+ * @param [options.capability] {IZcap}
359
+ * @param [options.encryption] {EncryptionOverride}
360
+ * @returns {Collection}
361
+ * @throws {ValidationError} when `collectionUrl` is not a Collection URL
362
+ * (no path segment beneath its origin, a query or fragment), its last
363
+ * segment is a reserved Collection id, or it is not in canonical form
364
+ * (so the handle's requests would address a different URL)
365
+ */
366
+ collectionAt(collectionUrl, options = {}) {
367
+ const { spaceUrl, collectionId } = splitCollectionUrl(collectionUrl);
368
+ const handle = new Collection({
369
+ context: this.#context,
370
+ spaceUrl,
371
+ collectionId,
372
+ capability: options.capability,
373
+ encryption: options.encryption
374
+ });
375
+ // The handle re-encodes the decoded id, so a URL whose last segment is
376
+ // serialized differently (`%21` for `!`, lower-case hex) would build a
377
+ // handle at another URL: one a bound capability does not cover, and
378
+ // whose root capability id the server never minted. Refuse it, by name,
379
+ // as `fromCapability` does for a non-canonical target.
380
+ const expected = canonicalContainerUrl(collectionUrl);
381
+ if (handle.url !== expected) {
382
+ throw new ValidationError(`"${collectionUrl}" is not in canonical form: the handle would ` +
383
+ `address "${handle.url}" instead.`);
384
+ }
385
+ return handle;
386
+ }
268
387
  /**
269
388
  * Creates a space (server-generated id unless `id` is given). `name` is
270
389
  * optional (both in the spec and on the reference server); `controller` must
271
390
  * match the wrapped signer's DID (which is the default). The request goes
272
- * to the Spaces Repository URL the service description names, and the
273
- * returned handle is opened on the Space URL the response's `Location`
274
- * names: the server chooses where the Space lives.
391
+ * to the Spaces Repository, `{base}spaces/`, and the returned handle is
392
+ * opened on the Space URL the response's `Location` names, as the server
393
+ * states it.
275
394
  *
276
395
  * @param desc {object}
277
396
  * @param [desc.id] {string}
@@ -282,7 +401,8 @@ export class WasClient {
282
401
  * 'Space']`). The server defaults it to `['Space']` and treats it as
283
402
  * immutable after creation
284
403
  * @returns {Promise<Space>}
285
- * @throws {NotSupportedError} when the server has no Spaces Repository
404
+ * @throws {NotSupportedError} when the server has no Spaces Repository, or
405
+ * the client was built by {@link forSpace}
286
406
  * @throws {WasServerError} when the create response carries no `Location`
287
407
  */
288
408
  async createSpace(desc = {}) {
@@ -293,7 +413,7 @@ export class WasClient {
293
413
  ...(desc.name !== undefined && { name: desc.name }),
294
414
  ...(desc.type !== undefined && { type: desc.type })
295
415
  };
296
- const spacesUrl = await this.#spacesRepositoryUrl();
416
+ const spacesUrl = await this.#spacesRepositoryUrl('createSpace');
297
417
  const response = await send(this.#context, {
298
418
  url: spacesUrl,
299
419
  method: 'POST',
@@ -328,11 +448,12 @@ export class WasClient {
328
448
  * `totalItems` counts the collected items.
329
449
  *
330
450
  * @returns {Promise<SpaceListing>}
331
- * @throws {NotSupportedError} when the server has no Spaces Repository
451
+ * @throws {NotSupportedError} when the server has no Spaces Repository, or
452
+ * the client was built by {@link forSpace}
332
453
  * @throws {WasServerError} when the listing cannot be read in full
333
454
  */
334
455
  async listSpaces() {
335
- const spacesUrl = await this.#spacesRepositoryUrl();
456
+ const spacesUrl = await this.#spacesRepositoryUrl('listSpaces');
336
457
  const walk = await signedPageWalk(this.#context, {
337
458
  firstUrl: spacesUrl
338
459
  });
@@ -1 +1 @@
1
- {"version":3,"file":"WasClient.js","sourceRoot":"","sources":["../src/WasClient.ts"],"names":[],"mappings":"AAoBA,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAA;AAG7C,OAAO,EACL,qBAAqB,EACrB,oBAAoB,EACpB,gBAAgB,EACjB,MAAM,qBAAqB,CAAA;AAE5B,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAA;AACzE,OAAO,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAA;AACnE,OAAO,EACL,aAAa,EACb,YAAY,EACZ,WAAW,EACX,cAAc,EACd,SAAS,EACT,gBAAgB,EACjB,MAAM,0BAA0B,CAAA;AAEjC,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAA;AACnD,OAAO,EAAE,UAAU,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAA;AACnE,OAAO,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAA;AACzC,OAAO,EACL,eAAe,EACf,sBAAsB,EACtB,oBAAoB,EACrB,MAAM,uBAAuB,CAAA;AAC9B,OAAO,EACL,uBAAuB,EACvB,iBAAiB,EACjB,eAAe,EACf,cAAc,EACf,MAAM,aAAa,CAAA;AACpB,OAAO,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAA;AAErD,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAA;AAClC,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAC5C,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAA;AAyBxC;;;;;;;;;GASG;AACH,SAAS,eAAe,CAAC,EACvB,IAAI,EACJ,KAAK,EAIN;IACC,MAAM,MAAM,GAAG,oBAAoB,CAAC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E,MAAM;YAC5B,sBAAsB,EAAE,IAAI;SAC7B,CAAC,EACF,CAAC;YACD,MAAM,IAAI,eAAe,CACvB,qBAAqB,MAAM,yCAAyC;gBAClE,kBAAkB,MAAM,CAAC,GAAG,yCAAyC,CACxE,CAAA;QACH,CAAC;QACD,OAAO,MAAM,CAAA;IACf,CAAC;IAED;;;;;;;;;;;;;OAaG;IACH,KAAK,CAAC,KAAK,CAAC,OAAqB;QAC/B,OAAO,aAAa,CAAC,IAAI,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAA;IAC9C,CAAC;IAED;;;;;;;;;;;;;;;;OAgBG;IACH,KAAK,CAAC,MAAM,CAAC,IAAoB;QAC/B,OAAO,gBAAgB,CAAC,IAAI,CAAC,QAAQ,EAAE;YACrC,QAAQ,EAAE,UAAU,CAAC,IAAI,CAAC;YAC1B,IAAI;SACL,CAAC,CAAA;IACJ,CAAC;IAED;;;;;;;;;;;OAWG;IACH,KAAK,CAAC,OAAO,CAAC,OAAqB;QACjC,OAAO,UAAU,CAAC,IAAI,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAA;IAC3C,CAAC;CACF"}
package/dist/index.d.ts CHANGED
@@ -6,7 +6,6 @@
6
6
  * navigational handles, the typed error hierarchy, and the shared types.
7
7
  */
8
8
  export { WasClient } from './WasClient.js';
9
- export type { ServerLocator } from './WasClient.js';
10
9
  export { Space } from './Space.js';
11
10
  export { Collection } from './Collection.js';
12
11
  export { Resource } from './Resource.js';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;;GAGG;AACH,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAA;AAC1C,YAAY,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAA;AACnD,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAA;AAClC,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAC5C,OAAO,EA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AEnB,YAAY,EACV,IAAI,EACJ,aAAa,EACb,UAAU,EACV,SAAS,EACT,YAAY,EACZ,MAAM,EACN,WAAW,EACX,cAAc,EACd,iBAAiB,EACjB,WAAW,EACX,uBAAuB,EACvB,oBAAoB,EACpB,sBAAsB,EACtB,aAAa,EACb,wBAAwB,EACxB,oBAAoB,EACpB,yBAAyB,EACzB,6BAA6B,EAC7B,wBAAwB,EACxB,kBAAkB,EAClB,iBAAiB,EACjB,0BAA0B,EAC1B,eAAe,EACf,YAAY,EACZ,YAAY,EACZ,eAAe,EACf,uBAAuB,EACvB,gBAAgB,EAChB,sBAAsB,EACtB,2BAA2B,EAC3B,kBAAkB,EAClB,mBAAmB,EACnB,SAAS,EACT,QAAQ,EACR,WAAW,EACX,cAAc,EACd,eAAe,EACf,OAAO,EACP,YAAY,EACZ,aAAa,EACb,kBAAkB,EAClB,gBAAgB,EAChB,iBAAiB,EACjB,mBAAmB,EACnB,sBAAsB,EACtB,uBAAuB,EACvB,YAAY,EACZ,eAAe,EACf,YAAY,EACZ,gBAAgB,EAChB,mBAAmB,EACnB,cAAc,EACd,WAAW,EACX,cAAc,EACd,aAAa,EACb,uBAAuB,EACvB,kBAAkB,EAClB,UAAU,EACV,kBAAkB,EAClB,8BAA8B,EAC9B,eAAe,EACf,WAAW,EACX,YAAY,EACZ,YAAY,EACZ,KAAK,EACL,cAAc,EACd,SAAS,EACT,IAAI,EACJ,OAAO,EACR,MAAM,YAAY,CAAA;AAEnB;;;;GAIG;AACH,YAAY,EAAE,qBAAqB,EAAE,MAAM,2BAA2B,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;;GAGG;AACH,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAA;AAC1C,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAA;AAClC,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAC5C,OAAO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A;AAEnB,YAAY,EACV,IAAI,EACJ,aAAa,EACb,UAAU,EACV,SAAS,EACT,YAAY,EACZ,MAAM,EACN,WAAW,EACX,cAAc,EACd,iBAAiB,EACjB,WAAW,EACX,uBAAuB,EACvB,oBAAoB,EACpB,sBAAsB,EACtB,aAAa,EACb,wBAAwB,EACxB,oBAAoB,EACpB,yBAAyB,EACzB,6BAA6B,EAC7B,wBAAwB,EACxB,kBAAkB,EAClB,iBAAiB,EACjB,0BAA0B,EAC1B,eAAe,EACf,YAAY,EACZ,YAAY,EACZ,eAAe,EACf,uBAAuB,EACvB,gBAAgB,EAChB,sBAAsB,EACtB,2BAA2B,EAC3B,kBAAkB,EAClB,mBAAmB,EACnB,SAAS,EACT,QAAQ,EACR,WAAW,EACX,cAAc,EACd,eAAe,EACf,OAAO,EACP,YAAY,EACZ,aAAa,EACb,kBAAkB,EAClB,gBAAgB,EAChB,iBAAiB,EACjB,mBAAmB,EACnB,sBAAsB,EACtB,uBAAuB,EACvB,YAAY,EACZ,eAAe,EACf,YAAY,EACZ,gBAAgB,EAChB,mBAAmB,EACnB,cAAc,EACd,WAAW,EACX,cAAc,EACd,aAAa,EACb,uBAAuB,EACvB,kBAAkB,EAClB,UAAU,EACV,kBAAkB,EAClB,8BAA8B,EAC9B,eAAe,EACf,WAAW,EACX,YAAY,EACZ,YAAY,EACZ,KAAK,EACL,cAAc,EACd,SAAS,EACT,IAAI,EACJ,OAAO,EACR,MAAM,YAAY,CAAA;AAEnB;;;;GAIG;AACH,YAAY,EAAE,qBAAqB,EAAE,MAAM,2BAA2B,CAAA"}
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;;GAGG;AACH,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAA;AAE1C,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAA;AAClC,OAAO,EAAE,UAAU,EAAE,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