@seedprotocol/feed 0.7.11 → 0.7.12-next.1426.g717a66b
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 +3 -3
- package/dist/getFeedItems.d.ts.map +1 -1
- package/dist/index.js +261 -253
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -59,16 +59,16 @@ import { initializeFeedPlatform } from '@seedprotocol/feed'
|
|
|
59
59
|
await initializeFeedPlatform({ arweaveDomain: 'arweave.net' })
|
|
60
60
|
```
|
|
61
61
|
|
|
62
|
-
When unset, the default primary gateway is `
|
|
62
|
+
When unset, the default primary gateway is `arweave.net`.
|
|
63
63
|
|
|
64
64
|
**Read fallbacks** (image metadata probing, gateway health checks) use additional public gateways. To override the fallback list:
|
|
65
65
|
|
|
66
66
|
- `ARWEAVE_READ_GATEWAYS` or `NEXT_PUBLIC_ARWEAVE_READ_GATEWAYS` — comma-separated hostnames
|
|
67
67
|
- `IMAGE_METADATA_GATEWAYS` — comma-separated hostnames for RSS image dimension detection
|
|
68
68
|
|
|
69
|
-
|
|
69
|
+
A custom primary gateway goes first, followed by the default gateways (`arweave.net`, `permagate.io`, `zigza.xyz`, `ar.seedprotocol.io`) unless one of the env lists above replaces them.
|
|
70
70
|
|
|
71
|
-
|
|
71
|
+
Arweave links in items, whether a field holds one or Html contains them, are written on the configured public gateway, so items published with `https://ar.seedprotocol.io/...` links come out on it too.
|
|
72
72
|
|
|
73
73
|
### Feed Item URLs (EASScan attestation links)
|
|
74
74
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getFeedItems.d.ts","sourceRoot":"","sources":["../src/getFeedItems.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"getFeedItems.d.ts","sourceRoot":"","sources":["../src/getFeedItems.ts"],"names":[],"mappings":"AAeA,KAAK,0BAA0B,GAAG;IAChC,WAAW,EAAE,MAAM,CAAA;IACnB,WAAW,EAAE,MAAM,CAAA;CACpB,CAAA;AAkBD;;GAEG;AACH,eAAO,MAAM,mBAAmB,GAC9B,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC7B,SAAS,MAAM,EACf,YAAY,MAAM,EAClB,SAAS,0BAA0B,KAClC,IAqGF,CAAA;AAgLD;;;;GAIG;AACH,eAAO,MAAM,0BAA0B,GACrC,YAAY,MAAM,EAClB,UAAU;IAAE,KAAK,CAAC,EAAE,MAAM,CAAC;IAAC,IAAI,CAAC,EAAE,MAAM,CAAA;CAAE,KAC1C,OAAO,CAAC;IAAE,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,CAAC;IAAC,IAAI,CAAC,EAAE,MAAM,CAAA;CAAE,CAa7D,CAAA;AAED,eAAO,MAAM,wBAAwB,GACnC,YAAY,MAAM,EAClB,UAAU;IAAE,KAAK,CAAC,EAAE,MAAM,CAAC;IAAC,IAAI,CAAC,EAAE,MAAM,CAAA;CAAE,KAC1C,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,CAC2B,CAAA;AAE/D,eAAO,MAAM,gCAAgC,GAC3C,YAAY,MAAM,EAClB,MAAM,MAAM,EACZ,OAAO,MAAM,KACZ,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,CAQnC,CAAA"}
|