@graphprotocol/grc-20 0.0.5 → 0.0.6

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.
Files changed (2) hide show
  1. package/README.md +3 -3
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -98,9 +98,9 @@ const deleteRelationOp: DeleteRelationOp = Relation.remove('id of relation');
98
98
 
99
99
  Once you have a set of ops ready to publish, you'll need to binary encode them into an Edit and upload the Edit to IPFS.
100
100
 
101
- Currently the indexer only supports reading from the [Lighthouse gateway](https://lighthouse.storage/). You should use the Lighthouse gateway to guarantee data availability for your published data while in early access. To write to Lighthouse you'll need an [API key](https://docs.lighthouse.storage/lighthouse-1/quick-start#create-an-api-key).
101
+ Currently the indexer only supports reading a specific gateway. You should use our IPFS API to guarantee data availability for your published data while in early access.
102
102
 
103
- Additionally, the indexer expects that IPFS CIDs be prefixed with `ipfs://` so it knows how to process it correctly.
103
+ Additionally, the indexer expects that IPFS CIDs be prefixed with `ipfs://` so it knows how to process it correctly. The API already returns the CID prefixed with `ipfs://`.
104
104
 
105
105
  ```ts
106
106
  import { EditProposal } from '@graphprotocol/grc-20/proto';
@@ -116,7 +116,7 @@ const blob = new Blob([binaryEncodedEdit], { type: 'application/octet-stream' })
116
116
  const formData = new FormData();
117
117
  formData.append('file', blob);
118
118
 
119
- const result = await fetch('https://geobrowser.io/api/ipfs/upload-binary, {
119
+ const result = await fetch('https://geobrowser.io/api/ipfs/upload-binary', {
120
120
  method: 'POST',
121
121
  body: formData,
122
122
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@graphprotocol/grc-20",
3
- "version": "0.0.5",
3
+ "version": "0.0.6",
4
4
  "license": "MIT",
5
5
  "module": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",