@settlemint/sdk-thegraph 2.0.0-pra306572f → 2.0.0-prb5cea05b
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -5
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -52,7 +52,7 @@ For detailed information about using TheGraph with the SettleMint platform, chec
|
|
|
52
52
|
|
|
53
53
|
#### createTheGraphClient()
|
|
54
54
|
|
|
55
|
-
> **createTheGraphClient**\<`Setup`\>(`options`, `clientOptions
|
|
55
|
+
> **createTheGraphClient**\<`Setup`\>(`options`, `clientOptions?`): `object`
|
|
56
56
|
|
|
57
57
|
Defined in: [sdk/thegraph/src/thegraph.ts:85](https://github.com/settlemint/sdk/blob/v2.0.0/sdk/thegraph/src/thegraph.ts#L85)
|
|
58
58
|
|
|
@@ -70,10 +70,10 @@ Creates a TheGraph GraphQL client with proper type safety using gql.tada
|
|
|
70
70
|
| ------ | ------ | ------ |
|
|
71
71
|
| `options` | \{ `accessToken`: `string`; `cache`: `"default"` \| `"force-cache"` \| `"no-cache"` \| `"no-store"` \| `"only-if-cached"` \| `"reload"`; `instances`: `string`[]; `subgraphName`: `string`; \} | Configuration options for the client including instance URLs, access token and subgraph name |
|
|
72
72
|
| `options.accessToken` | `string` | - |
|
|
73
|
-
| `options.cache
|
|
74
|
-
| `options.instances
|
|
75
|
-
| `options.subgraphName
|
|
76
|
-
| `clientOptions
|
|
73
|
+
| `options.cache?` | `"default"` \| `"force-cache"` \| `"no-cache"` \| `"no-store"` \| `"only-if-cached"` \| `"reload"` | - |
|
|
74
|
+
| `options.instances?` | `string`[] | - |
|
|
75
|
+
| `options.subgraphName?` | `string` | - |
|
|
76
|
+
| `clientOptions?` | `RequestConfig` | Optional GraphQL client configuration options |
|
|
77
77
|
|
|
78
78
|
##### Returns
|
|
79
79
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@settlemint/sdk-thegraph",
|
|
3
3
|
"description": "TheGraph integration module for SettleMint SDK, enabling querying and indexing of blockchain data through subgraphs",
|
|
4
|
-
"version": "2.0.0-
|
|
4
|
+
"version": "2.0.0-prb5cea05b",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"private": false,
|
|
7
7
|
"license": "FSL-1.1-MIT",
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"devDependencies": {},
|
|
53
53
|
"dependencies": {
|
|
54
54
|
"gql.tada": "^1",
|
|
55
|
-
"@settlemint/sdk-utils": "2.0.0-
|
|
55
|
+
"@settlemint/sdk-utils": "2.0.0-prb5cea05b",
|
|
56
56
|
"graphql-request": "^7",
|
|
57
57
|
"zod": "^3"
|
|
58
58
|
},
|