libertyts 1.0.1 → 1.0.3

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.js CHANGED
@@ -1,7 +1,7 @@
1
1
  export class Client {
2
2
  constructor(options) {
3
3
  if (!options?.apiKey) {
4
- throw new Error('apiKey is required');
4
+ throw new Error("\x1b[31mLibertyTS Requires an ERLC Server APIkey\x1b[0m");
5
5
  }
6
6
  this.apikey = options.apiKey;
7
7
  }
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAIA,MAAM,OAAO,MAAM;IAGf,YAAY,OAAsB;QAC9B,IAAI,CAAC,OAAO,EAAE,MAAM,EAAE,CAAC;YACnB,MAAM,IAAI,KAAK,CAAC,oBAAoB,CAAC,CAAA;QACzC,CAAC;QAED,IAAI,CAAC,MAAM,GAAG,OAAO,CAAC,MAAM,CAAA;IAChC,CAAC;CAKJ"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAIA,MAAM,OAAO,MAAM;IAGf,YAAY,OAAsB;QAC9B,IAAI,CAAC,OAAO,EAAE,MAAM,EAAE,CAAC;YACnB,MAAM,IAAI,KAAK,CAAC,yDAAyD,CAAC,CAAA;QAC9E,CAAC;QAED,IAAI,CAAC,MAAM,GAAG,OAAO,CAAC,MAAM,CAAA;IAChC,CAAC;CAKJ"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "libertyts",
3
- "version": "1.0.1",
4
- "description": "Official TypeScript Wrapper for Libery Tools (ERLC API Toolkit)",
3
+ "version": "1.0.3",
4
+ "description": "Official TypeScript Wrapper for Liberty Tools (ERLC API Toolkit)",
5
5
  "license": "ISC",
6
6
  "author": "Liberty Tools",
7
7
  "type": "module",