diff --git a/apps/prime/.env b/apps/prime/.env index 3a238fb1c..64a4181d5 100644 --- a/apps/prime/.env +++ b/apps/prime/.env @@ -1,5 +1,5 @@ # graphql Subsquid endpoint -VITE_SUBSQUID_URL="https://origin.squids.live/prime-eth-squid/v/v13/graphql" +VITE_SUBSQUID_URL="https://origin.squids.live/prime-eth-squid/graphql" # Set this to any custom RPC to override public endpoint VITE_CUSTOM_RPC= diff --git a/libs/prime/shared/codegen.ts b/libs/prime/shared/codegen.ts index d3e77f1d4..a2bf15dbe 100644 --- a/libs/prime/shared/codegen.ts +++ b/libs/prime/shared/codegen.ts @@ -1,11 +1,11 @@ import type { CodegenConfig } from '@graphql-codegen/cli'; const config: CodegenConfig = { - schema: 'https://origin.squids.live/prime-eth-squid/v/v13/graphql', + schema: 'https://origin.squids.live/prime-eth-squid/graphql', documents: 'libs/prime/**/src/**/*.graphql', generates: { 'libs/prime/shared/src/generated/graphql.ts': { - schema: 'https://origin.squids.live/prime-eth-squid/v/v13/graphql', + schema: 'https://origin.squids.live/prime-eth-squid/graphql', plugins: ['typescript'], config: { scalars: {