@powerhousedao/network-admin 0.0.57 → 0.0.58

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.
@@ -1 +1 @@
1
- {"version":3,"file":"resolvers.d.ts","sourceRoot":"","sources":["../../../subgraphs/builders-addon/resolvers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,4BAA4B,CAAC;AAe5D,eAAO,MAAM,YAAY,GAAI,UAAU,SAAS,KAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAqbxE,CAAC"}
1
+ {"version":3,"file":"resolvers.d.ts","sourceRoot":"","sources":["../../../subgraphs/builders-addon/resolvers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,4BAA4B,CAAC;AAe5D,eAAO,MAAM,YAAY,GAAI,UAAU,SAAS,KAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CA0bxE,CAAC"}
@@ -317,7 +317,12 @@ export const getResolvers = (subgraph) => {
317
317
  const icon = String(state?.icon ?? "");
318
318
  const description = String(state?.description ?? state?.slug ?? "");
319
319
  const type = state?.type ?? "INDIVIDUAL";
320
- const skills = Array.isArray(state?.skills) ? state.skills : [];
320
+ // Document model uses 'skils' (typo), but GraphQL schema uses 'skills'
321
+ const skills = Array.isArray(state?.skils)
322
+ ? state.skils
323
+ : Array.isArray(state?.skills)
324
+ ? state.skills
325
+ : [];
321
326
  const scopes = Array.isArray(state?.scopes) ? state.scopes : [];
322
327
  const links = Array.isArray(state?.links) ? state.links : [];
323
328
  const contributors = Array.isArray(state?.contributors)
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@powerhousedao/network-admin",
3
3
  "description": "Network Admin package for Powerhouse",
4
- "version": "0.0.57",
4
+ "version": "0.0.58",
5
5
  "license": "AGPL-3.0-only",
6
6
  "type": "module",
7
7
  "files": [