@settlemint/sdk-blockscout 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 +9 -2
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -134,12 +134,19 @@ const result = await client.request(query, {
|
|
|
134
134
|
|
|
135
135
|
#### ClientOptions
|
|
136
136
|
|
|
137
|
-
> **ClientOptions** = `
|
|
137
|
+
> **ClientOptions** = `object`
|
|
138
138
|
|
|
139
139
|
Defined in: [sdk/blockscout/src/blockscout.ts:24](https://github.com/settlemint/sdk/blob/v2.4.0/sdk/blockscout/src/blockscout.ts#L24)
|
|
140
140
|
|
|
141
141
|
Type definition for client options derived from the ClientOptionsSchema
|
|
142
142
|
|
|
143
|
+
##### Type declaration
|
|
144
|
+
|
|
145
|
+
| Name | Type | Default value | Defined in |
|
|
146
|
+
| ------ | ------ | ------ | ------ |
|
|
147
|
+
| <a id="accesstoken"></a> `accessToken?` | `string` | - | [sdk/blockscout/src/blockscout.ts:18](https://github.com/settlemint/sdk/blob/v2.4.0/sdk/blockscout/src/blockscout.ts#L18) |
|
|
148
|
+
| <a id="instance"></a> `instance` | `string` | `UrlOrPathSchema` | [sdk/blockscout/src/blockscout.ts:17](https://github.com/settlemint/sdk/blob/v2.4.0/sdk/blockscout/src/blockscout.ts#L17) |
|
|
149
|
+
|
|
143
150
|
***
|
|
144
151
|
|
|
145
152
|
#### RequestConfig
|
|
@@ -154,7 +161,7 @@ Type definition for GraphQL client configuration options
|
|
|
154
161
|
|
|
155
162
|
#### ClientOptionsSchema
|
|
156
163
|
|
|
157
|
-
> `const` **ClientOptionsSchema**: `ZodObject
|
|
164
|
+
> `const` **ClientOptionsSchema**: `ZodObject`\<[`ClientOptions`](#clientoptions)\>
|
|
158
165
|
|
|
159
166
|
Defined in: [sdk/blockscout/src/blockscout.ts:16](https://github.com/settlemint/sdk/blob/v2.4.0/sdk/blockscout/src/blockscout.ts#L16)
|
|
160
167
|
|
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.4.0-
|
|
4
|
+
"version": "2.4.0-prf263ce2b",
|
|
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.4.0-
|
|
55
|
+
"@settlemint/sdk-utils": "2.4.0-prf263ce2b",
|
|
56
56
|
"graphql-request": "^7",
|
|
57
57
|
"zod": "^3.25.0"
|
|
58
58
|
},
|