@settlemint/sdk-hasura 2.4.0-prec526eee → 2.4.0-prf263ce2b
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 +11 -2
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -183,12 +183,21 @@ try {
|
|
|
183
183
|
|
|
184
184
|
#### ClientOptions
|
|
185
185
|
|
|
186
|
-
> **ClientOptions** = `
|
|
186
|
+
> **ClientOptions** = `object`
|
|
187
187
|
|
|
188
188
|
Defined in: [sdk/hasura/src/hasura.ts:27](https://github.com/settlemint/sdk/blob/v2.4.0/sdk/hasura/src/hasura.ts#L27)
|
|
189
189
|
|
|
190
190
|
Type definition for client options derived from the ClientOptionsSchema.
|
|
191
191
|
|
|
192
|
+
##### Type declaration
|
|
193
|
+
|
|
194
|
+
| Name | Type | Default value | Defined in |
|
|
195
|
+
| ------ | ------ | ------ | ------ |
|
|
196
|
+
| <a id="accesstoken"></a> `accessToken?` | `string` | - | [sdk/hasura/src/hasura.ts:19](https://github.com/settlemint/sdk/blob/v2.4.0/sdk/hasura/src/hasura.ts#L19) |
|
|
197
|
+
| <a id="adminsecret"></a> `adminSecret` | `string` | - | [sdk/hasura/src/hasura.ts:20](https://github.com/settlemint/sdk/blob/v2.4.0/sdk/hasura/src/hasura.ts#L20) |
|
|
198
|
+
| <a id="cache"></a> `cache?` | `"default"` \| `"force-cache"` \| `"no-cache"` \| `"no-store"` \| `"only-if-cached"` \| `"reload"` | - | [sdk/hasura/src/hasura.ts:21](https://github.com/settlemint/sdk/blob/v2.4.0/sdk/hasura/src/hasura.ts#L21) |
|
|
199
|
+
| <a id="instance"></a> `instance` | `string` | `UrlOrPathSchema` | [sdk/hasura/src/hasura.ts:18](https://github.com/settlemint/sdk/blob/v2.4.0/sdk/hasura/src/hasura.ts#L18) |
|
|
200
|
+
|
|
192
201
|
***
|
|
193
202
|
|
|
194
203
|
#### RequestConfig
|
|
@@ -203,7 +212,7 @@ Type definition for GraphQL client configuration options
|
|
|
203
212
|
|
|
204
213
|
#### ClientOptionsSchema
|
|
205
214
|
|
|
206
|
-
> `const` **ClientOptionsSchema**: `ZodObject
|
|
215
|
+
> `const` **ClientOptionsSchema**: `ZodObject`\<[`ClientOptions`](#clientoptions)\>
|
|
207
216
|
|
|
208
217
|
Defined in: [sdk/hasura/src/hasura.ts:17](https://github.com/settlemint/sdk/blob/v2.4.0/sdk/hasura/src/hasura.ts#L17)
|
|
209
218
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@settlemint/sdk-hasura",
|
|
3
3
|
"description": "Hasura and PostgreSQL integration module for SettleMint SDK, enabling database operations and GraphQL queries",
|
|
4
|
-
"version": "2.4.0-
|
|
4
|
+
"version": "2.4.0-prf263ce2b",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"private": false,
|
|
7
7
|
"license": "FSL-1.1-MIT",
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
},
|
|
65
65
|
"dependencies": {
|
|
66
66
|
"gql.tada": "^1",
|
|
67
|
-
"@settlemint/sdk-utils": "2.4.0-
|
|
67
|
+
"@settlemint/sdk-utils": "2.4.0-prf263ce2b",
|
|
68
68
|
"graphql-request": "^7",
|
|
69
69
|
"zod": "^3.25.0",
|
|
70
70
|
"drizzle-orm": "^0.44.0",
|