@show-karma/karma-gap-sdk 0.2.2 → 0.2.3
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.
|
@@ -17,6 +17,7 @@ class Grant extends Attestation_1.Attestation {
|
|
|
17
17
|
this.milestones = [];
|
|
18
18
|
this.updates = [];
|
|
19
19
|
this.members = [];
|
|
20
|
+
this.categories = [];
|
|
20
21
|
}
|
|
21
22
|
async verify(signer) {
|
|
22
23
|
const eas = GAP_1.GAP.eas.connect(signer);
|
|
@@ -186,6 +187,9 @@ class Grant extends Attestation_1.Attestation {
|
|
|
186
187
|
if (attestation.members) {
|
|
187
188
|
grant.members = attestation.members;
|
|
188
189
|
}
|
|
190
|
+
if (attestation.categories) {
|
|
191
|
+
grant.categories = attestation.categories;
|
|
192
|
+
}
|
|
189
193
|
return grant;
|
|
190
194
|
});
|
|
191
195
|
}
|