@settlemint/sdk-eas 2.3.2-prbe16a4a1 → 2.3.2-prcab731ad

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 +10 -4
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -61,7 +61,13 @@ Creates an EAS client for interacting with the Ethereum Attestation Service.
61
61
 
62
62
  | Parameter | Type | Description |
63
63
  | ------ | ------ | ------ |
64
- | `options` | [`ClientOptions`](#clientoptions) | Configuration options for the client |
64
+ | `options` | \{ `accessToken`: `string`; `attestationAddress`: `string`; `chainId`: `string`; `chainName`: `string`; `rpcUrl`: `string`; `schemaRegistryAddress`: `string`; \} | Configuration options for the client |
65
+ | `options.accessToken` | `string` | Access token for the RPC provider (must start with 'sm_aat_' or 'sm_pat_') |
66
+ | `options.attestationAddress` | `string` | The address of the EAS Attestation contract |
67
+ | `options.chainId` | `string` | The chain ID to connect to |
68
+ | `options.chainName` | `string` | The name of the chain to connect to |
69
+ | `options.rpcUrl` | `string` | The RPC URL to connect to (must be a valid URL) |
70
+ | `options.schemaRegistryAddress` | `string` | The address of the EAS Schema Registry contract |
65
71
 
66
72
  ##### Returns
67
73
 
@@ -129,9 +135,9 @@ Represents a single field in an EAS schema.
129
135
 
130
136
  #### ClientOptions
131
137
 
132
- > **ClientOptions** = `z.infer`\<*typeof* [`ClientOptionsSchema`](#clientoptionsschema)\> & `Pick`\<`ViemClientOptions`, `"accessToken"` \| `"chainId"` \| `"chainName"` \| `"rpcUrl"`\>
138
+ > **ClientOptions** = `z.infer`\<*typeof* [`ClientOptionsSchema`](#clientoptionsschema)\>
133
139
 
134
- Defined in: [sdk/eas/src/client-options.schema.ts:29](https://github.com/settlemint/sdk/blob/v2.3.2/sdk/eas/src/client-options.schema.ts#L29)
140
+ Defined in: [sdk/eas/src/client-options.schema.ts:28](https://github.com/settlemint/sdk/blob/v2.3.2/sdk/eas/src/client-options.schema.ts#L28)
135
141
 
136
142
  Configuration options for creating an EAS client.
137
143
  Combines EAS-specific options with base Viem client options.
@@ -142,7 +148,7 @@ Combines EAS-specific options with base Viem client options.
142
148
 
143
149
  > `const` **ClientOptionsSchema**: `ZodObject`\<\{ `accessToken`: `ZodString`; `attestationAddress`: `ZodString`; `chainId`: `ZodString`; `chainName`: `ZodString`; `rpcUrl`: `ZodString`; `schemaRegistryAddress`: `ZodString`; \}, `$strip`\>
144
150
 
145
- Defined in: [sdk/eas/src/client-options.schema.ts:10](https://github.com/settlemint/sdk/blob/v2.3.2/sdk/eas/src/client-options.schema.ts#L10)
151
+ Defined in: [sdk/eas/src/client-options.schema.ts:9](https://github.com/settlemint/sdk/blob/v2.3.2/sdk/eas/src/client-options.schema.ts#L9)
146
152
 
147
153
  Schema for validating EAS client configuration options.
148
154
  Extends the base Viem client options with EAS-specific requirements.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@settlemint/sdk-eas",
3
3
  "description": "Ethereum Attestation Service (EAS) integration for SettleMint SDK",
4
- "version": "2.3.2-prbe16a4a1",
4
+ "version": "2.3.2-prcab731ad",
5
5
  "type": "module",
6
6
  "private": false,
7
7
  "license": "FSL-1.1-MIT",
@@ -52,8 +52,8 @@
52
52
  "devDependencies": {},
53
53
  "dependencies": {
54
54
  "@ethereum-attestation-service/eas-sdk": "^2",
55
- "@settlemint/sdk-utils": "2.3.2-prbe16a4a1",
56
- "@settlemint/sdk-viem": "2.3.2-prbe16a4a1",
55
+ "@settlemint/sdk-utils": "2.3.2-prcab731ad",
56
+ "@settlemint/sdk-viem": "2.3.2-prcab731ad",
57
57
  "ethers": "^6",
58
58
  "viem": "^2"
59
59
  },