@interop/was-client 0.100.1 → 0.102.0
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/README.md +44 -11
- package/dist/Collection.d.ts +21 -5
- package/dist/Collection.d.ts.map +1 -1
- package/dist/Collection.js +38 -31
- package/dist/Collection.js.map +1 -1
- package/dist/Space.d.ts +94 -22
- package/dist/Space.d.ts.map +1 -1
- package/dist/Space.js +162 -79
- package/dist/Space.js.map +1 -1
- package/dist/WasClient.d.ts +5 -5
- package/dist/WasClient.d.ts.map +1 -1
- package/dist/WasClient.js +7 -8
- package/dist/WasClient.js.map +1 -1
- package/dist/edv/EdvCodec.d.ts.map +1 -1
- package/dist/edv/EdvCodec.js +7 -4
- package/dist/edv/EdvCodec.js.map +1 -1
- package/dist/edv/docCipher.js +2 -2
- package/dist/edv/docCipher.js.map +1 -1
- package/dist/edv/logGovernedDescriptorStore.d.ts +6 -1
- package/dist/edv/logGovernedDescriptorStore.d.ts.map +1 -1
- package/dist/edv/logGovernedDescriptorStore.js +68 -43
- package/dist/edv/logGovernedDescriptorStore.js.map +1 -1
- package/dist/internal/codec.d.ts +11 -1
- package/dist/internal/codec.d.ts.map +1 -1
- package/dist/internal/codec.js +11 -1
- package/dist/internal/codec.js.map +1 -1
- package/dist/internal/describe.d.ts +6 -0
- package/dist/internal/describe.d.ts.map +1 -1
- package/dist/internal/describe.js +18 -1
- package/dist/internal/describe.js.map +1 -1
- package/dist/internal/grant.js +1 -1
- package/dist/internal/grant.js.map +1 -1
- package/dist/internal/indexSchema.d.ts +19 -4
- package/dist/internal/indexSchema.d.ts.map +1 -1
- package/dist/internal/indexSchema.js +33 -6
- package/dist/internal/indexSchema.js.map +1 -1
- package/dist/internal/pagination.d.ts.map +1 -1
- package/dist/internal/pagination.js +2 -2
- package/dist/internal/pagination.js.map +1 -1
- package/dist/internal/paths.d.ts +21 -8
- package/dist/internal/paths.d.ts.map +1 -1
- package/dist/internal/paths.js +36 -13
- package/dist/internal/paths.js.map +1 -1
- package/dist/internal/request.d.ts +47 -14
- package/dist/internal/request.d.ts.map +1 -1
- package/dist/internal/request.js +64 -44
- package/dist/internal/request.js.map +1 -1
- package/dist/internal/revoke.d.ts +1 -65
- package/dist/internal/revoke.d.ts.map +1 -1
- package/dist/internal/revoke.js +5 -136
- package/dist/internal/revoke.js.map +1 -1
- package/dist/internal/rootCapability.d.ts +66 -0
- package/dist/internal/rootCapability.d.ts.map +1 -0
- package/dist/internal/rootCapability.js +144 -0
- package/dist/internal/rootCapability.js.map +1 -0
- package/dist/internal/withCodec.d.ts +19 -4
- package/dist/internal/withCodec.d.ts.map +1 -1
- package/dist/internal/withCodec.js +18 -2
- package/dist/internal/withCodec.js.map +1 -1
- package/dist/internal/write.js +13 -9
- package/dist/internal/write.js.map +1 -1
- package/dist/paths.d.ts +5 -3
- package/dist/paths.d.ts.map +1 -1
- package/dist/paths.js +5 -3
- package/dist/paths.js.map +1 -1
- package/package.json +3 -3
package/dist/paths.js
CHANGED
|
@@ -23,7 +23,9 @@
|
|
|
23
23
|
* re-deriving rules that must match the server's `allowedTarget` byte for
|
|
24
24
|
* byte. Exporting the builders instead is what keeps that from happening. A
|
|
25
25
|
* container's description lives at its `meta` segment (`spaceMetaUrl`,
|
|
26
|
-
* `collectionMetaUrl`) instead of at the container URL.
|
|
26
|
+
* `collectionMetaUrl`) instead of at the container URL. `spaceReplicasUrl`
|
|
27
|
+
* and `replicaRegistrationUrl` form the replicas route and one registration
|
|
28
|
+
* beneath it, for a consumer minting a grant on that route.
|
|
27
29
|
*
|
|
28
30
|
* `parseSpaceTarget` is the inverse grammar (an absolute URL back to the
|
|
29
31
|
* containment depth it addresses beneath a Space), `spaceUrlOf` reads the
|
|
@@ -40,7 +42,7 @@
|
|
|
40
42
|
* Kept off the core entry so a consumer opts in; every export here is a pure
|
|
41
43
|
* function with no I/O and no client state.
|
|
42
44
|
*/
|
|
43
|
-
export { canonicalBaseServerUrl, serviceDescriptionUrl, spacesRepositoryUrl, spaceUrlById, baseServerUrlOf, splitCollectionUrl, canonicalSpaceUrl, spaceIdOfUrl, spaceMetaUrl, collectionUrl, collectionMetaUrl, collectionLogUrl, collectionQueryUrl, resourceUrl, resourceMetaUrl, parseSpaceTarget } from './internal/paths.js';
|
|
45
|
+
export { canonicalBaseServerUrl, serviceDescriptionUrl, spacesRepositoryUrl, spaceUrlById, baseServerUrlOf, splitCollectionUrl, canonicalSpaceUrl, spaceIdOfUrl, spaceMetaUrl, collectionUrl, collectionMetaUrl, collectionLogUrl, collectionQueryUrl, resourceUrl, resourceMetaUrl, spaceReplicasUrl, replicaRegistrationUrl, parseSpaceTarget } from './internal/paths.js';
|
|
44
46
|
export { isReservedCollectionId, isReservedResourceId } from './internal/reserved.js';
|
|
45
|
-
export { rootCapabilityId, rootCapabilityTarget, rootCapability, spaceUrlOf } from './internal/
|
|
47
|
+
export { rootCapabilityId, rootCapabilityTarget, rootCapability, spaceUrlOf } from './internal/rootCapability.js';
|
|
46
48
|
//# sourceMappingURL=paths.js.map
|
package/dist/paths.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"paths.js","sourceRoot":"","sources":["../src/paths.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH
|
|
1
|
+
{"version":3,"file":"paths.js","sourceRoot":"","sources":["../src/paths.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;AACH,OAAO,EACL,sBAAsB,EACtB,qBAAqB,EACrB,mBAAmB,EACnB,YAAY,EACZ,eAAe,EACf,kBAAkB,EAClB,iBAAiB,EACjB,YAAY,EACZ,YAAY,EACZ,aAAa,EACb,iBAAiB,EACjB,gBAAgB,EAChB,kBAAkB,EAClB,WAAW,EACX,eAAe,EACf,gBAAgB,EAChB,sBAAsB,EACtB,gBAAgB,EACjB,MAAM,qBAAqB,CAAA;AAC5B,OAAO,EACL,sBAAsB,EACtB,oBAAoB,EACrB,MAAM,wBAAwB,CAAA;AAG/B,OAAO,EACL,gBAAgB,EAChB,oBAAoB,EACpB,cAAc,EACd,UAAU,EACX,MAAM,8BAA8B,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@interop/was-client",
|
|
3
3
|
"description": "A developer-friendly client for Wallet Attached Storage (WAS) servers.",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.102.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"build": "pnpm run clear && tsc",
|
|
@@ -87,8 +87,8 @@
|
|
|
87
87
|
"@interop/ezcap": "^7.5.4",
|
|
88
88
|
"@interop/http-client": "^1.0.5",
|
|
89
89
|
"@interop/minimal-cipher": "^7.11.1",
|
|
90
|
-
"@interop/storage-core": "^0.
|
|
91
|
-
"@interop/vh-resource-log": "^0.
|
|
90
|
+
"@interop/storage-core": "^0.43.0",
|
|
91
|
+
"@interop/vh-resource-log": "^0.10.1",
|
|
92
92
|
"@interop/x25519-key-agreement-key": "^5.4.3",
|
|
93
93
|
"@interop/zcap": "^11.4.0",
|
|
94
94
|
"@noble/hashes": "^2.3.0",
|