@settlemint/sdk-blockscout 2.4.0-prfd4dd81c → 2.4.0

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 +3 -5
package/README.md CHANGED
@@ -134,19 +134,12 @@ const result = await client.request(query, {
134
134
 
135
135
  #### ClientOptions
136
136
 
137
- > **ClientOptions** = `object`
137
+ > **ClientOptions** = `z.infer`\<*typeof* [`ClientOptionsSchema`](#clientoptionsschema)\>
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
-
150
143
  ***
151
144
 
152
145
  #### RequestConfig
@@ -161,7 +154,7 @@ Type definition for GraphQL client configuration options
161
154
 
162
155
  #### ClientOptionsSchema
163
156
 
164
- > `const` **ClientOptionsSchema**: `ZodObject`\<[`ClientOptions`](#clientoptions)\>
157
+ > `const` **ClientOptionsSchema**: `ZodObject`\<\{ `accessToken`: `ZodOptional`\<`ZodString`\>; `instance`: `ZodUnion`\<readonly \[`ZodString`, `ZodString`\]\>; \}, `$strip`\>
165
158
 
166
159
  Defined in: [sdk/blockscout/src/blockscout.ts:16](https://github.com/settlemint/sdk/blob/v2.4.0/sdk/blockscout/src/blockscout.ts#L16)
167
160
 
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-prfd4dd81c",
4
+ "version": "2.4.0",
5
5
  "type": "module",
6
6
  "private": false,
7
7
  "license": "FSL-1.1-MIT",
@@ -20,9 +20,7 @@
20
20
  "url": "https://github.com/settlemint/sdk/issues",
21
21
  "email": "support@settlemint.com"
22
22
  },
23
- "files": [
24
- "dist"
25
- ],
23
+ "files": ["dist"],
26
24
  "main": "./dist/blockscout.cjs",
27
25
  "module": "./dist/blockscout.js",
28
26
  "types": "./dist/blockscout.d.ts",
@@ -54,7 +52,7 @@
54
52
  "devDependencies": {},
55
53
  "dependencies": {
56
54
  "gql.tada": "^1",
57
- "@settlemint/sdk-utils": "2.4.0-prfd4dd81c",
55
+ "@settlemint/sdk-utils": "2.4.0",
58
56
  "graphql-request": "^7",
59
57
  "zod": "^3.25.0"
60
58
  },