swcombine.js 0.0.3 → 0.0.5

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
@@ -543,7 +543,7 @@ class AuthenticatedCharacterResource extends PublicCharacterResource {
543
543
  }
544
544
  async getCurrentCharacter() {
545
545
  const accessToken = await this.auth.getAccessToken();
546
- const response = await this.get("character", accessToken);
546
+ const response = await this.get("", accessToken);
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
  }
package/dist/index.esm.js CHANGED
@@ -541,7 +541,7 @@ class AuthenticatedCharacterResource extends PublicCharacterResource {
541
541
  }
542
542
  async getCurrentCharacter() {
543
543
  const accessToken = await this.auth.getAccessToken();
544
- const response = await this.get("character", accessToken);
544
+ const response = await this.get("", accessToken);
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
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "swcombine.js",
3
- "version": "0.0.3",
3
+ "version": "0.0.5",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "swcombine",