@seedprotocol/eas 0.7.1 → 0.7.2-next.593.gd5bd4ea

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/dist/api.d.ts CHANGED
@@ -27,6 +27,47 @@ export declare const getSeedsFromSchemaUids: ({ schemaUids, addresses, excludeRe
27
27
  addresses: string[];
28
28
  excludeRevoked?: boolean;
29
29
  }) => Promise<Attestation[]>;
30
- export declare const getSeedsBySchemaName: (schemaName: string, limit?: number, skip?: number) => Promise<Attestation[]>;
30
+ /**
31
+ * Seeds of the schema named `schemaName`, newest first, revoked ones left out. With `uidPrefix`,
32
+ * only seeds whose UID starts with it; easscan matches it case-sensitively, so pass it lowercase
33
+ * with `0x`.
34
+ */
35
+ export declare const getSeedsBySchemaName: (schemaName: string, limit?: number, skip?: number, options?: {
36
+ uidPrefix?: string;
37
+ }) => Promise<Attestation[]>;
38
+ /** Clears the schema-name cache of getSchemaNamesBySchemaUids. For tests. */
39
+ export declare const resetSchemaNamesCache: () => void;
40
+ /**
41
+ * Names of each EAS schema in `schemaUids`, in EAS order, keyed by the UID as given. Schemas with
42
+ * no name are left out. Found names are cached for the process; schemas without one are asked
43
+ * again next time.
44
+ */
45
+ export declare const getSchemaNamesBySchemaUids: (schemaUids: string[]) => Promise<Map<string, string[]>>;
46
+ /**
47
+ * Seed attestations whose UID is in `uids`, newest first, with `schema.schemaNames` attached from
48
+ * their `schemaId` (the seeds themselves are fetched without that join, which is slow on easscan).
49
+ */
50
+ export declare const getSeedsByUidsFromEas: ({ uids, excludeRevoked, }: {
51
+ uids: string[];
52
+ excludeRevoked?: boolean;
53
+ }) => Promise<Attestation[]>;
54
+ export type AttestationChange = {
55
+ id: string;
56
+ refUID: string;
57
+ timeCreated: number;
58
+ /** Unix seconds; 0 when not revoked. */
59
+ revocationTime: number;
60
+ };
61
+ /**
62
+ * Attestations created or revoked after `since` (unix seconds) that either reference one of
63
+ * `refUIDs` (new or revoked Versions of a Seed, properties of a Version) or are one of `ids`
64
+ * (a revoked Seed). Revoked ones are included: a revocation is a change. Large lists are split
65
+ * over several requests, run concurrently.
66
+ */
67
+ export declare const getAttestationChangesSince: ({ refUIDs, ids, since, }: {
68
+ refUIDs: string[];
69
+ ids: string[];
70
+ since: number;
71
+ }) => Promise<AttestationChange[]>;
31
72
  export declare const getSeedUidsBySchemaName: (schemaName: string, limit?: number) => Promise<string[]>;
32
73
  //# sourceMappingURL=api.d.ts.map
