@settlemint/sdk-blockscout 2.2.0 → 2.2.1

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 +8 -10
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -42,8 +42,6 @@
42
42
 
43
43
  The SettleMint Blockscout SDK provides a seamless way to interact with Blockscout APIs for blockchain data exploration and analysis. It enables you to easily query transaction data, blocks, addresses, smart contracts and more from your SettleMint-powered blockchain networks.
44
44
 
45
- For detailed information about using Blockscout with the SettleMint platform, check out our [official documentation](https://console.settlemint.com/documentation).
46
-
47
45
  ## API Reference
48
46
 
49
47
  ### Functions
@@ -52,7 +50,7 @@ For detailed information about using Blockscout with the SettleMint platform, ch
52
50
 
53
51
  > **createBlockscoutClient**\<`Setup`\>(`options`, `clientOptions?`): `object`
54
52
 
55
- Defined in: [sdk/blockscout/src/blockscout.ts:75](https://github.com/settlemint/sdk/blob/v2.2.0/sdk/blockscout/src/blockscout.ts#L75)
53
+ Defined in: [sdk/blockscout/src/blockscout.ts:75](https://github.com/settlemint/sdk/blob/v2.2.1/sdk/blockscout/src/blockscout.ts#L75)
56
54
 
57
55
  Creates a Blockscout GraphQL client with proper type safety using gql.tada
58
56
 
@@ -79,8 +77,8 @@ An object containing the GraphQL client and initialized gql.tada function
79
77
 
80
78
  | Name | Type | Defined in |
81
79
  | ------ | ------ | ------ |
82
- | `client` | `GraphQLClient` | [sdk/blockscout/src/blockscout.ts:79](https://github.com/settlemint/sdk/blob/v2.2.0/sdk/blockscout/src/blockscout.ts#L79) |
83
- | `graphql` | `initGraphQLTada`\<`Setup`\> | [sdk/blockscout/src/blockscout.ts:80](https://github.com/settlemint/sdk/blob/v2.2.0/sdk/blockscout/src/blockscout.ts#L80) |
80
+ | `client` | `GraphQLClient` | [sdk/blockscout/src/blockscout.ts:79](https://github.com/settlemint/sdk/blob/v2.2.1/sdk/blockscout/src/blockscout.ts#L79) |
81
+ | `graphql` | `initGraphQLTada`\<`Setup`\> | [sdk/blockscout/src/blockscout.ts:80](https://github.com/settlemint/sdk/blob/v2.2.1/sdk/blockscout/src/blockscout.ts#L80) |
84
82
 
85
83
  ##### Throws
86
84
 
@@ -138,7 +136,7 @@ const result = await client.request(query, {
138
136
 
139
137
  > **ClientOptions** = `object`
140
138
 
141
- Defined in: [sdk/blockscout/src/blockscout.ts:23](https://github.com/settlemint/sdk/blob/v2.2.0/sdk/blockscout/src/blockscout.ts#L23)
139
+ Defined in: [sdk/blockscout/src/blockscout.ts:23](https://github.com/settlemint/sdk/blob/v2.2.1/sdk/blockscout/src/blockscout.ts#L23)
142
140
 
143
141
  Type definition for client options derived from the ClientOptionsSchema
144
142
 
@@ -146,8 +144,8 @@ Type definition for client options derived from the ClientOptionsSchema
146
144
 
147
145
  | Name | Type | Default value | Defined in |
148
146
  | ------ | ------ | ------ | ------ |
149
- | <a id="accesstoken"></a> `accessToken` | `string` | `ApplicationAccessTokenSchema` | [sdk/blockscout/src/blockscout.ts:17](https://github.com/settlemint/sdk/blob/v2.2.0/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.2.0/sdk/blockscout/src/blockscout.ts#L16) |
147
+ | <a id="accesstoken"></a> `accessToken` | `string` | `ApplicationAccessTokenSchema` | [sdk/blockscout/src/blockscout.ts:17](https://github.com/settlemint/sdk/blob/v2.2.1/sdk/blockscout/src/blockscout.ts#L17) |
148
+ | <a id="instance"></a> `instance` | `string` | `UrlOrPathSchema` | [sdk/blockscout/src/blockscout.ts:16](https://github.com/settlemint/sdk/blob/v2.2.1/sdk/blockscout/src/blockscout.ts#L16) |
151
149
 
152
150
  ***
153
151
 
@@ -155,7 +153,7 @@ Type definition for client options derived from the ClientOptionsSchema
155
153
 
156
154
  > **RequestConfig** = `ConstructorParameters`\<*typeof* `GraphQLClient`\>\[`1`\]
157
155
 
158
- Defined in: [sdk/blockscout/src/blockscout.ts:10](https://github.com/settlemint/sdk/blob/v2.2.0/sdk/blockscout/src/blockscout.ts#L10)
156
+ Defined in: [sdk/blockscout/src/blockscout.ts:10](https://github.com/settlemint/sdk/blob/v2.2.1/sdk/blockscout/src/blockscout.ts#L10)
159
157
 
160
158
  Type definition for GraphQL client configuration options
161
159
 
@@ -165,7 +163,7 @@ Type definition for GraphQL client configuration options
165
163
 
166
164
  > `const` **ClientOptionsSchema**: `ZodObject`\<[`ClientOptions`](#clientoptions)\>
167
165
 
168
- Defined in: [sdk/blockscout/src/blockscout.ts:15](https://github.com/settlemint/sdk/blob/v2.2.0/sdk/blockscout/src/blockscout.ts#L15)
166
+ Defined in: [sdk/blockscout/src/blockscout.ts:15](https://github.com/settlemint/sdk/blob/v2.2.1/sdk/blockscout/src/blockscout.ts#L15)
169
167
 
170
168
  Schema for validating client options for the Blockscout client.
171
169
 
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.2.0",
4
+ "version": "2.2.1",
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.2.0",
55
+ "@settlemint/sdk-utils": "2.2.1",
56
56
  "graphql-request": "^7",
57
57
  "zod": "^3"
58
58
  },