Comparing version 2.0.0 to 2.0.1
@@ -20,4 +20,4 @@ import GQLResultInterface, { GQLEdgeInterface, GQLNodeInterface } from "./faces"; | ||
export declare const GQLUrls: { | ||
goldsky: string; | ||
arweave: string; | ||
goldsky: `http://${string}/graphql${string}` | `https://${string}/graphql${string}`; | ||
arweave: `http://${string}/graphql${string}` | `https://${string}/graphql${string}`; | ||
}; |
{ | ||
"name": "ar-gql", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"main": "dist/index", | ||
@@ -5,0 +5,0 @@ "types": "dist/index", |
@@ -39,3 +39,3 @@ # `ar-gql` version 1 | ||
// you can set up another instance with another endpoint | ||
const goldsky = arGql(GQLUrls.goldsky) // 'https://arweave-search.goldsky.com/graphql' | ||
const goldsky = arGql({ endpointUrl: GQLUrls.goldsky }) // 'https://arweave-search.goldsky.com/graphql' | ||
// and use it at the same time | ||
@@ -42,0 +42,0 @@ const edges = await goldsky.tx(someTxid) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
11412