wineater-bot 2.1.0 → 2.1.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/package.json +1 -1
  2. package/src/js/api.js +2 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wineater-bot",
3
- "version": "2.1.0",
3
+ "version": "2.1.1",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "module": "src/index.js",
package/src/js/api.js CHANGED
@@ -6,8 +6,8 @@ const DEMO_TOKEN='bMTFzLbWcXFgXK8SzyFHA6kIjelFcz5VQABVPbXdXh5XZJCDQH9BcVlrv3DF3k
6
6
  export class Api {
7
7
  constructor(apiEndpoint) {
8
8
  // Allow users of the library to specify their own endpoint if needed
9
- this.baseURL = 'http://localhost:3000/';
10
- // this.baseURL = 'https://wineater-backend.vercel.app/';
9
+ // this.baseURL = 'http://localhost:3000/';
10
+ this.baseURL = 'https://wineater-backend.vercel.app/';
11
11
  this.store = stores.find(value => window.location.href.includes(value));
12
12
  this.token = window?.wineaterData?.CLIENT_TOKEN || DEMO_TOKEN;
13
13
  }