@seed-hypermedia/client 0.0.30 → 0.0.31

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.
Files changed (2) hide show
  1. package/dist/index.mjs +3 -2
  2. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -473,14 +473,15 @@ function createSeedClient(baseUrl, options) {
473
473
  });
474
474
  return;
475
475
  }
476
- const { unsignedChange } = await request("PrepareDocumentChange", {
476
+ const prepareInput = {
477
477
  account: input.account,
478
478
  path: input.path,
479
479
  baseVersion: input.baseVersion,
480
480
  changes: input.changes,
481
481
  capability: input.capability,
482
482
  visibility: input.visibility
483
- });
483
+ };
484
+ const { unsignedChange } = await request("PrepareDocumentChange", prepareInput);
484
485
  const { publishInput } = await signDocumentChange(
485
486
  {
486
487
  account: input.account,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seed-hypermedia/client",
3
- "version": "0.0.30",
3
+ "version": "0.0.31",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/seed-hypermedia/seed",