@uploadcare/file-uploader 1.24.4 → 1.24.5
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/env.js +1 -1
- package/dist/index.css +465 -525
- package/dist/index.d.ts +2 -0
- package/dist/index.js +5 -1
- package/dist/index.layered.css +2713 -0
- package/dist/index.ssr.js +1 -1
- package/dist/locales/file-uploader/nl.js +1 -1
- package/package.json +7 -2
- package/web/file-uploader.iife.min.d.ts +2 -0
- package/web/file-uploader.iife.min.js +1 -1
- package/web/file-uploader.min.d.ts +2 -0
- package/web/file-uploader.min.js +1 -1
- package/web/uc-basic.layered.min.css +26 -0
- package/web/uc-basic.min.css +2 -3
- package/web/uc-cloud-image-editor.layered.min.css +26 -0
- package/web/uc-cloud-image-editor.min.css +1 -2
- package/web/uc-cloud-image-editor.min.d.ts +2 -0
- package/web/uc-cloud-image-editor.min.js +1 -1
- package/web/uc-file-uploader-inline.layered.min.css +26 -0
- package/web/uc-file-uploader-inline.min.css +2 -3
- package/web/uc-file-uploader-inline.min.d.ts +2 -0
- package/web/uc-file-uploader-inline.min.js +1 -1
- package/web/uc-file-uploader-minimal.layered.min.css +26 -0
- package/web/uc-file-uploader-minimal.min.css +2 -3
- package/web/uc-file-uploader-minimal.min.d.ts +2 -0
- package/web/uc-file-uploader-minimal.min.js +1 -1
- package/web/uc-file-uploader-regular.layered.min.css +26 -0
- package/web/uc-file-uploader-regular.min.css +2 -3
- package/web/uc-file-uploader-regular.min.d.ts +2 -0
- package/web/uc-file-uploader-regular.min.js +1 -1
- package/web/uc-img.min.js +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -107,6 +107,7 @@ declare class ModalManager {
|
|
|
107
107
|
type CommonEventType = InternalEventKey | EventKey;
|
|
108
108
|
type TelemetryState = TelemetryRequest & {
|
|
109
109
|
eventTimestamp: number;
|
|
110
|
+
location: string;
|
|
110
111
|
};
|
|
111
112
|
type TelemetryEventBody = Partial<Pick<TelemetryState, 'payload' | 'config'>> & {
|
|
112
113
|
modalId?: string;
|
|
@@ -138,6 +139,7 @@ declare class TelemetryManager {
|
|
|
138
139
|
private get _timestamp();
|
|
139
140
|
private get _solution();
|
|
140
141
|
private get _activity();
|
|
142
|
+
private get _location();
|
|
141
143
|
}
|
|
142
144
|
|
|
143
145
|
declare class Block extends BaseComponent<any> {
|
package/dist/index.js
CHANGED
|
@@ -1217,7 +1217,7 @@ import { TelemetryAPIService } from "@uploadcare/quality-insights";
|
|
|
1217
1217
|
import { Queue as Queue2 } from "@uploadcare/upload-client";
|
|
1218
1218
|
|
|
1219
1219
|
// package.json
|
|
1220
|
-
var version = "1.24.
|
|
1220
|
+
var version = "1.24.5";
|
|
1221
1221
|
|
|
1222
1222
|
// src/env.ts
|
|
1223
1223
|
var PACKAGE_NAME = "blocks";
|
|
@@ -1279,6 +1279,7 @@ var TelemetryManager = class {
|
|
|
1279
1279
|
eventType: result.eventType ?? "",
|
|
1280
1280
|
eventTimestamp: this._timestamp,
|
|
1281
1281
|
payload: {
|
|
1282
|
+
location: this._location,
|
|
1282
1283
|
...payload
|
|
1283
1284
|
}
|
|
1284
1285
|
};
|
|
@@ -1378,6 +1379,9 @@ var TelemetryManager = class {
|
|
|
1378
1379
|
}
|
|
1379
1380
|
return this._block.$["*currentActivity"] ?? null;
|
|
1380
1381
|
}
|
|
1382
|
+
get _location() {
|
|
1383
|
+
return location.origin;
|
|
1384
|
+
}
|
|
1381
1385
|
};
|
|
1382
1386
|
|
|
1383
1387
|
// src/abstract/sharedConfigKey.ts
|