@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.
- package/dist/client/index.cjs +3 -1
- package/dist/client/index.cjs.map +1 -1
- package/dist/client/index.js +3 -1
- package/dist/client/index.js.map +1 -1
- package/dist/conformance/cli.cjs +6 -6
- package/dist/conformance/cli.cjs.map +1 -1
- package/dist/conformance/cli.js +6 -6
- package/dist/conformance/cli.js.map +1 -1
- package/dist/identity/index.cjs.map +1 -1
- package/dist/identity/index.js.map +1 -1
- package/dist/index.cjs +9 -7
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +9 -7
- package/dist/index.js.map +1 -1
- package/dist/verifier/index.cjs +6 -6
- package/dist/verifier/index.cjs.map +1 -1
- package/dist/verifier/index.js +6 -6
- package/dist/verifier/index.js.map +1 -1
- package/package.json +3 -3
package/dist/client/index.cjs
CHANGED
|
@@ -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(
|
|
3463
|
+
body: JSON.stringify(body)
|
|
3462
3464
|
}
|
|
3463
3465
|
);
|
|
3464
3466
|
await throwIfNotOk(response);
|