@show-karma/karma-gap-sdk 0.1.40 → 0.1.41

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.
@@ -10,7 +10,6 @@ const SchemaError_1 = require("../SchemaError");
10
10
  const consts_1 = require("../../consts");
11
11
  const GapContract_1 = require("../contract/GapContract");
12
12
  const Community_1 = require("./Community");
13
- const Project_1 = require("./Project");
14
13
  class Grant extends Attestation_1.Attestation {
15
14
  constructor() {
16
15
  super(...arguments);
@@ -182,12 +181,7 @@ class Grant extends Attestation_1.Attestation {
182
181
  }
183
182
  if (attestation.project) {
184
183
  const { project } = attestation;
185
- const rawProject = Project_1.Project.from([project])[0];
186
- grant.project = {
187
- title: rawProject.details?.title,
188
- uid: rawProject.uid,
189
- slug: rawProject.details?.slug,
190
- };
184
+ grant.project = project;
191
185
  }
192
186
  if (attestation.community) {
193
187
  const { community } = attestation;
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "0.1.40",
6
+ "version": "0.1.41",
7
7
  "description": "Simple and easy interface between EAS and Karma GAP.",
8
8
  "main": "dist/index.js",
9
9
  "author": "KarmaHQ",