minifetch-api 1.1.0 → 1.1.1
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/README.md +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -37,7 +37,7 @@ const client = new Minifetch({
|
|
|
37
37
|
|
|
38
38
|
try {
|
|
39
39
|
const url = "example.com";
|
|
40
|
-
const response = await client.
|
|
40
|
+
const response = await client.checkAndExtractUrlPreview(url);
|
|
41
41
|
// 200 "ok" responses will return the data and x402 payment info:
|
|
42
42
|
console.log("data: ", response.data);
|
|
43
43
|
console.log("payment info: ", response.payment);
|