@settlemint/sdk-eas 2.4.0-pr7c98613c → 2.4.0-pr7dabb22d
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 +9 -9
- package/dist/browser/eas.d.ts +3 -4
- package/dist/browser/eas.js +3 -4
- package/dist/browser/eas.js.map +1 -1
- package/dist/eas.cjs +3 -4
- package/dist/eas.cjs.map +1 -1
- package/dist/eas.d.cts +3 -4
- package/dist/eas.d.ts +3 -4
- package/dist/eas.js +3 -4
- package/dist/eas.js.map +1 -1
- package/package.json +4 -6
package/dist/eas.d.cts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/* SettleMint EAS SDK - Portal Optimized */
|
|
2
1
|
import { Address, Hex } from "viem";
|
|
3
2
|
import { createPortalClient } from "@settlemint/sdk-portal";
|
|
4
3
|
import { z } from "zod/v4";
|
|
@@ -4311,7 +4310,7 @@ declare class EASClient {
|
|
|
4311
4310
|
*
|
|
4312
4311
|
* TODO: Implement using The Graph subgraph for EAS data queries
|
|
4313
4312
|
*/
|
|
4314
|
-
getSchemas(
|
|
4313
|
+
getSchemas(options?: GetSchemasOptions): Promise<SchemaData[]>;
|
|
4315
4314
|
/**
|
|
4316
4315
|
* Get an attestation by UID
|
|
4317
4316
|
*
|
|
@@ -4323,13 +4322,13 @@ declare class EASClient {
|
|
|
4323
4322
|
*
|
|
4324
4323
|
* TODO: Implement using The Graph subgraph for EAS data queries
|
|
4325
4324
|
*/
|
|
4326
|
-
getAttestations(
|
|
4325
|
+
getAttestations(options?: GetAttestationsOptions): Promise<AttestationInfo[]>;
|
|
4327
4326
|
/**
|
|
4328
4327
|
* Check if an attestation is valid
|
|
4329
4328
|
*
|
|
4330
4329
|
* TODO: Implement using The Graph subgraph for EAS data queries
|
|
4331
4330
|
*/
|
|
4332
|
-
isValidAttestation(
|
|
4331
|
+
isValidAttestation(uid: Hex): Promise<boolean>;
|
|
4333
4332
|
/**
|
|
4334
4333
|
* Get the current timestamp from the contract
|
|
4335
4334
|
*
|
package/dist/eas.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/* SettleMint EAS SDK - Portal Optimized */
|
|
2
1
|
import { createPortalClient } from "@settlemint/sdk-portal";
|
|
3
2
|
import { Address, Hex } from "viem";
|
|
4
3
|
import { z } from "zod/v4";
|
|
@@ -4311,7 +4310,7 @@ declare class EASClient {
|
|
|
4311
4310
|
*
|
|
4312
4311
|
* TODO: Implement using The Graph subgraph for EAS data queries
|
|
4313
4312
|
*/
|
|
4314
|
-
getSchemas(
|
|
4313
|
+
getSchemas(options?: GetSchemasOptions): Promise<SchemaData[]>;
|
|
4315
4314
|
/**
|
|
4316
4315
|
* Get an attestation by UID
|
|
4317
4316
|
*
|
|
@@ -4323,13 +4322,13 @@ declare class EASClient {
|
|
|
4323
4322
|
*
|
|
4324
4323
|
* TODO: Implement using The Graph subgraph for EAS data queries
|
|
4325
4324
|
*/
|
|
4326
|
-
getAttestations(
|
|
4325
|
+
getAttestations(options?: GetAttestationsOptions): Promise<AttestationInfo[]>;
|
|
4327
4326
|
/**
|
|
4328
4327
|
* Check if an attestation is valid
|
|
4329
4328
|
*
|
|
4330
4329
|
* TODO: Implement using The Graph subgraph for EAS data queries
|
|
4331
4330
|
*/
|
|
4332
|
-
isValidAttestation(
|
|
4331
|
+
isValidAttestation(uid: Hex): Promise<boolean>;
|
|
4333
4332
|
/**
|
|
4334
4333
|
* Get the current timestamp from the contract
|
|
4335
4334
|
*
|
package/dist/eas.js
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/* SettleMint EAS SDK - Portal Optimized */
|
|
2
1
|
import "node:module";
|
|
3
2
|
import { createPortalClient, waitForTransactionReceipt } from "@settlemint/sdk-portal";
|
|
4
3
|
import { createLogger, requestLogger } from "@settlemint/sdk-utils/logging";
|
|
@@ -11268,7 +11267,7 @@ var EASClient = class {
|
|
|
11268
11267
|
*
|
|
11269
11268
|
* TODO: Implement using The Graph subgraph for EAS data queries
|
|
11270
11269
|
*/
|
|
11271
|
-
async getSchemas(
|
|
11270
|
+
async getSchemas(options) {
|
|
11272
11271
|
throw new Error("Schema listing not implemented yet. Use The Graph subgraph for reading schema data.");
|
|
11273
11272
|
}
|
|
11274
11273
|
/**
|
|
@@ -11284,7 +11283,7 @@ var EASClient = class {
|
|
|
11284
11283
|
*
|
|
11285
11284
|
* TODO: Implement using The Graph subgraph for EAS data queries
|
|
11286
11285
|
*/
|
|
11287
|
-
async getAttestations(
|
|
11286
|
+
async getAttestations(options) {
|
|
11288
11287
|
throw new Error("Attestation listing not implemented yet. Use The Graph subgraph for reading attestation data.");
|
|
11289
11288
|
}
|
|
11290
11289
|
/**
|
|
@@ -11292,7 +11291,7 @@ var EASClient = class {
|
|
|
11292
11291
|
*
|
|
11293
11292
|
* TODO: Implement using The Graph subgraph for EAS data queries
|
|
11294
11293
|
*/
|
|
11295
|
-
async isValidAttestation(
|
|
11294
|
+
async isValidAttestation(uid) {
|
|
11296
11295
|
return false;
|
|
11297
11296
|
}
|
|
11298
11297
|
/**
|