Skip to content

Commit 9b29006

Browse files
authored
upgrade grc-20 and update data types (#431)
1 parent 34c0881 commit 9b29006

File tree

29 files changed

+389
-442
lines changed

29 files changed

+389
-442
lines changed

.changeset/social-baths-send.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
"@graphprotocol/hypergraph-react": minor
3+
"@graphprotocol/hypergraph": minor
4+
"@graphprotocol/typesync": minor
5+
"@graphprotocol/hypergraph-cli": minor
6+
"connect": minor
7+
---
8+
9+
change dataType (text -> string, checkbox -> boolean) and update queries using value
10+

apps/connect/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
},
1616
"dependencies": {
1717
"@base-ui-components/react": "1.0.0-beta.1",
18-
"@graphprotocol/grc-20": "^0.23.1",
18+
"@graphprotocol/grc-20": "^0.24.1",
1919
"@graphprotocol/hypergraph": "workspace:*",
2020
"@graphprotocol/hypergraph-react": "workspace:*",
2121
"@heroicons/react": "^2.2.0",

apps/connect/src/routes/index.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import { Graph } from '@graphprotocol/grc-20';
21
import { useIdentityToken } from '@privy-io/react-auth';
32
import { createFileRoute } from '@tanstack/react-router';
43
import { CreateSpaceCard } from '@/components/CreateSpaceCard';

apps/create-hypergraph/template-nextjs/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
},
1616
"type": "module",
1717
"dependencies": {
18-
"@graphprotocol/grc-20": "^0.23.1",
18+
"@graphprotocol/grc-20": "^0.24.1",
1919
"@graphprotocol/hypergraph": "workspace:*",
2020
"@graphprotocol/hypergraph-react": "workspace:*",
2121
"@radix-ui/react-navigation-menu": "^1.2.13",

apps/create-hypergraph/template-vite-react/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"typecheck": "tsc --noEmit"
1212
},
1313
"dependencies": {
14-
"@graphprotocol/grc-20": "^0.23.1",
14+
"@graphprotocol/grc-20": "^0.24.1",
1515
"@graphprotocol/hypergraph": "workspace:*",
1616
"@graphprotocol/hypergraph-react": "workspace:*",
1717
"@radix-ui/react-navigation-menu": "^1.2.13",

apps/events/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"typesync": "hypergraph typesync"
1010
},
1111
"dependencies": {
12-
"@graphprotocol/grc-20": "^0.23.1",
12+
"@graphprotocol/grc-20": "^0.24.1",
1313
"@graphprotocol/hypergraph": "workspace:*",
1414
"@graphprotocol/hypergraph-react": "workspace:*",
1515
"@noble/hashes": "^1.8.0",

apps/events/src/components/create-properties-and-types-todos.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const createPropertiesAndTypesTodos = async ({
1414
}) => {
1515
const ops: Array<Op> = [];
1616
const { id: checkedPropertyId, ops: createCheckedPropertyOps } = Graph.createProperty({
17-
dataType: 'CHECKBOX',
17+
dataType: 'BOOLEAN',
1818
name: 'Checked',
1919
});
2020
ops.push(...createCheckedPropertyOps);
@@ -50,7 +50,7 @@ const createPropertiesAndTypesTodos = async ({
5050
ops.push(...createAmountPropertyOps);
5151

5252
const { id: websitePropertyId, ops: createWebsitePropertyOps } = Graph.createProperty({
53-
dataType: 'TEXT',
53+
dataType: 'STRING',
5454
name: 'Website',
5555
});
5656
ops.push(...createWebsitePropertyOps);

apps/events/src/components/playground.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export const Playground = ({ spaceId }: { spaceId: string }) => {
1717
jobOffers: {},
1818
},
1919
},
20-
first: 10,
20+
first: 100,
2121
space: spaceId,
2222
});
2323
const [isDeleting, setIsDeleting] = useState(false);

apps/next-example/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
},
1212
"type": "module",
1313
"dependencies": {
14-
"@graphprotocol/grc-20": "^0.23.1",
14+
"@graphprotocol/grc-20": "^0.24.1",
1515
"@graphprotocol/hypergraph": "workspace:*",
1616
"@graphprotocol/hypergraph-react": "workspace:*",
1717
"next": "15.3.2",

0 commit comments

Comments
 (0)