@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.
@@ -25,6 +25,7 @@ export declare class Grant extends Attestation<IGrant> {
25
25
  members: string[];
26
26
  completed?: GrantCompleted;
27
27
  project?: ISummaryProject;
28
+ categories?: string[];
28
29
  verify(signer: SignerOrProvider): Promise<void>;
29
30
  /**
30
31
  * Add milestones to the grant.
@@ -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
  }
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "0.2.2",
6
+ "version": "0.2.3",
7
7
  "description": "Simple and easy interface between EAS and Karma GAP.",
8
8
  "main": "./index.js",
9
9
  "author": "KarmaHQ",