Skip to content

Commit 2ef39ed

Browse files
committed
fixed user badges
1 parent 085ccc7 commit 2ef39ed

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@quest-chains/sdk",
33
"description": "An SDK for building applications on top of Quest Chains",
4-
"version": "0.2.8",
4+
"version": "0.2.9",
55
"license": "GPL-3.0",
66
"main": "dist/index.js",
77
"typings": "dist/index.d.ts",

src/graphql/badgesForUser.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,11 @@ export type UserBadges = {
66
name?: string | null | undefined;
77
description?: string | null | undefined;
88
imageUrl?: string | null | undefined;
9-
tokenAddress?: string | null | undefined;
10-
tokenId?: string | null | undefined;
11-
questChain?: {
9+
tokenAddress: string | null | undefined;
10+
tokenId: string | null | undefined;
11+
questChain: {
1212
address: string | null | undefined;
13+
slug?: string | null | undefined;
1314
};
1415
}[];
1516
chainId: string;

src/graphql/queries.graphql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@ query BadgesForUser($address: ID!) {
117117
tokenId
118118
questChain {
119119
address
120+
slug
120121
}
121122
}
122123
}

0 commit comments

Comments
 (0)