@sjawhar/pi-legion-envoy 1.7.0 → 1.8.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/dist/envoy.js +3 -0
- package/dist/legion.js +3 -0
- package/package.json +1 -1
package/dist/envoy.js
CHANGED
|
@@ -31584,6 +31584,9 @@ class DispatchClient {
|
|
|
31584
31584
|
async docRead(id, version) {
|
|
31585
31585
|
return version === undefined ? this.#json("GET", ["api", "v1", "artifacts", id, "text"]) : this.#json("GET", ["api", "v1", "artifacts", id, "versions", String(version)]);
|
|
31586
31586
|
}
|
|
31587
|
+
async artifactBlocks(id) {
|
|
31588
|
+
return this.#json("GET", ["api", "v1", "artifacts", id, "blocks"]);
|
|
31589
|
+
}
|
|
31587
31590
|
async docEdit(id, input) {
|
|
31588
31591
|
return this.#json("POST", ["api", "v1", "artifacts", id, "edits"], input);
|
|
31589
31592
|
}
|
package/dist/legion.js
CHANGED
|
@@ -32010,6 +32010,9 @@ class DispatchClient {
|
|
|
32010
32010
|
async docRead(id, version) {
|
|
32011
32011
|
return version === undefined ? this.#json("GET", ["api", "v1", "artifacts", id, "text"]) : this.#json("GET", ["api", "v1", "artifacts", id, "versions", String(version)]);
|
|
32012
32012
|
}
|
|
32013
|
+
async artifactBlocks(id) {
|
|
32014
|
+
return this.#json("GET", ["api", "v1", "artifacts", id, "blocks"]);
|
|
32015
|
+
}
|
|
32013
32016
|
async docEdit(id, input) {
|
|
32014
32017
|
return this.#json("POST", ["api", "v1", "artifacts", id, "edits"], input);
|
|
32015
32018
|
}
|