@settlemint/sdk-eas 2.4.0-prec526eee → 2.4.0-prf9d91e91

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.
package/README.md CHANGED
@@ -1136,12 +1136,22 @@ Transaction result
1136
1136
 
1137
1137
  #### EASClientOptions
1138
1138
 
1139
- > **EASClientOptions** = `z.infer`\<*typeof* [`EASClientOptionsSchema`](#easclientoptionsschema)\>
1139
+ > **EASClientOptions** = `object`
1140
1140
 
1141
1141
  Defined in: [sdk/eas/src/schema.ts:44](https://github.com/settlemint/sdk/blob/v2.4.0/sdk/eas/src/schema.ts#L44)
1142
1142
 
1143
1143
  Configuration options for the EAS client
1144
1144
 
1145
+ ##### Type declaration
1146
+
1147
+ | Name | Type | Default value | Description | Defined in |
1148
+ | ------ | ------ | ------ | ------ | ------ |
1149
+ | <a id="accesstoken"></a> `accessToken?` | `string` | - | The application access token | [sdk/eas/src/utils/validation.ts:21](https://github.com/settlemint/sdk/blob/v2.4.0/sdk/eas/src/utils/validation.ts#L21) |
1150
+ | <a id="debug"></a> `debug?` | `boolean` | - | Whether to enable debug mode | [sdk/eas/src/utils/validation.ts:33](https://github.com/settlemint/sdk/blob/v2.4.0/sdk/eas/src/utils/validation.ts#L33) |
1151
+ | <a id="eascontractaddress"></a> `easContractAddress?` | `` `0x${string}` `` | - | The EAS contract address | [sdk/eas/src/utils/validation.ts:25](https://github.com/settlemint/sdk/blob/v2.4.0/sdk/eas/src/utils/validation.ts#L25) |
1152
+ | <a id="instance"></a> `instance` | `string` | `UrlSchema` | The EAS instance URL | [sdk/eas/src/utils/validation.ts:17](https://github.com/settlemint/sdk/blob/v2.4.0/sdk/eas/src/utils/validation.ts#L17) |
1153
+ | <a id="schemaregistrycontractaddress"></a> `schemaRegistryContractAddress?` | `` `0x${string}` `` | - | The schema registry contract address | [sdk/eas/src/utils/validation.ts:29](https://github.com/settlemint/sdk/blob/v2.4.0/sdk/eas/src/utils/validation.ts#L29) |
1154
+
1145
1155
  ### Variables
1146
1156
 
1147
1157
  #### EAS\_FIELD\_TYPES
@@ -1171,7 +1181,7 @@ Maps to the Solidity types that can be used in EAS schemas.
1171
1181
 
1172
1182
  #### EASClientOptionsSchema
1173
1183
 
1174
- > `const` **EASClientOptionsSchema**: `ZodObject`\<\{ `accessToken`: `ZodOptional`\<`ZodString`\>; `debug`: `ZodOptional`\<`ZodBoolean`\>; `easContractAddress`: `ZodOptional`\<`ZodCustom`\<`` `0x${string}` ``, `` `0x${string}` ``\>\>; `instance`: `ZodString`; `schemaRegistryContractAddress`: `ZodOptional`\<`ZodCustom`\<`` `0x${string}` ``, `` `0x${string}` ``\>\>; \}, `$strip`\>
1184
+ > `const` **EASClientOptionsSchema**: `ZodObject`\<[`EASClientOptions`](#easclientoptions)\>
1175
1185
 
1176
1186
  Defined in: [sdk/eas/src/utils/validation.ts:13](https://github.com/settlemint/sdk/blob/v2.4.0/sdk/eas/src/utils/validation.ts#L13)
1177
1187
 
@@ -4310,7 +4310,7 @@ declare class EASClient {
4310
4310
  *
4311
4311
  * TODO: Implement using The Graph subgraph for EAS data queries
4312
4312
  */
4313
- getSchemas(options?: GetSchemasOptions): Promise<SchemaData[]>;
4313
+ getSchemas(_options?: GetSchemasOptions): Promise<SchemaData[]>;
4314
4314
  /**
4315
4315
  * Get an attestation by UID
4316
4316
  *
@@ -4322,13 +4322,13 @@ declare class EASClient {
4322
4322
  *
4323
4323
  * TODO: Implement using The Graph subgraph for EAS data queries
4324
4324
  */
4325
- getAttestations(options?: GetAttestationsOptions): Promise<AttestationInfo[]>;
4325
+ getAttestations(_options?: GetAttestationsOptions): Promise<AttestationInfo[]>;
4326
4326
  /**
4327
4327
  * Check if an attestation is valid
4328
4328
  *
4329
4329
  * TODO: Implement using The Graph subgraph for EAS data queries
4330
4330
  */
4331
- isValidAttestation(uid: Hex): Promise<boolean>;
4331
+ isValidAttestation(_uid: Hex): Promise<boolean>;
4332
4332
  /**
4333
4333
  * Get the current timestamp from the contract
4334
4334
  *
@@ -11266,7 +11266,7 @@ var EASClient = class {
11266
11266
  *
11267
11267
  * TODO: Implement using The Graph subgraph for EAS data queries
11268
11268
  */
11269
- async getSchemas(options) {
11269
+ async getSchemas(_options) {
11270
11270
  throw new Error("Schema listing not implemented yet. Use The Graph subgraph for reading schema data.");
11271
11271
  }
11272
11272
  /**
@@ -11282,7 +11282,7 @@ var EASClient = class {
11282
11282
  *
11283
11283
  * TODO: Implement using The Graph subgraph for EAS data queries
11284
11284
  */
11285
- async getAttestations(options) {
11285
+ async getAttestations(_options) {
11286
11286
  throw new Error("Attestation listing not implemented yet. Use The Graph subgraph for reading attestation data.");
11287
11287
  }
11288
11288
  /**
@@ -11290,7 +11290,7 @@ var EASClient = class {
11290
11290
  *
11291
11291
  * TODO: Implement using The Graph subgraph for EAS data queries
11292
11292
  */
11293
- async isValidAttestation(uid) {
11293
+ async isValidAttestation(_uid) {
11294
11294
  return false;
11295
11295
  }
11296
11296
  /**