@settlemint/sdk-blockscout 2.3.13 → 2.3.14
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
|
@@ -50,7 +50,7 @@ The SettleMint Blockscout SDK provides a seamless way to interact with Blockscou
|
|
|
50
50
|
|
|
51
51
|
> **createBlockscoutClient**\<`Setup`\>(`options`, `clientOptions?`): `object`
|
|
52
52
|
|
|
53
|
-
Defined in: [sdk/blockscout/src/blockscout.ts:76](https://github.com/settlemint/sdk/blob/v2.3.
|
|
53
|
+
Defined in: [sdk/blockscout/src/blockscout.ts:76](https://github.com/settlemint/sdk/blob/v2.3.14/sdk/blockscout/src/blockscout.ts#L76)
|
|
54
54
|
|
|
55
55
|
Creates a Blockscout GraphQL client with proper type safety using gql.tada
|
|
56
56
|
|
|
@@ -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:80](https://github.com/settlemint/sdk/blob/v2.3.
|
|
81
|
-
| `graphql` | `initGraphQLTada`\<`Setup`\> | [sdk/blockscout/src/blockscout.ts:81](https://github.com/settlemint/sdk/blob/v2.3.
|
|
80
|
+
| `client` | `GraphQLClient` | [sdk/blockscout/src/blockscout.ts:80](https://github.com/settlemint/sdk/blob/v2.3.14/sdk/blockscout/src/blockscout.ts#L80) |
|
|
81
|
+
| `graphql` | `initGraphQLTada`\<`Setup`\> | [sdk/blockscout/src/blockscout.ts:81](https://github.com/settlemint/sdk/blob/v2.3.14/sdk/blockscout/src/blockscout.ts#L81) |
|
|
82
82
|
|
|
83
83
|
##### Throws
|
|
84
84
|
|
|
@@ -136,7 +136,7 @@ const result = await client.request(query, {
|
|
|
136
136
|
|
|
137
137
|
> **ClientOptions** = `z.infer`\<*typeof* [`ClientOptionsSchema`](#clientoptionsschema)\>
|
|
138
138
|
|
|
139
|
-
Defined in: [sdk/blockscout/src/blockscout.ts:24](https://github.com/settlemint/sdk/blob/v2.3.
|
|
139
|
+
Defined in: [sdk/blockscout/src/blockscout.ts:24](https://github.com/settlemint/sdk/blob/v2.3.14/sdk/blockscout/src/blockscout.ts#L24)
|
|
140
140
|
|
|
141
141
|
Type definition for client options derived from the ClientOptionsSchema
|
|
142
142
|
|
|
@@ -146,7 +146,7 @@ Type definition for client options derived from the ClientOptionsSchema
|
|
|
146
146
|
|
|
147
147
|
> **RequestConfig** = `ConstructorParameters`\<*typeof* `GraphQLClient`\>\[`1`\]
|
|
148
148
|
|
|
149
|
-
Defined in: [sdk/blockscout/src/blockscout.ts:11](https://github.com/settlemint/sdk/blob/v2.3.
|
|
149
|
+
Defined in: [sdk/blockscout/src/blockscout.ts:11](https://github.com/settlemint/sdk/blob/v2.3.14/sdk/blockscout/src/blockscout.ts#L11)
|
|
150
150
|
|
|
151
151
|
Type definition for GraphQL client configuration options
|
|
152
152
|
|
|
@@ -156,7 +156,7 @@ Type definition for GraphQL client configuration options
|
|
|
156
156
|
|
|
157
157
|
> `const` **ClientOptionsSchema**: `ZodObject`\<\{ `accessToken`: `ZodOptional`\<`ZodString`\>; `instance`: `ZodUnion`\<readonly \[`ZodString`, `ZodString`\]\>; \}, `$strip`\>
|
|
158
158
|
|
|
159
|
-
Defined in: [sdk/blockscout/src/blockscout.ts:16](https://github.com/settlemint/sdk/blob/v2.3.
|
|
159
|
+
Defined in: [sdk/blockscout/src/blockscout.ts:16](https://github.com/settlemint/sdk/blob/v2.3.14/sdk/blockscout/src/blockscout.ts#L16)
|
|
160
160
|
|
|
161
161
|
Schema for validating client options for the Blockscout client.
|
|
162
162
|
|
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": "2.3.
|
|
4
|
+
"version": "2.3.14",
|
|
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.3.
|
|
55
|
+
"@settlemint/sdk-utils": "2.3.14",
|
|
56
56
|
"graphql-request": "^7",
|
|
57
57
|
"zod": "^3.25.0"
|
|
58
58
|
},
|