Comparing version 1.2.6 to 1.2.7
{ | ||
"name": "ar-gql", | ||
"version": "1.2.6", | ||
"version": "1.2.7", | ||
"main": "dist/index", | ||
@@ -5,0 +5,0 @@ "types": "dist/index", |
@@ -28,3 +28,3 @@ # `ar-gql` version 1 | ||
```ts | ||
import { arGql } from 'ar-gql' | ||
import { arGql, GQLUrls } from 'ar-gql' | ||
@@ -40,3 +40,3 @@ //... | ||
// you can set up another instance with another endpoint | ||
const goldsky = arGql('https://arweave-search.goldsky.com/graphql') | ||
const goldsky = arGql(GQLUrls.goldsky) // 'https://arweave-search.goldsky.com/graphql' | ||
// and use it at the same time | ||
@@ -43,0 +43,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
9964