package/dist/api.d.ts.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../src/api.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,WAAW,EAAuB,MAAM,0BAA0B,CAAA;AAEhF,YAAY,EAAE,WAAW,EAAE,MAAM,IAAI,SAAS,EAAE,MAAM,0BAA0B,CAAA;AAEhF,eAAO,MAAM,sBAAsB,GAAU,+BAG1C;IACD,QAAQ,EAAE,MAAM,EAAE,CAAA;IAClB,cAAc,CAAC,EAAE,OAAO,CAAA;CACzB,KAAG,OAAO,CAAC,WAAW,EAAE,CAiBxB,CAAA;AAED,eAAO,MAAM,wBAAwB,GAAU,kCAG5C;IACD,WAAW,EAAE,MAAM,EAAE,CAAA;IACrB,cAAc,CAAC,EAAE,OAAO,CAAA;CACzB,KAAG,OAAO,CAAC,WAAW,EAAE,CAiBxB,CAAA;AAED,eAAO,MAAM,iCAAiC,GAAU,OAAO;IAC7D,WAAW,EAAE,MAAM,EAAE,CAAA;IACrB,cAAc,CAAC,EAAE,OAAO,CAAA;CACzB,KAAG,OAAO,CAAC,WAAW,EAAE,CAGxB,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,6BAA6B,GAAU,iBAEjD;IACD,UAAU,EAAE,MAAM,CAAA;CACnB,KAAG,OAAO,CAAC,MAAM,GAAG,SAAS,CAyB7B,CAAA;AAED,eAAO,MAAM,2BAA2B,GAAU,iBAE/C;IACD,UAAU,EAAE,MAAM,CAAA;CACnB,KAAG,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AAE,QAAO,MAAW,sBAGnF,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"Attestation.d.ts","sourceRoot":"","sources":["../../../src/graphql/fragments/Attestation.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,kBAAkB,4HAmB5B,CAAA"}
1
+ {"version":3,"file":"Attestation.d.ts","sourceRoot":"","sources":["../../../src/graphql/fragments/Attestation.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,kBAAkB,4HAc5B,CAAA"}
@@ -12,11 +12,12 @@ import type { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-
12
12
  * Learn more about it here: https://the-guild.dev/graphql/codegen/plugins/presets/preset-client#reducing-bundle-size
13
13
  */
14
14
  type Documents = {
15
- "\n fragment attestationFields on Attestation {\n id\n decodedDataJson\n attester\n schema {\n schemaNames {\n name\n }\n }\n refUID\n revoked\n revocationTime\n schemaId\n txid\n timeCreated\n time\n isOffchain\n }\n": typeof types.AttestationFieldsFragmentDoc;
15
+ "\n fragment attestationFields on Attestation {\n id\n decodedDataJson\n attester\n refUID\n revoked\n revocationTime\n schemaId\n txid\n timeCreated\n time\n isOffchain\n }\n": typeof types.AttestationFieldsFragmentDoc;
16
16
  "\n fragment schemaFields on Schema {\n id\n resolver\n revocable\n schema\n index\n schemaNames {\n name\n }\n time\n txid\n creator\n }\n": typeof types.SchemaFieldsFragmentDoc;
17
17
  "\n query GetSchemas($where: SchemaWhereInput!) {\n schemas: schemata(where: $where) {\n id\n schema\n schemaNames {\n name\n }\n }\n }\n": typeof types.GetSchemasDocument;
18
18
  "\n query GetSchemaByName($where: SchemaWhereInput!) {\n schemas: schemata(where: $where) {\n id\n schema\n schemaNames {\n name\n }\n }\n }\n": typeof types.GetSchemaByNameDocument;
19
19
  "\n query GetSeeds($where: AttestationWhereInput!, $take: Int, $skip: Int) {\n itemSeeds: attestations(where: $where, orderBy: [{ timeCreated: desc }], take: $take, skip: $skip) {\n id\n decodedDataJson\n attester\n schema {\n schemaNames {\n name\n }\n }\n refUID\n revoked\n revocationTime\n schemaId\n timeCreated\n isOffchain\n }\n }\n": typeof types.GetSeedsDocument;
20
+ "\n query GetSeedsLean($where: AttestationWhereInput!, $take: Int, $skip: Int) {\n itemSeeds: attestations(where: $where, orderBy: [{ timeCreated: desc }], take: $take, skip: $skip) {\n id\n decodedDataJson\n attester\n refUID\n revoked\n revocationTime\n schemaId\n timeCreated\n isOffchain\n }\n }\n": typeof types.GetSeedsLeanDocument;
20
21
  "\n query GetSeedIds($where: AttestationWhereInput!) {\n itemSeedIds: attestations(where: $where, orderBy: [{ timeCreated: desc }]) {\n id\n }\n }\n": typeof types.GetSeedIdsDocument;
21
22
  "\n query GetStorageTransactionId($where: AttestationWhereInput!) {\n storageTransactionId: attestations(\n where: $where\n orderBy: [{ timeCreated: desc }]\n ) {\n id\n decodedDataJson\n }\n }\n": typeof types.GetStorageTransactionIdDocument;
22
23
  "\n query GetVersions($where: AttestationWhereInput!) {\n itemVersions: attestations(\n where: $where\n orderBy: [{ timeCreated: desc }]\n ) {\n ...attestationFields\n }\n }\n": typeof types.GetVersionsDocument;
@@ -25,6 +26,7 @@ type Documents = {
25
26
  "\n query GetFilesMetadata($where: AttestationWhereInput!) {\n filesMetadata: attestations(\n where: $where\n orderBy: [{ timeCreated: desc }]\n ) {\n ...attestationFields\n }\n }\n": typeof types.GetFilesMetadataDocument;
26
27
  "\n query GetImageSeeds($where: AttestationWhereInput!) {\n imageSeeds: attestations(where: $where, orderBy: [{ timeCreated: desc }]) {\n id\n decodedDataJson\n attester\n schema {\n schemaNames {\n name\n }\n }\n refUID\n revoked\n schemaId\n txid\n timeCreated\n time\n isOffchain\n }\n }\n": typeof types.GetImageSeedsDocument;
27
28
  "\n query GetImageVersions($where: AttestationWhereInput!) {\n imageVersions: attestations(\n where: $where\n orderBy: [{ timeCreated: desc }]\n ) {\n ...attestationFields\n }\n }\n": typeof types.GetImageVersionsDocument;
29
+ "\n query GetAttestationChanges($where: AttestationWhereInput!) {\n changes: attestations(where: $where) {\n id\n refUID\n timeCreated\n revocationTime\n }\n }\n": typeof types.GetAttestationChangesDocument;
28
30
  };
29
31
  declare const documents: Documents;
30
32
  /**
@@ -43,7 +45,7 @@ export declare function graphql(source: string): unknown;
43
45
  /**
44
46
  * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
45
47
  */
46
- export declare function graphql(source: "\n fragment attestationFields on Attestation {\n id\n decodedDataJson\n attester\n schema {\n schemaNames {\n name\n }\n }\n refUID\n revoked\n revocationTime\n schemaId\n txid\n timeCreated\n time\n isOffchain\n }\n"): (typeof documents)["\n fragment attestationFields on Attestation {\n id\n decodedDataJson\n attester\n schema {\n schemaNames {\n name\n }\n }\n refUID\n revoked\n revocationTime\n schemaId\n txid\n timeCreated\n time\n isOffchain\n }\n"];
48
+ export declare function graphql(source: "\n fragment attestationFields on Attestation {\n id\n decodedDataJson\n attester\n refUID\n revoked\n revocationTime\n schemaId\n txid\n timeCreated\n time\n isOffchain\n }\n"): (typeof documents)["\n fragment attestationFields on Attestation {\n id\n decodedDataJson\n attester\n refUID\n revoked\n revocationTime\n schemaId\n txid\n timeCreated\n time\n isOffchain\n }\n"];
47
49
  /**
48
50
  * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
49
51
  */
@@ -60,6 +62,10 @@ export declare function graphql(source: "\n query GetSchemaByName($where: Schem
60
62
  * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
61
63
  */
62
64
  export declare function graphql(source: "\n query GetSeeds($where: AttestationWhereInput!, $take: Int, $skip: Int) {\n itemSeeds: attestations(where: $where, orderBy: [{ timeCreated: desc }], take: $take, skip: $skip) {\n id\n decodedDataJson\n attester\n schema {\n schemaNames {\n name\n }\n }\n refUID\n revoked\n revocationTime\n schemaId\n timeCreated\n isOffchain\n }\n }\n"): (typeof documents)["\n query GetSeeds($where: AttestationWhereInput!, $take: Int, $skip: Int) {\n itemSeeds: attestations(where: $where, orderBy: [{ timeCreated: desc }], take: $take, skip: $skip) {\n id\n decodedDataJson\n attester\n schema {\n schemaNames {\n name\n }\n }\n refUID\n revoked\n revocationTime\n schemaId\n timeCreated\n isOffchain\n }\n }\n"];
65
+ /**
66
+ * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
67
+ */
68
+ export declare function graphql(source: "\n query GetSeedsLean($where: AttestationWhereInput!, $take: Int, $skip: Int) {\n itemSeeds: attestations(where: $where, orderBy: [{ timeCreated: desc }], take: $take, skip: $skip) {\n id\n decodedDataJson\n attester\n refUID\n revoked\n revocationTime\n schemaId\n timeCreated\n isOffchain\n }\n }\n"): (typeof documents)["\n query GetSeedsLean($where: AttestationWhereInput!, $take: Int, $skip: Int) {\n itemSeeds: attestations(where: $where, orderBy: [{ timeCreated: desc }], take: $take, skip: $skip) {\n id\n decodedDataJson\n attester\n refUID\n revoked\n revocationTime\n schemaId\n timeCreated\n isOffchain\n }\n }\n"];
63
69
  /**
64
70
  * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
65
71
  */
@@ -92,6 +98,10 @@ export declare function graphql(source: "\n query GetImageSeeds($where: Attesta
92
98
  * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
93
99
  */
94
100
  export declare function graphql(source: "\n query GetImageVersions($where: AttestationWhereInput!) {\n imageVersions: attestations(\n where: $where\n orderBy: [{ timeCreated: desc }]\n ) {\n ...attestationFields\n }\n }\n"): (typeof documents)["\n query GetImageVersions($where: AttestationWhereInput!) {\n imageVersions: attestations(\n where: $where\n orderBy: [{ timeCreated: desc }]\n ) {\n ...attestationFields\n }\n }\n"];
101
+ /**
102
+ * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
103
+ */
104
+ export declare function graphql(source: "\n query GetAttestationChanges($where: AttestationWhereInput!) {\n changes: attestations(where: $where) {\n id\n refUID\n timeCreated\n revocationTime\n }\n }\n"): (typeof documents)["\n query GetAttestationChanges($where: AttestationWhereInput!) {\n changes: attestations(where: $where) {\n id\n refUID\n timeCreated\n revocationTime\n }\n }\n"];
95
105
  export type DocumentType<TDocumentNode extends DocumentNode<any, any>> = TDocumentNode extends DocumentNode<infer TType, any> ? TType : never;
96
106
  export {};
97
107
  //# sourceMappingURL=gql.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"gql.d.ts","sourceRoot":"","sources":["../../../src/graphql/gql/gql.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,WAAW,CAAC;AACnC,OAAO,KAAK,EAAE,iBAAiB,IAAI,YAAY,EAAE,MAAM,mCAAmC,CAAC;AAE3F;;;;;;;;;;GAUG;AACH,KAAK,SAAS,GAAG;IACb,oRAAoR,EAAE,OAAO,KAAK,CAAC,4BAA4B,CAAC;IAChU,iLAAiL,EAAE,OAAO,KAAK,CAAC,uBAAuB,CAAC;IACxN,6KAA6K,EAAE,OAAO,KAAK,CAAC,kBAAkB,CAAC;IAC/M,kLAAkL,EAAE,OAAO,KAAK,CAAC,uBAAuB,CAAC;IACzN,0aAA0a,EAAE,OAAO,KAAK,CAAC,gBAAgB,CAAC;IAC1c,kKAAkK,EAAE,OAAO,KAAK,CAAC,kBAAkB,CAAC;IACpM,mOAAmO,EAAE,OAAO,KAAK,CAAC,+BAA+B,CAAC;IAClR,0MAA0M,EAAE,OAAO,KAAK,CAAC,mBAAmB,CAAC;IAC7O,8MAA8M,EAAE,OAAO,KAAK,CAAC,qBAAqB,CAAC;IACnP,8NAA8N,EAAE,OAAO,KAAK,CAAC,sCAAsC,CAAC;IACpR,gNAAgN,EAAE,OAAO,KAAK,CAAC,wBAAwB,CAAC;IACxP,gYAAgY,EAAE,OAAO,KAAK,CAAC,qBAAqB,CAAC;IACra,gNAAgN,EAAE,OAAO,KAAK,CAAC,wBAAwB,CAAC;CAC3P,CAAC;AACF,QAAA,MAAM,SAAS,EAAE,SAchB,CAAC;AAEF;;;;;;;;;;;GAWG;AACH,wBAAgB,OAAO,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC;AAEjD;;GAEG;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,OAAO,CAAC,MAAM,EAAE,mOAAmO,GAAG,CAAC,OAAO,SAAS,CAAC,CAAC,mOAAmO,CAAC,CAAC;AAC9f;;GAEG;AACH,wBAAgB,OAAO,CAAC,MAAM,EAAE,0MAA0M,GAAG,CAAC,OAAO,SAAS,CAAC,CAAC,0MAA0M,CAAC,CAAC;AAC5c;;GAEG;AACH,wBAAgB,OAAO,CAAC,MAAM,EAAE,8MAA8M,GAAG,CAAC,OAAO,SAAS,CAAC,CAAC,8MAA8M,CAAC,CAAC;AACpd;;GAEG;AACH,wBAAgB,OAAO,CAAC,MAAM,EAAE,8NAA8N,GAAG,CAAC,OAAO,SAAS,CAAC,CAAC,8NAA8N,CAAC,CAAC;AACpf;;GAEG;AACH,wBAAgB,OAAO,CAAC,MAAM,EAAE,gNAAgN,GAAG,CAAC,OAAO,SAAS,CAAC,CAAC,gNAAgN,CAAC,CAAC;AACxd;;GAEG;AACH,wBAAgB,OAAO,CAAC,MAAM,EAAE,gYAAgY,GAAG,CAAC,OAAO,SAAS,CAAC,CAAC,gYAAgY,CAAC,CAAC;AACxzB;;GAEG;AACH,wBAAgB,OAAO,CAAC,MAAM,EAAE,gNAAgN,GAAG,CAAC,OAAO,SAAS,CAAC,CAAC,gNAAgN,CAAC,CAAC;AACxd;;GAEG;AACH,wBAAgB,OAAO,CAAC,MAAM,EAAE,8LAA8L,GAAG,CAAC,OAAO,SAAS,CAAC,CAAC,8LAA8L,CAAC,CAAC;AAMpb,MAAM,MAAM,YAAY,CAAC,aAAa,SAAS,YAAY,CAAC,GAAG,EAAE,GAAG,CAAC,IAAI,aAAa,SAAS,YAAY,CAAG,MAAM,KAAK,EAAG,GAAG,CAAC,GAAI,KAAK,GAAI,KAAK,CAAC"}
@@ -2472,13 +2472,6 @@ export type AttestationFieldsFragment = {
2472
2472
  timeCreated: number;
2473
2473
  time: number;
2474
2474
  isOffchain: boolean;
2475
- schema: {
2476
- __typename?: 'Schema';
2477
- schemaNames: Array<{
2478
- __typename?: 'SchemaName';
2479
- name: string;
2480
- }>;
2481
- };
2482
2475
  } & {
2483
2476
  ' $fragmentName'?: 'AttestationFieldsFragment';
2484
2477
  };
@@ -2556,6 +2549,26 @@ export type GetSeedsQuery = {
2556
2549
  };
2557
2550
  }>;
2558
2551
  };
2552
+ export type GetSeedsLeanQueryVariables = Exact<{
2553
+ where: AttestationWhereInput;
2554
+ take?: InputMaybe<Scalars['Int']['input']>;
2555
+ skip?: InputMaybe<Scalars['Int']['input']>;
2556
+ }>;
2557
+ export type GetSeedsLeanQuery = {
2558
+ __typename?: 'Query';
2559
+ itemSeeds: Array<{
2560
+ __typename?: 'Attestation';
2561
+ id: string;
2562
+ decodedDataJson: string;
2563
+ attester: string;
2564
+ refUID: string;
2565
+ revoked: boolean;
2566
+ revocationTime: number;
2567
+ schemaId: string;
2568
+ timeCreated: number;
2569
+ isOffchain: boolean;
2570
+ }>;
2571
+ };
2559
2572
  export type GetSeedIdsQueryVariables = Exact<{
2560
2573
  where: AttestationWhereInput;
2561
2574
  }>;
@@ -2668,11 +2681,25 @@ export type GetImageVersionsQuery = {
2668
2681
  };
2669
2682
  })>;
2670
2683
  };
