swcombine.js 0.0.5 → 0.0.6

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.
package/dist/index.cjs.js CHANGED
@@ -547,7 +547,7 @@ class AuthenticatedCharacterResource extends PublicCharacterResource {
547
547
  if ("error_code" in response.swcapi) {
548
548
  throw new Error(`Something went wrong while attempting to call the GET character endpoint: ${response.swcapi.error_message}`);
549
549
  }
550
- return mapSwcResponseToCharacterResponse(response.swcapi);
550
+ return mapSwcResponseToCharacterResponse(response.swcapi.character);
551
551
  }
552
552
  }
553
553
  class AuthService {
package/dist/index.esm.js CHANGED
@@ -545,7 +545,7 @@ class AuthenticatedCharacterResource extends PublicCharacterResource {
545
545
  if ("error_code" in response.swcapi) {
546
546
  throw new Error(`Something went wrong while attempting to call the GET character endpoint: ${response.swcapi.error_message}`);
547
547
  }
548
- return mapSwcResponseToCharacterResponse(response.swcapi);
548
+ return mapSwcResponseToCharacterResponse(response.swcapi.character);
549
549
  }
550
550
  }
551
551
  class AuthService {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "swcombine.js",
3
- "version": "0.0.5",
3
+ "version": "0.0.6",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "swcombine",