@cardanowall/sdk-ts 0.5.0 → 0.6.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.
@@ -3453,12 +3453,14 @@ var RecordsNamespace = class {
3453
3453
  * affected claims report `not_checked`.
3454
3454
  */
3455
3455
  async verify(txHash, input) {
3456
+ const body = {};
3457
+ if (input?.fetch_content !== void 0) body.fetch_content = input.fetch_content;
3456
3458
  const response = await this.config.fetch(
3457
3459
  `${this.config.baseUrl}/api/v1/records/${encodeURIComponent(txHash)}/verify`,
3458
3460
  {
3459
3461
  method: "POST",
3460
3462
  headers: buildHeaders2(this.config.apiKey),
3461
- body: JSON.stringify(input ?? {})
3463
+ body: JSON.stringify(body)
3462
3464
  }
3463
3465
  );
3464
3466
  await throwIfNotOk(response);