@show-karma/karma-gap-sdk 0.1.38 → 0.1.39
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.
|
@@ -18,6 +18,7 @@ export declare class Grant extends Attestation<IGrant> {
|
|
|
18
18
|
milestones: Milestone[];
|
|
19
19
|
community: Community;
|
|
20
20
|
updates: GrantUpdate[];
|
|
21
|
+
members: string[];
|
|
21
22
|
completed?: GrantCompleted;
|
|
22
23
|
project?: Project;
|
|
23
24
|
verify(signer: SignerOrProvider): Promise<void>;
|
|
@@ -17,6 +17,7 @@ class Grant extends Attestation_1.Attestation {
|
|
|
17
17
|
this.verified = false;
|
|
18
18
|
this.milestones = [];
|
|
19
19
|
this.updates = [];
|
|
20
|
+
this.members = [];
|
|
20
21
|
}
|
|
21
22
|
async verify(signer) {
|
|
22
23
|
const eas = GAP_1.GAP.eas.connect(signer);
|
|
@@ -187,6 +188,9 @@ class Grant extends Attestation_1.Attestation {
|
|
|
187
188
|
const { community } = attestation;
|
|
188
189
|
grant.community = Community_1.Community.from([community])[0];
|
|
189
190
|
}
|
|
191
|
+
if (attestation.members) {
|
|
192
|
+
grant.members = attestation.members;
|
|
193
|
+
}
|
|
190
194
|
return grant;
|
|
191
195
|
});
|
|
192
196
|
}
|