@show-karma/karma-gap-sdk 0.3.13 → 0.3.14
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/core/class/Schema.d.ts
CHANGED
|
@@ -118,14 +118,14 @@ export declare abstract class Schema<T extends string = string> implements Schem
|
|
|
118
118
|
* @param signer
|
|
119
119
|
* @returns
|
|
120
120
|
*/
|
|
121
|
-
revokeOffchain(uid: Hex, signer: SignerOrProvider): Promise<import("@ethereum-attestation-service/eas-sdk
|
|
121
|
+
revokeOffchain(uid: Hex, signer: SignerOrProvider): Promise<import("@ethereum-attestation-service/eas-sdk").Transaction<bigint>>;
|
|
122
122
|
/**
|
|
123
123
|
* Revokes multiple off chain attestations by their UIDs.
|
|
124
124
|
* @param uids
|
|
125
125
|
* @param signer
|
|
126
126
|
* @returns
|
|
127
127
|
*/
|
|
128
|
-
multiRevokeOffchain(uids: Hex[], signer: SignerOrProvider): Promise<import("@ethereum-attestation-service/eas-sdk
|
|
128
|
+
multiRevokeOffchain(uids: Hex[], signer: SignerOrProvider): Promise<import("@ethereum-attestation-service/eas-sdk").Transaction<bigint[]>>;
|
|
129
129
|
/**
|
|
130
130
|
* Validates and attests a given schema.
|
|
131
131
|
*
|
|
@@ -17,7 +17,7 @@ export declare class GapContract {
|
|
|
17
17
|
* @returns
|
|
18
18
|
*/
|
|
19
19
|
private static getRSV;
|
|
20
|
-
static getSignerAddress(signer: SignerOrProvider): Promise<
|
|
20
|
+
static getSignerAddress(signer: SignerOrProvider): Promise<any>;
|
|
21
21
|
/**
|
|
22
22
|
* Get nonce for the transaction
|
|
23
23
|
* @param address
|
package/core/types.d.ts
CHANGED
|
@@ -1,14 +1,9 @@
|
|
|
1
1
|
import { BytesLike } from 'ethers';
|
|
2
2
|
import { AttestationRequestData, EAS, MultiAttestationRequest, SchemaItem } from '@ethereum-attestation-service/eas-sdk';
|
|
3
|
-
import { SignerOrProvider as EASSigner } from '@ethereum-attestation-service/eas-sdk/dist/transaction';
|
|
4
3
|
import { Attestation } from './class';
|
|
5
4
|
import { Fetcher } from './class/Fetcher';
|
|
6
5
|
export type Hex = `0x${string}`;
|
|
7
|
-
export type SignerOrProvider =
|
|
8
|
-
address?: Hex;
|
|
9
|
-
_address?: Hex;
|
|
10
|
-
getAddress?: () => Promise<Hex>;
|
|
11
|
-
};
|
|
6
|
+
export type SignerOrProvider = any;
|
|
12
7
|
export interface SchemaInterface<T extends string = string> {
|
|
13
8
|
name: string;
|
|
14
9
|
schema: SchemaItem[];
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
|
-
"version": "0.3.
|
|
6
|
+
"version": "0.3.14",
|
|
7
7
|
"description": "Simple and easy interface between EAS and Karma GAP.",
|
|
8
8
|
"main": "./index.js",
|
|
9
9
|
"author": "KarmaHQ",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"publish-npm": "npm version patch && tsc && cd .dist && npm publish --scope=@show-karma/karma-gap-sdk --access public"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@ethereum-attestation-service/eas-sdk": "1.4.2",
|
|
22
|
+
"@ethereum-attestation-service/eas-sdk": "^1.4.2",
|
|
23
23
|
"@gelatonetwork/relay-sdk": "^5.2.0",
|
|
24
24
|
"@types/sha256": "^0.2.0",
|
|
25
25
|
"axios": "^1.4.0",
|