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 +1 -1
- package/dist/index.esm.js +1 -1
- package/package.json +1 -1
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 {
|