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