@epicauth/sdk 1.0.0 → 1.0.1

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.
Files changed (2) hide show
  1. package/dist/client.js +2 -2
  2. package/package.json +6 -1
package/dist/client.js CHANGED
@@ -25,7 +25,7 @@ export default class EpicAuth {
25
25
  sessionid;
26
26
  initialized = false;
27
27
  public_key = "95b38710f40927b16528a073b87d942e03bd4578d49963a19ebae177945f89ac";
28
- loggingEnabled = true;
28
+ loggingEnabled = false;
29
29
  user_data = null;
30
30
  app_data = null;
31
31
  constructor(options) {
@@ -796,9 +796,9 @@ export default class EpicAuth {
796
796
  }
797
797
  }
798
798
  logEvent(message) {
799
- console.log(message);
800
799
  if (!this.loggingEnabled)
801
800
  return;
801
+ console.log(message);
802
802
  const executable = process.argv[1] ?? "unknown";
803
803
  const exeName = executable.split("\\").pop() ?? executable.split("/").pop() ?? "unknown";
804
804
  const logDirectory = path.join(os.homedir(), ".epicauth", "logs", exeName);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@epicauth/sdk",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "EpicAuth SDK for Node.js and Bun",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -17,8 +17,13 @@
17
17
  "README.md",
18
18
  "LICENSE"
19
19
  ],
20
+ "repository": {
21
+ "type": "git",
22
+ "url": "git+https://github.com/EpicAuth/EpicAuth-TS-SDK.git"
23
+ },
20
24
  "scripts": {
21
25
  "build": "tsc",
26
+ "typecheck": "bunx tsc --noEmit",
22
27
  "dev": "bun --watch src/index.ts"
23
28
  },
24
29
  "private": false,