diff --git a/apps/events/src/components/todo/todos-public.tsx b/apps/events/src/components/todo/todos-public.tsx index 30bbc219..43aacfd5 100644 --- a/apps/events/src/components/todo/todos-public.tsx +++ b/apps/events/src/components/todo/todos-public.tsx @@ -1,7 +1,13 @@ import { Id } from '@graphprotocol/grc-20'; -import { _generateDeleteOps, publishOps, useCreateEntity, useQuery, useSpace } from '@graphprotocol/hypergraph-react'; -import { useHypergraphApp } from '@graphprotocol/hypergraph-react'; -import { useGenerateCreateOps } from '@graphprotocol/hypergraph-react/internal/use-generate-create-ops'; +import { + _generateDeleteOps, + publishOps, + useCreateEntity, + _useGenerateCreateOps as useGenerateCreateOps, + useHypergraphApp, + useQuery, + useSpace, +} from '@graphprotocol/hypergraph-react'; import { Todo2 } from '../../schema'; import { Spinner } from '../spinner'; import { Button } from '../ui/button'; diff --git a/apps/typesync/client/src/Components/App/Schema/utils.ts b/apps/typesync/client/src/Components/App/Schema/utils.ts index 5e1b2d97..2096f01e 100644 --- a/apps/typesync/client/src/Components/App/Schema/utils.ts +++ b/apps/typesync/client/src/Components/App/Schema/utils.ts @@ -84,7 +84,7 @@ ${fieldStrings.join(',\n')} * const { code } = buildAppSchemaFormCode(schema) * * expect(code).toEqual(` - * import * as Entity from '@graphprotocol/hypergraph/Entity'; + * import { Entity } from '@graphprotocol/hypergraph'; * * export class Event extends Entity.Class('Event')({ * // Name of the event diff --git a/packages/hypergraph-react/package.json b/packages/hypergraph-react/package.json index 81f96e23..a7f6ae4e 100644 --- a/packages/hypergraph-react/package.json +++ b/packages/hypergraph-react/package.json @@ -1,6 +1,6 @@ { "name": "@graphprotocol/hypergraph-react", - "version": "0.0.2", + "version": "0.0.3", "description": "React implementation and additional functionality, components, and hooks for the hypergraph SDK framework", "keywords": ["Web3", "Local-First", "Knowledge Graph", "Graph Protocol", "react"], "publishConfig": { diff --git a/packages/hypergraph-react/src/hooks/use-spaces.ts b/packages/hypergraph-react/src/hooks/use-spaces.ts index f269f8c4..58ca5802 100644 --- a/packages/hypergraph-react/src/hooks/use-spaces.ts +++ b/packages/hypergraph-react/src/hooks/use-spaces.ts @@ -1,4 +1,4 @@ -import { store } from '@graphprotocol/hypergraph/store'; +import { store } from '@graphprotocol/hypergraph'; import { useQuery } from '@tanstack/react-query'; import { useSelector } from '@xstate/store/react'; import { gql, request } from 'graphql-request'; diff --git a/packages/hypergraph/package.json b/packages/hypergraph/package.json index e90c5181..96f8bdea 100644 --- a/packages/hypergraph/package.json +++ b/packages/hypergraph/package.json @@ -1,6 +1,6 @@ { "name": "@graphprotocol/hypergraph", - "version": "0.0.2", + "version": "0.0.3", "description": "SDK for building performant, type-safe, local-first dapps on top of The Graph ecosystem knowledge graphs.", "publishConfig": { "access": "public",