@settlemint/sdk-blockscout 2.1.1-mainb520d1f5 → 2.1.1-pr81ef9d7f

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 +2 -9
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -136,19 +136,12 @@ const result = await client.request(query, {
136
136
 
137
137
  #### ClientOptions
138
138
 
139
- > **ClientOptions** = `object`
139
+ > **ClientOptions** = `z.infer`\<*typeof* [`ClientOptionsSchema`](#clientoptionsschema)\>
140
140
 
141
141
  Defined in: [sdk/blockscout/src/blockscout.ts:23](https://github.com/settlemint/sdk/blob/v2.1.1/sdk/blockscout/src/blockscout.ts#L23)
142
142
 
143
143
  Type definition for client options derived from the ClientOptionsSchema
144
144
 
145
- ##### Type declaration
146
-
147
- | Name | Type | Default value | Defined in |
148
- | ------ | ------ | ------ | ------ |
149
- | <a id="accesstoken"></a> `accessToken` | `string` | `ApplicationAccessTokenSchema` | [sdk/blockscout/src/blockscout.ts:17](https://github.com/settlemint/sdk/blob/v2.1.1/sdk/blockscout/src/blockscout.ts#L17) |
150
- | <a id="instance"></a> `instance` | `string` | `UrlOrPathSchema` | [sdk/blockscout/src/blockscout.ts:16](https://github.com/settlemint/sdk/blob/v2.1.1/sdk/blockscout/src/blockscout.ts#L16) |
151
-
152
145
  ***
153
146
 
154
147
  #### RequestConfig
@@ -163,7 +156,7 @@ Type definition for GraphQL client configuration options
163
156
 
164
157
  #### ClientOptionsSchema
165
158
 
166
- > `const` **ClientOptionsSchema**: `ZodObject`\<[`ClientOptions`](#clientoptions)\>
159
+ > `const` **ClientOptionsSchema**: `ZodObject`\<\{ `accessToken`: `ZodString`; `instance`: `ZodUnion`\<\[`ZodString`, `ZodString`\]\>; \}, `"strip"`, `ZodTypeAny`, \{ `accessToken`: `string`; `instance`: `string`; \}, \{ `accessToken`: `string`; `instance`: `string`; \}\>
167
160
 
168
161
  Defined in: [sdk/blockscout/src/blockscout.ts:15](https://github.com/settlemint/sdk/blob/v2.1.1/sdk/blockscout/src/blockscout.ts#L15)
169
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.1.1-mainb520d1f5",
4
+ "version": "2.1.1-pr81ef9d7f",
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.1.1-mainb520d1f5",
55
+ "@settlemint/sdk-utils": "2.1.1-pr81ef9d7f",
56
56
  "graphql-request": "^7",
57
57
  "zod": "^3"
58
58
  },