@n3oltd/umbraco-cropper-client 9.0.0-beta-79 → 9.0.0-beta-83

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.
@@ -23,7 +23,7 @@ var CropperClient = /** @class */ (function () {
23
23
  function CropperClient(baseUrl, http) {
24
24
  this.jsonParseReviver = undefined;
25
25
  this.http = http ? http : window;
26
- this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : "https://localhost:5001";
26
+ this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : "https://localhost:6001";
27
27
  }
28
28
  CropperClient.prototype.getMediaById = function (mediaId) {
29
29
  var _this = this;
package/esm/index.js CHANGED
@@ -23,7 +23,7 @@ var CropperClient = /** @class */ (function () {
23
23
  function CropperClient(baseUrl, http) {
24
24
  this.jsonParseReviver = undefined;
25
25
  this.http = http ? http : window;
26
- this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : "https://localhost:5001";
26
+ this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : "https://localhost:6001";
27
27
  }
28
28
  CropperClient.prototype.getMediaById = function (mediaId) {
29
29
  var _this = this;
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@n3oltd/umbraco-cropper-client",
3
3
  "author": "N3O Ltd",
4
4
  "description": "TypeScript client for the N3O Umbraco Cropper",
5
- "version": "9.0.0-beta-79",
5
+ "version": "9.0.0-beta-83",
6
6
  "dependencies": {},
7
7
  "license": "UNLICENSED",
8
8
  "main": "./build/index.js",
package/src/index.ts CHANGED
@@ -14,7 +14,7 @@ export class CropperClient {
14
14
 
15
15
  constructor(baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> }) {
16
16
  this.http = http ? http : <any>window;
17
- this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : "https://localhost:5001";
17
+ this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : "https://localhost:6001";
18
18
  }
19
19
 
20
20
  getMediaById(mediaId: string | null): Promise<ImageMedia> {