2684
+ export type GetAttestationChangesQueryVariables = Exact<{
2685
+ where: AttestationWhereInput;
2686
+ }>;
2687
+ export type GetAttestationChangesQuery = {
2688
+ __typename?: 'Query';
2689
+ changes: Array<{
2690
+ __typename?: 'Attestation';
2691
+ id: string;
2692
+ refUID: string;
2693
+ timeCreated: number;
2694
+ revocationTime: number;
2695
+ }>;
2696
+ };
2671
2697
  export declare const AttestationFieldsFragmentDoc: DocumentNode<AttestationFieldsFragment, unknown>;
2672
2698
  export declare const SchemaFieldsFragmentDoc: DocumentNode<SchemaFieldsFragment, unknown>;
2673
2699
  export declare const GetSchemasDocument: DocumentNode<GetSchemasQuery, GetSchemasQueryVariables>;
2674
2700
  export declare const GetSchemaByNameDocument: DocumentNode<GetSchemaByNameQuery, GetSchemaByNameQueryVariables>;
2675
2701
  export declare const GetSeedsDocument: DocumentNode<GetSeedsQuery, GetSeedsQueryVariables>;
2702
+ export declare const GetSeedsLeanDocument: DocumentNode<GetSeedsLeanQuery, GetSeedsLeanQueryVariables>;
2676
2703
  export declare const GetSeedIdsDocument: DocumentNode<GetSeedIdsQuery, GetSeedIdsQueryVariables>;
2677
2704
  export declare const GetStorageTransactionIdDocument: DocumentNode<GetStorageTransactionIdQuery, GetStorageTransactionIdQueryVariables>;
2678
2705
  export declare const GetVersionsDocument: DocumentNode<GetVersionsQuery, GetVersionsQueryVariables>;
@@ -2681,4 +2708,5 @@ export declare const GetAllPropertiesForAllVersionsDocument: DocumentNode<GetAll
2681
2708
  export declare const GetFilesMetadataDocument: DocumentNode<GetFilesMetadataQuery, GetFilesMetadataQueryVariables>;
2682
2709
  export declare const GetImageSeedsDocument: DocumentNode<GetImageSeedsQuery, GetImageSeedsQueryVariables>;
2683
2710
  export declare const GetImageVersionsDocument: DocumentNode<GetImageVersionsQuery, GetImageVersionsQueryVariables>;
2711
+ export declare const GetAttestationChangesDocument: DocumentNode<GetAttestationChangesQuery, GetAttestationChangesQueryVariables>;
2684
2712
  //# sourceMappingURL=graphql.d.ts.map