@jd-data-limited/easy-fm 1.0.2-alpha5 → 1.0.2-alpha6

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 (3) hide show
  1. package/index.js +1 -1
  2. package/index.ts +1 -1
  3. package/package.json +1 -1
package/index.js CHANGED
@@ -181,7 +181,7 @@ export default class FileMakerConnection {
181
181
  return this._token;
182
182
  }
183
183
  get endpoint() {
184
- return `https://${this.hostname}/fmi/data/v2/databases/`;
184
+ return `https://${this.hostname}/fmi/data/v2/databases`;
185
185
  }
186
186
  apiRequest(url, options = {}) {
187
187
  return __awaiter(this, void 0, void 0, function* () {
package/index.ts CHANGED
@@ -266,7 +266,7 @@ export default class FileMakerConnection {
266
266
  }
267
267
 
268
268
  get endpoint(): string {
269
- return `https://${this.hostname}/fmi/data/v2/databases/`
269
+ return `https://${this.hostname}/fmi/data/v2/databases`
270
270
  }
271
271
 
272
272
  async apiRequest(url: string | Request, options: any = {}): Promise<any> {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jd-data-limited/easy-fm",
3
- "version": "1.0.2alpha5",
3
+ "version": "1.0.2alpha6",
4
4
  "dependencies": {
5
5
  "@types/btoa": "^1.2.3",
6
6
  "@types/events": "^3.0.0",