@settlemint/sdk-blockscout 1.2.5-prf062f171 → 2.0.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 +6 -6
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -52,7 +52,7 @@ For detailed information about using Blockscout with the SettleMint platform, ch
52
52
 
53
53
  > **createBlockscoutClient**\<`Setup`\>(`options`, `clientOptions`?): `object`
54
54
 
55
- Defined in: [sdk/blockscout/src/blockscout.ts:70](https://github.com/settlemint/sdk/blob/v1.2.5/sdk/blockscout/src/blockscout.ts#L70)
55
+ Defined in: [sdk/blockscout/src/blockscout.ts:70](https://github.com/settlemint/sdk/blob/v2.0.0/sdk/blockscout/src/blockscout.ts#L70)
56
56
 
57
57
  Creates a Blockscout GraphQL client with proper type safety using gql.tada
58
58
 
@@ -79,8 +79,8 @@ An object containing the GraphQL client and initialized gql.tada function
79
79
 
80
80
  | Name | Type | Defined in |
81
81
  | ------ | ------ | ------ |
82
- | `client` | `GraphQLClient` | [sdk/blockscout/src/blockscout.ts:74](https://github.com/settlemint/sdk/blob/v1.2.5/sdk/blockscout/src/blockscout.ts#L74) |
83
- | `graphql` | `initGraphQLTada`\<`Setup`\> | [sdk/blockscout/src/blockscout.ts:75](https://github.com/settlemint/sdk/blob/v1.2.5/sdk/blockscout/src/blockscout.ts#L75) |
82
+ | `client` | `GraphQLClient` | [sdk/blockscout/src/blockscout.ts:74](https://github.com/settlemint/sdk/blob/v2.0.0/sdk/blockscout/src/blockscout.ts#L74) |
83
+ | `graphql` | `initGraphQLTada`\<`Setup`\> | [sdk/blockscout/src/blockscout.ts:75](https://github.com/settlemint/sdk/blob/v2.0.0/sdk/blockscout/src/blockscout.ts#L75) |
84
84
 
85
85
  ##### Throws
86
86
 
@@ -133,7 +133,7 @@ const result = await client.request(query, {
133
133
 
134
134
  > **ClientOptions** = `z.infer`\<*typeof* [`ClientOptionsSchema`](#clientoptionsschema)\>
135
135
 
136
- Defined in: [sdk/blockscout/src/blockscout.ts:23](https://github.com/settlemint/sdk/blob/v1.2.5/sdk/blockscout/src/blockscout.ts#L23)
136
+ Defined in: [sdk/blockscout/src/blockscout.ts:23](https://github.com/settlemint/sdk/blob/v2.0.0/sdk/blockscout/src/blockscout.ts#L23)
137
137
 
138
138
  Type definition for client options derived from the ClientOptionsSchema
139
139
 
@@ -143,7 +143,7 @@ Type definition for client options derived from the ClientOptionsSchema
143
143
 
144
144
  > **RequestConfig** = `ConstructorParameters`\<*typeof* `GraphQLClient`\>\[`1`\]
145
145
 
146
- Defined in: [sdk/blockscout/src/blockscout.ts:10](https://github.com/settlemint/sdk/blob/v1.2.5/sdk/blockscout/src/blockscout.ts#L10)
146
+ Defined in: [sdk/blockscout/src/blockscout.ts:10](https://github.com/settlemint/sdk/blob/v2.0.0/sdk/blockscout/src/blockscout.ts#L10)
147
147
 
148
148
  Type definition for GraphQL client configuration options
149
149
 
@@ -153,7 +153,7 @@ Type definition for GraphQL client configuration options
153
153
 
154
154
  > `const` **ClientOptionsSchema**: `ZodObject`\<\{ `accessToken`: `ZodString`; `instance`: `ZodUnion`\<\[`ZodString`, `ZodString`\]\>; \}, `"strip"`, `ZodTypeAny`, \{ `accessToken`: `string`; `instance`: `string`; \}, \{ `accessToken`: `string`; `instance`: `string`; \}\>
155
155
 
156
- Defined in: [sdk/blockscout/src/blockscout.ts:15](https://github.com/settlemint/sdk/blob/v1.2.5/sdk/blockscout/src/blockscout.ts#L15)
156
+ Defined in: [sdk/blockscout/src/blockscout.ts:15](https://github.com/settlemint/sdk/blob/v2.0.0/sdk/blockscout/src/blockscout.ts#L15)
157
157
 
158
158
  Schema for validating client options for the Blockscout client.
159
159
 
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": "1.2.5-prf062f171",
4
+ "version": "2.0.0",
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": "1.2.5-prf062f171",
55
+ "@settlemint/sdk-utils": "2.0.0",
56
56
  "graphql-request": "^7",
57
57
  "zod": "^3"
58
58
  },