@reality.eth/graph 0.4.75 → 0.4.77

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 (3) hide show
  1. package/README.md +2 -10
  2. package/VERSION_LABEL +1 -0
  3. package/package.json +20 -20
package/README.md CHANGED
@@ -4,13 +4,5 @@ This is the subgraph for reality.eth.
4
4
 
5
5
  It should be able to parse most templates correctly, but as we do not yet have a complete port of the sprintf-js library used by the dapp, we cannot guarantee the exact same handling of edge cases. We recommend that anywhere important, such as a page where you allow people to submit bonds, you do the template handling and formatting in JavaScript.
6
6
 
7
- You may need to pass the GRAPH_AUTH environmental variable with the param
8
- --access-token <YOUR KEY>
9
- We suggest keeping this in a file, eg
10
- GRAPH_AUTH="--access-token `cat ~/secrets/graph_auth`" yarn deploy:zksync-goerli
11
-
12
- Update, 2023-08-11:
13
- Studio now seems to want eg
14
- GRAPH_AUTH="--deploy-key `cat ~/secrets/graph_studio_auth`" yarn deploy:zksync-goerli
15
- ...where the deploy key is subtly different.
16
-
7
+ Example:
8
+ VERSION_LABEL="--version-label v`cat VERSION_LABEL`" GRAPH_AUTH="--deploy-key `cat ~/secrets/graph_studio_auth`" yarn deploy-studio:mainnet
package/VERSION_LABEL ADDED
@@ -0,0 +1 @@
1
+ 0.0.8
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reality.eth/graph",
3
- "version": "0.4.75",
3
+ "version": "0.4.77",
4
4
  "scripts": {
5
5
  "create-local": "graph create realityeth/realityeth --node http://127.0.0.1:8020",
6
6
  "remove-local": "graph remove realityeth/realityeth --node http://127.0.0.1:8020",
@@ -18,7 +18,7 @@
18
18
  "deploy:goerli": "npm run prepare:goerli && graph deploy $GRAPH_AUTH --ipfs https://api.thegraph.com/ipfs/ --node https://api.thegraph.com/deploy/ realityeth/realityeth-goerli",
19
19
  "deploy:mainnet": "npm run prepare:mainnet && graph deploy $GRAPH_AUTH --ipfs https://api.thegraph.com/ipfs/ --node https://api.thegraph.com/deploy/ realityeth/realityeth",
20
20
  "deploy:optimism": "npm run prepare:optimism && graph deploy $GRAPH_AUTH --ipfs https://api.thegraph.com/ipfs/ --node https://api.thegraph.com/deploy/ realityeth/realityeth-optimism",
21
- "deploy:polygon": "npm run prepare:polygon && graph deploy $GRAPH_AUTH --studio realityeth-polygon",
21
+ "deploy:polygon": "npm run prepare:polygon && graph deploy $GRAPH_AUTH $VERSION_LABEL --studio realityeth-polygon",
22
22
  "deploy:mumbai": "npm run prepare:mumbai && graph deploy $GRAPH_AUTH --ipfs https://api.thegraph.com/ipfs/ --node https://api.thegraph.com/deploy/ realityeth/realityeth-mumbai",
23
23
  "deploy:rinkeby": "npm run prepare:rinkeby && graph deploy $GRAPH_AUTH --ipfs https://api.thegraph.com/ipfs/ --node https://api.thegraph.com/deploy/ realityeth/realityeth-rinkeby",
24
24
  "deploy:sokol": "npm run prepare:sokol && graph deploy $GRAPH_AUTH --ipfs https://api.thegraph.com/ipfs/ --node https://api.thegraph.com/deploy/ realityeth/realityeth-sokol",
@@ -26,22 +26,22 @@
26
26
  "deploy:zksync-goerli": "npm run prepare:zksync-goerli && graph deploy $GRAPH_AUTH --ipfs https://api.thegraph.com/ipfs/ --node https://api.thegraph.com/deploy/ realityeth/realityeth-zksync-goerli-3",
27
27
  "deploy:zksync-era": "npm run prepare:zksync-era && graph deploy $GRAPH_AUTH --ipfs https://api.thegraph.com/ipfs/ --node https://api.thegraph.com/deploy/ realityeth/realityeth-zksync-era",
28
28
  "deploy:all": "npm run deploy:arbitrum && npm run deploy:ava && npm run deploy:bsc && npm run deploy:kovan && npm run deploy:mainnet && npm run deploy:mainnet && npm run deploy:optimism && npm run deploy:polygon && npm run deploy:rinkeby && npm run deploy:sokol && npm run deploy:gnosis",
29
- "deploy-studio:arbitrum": "npm run prepare:arbitrum && graph deploy $GRAPH_AUTH --studio realityeth-arbitrum",
30
- "deploy-studio:ava": "npm run prepare:ava && graph deploy $GRAPH_AUTH --studio realityeth-ava",
31
- "deploy-studio:bsc": "npm run prepare:bsc && graph deploy $GRAPH_AUTH --studio realityeth-bsc",
32
- "deploy-studio:chapel": "npm run prepare:chapel && graph deploy $GRAPH_AUTH --studio realityeth-chapel",
33
- "deploy-studio:kovan": "npm run prepare:kovan && graph deploy $GRAPH_AUTH --studio realityeth-kovan",
34
- "deploy-studio:goerli": "npm run prepare:goerli && graph deploy $GRAPH_AUTH --studio realityeth-goerli",
35
- "deploy-studio:mainnet": "npm run prepare:mainnet && graph deploy $GRAPH_AUTH --studio realityeth",
36
- "deploy-studio:optimism": "npm run prepare:optimism && graph deploy $GRAPH_AUTH --studio realityeth-optimism",
37
- "deploy-studio:polygon": "npm run prepare:polygon && graph deploy $GRAPH_AUTH --studio realityeth-polygon",
38
- "deploy-studio:mumbai": "npm run prepare:mumbai && graph deploy $GRAPH_AUTH --studio realityeth-mumbai",
39
- "deploy-studio:rinkeby": "npm run prepare:rinkeby && graph deploy $GRAPH_AUTH --studio realityeth-rinkeby",
40
- "deploy-studio:sepolia": "npm run prepare:sepolia && graph deploy $GRAPH_AUTH --studio realityeth-sepolia",
41
- "deploy-studio:sokol": "npm run prepare:sokol && graph deploy $GRAPH_AUTH --studio realityeth-sokol",
42
- "deploy-studio:gnosis": "npm run prepare:gnosis && graph deploy $GRAPH_AUTH --studio realityeth-gnosis",
43
- "deploy-studio:unichain": "npm run prepare:unichain && graph deploy $GRAPH_AUTH --studio realityeth-unichain",
44
- "deploy-studio:base": "npm run prepare:base && graph deploy $GRAPH_AUTH --studio realityeth-base",
29
+ "deploy-studio:arbitrum": "npm run prepare:arbitrum && graph deploy $GRAPH_AUTH $VERSION_LABEL --studio realityeth-arbitrum",
30
+ "deploy-studio:ava": "npm run prepare:ava && graph deploy $GRAPH_AUTH $VERSION_LABEL --studio realityeth-ava",
31
+ "deploy-studio:bsc": "npm run prepare:bsc && graph deploy $GRAPH_AUTH $VERSION_LABEL --studio realityeth-bsc",
32
+ "deploy-studio:chapel": "npm run prepare:chapel && graph deploy $GRAPH_AUTH $VERSION_LABEL --studio realityeth-chapel",
33
+ "deploy-studio:kovan": "npm run prepare:kovan && graph deploy $GRAPH_AUTH $VERSION_LABEL --studio realityeth-kovan",
34
+ "deploy-studio:goerli": "npm run prepare:goerli && graph deploy $GRAPH_AUTH $VERSION_LABEL --studio realityeth-goerli",
35
+ "deploy-studio:mainnet": "npm run prepare:mainnet && graph deploy $GRAPH_AUTH $VERSION_LABEL --studio realityeth",
36
+ "deploy-studio:optimism": "npm run prepare:optimism && graph deploy $GRAPH_AUTH $VERSION_LABEL --studio realityeth-optimism",
37
+ "deploy-studio:polygon": "npm run prepare:polygon && graph deploy $GRAPH_AUTH $VERSION_LABEL --studio realityeth-polygon",
38
+ "deploy-studio:mumbai": "npm run prepare:mumbai && graph deploy $GRAPH_AUTH $VERSION_LABEL --studio realityeth-mumbai",
39
+ "deploy-studio:rinkeby": "npm run prepare:rinkeby && graph deploy $GRAPH_AUTH $VERSION_LABEL --studio realityeth-rinkeby",
40
+ "deploy-studio:sepolia": "npm run prepare:sepolia && graph deploy $GRAPH_AUTH $VERSION_LABEL --studio realityeth-sepolia",
41
+ "deploy-studio:sokol": "npm run prepare:sokol && graph deploy $GRAPH_AUTH $VERSION_LABEL --studio realityeth-sokol",
42
+ "deploy-studio:gnosis": "npm run prepare:gnosis && graph deploy $GRAPH_AUTH $VERSION_LABEL --studio realityeth-gnosis",
43
+ "deploy-studio:unichain": "npm run prepare:unichain && graph deploy $GRAPH_AUTH $VERSION_LABEL --studio realityeth-unichain",
44
+ "deploy-studio:base": "npm run prepare:base && graph deploy $GRAPH_AUTH $VERSION_LABEL --studio realityeth-base",
45
45
  "deploy-studio:zksync-goerli": "npm run prepare:zksync-goerli && graph deploy $GRAPH_AUTH realityeth-zksync-goerli-2",
46
46
  "deploy-studio:zksync-era": "npm run prepare:zksync-era && graph deploy $GRAPH_AUTH realityeth-zksync-era",
47
47
  "deploy-studio:all": "npm run deploy-studio:arbitrum && npm run deploy-studio:ava && npm run deploy-studio:bsc && npm run deploy-studio:kovan && npm run deploy-studio:mainnet && npm run deploy-studio:mainnet && npm run deploy-studio:optimism && npm run deploy-studio:polygon && npm run deploy-studio:rinkeby && npm run deploy-studio:sokol && npm run deploy-studio:gnosis",
@@ -71,7 +71,7 @@
71
71
  "prettier-write": "prettier --write '**/*.ts'"
72
72
  },
73
73
  "dependencies": {
74
- "@reality.eth/contracts": "^3.0.72",
74
+ "@reality.eth/contracts": "^3.0.74",
75
75
  "babel-polyfill": "^6.26.0",
76
76
  "babel-register": "^6.26.0",
77
77
  "mustache": "^4.2.0",
@@ -81,5 +81,5 @@
81
81
  "@graphprotocol/graph-cli": "^0.54.0",
82
82
  "@graphprotocol/graph-ts": "^0.27.0"
83
83
  },
84
- "gitHead": "d78e484c63f01925317e36e408cad8a06ba58bc4"
84
+ "gitHead": "ee04dbb38772893c0c45d02f0525f65839343764"
85
85
  }