bruce-models 5.2.5 → 5.2.6
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/bruce-models.es5.js +11 -6
- package/dist/bruce-models.es5.js.map +1 -1
- package/dist/bruce-models.umd.js +11 -6
- package/dist/bruce-models.umd.js.map +1 -1
- package/dist/lib/api/abstract-api.js +10 -5
- package/dist/lib/api/abstract-api.js.map +1 -1
- package/dist/lib/api/api.js.map +1 -1
- package/dist/lib/bruce-models.js +1 -1
- package/dist/types/api/api.d.ts +1 -0
- package/dist/types/bruce-models.d.ts +1 -1
- package/package.json +1 -1
package/dist/bruce-models.es5.js
CHANGED
|
@@ -423,7 +423,8 @@ class AbstractApi {
|
|
|
423
423
|
params.headers[this.ssidHeader] = this.ssid;
|
|
424
424
|
}
|
|
425
425
|
const res = yield fetch(url, {
|
|
426
|
-
headers: params.headers
|
|
426
|
+
headers: params.headers,
|
|
427
|
+
signal: params.abortSignal
|
|
427
428
|
});
|
|
428
429
|
return parseResult(res);
|
|
429
430
|
});
|
|
@@ -447,7 +448,8 @@ class AbstractApi {
|
|
|
447
448
|
}
|
|
448
449
|
const res = yield fetch(url, {
|
|
449
450
|
headers: params.headers,
|
|
450
|
-
method: "DELETE"
|
|
451
|
+
method: "DELETE",
|
|
452
|
+
signal: params.abortSignal
|
|
451
453
|
});
|
|
452
454
|
return parseResult(res);
|
|
453
455
|
});
|
|
@@ -479,7 +481,8 @@ class AbstractApi {
|
|
|
479
481
|
const res = yield fetch(url, {
|
|
480
482
|
headers: params.headers,
|
|
481
483
|
method: "POST",
|
|
482
|
-
body: data
|
|
484
|
+
body: data,
|
|
485
|
+
signal: params.abortSignal
|
|
483
486
|
});
|
|
484
487
|
return parseResult(res);
|
|
485
488
|
});
|
|
@@ -511,7 +514,8 @@ class AbstractApi {
|
|
|
511
514
|
const res = yield fetch(url, {
|
|
512
515
|
headers: params.headers,
|
|
513
516
|
method: "PUT",
|
|
514
|
-
body: data
|
|
517
|
+
body: data,
|
|
518
|
+
signal: params.abortSignal
|
|
515
519
|
});
|
|
516
520
|
return parseResult(res);
|
|
517
521
|
});
|
|
@@ -547,7 +551,8 @@ class AbstractApi {
|
|
|
547
551
|
const res = yield fetch(url, {
|
|
548
552
|
headers: params.headers,
|
|
549
553
|
method: "POST",
|
|
550
|
-
body: formData
|
|
554
|
+
body: formData,
|
|
555
|
+
signal: params.abortSignal
|
|
551
556
|
});
|
|
552
557
|
return parseResult(res);
|
|
553
558
|
});
|
|
@@ -14600,7 +14605,7 @@ var DataSource;
|
|
|
14600
14605
|
})(DataSource || (DataSource = {}));
|
|
14601
14606
|
|
|
14602
14607
|
// This is updated with the package.json version on build.
|
|
14603
|
-
const VERSION = "5.2.
|
|
14608
|
+
const VERSION = "5.2.6";
|
|
14604
14609
|
|
|
14605
14610
|
export { VERSION, AnnDocument, CustomForm, AbstractApi, Api, BruceApi, GlobalApi, GuardianApi, ApiGetters, Calculator, Bounds, BruceEvent, CacheControl, Camera, Cartes, Carto, Color, DelayQueue, Geometry, UTC, BruceVariable, LRUCache, GeoJson, EntityAttachmentType, EntityAttachment, EntityComment, EntityLink, EntityLod, EntityLodCategory, EntityRelationType, EntityRelation, EntitySource, EntityTag, EntityType, Entity, EntityCoords, EntityTypeVisualSettings, EntityAttribute, EntityHistoricData, EntityTableView, Comment, ClientFile, ProgramKey, ZoomControl, MenuItem, ProjectViewBookmark, ProjectView, ProjectViewLegacyTile, ProjectViewTile, ProjectViewLegacy, ProjectViewLegacyBookmark, PendingAction, MessageBroker, HostingLocation, Style, Tileset, Permission, Session, UserGroup, User, Account, AccountInvite, AccountFeatures, AccountLimits, EncryptUtils, MathUtils, ObjectUtils, PathUtils, UrlUtils, DataLab, ImportAssembly, ImportCad, ImportCsv, ImportJson, ImportGeoJson, ImportKml, ImportedFile, ExportBrz, ExportUsd, Markup, Uploader, Plugin, ENVIRONMENT, DataSource };
|
|
14606
14611
|
//# sourceMappingURL=bruce-models.es5.js.map
|