@graphprotocol/grc-20 0.0.4 → 0.0.5

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 +4 -4
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -5,7 +5,7 @@ A collection of tools for interacting with the The Graph.
5
5
  ## Installing
6
6
 
7
7
  ```sh
8
- npm install @geogenesis/sdk
8
+ npm install @graphprotocol/grc-20
9
9
  ```
10
10
 
11
11
  ## Overview
@@ -52,7 +52,7 @@ When writing data, these ops are grouped into a logical set called an "Edit." An
52
52
  Entities throughout The Graph are referenced via globally unique identifiers. The SDK exposes APIs for creating these IDs.
53
53
 
54
54
  ```ts
55
- import { ID } from 'geogenesis/sdk';
55
+ import { ID } from 'graphprotocol/grc-20';
56
56
 
57
57
  const newId = ID.make();
58
58
  ```
@@ -69,7 +69,7 @@ import {
69
69
  Relation,
70
70
  type SetTripleOp,
71
71
  Triple,
72
- } from '@geogenesis/sdk';
72
+ } from '@graphprotocol/grc-20';
73
73
 
74
74
  const setTripleOp: SetTripleOp = Triple.make({
75
75
  entityId: 'id of entity',
@@ -103,7 +103,7 @@ Currently the indexer only supports reading from the [Lighthouse gateway](https:
103
103
  Additionally, the indexer expects that IPFS CIDs be prefixed with `ipfs://` so it knows how to process it correctly.
104
104
 
105
105
  ```ts
106
- import { EditProposal } from '@geogenesis/sdk/proto';
106
+ import { EditProposal } from '@graphprotocol/grc-20/proto';
107
107
 
108
108
  const binaryEncodedEdit = EditProposal.make({
109
109
  name: 'Edit name',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@graphprotocol/grc-20",
3
- "version": "0.0.4",
3
+ "version": "0.0.5",
4
4
  "license": "MIT",
5
5
  "module": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",