@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.
@@ -3431,12 +3431,14 @@ var RecordsNamespace = class {
3431
3431
  * affected claims report `not_checked`.
3432
3432
  */
3433
3433
  async verify(txHash, input) {
3434
+ const body = {};
3435
+ if (input?.fetch_content !== void 0) body.fetch_content = input.fetch_content;
3434
3436
  const response = await this.config.fetch(
3435
3437
  `${this.config.baseUrl}/api/v1/records/${encodeURIComponent(txHash)}/verify`,
3436
3438
  {
3437
3439
  method: "POST",
3438
3440
  headers: buildHeaders2(this.config.apiKey),
3439
- body: JSON.stringify(input ?? {})
3441
+ body: JSON.stringify(body)
3440
3442
  }
3441
3443
  );
3442
3444
  await throwIfNotOk(response);