@settlemint/sdk-blockscout 1.1.8 → 1.1.9
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 +6 -6
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -52,7 +52,7 @@ For detailed information about using Blockscout with the SettleMint platform, ch
|
|
|
52
52
|
|
|
53
53
|
> **createBlockscoutClient**\<`Setup`\>(`options`, `clientOptions`?): `object`
|
|
54
54
|
|
|
55
|
-
Defined in: [sdk/blockscout/src/blockscout.ts:106](https://github.com/settlemint/sdk/blob/v1.1.
|
|
55
|
+
Defined in: [sdk/blockscout/src/blockscout.ts:106](https://github.com/settlemint/sdk/blob/v1.1.9/sdk/blockscout/src/blockscout.ts#L106)
|
|
56
56
|
|
|
57
57
|
Creates a Blockscout GraphQL client with proper type safety using gql.tada
|
|
58
58
|
|
|
@@ -77,8 +77,8 @@ An object containing the GraphQL client and initialized gql.tada function
|
|
|
77
77
|
|
|
78
78
|
| Name | Type | Defined in |
|
|
79
79
|
| ------ | ------ | ------ |
|
|
80
|
-
| `client` | `GraphQLClient` | [sdk/blockscout/src/blockscout.ts:110](https://github.com/settlemint/sdk/blob/v1.1.
|
|
81
|
-
| `graphql` | `initGraphQLTada`\<`Setup`\> | [sdk/blockscout/src/blockscout.ts:111](https://github.com/settlemint/sdk/blob/v1.1.
|
|
80
|
+
| `client` | `GraphQLClient` | [sdk/blockscout/src/blockscout.ts:110](https://github.com/settlemint/sdk/blob/v1.1.9/sdk/blockscout/src/blockscout.ts#L110) |
|
|
81
|
+
| `graphql` | `initGraphQLTada`\<`Setup`\> | [sdk/blockscout/src/blockscout.ts:111](https://github.com/settlemint/sdk/blob/v1.1.9/sdk/blockscout/src/blockscout.ts#L111) |
|
|
82
82
|
|
|
83
83
|
##### Throws
|
|
84
84
|
|
|
@@ -146,7 +146,7 @@ const result = await client.request(query, {
|
|
|
146
146
|
|
|
147
147
|
> **ClientOptions**: \{ `accessToken`: `string`; `instance`: `string`; `runtime`: `"server"`; \} \| \{ `runtime`: `"browser"`; \}
|
|
148
148
|
|
|
149
|
-
Defined in: [sdk/blockscout/src/blockscout.ts:32](https://github.com/settlemint/sdk/blob/v1.1.
|
|
149
|
+
Defined in: [sdk/blockscout/src/blockscout.ts:32](https://github.com/settlemint/sdk/blob/v1.1.9/sdk/blockscout/src/blockscout.ts#L32)
|
|
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/blockscout/src/blockscout.ts:10](https://github.com/settlemint/sdk/blob/v1.1.
|
|
159
|
+
Defined in: [sdk/blockscout/src/blockscout.ts:10](https://github.com/settlemint/sdk/blob/v1.1.9/sdk/blockscout/src/blockscout.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/blockscout/src/blockscout.ts:18](https://github.com/settlemint/sdk/blob/v1.1.
|
|
169
|
+
Defined in: [sdk/blockscout/src/blockscout.ts:18](https://github.com/settlemint/sdk/blob/v1.1.9/sdk/blockscout/src/blockscout.ts#L18)
|
|
170
170
|
|
|
171
171
|
Schema for validating client options for the Blockscout client.
|
|
172
172
|
Defines two possible runtime configurations:
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@settlemint/sdk-blockscout",
|
|
3
3
|
"description": "Blockscout integration module for SettleMint SDK, enabling blockchain explorer and analytics functionality",
|
|
4
|
-
"version": "1.1.
|
|
4
|
+
"version": "1.1.9",
|
|
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.
|
|
55
|
+
"@settlemint/sdk-utils": "1.1.9",
|
|
56
56
|
"graphql-request": "^7",
|
|
57
57
|
"zod": "^3"
|
|
58
58
|
},
|