@settlemint/sdk-thegraph 2.6.3 → 2.6.4-mainc8236602

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.
Files changed (2) hide show
  1. package/README.md +10 -10
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -52,7 +52,7 @@ The SDK offers a type-safe interface for all TheGraph operations, with comprehen
52
52
 
53
53
  > **createTheGraphClient**\<`Setup`\>(`options`, `clientOptions?`): `object`
54
54
 
55
- Defined in: [sdk/thegraph/src/thegraph.ts:92](https://github.com/settlemint/sdk/blob/v2.6.3/sdk/thegraph/src/thegraph.ts#L92)
55
+ Defined in: [sdk/thegraph/src/thegraph.ts:92](https://github.com/settlemint/sdk/blob/v2.6.4/sdk/thegraph/src/thegraph.ts#L92)
56
56
 
57
57
  Creates a TheGraph GraphQL client with proper type safety using gql.tada
58
58
 
@@ -83,8 +83,8 @@ An object containing:
83
83
 
84
84
  | Name | Type | Defined in |
85
85
  | ------ | ------ | ------ |
86
- | `client` | `GraphQLClient` | [sdk/thegraph/src/thegraph.ts:96](https://github.com/settlemint/sdk/blob/v2.6.3/sdk/thegraph/src/thegraph.ts#L96) |
87
- | `graphql` | `initGraphQLTada`\<`Setup`\> | [sdk/thegraph/src/thegraph.ts:97](https://github.com/settlemint/sdk/blob/v2.6.3/sdk/thegraph/src/thegraph.ts#L97) |
86
+ | `client` | `GraphQLClient` | [sdk/thegraph/src/thegraph.ts:96](https://github.com/settlemint/sdk/blob/v2.6.4/sdk/thegraph/src/thegraph.ts#L96) |
87
+ | `graphql` | `initGraphQLTada`\<`Setup`\> | [sdk/thegraph/src/thegraph.ts:97](https://github.com/settlemint/sdk/blob/v2.6.4/sdk/thegraph/src/thegraph.ts#L97) |
88
88
 
89
89
  ##### Throws
90
90
 
@@ -137,7 +137,7 @@ const result = await client.request(query);
137
137
 
138
138
  > **ClientOptions** = `object`
139
139
 
140
- Defined in: [sdk/thegraph/src/thegraph.ts:27](https://github.com/settlemint/sdk/blob/v2.6.3/sdk/thegraph/src/thegraph.ts#L27)
140
+ Defined in: [sdk/thegraph/src/thegraph.ts:27](https://github.com/settlemint/sdk/blob/v2.6.4/sdk/thegraph/src/thegraph.ts#L27)
141
141
 
142
142
  Type definition for client options derived from the ClientOptionsSchema
143
143
 
@@ -145,10 +145,10 @@ Type definition for client options derived from the ClientOptionsSchema
145
145
 
146
146
  | Name | Type | Defined in |
147
147
  | ------ | ------ | ------ |
148
- | <a id="accesstoken"></a> `accessToken?` | `string` | [sdk/thegraph/src/thegraph.ts:19](https://github.com/settlemint/sdk/blob/v2.6.3/sdk/thegraph/src/thegraph.ts#L19) |
149
- | <a id="cache"></a> `cache?` | `"default"` \| `"force-cache"` \| `"no-cache"` \| `"no-store"` \| `"only-if-cached"` \| `"reload"` | [sdk/thegraph/src/thegraph.ts:21](https://github.com/settlemint/sdk/blob/v2.6.3/sdk/thegraph/src/thegraph.ts#L21) |
150
- | <a id="instances"></a> `instances` | `string`[] | [sdk/thegraph/src/thegraph.ts:18](https://github.com/settlemint/sdk/blob/v2.6.3/sdk/thegraph/src/thegraph.ts#L18) |
151
- | <a id="subgraphname"></a> `subgraphName` | `string` | [sdk/thegraph/src/thegraph.ts:20](https://github.com/settlemint/sdk/blob/v2.6.3/sdk/thegraph/src/thegraph.ts#L20) |
148
+ | <a id="accesstoken"></a> `accessToken?` | `string` | [sdk/thegraph/src/thegraph.ts:19](https://github.com/settlemint/sdk/blob/v2.6.4/sdk/thegraph/src/thegraph.ts#L19) |
149
+ | <a id="cache"></a> `cache?` | `"default"` \| `"force-cache"` \| `"no-cache"` \| `"no-store"` \| `"only-if-cached"` \| `"reload"` | [sdk/thegraph/src/thegraph.ts:21](https://github.com/settlemint/sdk/blob/v2.6.4/sdk/thegraph/src/thegraph.ts#L21) |
150
+ | <a id="instances"></a> `instances` | `string`[] | [sdk/thegraph/src/thegraph.ts:18](https://github.com/settlemint/sdk/blob/v2.6.4/sdk/thegraph/src/thegraph.ts#L18) |
151
+ | <a id="subgraphname"></a> `subgraphName` | `string` | [sdk/thegraph/src/thegraph.ts:20](https://github.com/settlemint/sdk/blob/v2.6.4/sdk/thegraph/src/thegraph.ts#L20) |
152
152
 
153
153
  ***
154
154
 
@@ -156,7 +156,7 @@ Type definition for client options derived from the ClientOptionsSchema
156
156
 
157
157
  > **RequestConfig** = `ConstructorParameters`\<*typeof* `GraphQLClient`\>\[`1`\]
158
158
 
159
- Defined in: [sdk/thegraph/src/thegraph.ts:12](https://github.com/settlemint/sdk/blob/v2.6.3/sdk/thegraph/src/thegraph.ts#L12)
159
+ Defined in: [sdk/thegraph/src/thegraph.ts:12](https://github.com/settlemint/sdk/blob/v2.6.4/sdk/thegraph/src/thegraph.ts#L12)
160
160
 
161
161
  Type definition for GraphQL client configuration options
162
162
 
@@ -166,7 +166,7 @@ Type definition for GraphQL client configuration options
166
166
 
167
167
  > `const` **ClientOptionsSchema**: `ZodObject`\<[`ClientOptions`](#clientoptions)\>
168
168
 
169
- Defined in: [sdk/thegraph/src/thegraph.ts:17](https://github.com/settlemint/sdk/blob/v2.6.3/sdk/thegraph/src/thegraph.ts#L17)
169
+ Defined in: [sdk/thegraph/src/thegraph.ts:17](https://github.com/settlemint/sdk/blob/v2.6.4/sdk/thegraph/src/thegraph.ts#L17)
170
170
 
171
171
  Schema for validating client options for the TheGraph client.
172
172
 
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.6.3",
4
+ "version": "2.6.4-mainc8236602",
5
5
  "type": "module",
6
6
  "private": false,
7
7
  "license": "FSL-1.1-MIT",
@@ -53,7 +53,7 @@
53
53
  },
54
54
  "devDependencies": {},
55
55
  "dependencies": {
56
- "@settlemint/sdk-utils": "2.6.3",
56
+ "@settlemint/sdk-utils": "2.6.4-mainc8236602",
57
57
  "es-toolkit": "^1",
58
58
  "gql.tada": "^1",
59
59
  "graphql": "^16",