@show-karma/karma-gap-sdk 0.3.17 → 0.3.18

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.
@@ -50,6 +50,15 @@ class Community extends Attestation_1.Attestation {
50
50
  data: this.data,
51
51
  });
52
52
  console.log(this.uid);
53
+ if (details) {
54
+ const communityDetails = new attestations_1.CommunityDetails({
55
+ data: details,
56
+ recipient: this.recipient,
57
+ refUID: this.uid,
58
+ schema: this.schema.gap.findSchema('CommunityDetails'),
59
+ });
60
+ await communityDetails.attest(signer);
61
+ }
53
62
  }
54
63
  catch (error) {
55
64
  console.error(error);
@@ -14,6 +14,7 @@ export interface ICommunityDetails {
14
14
  slug?: string;
15
15
  links?: ExternalLink;
16
16
  type?: string;
17
+ externalId?: string;
17
18
  }
18
19
  export declare class CommunityDetails extends Attestation<ICommunityDetails> implements ICommunityDetails {
19
20
  name: string;
@@ -22,6 +23,7 @@ export declare class CommunityDetails extends Attestation<ICommunityDetails> imp
22
23
  links: ExternalLink;
23
24
  slug?: string;
24
25
  type: string;
26
+ externalId?: string;
25
27
  }
26
28
  export interface IGrantDetails {
27
29
  title: string;
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "0.3.17",
6
+ "version": "0.3.18",
7
7
  "description": "Simple and easy interface between EAS and Karma GAP.",
8
8
  "main": "./index.js",
9
9
  "author": "KarmaHQ",