@settlemint/sdk-thegraph 1.1.16 → 1.2.0-maine99ea2c4

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 +8 -8
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -16,7 +16,7 @@
16
16
  </p>
17
17
 
18
18
  <div align="center">
19
- <a href="https://console.settlemint.com/documentation/docs/using-platform/dev-tools/SDK/">Documentation</a>
19
+ <a href="https://console.settlemint.com/documentation">Documentation</a>
20
20
  <span>&nbsp;&nbsp;•&nbsp;&nbsp;</span>
21
21
  <a href="https://www.npmjs.com/package/@settlemint/sdk-thegraph">NPM</a>
22
22
  <span>&nbsp;&nbsp;•&nbsp;&nbsp;</span>
@@ -44,7 +44,7 @@ The SettleMint TheGraph SDK provides a seamless way to interact with TheGraph AP
44
44
 
45
45
  The SDK offers a type-safe interface for all TheGraph operations, with comprehensive error handling and validation. It integrates smoothly with modern TypeScript applications while providing a simple and intuitive developer experience.
46
46
 
47
- For detailed information about using TheGraph with the SettleMint platform, check out our [official documentation](https://console.settlemint.com/documentation/docs/using-platform/middleware/#the-graph-middleware).
47
+ For detailed information about using TheGraph with the SettleMint platform, check out our [official documentation](https://console.settlemint.com/documentation).
48
48
 
49
49
  ## API Reference
50
50
 
@@ -54,7 +54,7 @@ For detailed information about using TheGraph with the SettleMint platform, chec
54
54
 
55
55
  > **createTheGraphClient**\<`Setup`\>(`options`, `clientOptions`?): `object`
56
56
 
57
- Defined in: [sdk/thegraph/src/thegraph.ts:119](https://github.com/settlemint/sdk/blob/v1.1.16/sdk/thegraph/src/thegraph.ts#L119)
57
+ Defined in: [sdk/thegraph/src/thegraph.ts:119](https://github.com/settlemint/sdk/blob/v1.2.0/sdk/thegraph/src/thegraph.ts#L119)
58
58
 
59
59
  Creates a TheGraph GraphQL client with proper type safety using gql.tada
60
60
 
@@ -81,8 +81,8 @@ An object containing:
81
81
 
82
82
  | Name | Type | Defined in |
83
83
  | ------ | ------ | ------ |
84
- | `client` | `GraphQLClient` | [sdk/thegraph/src/thegraph.ts:123](https://github.com/settlemint/sdk/blob/v1.1.16/sdk/thegraph/src/thegraph.ts#L123) |
85
- | `graphql` | `initGraphQLTada`\<`Setup`\> | [sdk/thegraph/src/thegraph.ts:124](https://github.com/settlemint/sdk/blob/v1.1.16/sdk/thegraph/src/thegraph.ts#L124) |
84
+ | `client` | `GraphQLClient` | [sdk/thegraph/src/thegraph.ts:123](https://github.com/settlemint/sdk/blob/v1.2.0/sdk/thegraph/src/thegraph.ts#L123) |
85
+ | `graphql` | `initGraphQLTada`\<`Setup`\> | [sdk/thegraph/src/thegraph.ts:124](https://github.com/settlemint/sdk/blob/v1.2.0/sdk/thegraph/src/thegraph.ts#L124) |
86
86
 
87
87
  ##### Throws
88
88
 
@@ -146,7 +146,7 @@ const result = await client.request(query);
146
146
 
147
147
  > **ClientOptions**: \{ `accessToken`: `string`; `cache`: `"default"` \| `"force-cache"` \| `"no-cache"` \| `"no-store"` \| `"only-if-cached"` \| `"reload"`; `instances`: `string`[]; `runtime`: `"server"`; `subgraphName`: `string`; \} \| \{ `cache`: `"default"` \| `"force-cache"` \| `"no-cache"` \| `"no-store"` \| `"only-if-cached"` \| `"reload"`; `runtime`: `"browser"`; `subgraphName`: `string`; \}
148
148
 
149
- Defined in: [sdk/thegraph/src/thegraph.ts:36](https://github.com/settlemint/sdk/blob/v1.1.16/sdk/thegraph/src/thegraph.ts#L36)
149
+ Defined in: [sdk/thegraph/src/thegraph.ts:36](https://github.com/settlemint/sdk/blob/v1.2.0/sdk/thegraph/src/thegraph.ts#L36)
150
150
 
151
151
  Type definition for client options derived from the ClientOptionsSchema
152
152
 
@@ -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:10](https://github.com/settlemint/sdk/blob/v1.1.16/sdk/thegraph/src/thegraph.ts#L10)
159
+ Defined in: [sdk/thegraph/src/thegraph.ts:10](https://github.com/settlemint/sdk/blob/v1.2.0/sdk/thegraph/src/thegraph.ts#L10)
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**: `ZodDiscriminatedUnion`\<[`ClientOptions`](README.md#clientoptions)\>
168
168
 
169
- Defined in: [sdk/thegraph/src/thegraph.ts:18](https://github.com/settlemint/sdk/blob/v1.1.16/sdk/thegraph/src/thegraph.ts#L18)
169
+ Defined in: [sdk/thegraph/src/thegraph.ts:18](https://github.com/settlemint/sdk/blob/v1.2.0/sdk/thegraph/src/thegraph.ts#L18)
170
170
 
171
171
  Schema for validating client options for the TheGraph client.
172
172
  Defines two possible runtime configurations:
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": "1.1.16",
4
+ "version": "1.2.0-maine99ea2c4",
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": "1.1.16",
55
+ "@settlemint/sdk-utils": "1.2.0-maine99ea2c4",
56
56
  "graphql-request": "^7",
57
57
  "zod": "^3"
58
58
  },