autotel-subscribers 24.0.1 → 25.0.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.
@@ -212,10 +212,10 @@ var init_tslib_es6 = __esm({
212
212
  }
213
213
  });
214
214
 
215
- // ../../node_modules/.pnpm/@amplitude+analytics-core@2.38.0/node_modules/@amplitude/analytics-core/lib/esm/types/event/event.js
215
+ // ../../node_modules/.pnpm/@amplitude+analytics-core@2.40.0/node_modules/@amplitude/analytics-core/lib/esm/types/event/event.js
216
216
  var IdentifyOperation, SpecialEventType;
217
217
  var init_event = __esm({
218
- "../../node_modules/.pnpm/@amplitude+analytics-core@2.38.0/node_modules/@amplitude/analytics-core/lib/esm/types/event/event.js"() {
218
+ "../../node_modules/.pnpm/@amplitude+analytics-core@2.40.0/node_modules/@amplitude/analytics-core/lib/esm/types/event/event.js"() {
219
219
  (function(IdentifyOperation3) {
220
220
  IdentifyOperation3["SET"] = "$set";
221
221
  IdentifyOperation3["SET_ONCE"] = "$setOnce";
@@ -236,10 +236,10 @@ var init_event = __esm({
236
236
  }
237
237
  });
238
238
 
239
- // ../../node_modules/.pnpm/@amplitude+analytics-core@2.38.0/node_modules/@amplitude/analytics-core/lib/esm/types/constants.js
239
+ // ../../node_modules/.pnpm/@amplitude+analytics-core@2.40.0/node_modules/@amplitude/analytics-core/lib/esm/types/constants.js
240
240
  var UNSET_VALUE, AMPLITUDE_PREFIX, STORAGE_PREFIX, DEFAULT_INSTANCE_NAME, AMPLITUDE_SERVER_URL, EU_AMPLITUDE_SERVER_URL, AMPLITUDE_BATCH_SERVER_URL, EU_AMPLITUDE_BATCH_SERVER_URL;
241
241
  var init_constants = __esm({
242
- "../../node_modules/.pnpm/@amplitude+analytics-core@2.38.0/node_modules/@amplitude/analytics-core/lib/esm/types/constants.js"() {
242
+ "../../node_modules/.pnpm/@amplitude+analytics-core@2.40.0/node_modules/@amplitude/analytics-core/lib/esm/types/constants.js"() {
243
243
  UNSET_VALUE = "-";
244
244
  AMPLITUDE_PREFIX = "AMP";
245
245
  STORAGE_PREFIX = "".concat(AMPLITUDE_PREFIX, "_unsent");
@@ -251,10 +251,10 @@ var init_constants = __esm({
251
251
  }
252
252
  });
253
253
 
254
- // ../../node_modules/.pnpm/@amplitude+analytics-core@2.38.0/node_modules/@amplitude/analytics-core/lib/esm/utils/valid-properties.js
254
+ // ../../node_modules/.pnpm/@amplitude+analytics-core@2.40.0/node_modules/@amplitude/analytics-core/lib/esm/utils/valid-properties.js
255
255
  var MAX_PROPERTY_KEYS, isValidObject, isValidProperties;
256
256
  var init_valid_properties = __esm({
257
- "../../node_modules/.pnpm/@amplitude+analytics-core@2.38.0/node_modules/@amplitude/analytics-core/lib/esm/utils/valid-properties.js"() {
257
+ "../../node_modules/.pnpm/@amplitude+analytics-core@2.40.0/node_modules/@amplitude/analytics-core/lib/esm/utils/valid-properties.js"() {
258
258
  init_tslib_es6();
259
259
  MAX_PROPERTY_KEYS = 1e3;
260
260
  isValidObject = function(properties) {
@@ -309,10 +309,10 @@ var init_valid_properties = __esm({
309
309
  }
310
310
  });
311
311
 
312
- // ../../node_modules/.pnpm/@amplitude+analytics-core@2.38.0/node_modules/@amplitude/analytics-core/lib/esm/identify.js
312
+ // ../../node_modules/.pnpm/@amplitude+analytics-core@2.40.0/node_modules/@amplitude/analytics-core/lib/esm/identify.js
313
313
  var Identify, IdentifyOperation2, OrderedIdentifyOperations;
314
314
  var init_identify = __esm({
315
- "../../node_modules/.pnpm/@amplitude+analytics-core@2.38.0/node_modules/@amplitude/analytics-core/lib/esm/identify.js"() {
315
+ "../../node_modules/.pnpm/@amplitude+analytics-core@2.40.0/node_modules/@amplitude/analytics-core/lib/esm/identify.js"() {
316
316
  init_tslib_es6();
317
317
  init_constants();
318
318
  init_valid_properties();
@@ -423,10 +423,10 @@ var init_identify = __esm({
423
423
  }
424
424
  });
425
425
 
426
- // ../../node_modules/.pnpm/@amplitude+analytics-core@2.38.0/node_modules/@amplitude/analytics-core/lib/esm/types/messages.js
426
+ // ../../node_modules/.pnpm/@amplitude+analytics-core@2.40.0/node_modules/@amplitude/analytics-core/lib/esm/types/messages.js
427
427
  var SUCCESS_MESSAGE, UNEXPECTED_ERROR_MESSAGE, MAX_RETRIES_EXCEEDED_MESSAGE, OPT_OUT_MESSAGE, MISSING_API_KEY_MESSAGE, INVALID_API_KEY, CLIENT_NOT_INITIALIZED;
428
428
  var init_messages = __esm({
429
- "../../node_modules/.pnpm/@amplitude+analytics-core@2.38.0/node_modules/@amplitude/analytics-core/lib/esm/types/messages.js"() {
429
+ "../../node_modules/.pnpm/@amplitude+analytics-core@2.40.0/node_modules/@amplitude/analytics-core/lib/esm/types/messages.js"() {
430
430
  SUCCESS_MESSAGE = "Event tracked successfully";
431
431
  UNEXPECTED_ERROR_MESSAGE = "Unexpected error occurred";
432
432
  MAX_RETRIES_EXCEEDED_MESSAGE = "Event rejected due to exceeded retry count";
@@ -437,10 +437,10 @@ var init_messages = __esm({
437
437
  }
438
438
  });
439
439
 
440
- // ../../node_modules/.pnpm/@amplitude+analytics-core@2.38.0/node_modules/@amplitude/analytics-core/lib/esm/types/status.js
440
+ // ../../node_modules/.pnpm/@amplitude+analytics-core@2.40.0/node_modules/@amplitude/analytics-core/lib/esm/types/status.js
441
441
  var Status;
442
442
  var init_status = __esm({
443
- "../../node_modules/.pnpm/@amplitude+analytics-core@2.38.0/node_modules/@amplitude/analytics-core/lib/esm/types/status.js"() {
443
+ "../../node_modules/.pnpm/@amplitude+analytics-core@2.40.0/node_modules/@amplitude/analytics-core/lib/esm/types/status.js"() {
444
444
  (function(Status2) {
445
445
  Status2["Unknown"] = "unknown";
446
446
  Status2["Skipped"] = "skipped";
@@ -455,10 +455,10 @@ var init_status = __esm({
455
455
  }
456
456
  });
457
457
 
458
- // ../../node_modules/.pnpm/@amplitude+analytics-core@2.38.0/node_modules/@amplitude/analytics-core/lib/esm/utils/result-builder.js
458
+ // ../../node_modules/.pnpm/@amplitude+analytics-core@2.40.0/node_modules/@amplitude/analytics-core/lib/esm/utils/result-builder.js
459
459
  var buildResult;
460
460
  var init_result_builder = __esm({
461
- "../../node_modules/.pnpm/@amplitude+analytics-core@2.38.0/node_modules/@amplitude/analytics-core/lib/esm/utils/result-builder.js"() {
461
+ "../../node_modules/.pnpm/@amplitude+analytics-core@2.40.0/node_modules/@amplitude/analytics-core/lib/esm/utils/result-builder.js"() {
462
462
  init_status();
463
463
  buildResult = function(event, code, message) {
464
464
  if (code === void 0) {
@@ -472,10 +472,10 @@ var init_result_builder = __esm({
472
472
  }
473
473
  });
474
474
 
475
- // ../../node_modules/.pnpm/@amplitude+analytics-core@2.38.0/node_modules/@amplitude/analytics-core/lib/esm/global-scope.js
475
+ // ../../node_modules/.pnpm/@amplitude+analytics-core@2.40.0/node_modules/@amplitude/analytics-core/lib/esm/global-scope.js
476
476
  var getGlobalScope;
477
477
  var init_global_scope = __esm({
478
- "../../node_modules/.pnpm/@amplitude+analytics-core@2.38.0/node_modules/@amplitude/analytics-core/lib/esm/global-scope.js"() {
478
+ "../../node_modules/.pnpm/@amplitude+analytics-core@2.40.0/node_modules/@amplitude/analytics-core/lib/esm/global-scope.js"() {
479
479
  getGlobalScope = function() {
480
480
  var ampIntegrationContextName = "ampIntegrationContext";
481
481
  if (typeof globalThis !== "undefined" && typeof globalThis[ampIntegrationContextName] !== "undefined") {
@@ -498,10 +498,10 @@ var init_global_scope = __esm({
498
498
  }
499
499
  });
500
500
 
501
- // ../../node_modules/.pnpm/@amplitude+analytics-core@2.38.0/node_modules/@amplitude/analytics-core/lib/esm/utils/uuid.js
501
+ // ../../node_modules/.pnpm/@amplitude+analytics-core@2.40.0/node_modules/@amplitude/analytics-core/lib/esm/utils/uuid.js
502
502
  var legacyUUID, hex, UUID;
503
503
  var init_uuid = __esm({
504
- "../../node_modules/.pnpm/@amplitude+analytics-core@2.38.0/node_modules/@amplitude/analytics-core/lib/esm/utils/uuid.js"() {
504
+ "../../node_modules/.pnpm/@amplitude+analytics-core@2.40.0/node_modules/@amplitude/analytics-core/lib/esm/utils/uuid.js"() {
505
505
  init_tslib_es6();
506
506
  init_global_scope();
507
507
  legacyUUID = function(a) {
@@ -545,10 +545,10 @@ var init_uuid = __esm({
545
545
  }
546
546
  });
547
547
 
548
- // ../../node_modules/.pnpm/@amplitude+analytics-core@2.38.0/node_modules/@amplitude/analytics-core/lib/esm/timeline.js
548
+ // ../../node_modules/.pnpm/@amplitude+analytics-core@2.40.0/node_modules/@amplitude/analytics-core/lib/esm/timeline.js
549
549
  var Timeline;
550
550
  var init_timeline = __esm({
551
- "../../node_modules/.pnpm/@amplitude+analytics-core@2.38.0/node_modules/@amplitude/analytics-core/lib/esm/timeline.js"() {
551
+ "../../node_modules/.pnpm/@amplitude+analytics-core@2.40.0/node_modules/@amplitude/analytics-core/lib/esm/timeline.js"() {
552
552
  init_tslib_es6();
553
553
  init_result_builder();
554
554
  init_uuid();
@@ -911,10 +911,10 @@ var init_timeline = __esm({
911
911
  }
912
912
  });
913
913
 
914
- // ../../node_modules/.pnpm/@amplitude+analytics-core@2.38.0/node_modules/@amplitude/analytics-core/lib/esm/utils/event-builder.js
914
+ // ../../node_modules/.pnpm/@amplitude+analytics-core@2.40.0/node_modules/@amplitude/analytics-core/lib/esm/utils/event-builder.js
915
915
  var createTrackEvent, createIdentifyEvent, createGroupIdentifyEvent, createGroupEvent, createRevenueEvent;
916
916
  var init_event_builder = __esm({
917
- "../../node_modules/.pnpm/@amplitude+analytics-core@2.38.0/node_modules/@amplitude/analytics-core/lib/esm/utils/event-builder.js"() {
917
+ "../../node_modules/.pnpm/@amplitude+analytics-core@2.40.0/node_modules/@amplitude/analytics-core/lib/esm/utils/event-builder.js"() {
918
918
  init_tslib_es6();
919
919
  init_identify();
920
920
  init_event();
@@ -944,10 +944,10 @@ var init_event_builder = __esm({
944
944
  }
945
945
  });
946
946
 
947
- // ../../node_modules/.pnpm/@amplitude+analytics-core@2.38.0/node_modules/@amplitude/analytics-core/lib/esm/utils/return-wrapper.js
947
+ // ../../node_modules/.pnpm/@amplitude+analytics-core@2.40.0/node_modules/@amplitude/analytics-core/lib/esm/utils/return-wrapper.js
948
948
  var returnWrapper;
949
949
  var init_return_wrapper = __esm({
950
- "../../node_modules/.pnpm/@amplitude+analytics-core@2.38.0/node_modules/@amplitude/analytics-core/lib/esm/utils/return-wrapper.js"() {
950
+ "../../node_modules/.pnpm/@amplitude+analytics-core@2.40.0/node_modules/@amplitude/analytics-core/lib/esm/utils/return-wrapper.js"() {
951
951
  returnWrapper = function(awaitable) {
952
952
  return {
953
953
  promise: awaitable || Promise.resolve()
@@ -956,10 +956,10 @@ var init_return_wrapper = __esm({
956
956
  }
957
957
  });
958
958
 
959
- // ../../node_modules/.pnpm/@amplitude+analytics-core@2.38.0/node_modules/@amplitude/analytics-core/lib/esm/core-client.js
959
+ // ../../node_modules/.pnpm/@amplitude+analytics-core@2.40.0/node_modules/@amplitude/analytics-core/lib/esm/core-client.js
960
960
  var AmplitudeCore;
961
961
  var init_core_client = __esm({
962
- "../../node_modules/.pnpm/@amplitude+analytics-core@2.38.0/node_modules/@amplitude/analytics-core/lib/esm/core-client.js"() {
962
+ "../../node_modules/.pnpm/@amplitude+analytics-core@2.40.0/node_modules/@amplitude/analytics-core/lib/esm/core-client.js"() {
963
963
  init_tslib_es6();
964
964
  init_event();
965
965
  init_identify();
@@ -1066,10 +1066,12 @@ var init_core_client = __esm({
1066
1066
  };
1067
1067
  AmplitudeCore2.prototype.track = function(eventInput, eventProperties, eventOptions) {
1068
1068
  var event = createTrackEvent(eventInput, eventProperties, eventOptions);
1069
+ this.userProperties = this.getOperationAppliedUserProperties(event.user_properties);
1069
1070
  return returnWrapper(this.dispatch(event));
1070
1071
  };
1071
1072
  AmplitudeCore2.prototype.identify = function(identify2, eventOptions) {
1072
1073
  var event = createIdentifyEvent(identify2, eventOptions);
1074
+ this.userProperties = this.getOperationAppliedUserProperties(event.user_properties);
1073
1075
  return returnWrapper(this.dispatch(event));
1074
1076
  };
1075
1077
  AmplitudeCore2.prototype.groupIdentify = function(groupType, groupName, identify2, eventOptions) {
@@ -1078,6 +1080,7 @@ var init_core_client = __esm({
1078
1080
  };
1079
1081
  AmplitudeCore2.prototype.setGroup = function(groupType, groupName, eventOptions) {
1080
1082
  var event = createGroupEvent(groupType, groupName, eventOptions);
1083
+ this.userProperties = this.getOperationAppliedUserProperties(event.user_properties);
1081
1084
  return returnWrapper(this.dispatch(event));
1082
1085
  };
1083
1086
  AmplitudeCore2.prototype.revenue = function(revenue2, eventOptions) {
@@ -1124,7 +1127,9 @@ var init_core_client = __esm({
1124
1127
  });
1125
1128
  };
1126
1129
  AmplitudeCore2.prototype.getOperationAppliedUserProperties = function(userProperties) {
1127
- var updatedProperties = {};
1130
+ var _a;
1131
+ var base = (_a = this.userProperties) !== null && _a !== void 0 ? _a : {};
1132
+ var updatedProperties = __assign({}, base);
1128
1133
  if (userProperties === void 0) {
1129
1134
  return updatedProperties;
1130
1135
  }
@@ -1159,7 +1164,7 @@ var init_core_client = __esm({
1159
1164
  };
1160
1165
  AmplitudeCore2.prototype.process = function(event) {
1161
1166
  return __awaiter(this, void 0, void 0, function() {
1162
- var userProperties, result, e_2, message, result;
1167
+ var result, e_2, message, result;
1163
1168
  return __generator(this, function(_a) {
1164
1169
  switch (_a.label) {
1165
1170
  case 0:
@@ -1168,8 +1173,7 @@ var init_core_client = __esm({
1168
1173
  return [2, buildResult(event, 0, OPT_OUT_MESSAGE)];
1169
1174
  }
1170
1175
  if (event.event_type === SpecialEventType.IDENTIFY) {
1171
- userProperties = this.getOperationAppliedUserProperties(event.user_properties);
1172
- this.timeline.onIdentityChanged({ userProperties });
1176
+ this.timeline.onIdentityChanged({ userProperties: this.userProperties });
1173
1177
  }
1174
1178
  return [4, this.timeline.push(event)];
1175
1179
  case 1:
@@ -1227,10 +1231,10 @@ var init_core_client = __esm({
1227
1231
  }
1228
1232
  });
1229
1233
 
1230
- // ../../node_modules/.pnpm/@amplitude+analytics-core@2.38.0/node_modules/@amplitude/analytics-core/lib/esm/revenue.js
1234
+ // ../../node_modules/.pnpm/@amplitude+analytics-core@2.40.0/node_modules/@amplitude/analytics-core/lib/esm/revenue.js
1231
1235
  var Revenue, RevenueProperty;
1232
1236
  var init_revenue = __esm({
1233
- "../../node_modules/.pnpm/@amplitude+analytics-core@2.38.0/node_modules/@amplitude/analytics-core/lib/esm/revenue.js"() {
1237
+ "../../node_modules/.pnpm/@amplitude+analytics-core@2.40.0/node_modules/@amplitude/analytics-core/lib/esm/revenue.js"() {
1234
1238
  init_tslib_es6();
1235
1239
  init_valid_properties();
1236
1240
  Revenue = /** @class */
@@ -1307,10 +1311,10 @@ var init_revenue = __esm({
1307
1311
  }
1308
1312
  });
1309
1313
 
1310
- // ../../node_modules/.pnpm/@amplitude+analytics-core@2.38.0/node_modules/@amplitude/analytics-core/lib/esm/utils/chunk.js
1314
+ // ../../node_modules/.pnpm/@amplitude+analytics-core@2.40.0/node_modules/@amplitude/analytics-core/lib/esm/utils/chunk.js
1311
1315
  var chunk;
1312
1316
  var init_chunk = __esm({
1313
- "../../node_modules/.pnpm/@amplitude+analytics-core@2.38.0/node_modules/@amplitude/analytics-core/lib/esm/utils/chunk.js"() {
1317
+ "../../node_modules/.pnpm/@amplitude+analytics-core@2.40.0/node_modules/@amplitude/analytics-core/lib/esm/utils/chunk.js"() {
1314
1318
  chunk = function(arr, size) {
1315
1319
  var chunkSize = Math.max(size, 1);
1316
1320
  return arr.reduce(function(chunks, element, index) {
@@ -1325,10 +1329,10 @@ var init_chunk = __esm({
1325
1329
  }
1326
1330
  });
1327
1331
 
1328
- // ../../node_modules/.pnpm/@amplitude+analytics-core@2.38.0/node_modules/@amplitude/analytics-core/lib/esm/types/loglevel.js
1332
+ // ../../node_modules/.pnpm/@amplitude+analytics-core@2.40.0/node_modules/@amplitude/analytics-core/lib/esm/types/loglevel.js
1329
1333
  var LogLevel;
1330
1334
  var init_loglevel = __esm({
1331
- "../../node_modules/.pnpm/@amplitude+analytics-core@2.38.0/node_modules/@amplitude/analytics-core/lib/esm/types/loglevel.js"() {
1335
+ "../../node_modules/.pnpm/@amplitude+analytics-core@2.40.0/node_modules/@amplitude/analytics-core/lib/esm/types/loglevel.js"() {
1332
1336
  (function(LogLevel2) {
1333
1337
  LogLevel2[LogLevel2["None"] = 0] = "None";
1334
1338
  LogLevel2[LogLevel2["Error"] = 1] = "Error";
@@ -1339,10 +1343,10 @@ var init_loglevel = __esm({
1339
1343
  }
1340
1344
  });
1341
1345
 
1342
- // ../../node_modules/.pnpm/@amplitude+analytics-core@2.38.0/node_modules/@amplitude/analytics-core/lib/esm/logger.js
1346
+ // ../../node_modules/.pnpm/@amplitude+analytics-core@2.40.0/node_modules/@amplitude/analytics-core/lib/esm/logger.js
1343
1347
  var PREFIX, Logger;
1344
1348
  var init_logger = __esm({
1345
- "../../node_modules/.pnpm/@amplitude+analytics-core@2.38.0/node_modules/@amplitude/analytics-core/lib/esm/logger.js"() {
1349
+ "../../node_modules/.pnpm/@amplitude+analytics-core@2.40.0/node_modules/@amplitude/analytics-core/lib/esm/logger.js"() {
1346
1350
  init_loglevel();
1347
1351
  PREFIX = "Amplitude Logger ";
1348
1352
  Logger = /** @class */
@@ -1404,10 +1408,10 @@ var init_logger = __esm({
1404
1408
  }
1405
1409
  });
1406
1410
 
1407
- // ../../node_modules/.pnpm/@amplitude+analytics-core@2.38.0/node_modules/@amplitude/analytics-core/lib/esm/config.js
1411
+ // ../../node_modules/.pnpm/@amplitude+analytics-core@2.40.0/node_modules/@amplitude/analytics-core/lib/esm/config.js
1408
1412
  var getDefaultConfig, Config, getServerUrl, createServerConfig, RequestMetadata;
1409
1413
  var init_config = __esm({
1410
- "../../node_modules/.pnpm/@amplitude+analytics-core@2.38.0/node_modules/@amplitude/analytics-core/lib/esm/config.js"() {
1414
+ "../../node_modules/.pnpm/@amplitude+analytics-core@2.40.0/node_modules/@amplitude/analytics-core/lib/esm/config.js"() {
1411
1415
  init_constants();
1412
1416
  init_logger();
1413
1417
  init_loglevel();
@@ -1508,19 +1512,19 @@ var init_config = __esm({
1508
1512
  }
1509
1513
  });
1510
1514
 
1511
- // ../../node_modules/.pnpm/@amplitude+analytics-core@2.38.0/node_modules/@amplitude/analytics-core/lib/esm/utils/status-code.js
1515
+ // ../../node_modules/.pnpm/@amplitude+analytics-core@2.40.0/node_modules/@amplitude/analytics-core/lib/esm/utils/status-code.js
1512
1516
  function isSuccessStatusCode(code) {
1513
1517
  return code >= 200 && code < 300;
1514
1518
  }
1515
1519
  var init_status_code = __esm({
1516
- "../../node_modules/.pnpm/@amplitude+analytics-core@2.38.0/node_modules/@amplitude/analytics-core/lib/esm/utils/status-code.js"() {
1520
+ "../../node_modules/.pnpm/@amplitude+analytics-core@2.40.0/node_modules/@amplitude/analytics-core/lib/esm/utils/status-code.js"() {
1517
1521
  }
1518
1522
  });
1519
1523
 
1520
- // ../../node_modules/.pnpm/@amplitude+analytics-core@2.38.0/node_modules/@amplitude/analytics-core/lib/esm/utils/debug.js
1524
+ // ../../node_modules/.pnpm/@amplitude+analytics-core@2.40.0/node_modules/@amplitude/analytics-core/lib/esm/utils/debug.js
1521
1525
  var getStacktrace, getClientLogConfig, getValueByStringPath, getClientStates, debugWrapper;
1522
1526
  var init_debug = __esm({
1523
- "../../node_modules/.pnpm/@amplitude+analytics-core@2.38.0/node_modules/@amplitude/analytics-core/lib/esm/utils/debug.js"() {
1527
+ "../../node_modules/.pnpm/@amplitude+analytics-core@2.40.0/node_modules/@amplitude/analytics-core/lib/esm/utils/debug.js"() {
1524
1528
  init_tslib_es6();
1525
1529
  init_loglevel();
1526
1530
  getStacktrace = function(ignoreDepth) {
@@ -1638,7 +1642,7 @@ var init_debug = __esm({
1638
1642
  }
1639
1643
  });
1640
1644
 
1641
- // ../../node_modules/.pnpm/@amplitude+analytics-core@2.38.0/node_modules/@amplitude/analytics-core/lib/esm/plugins/destination.js
1645
+ // ../../node_modules/.pnpm/@amplitude+analytics-core@2.40.0/node_modules/@amplitude/analytics-core/lib/esm/plugins/destination.js
1642
1646
  function getErrorMessage(error) {
1643
1647
  if (error instanceof Error)
1644
1648
  return error.message;
@@ -1656,7 +1660,7 @@ function getResponseBodyString(res) {
1656
1660
  }
1657
1661
  var Destination;
1658
1662
  var init_destination = __esm({
1659
- "../../node_modules/.pnpm/@amplitude+analytics-core@2.38.0/node_modules/@amplitude/analytics-core/lib/esm/plugins/destination.js"() {
1663
+ "../../node_modules/.pnpm/@amplitude+analytics-core@2.40.0/node_modules/@amplitude/analytics-core/lib/esm/plugins/destination.js"() {
1660
1664
  init_tslib_es6();
1661
1665
  init_status();
1662
1666
  init_messages();
@@ -2047,10 +2051,10 @@ var init_destination = __esm({
2047
2051
  }
2048
2052
  });
2049
2053
 
2050
- // ../../node_modules/.pnpm/@amplitude+analytics-core@2.38.0/node_modules/@amplitude/analytics-core/lib/esm/transports/base.js
2054
+ // ../../node_modules/.pnpm/@amplitude+analytics-core@2.40.0/node_modules/@amplitude/analytics-core/lib/esm/transports/base.js
2051
2055
  var BaseTransport;
2052
2056
  var init_base = __esm({
2053
- "../../node_modules/.pnpm/@amplitude+analytics-core@2.38.0/node_modules/@amplitude/analytics-core/lib/esm/transports/base.js"() {
2057
+ "../../node_modules/.pnpm/@amplitude+analytics-core@2.40.0/node_modules/@amplitude/analytics-core/lib/esm/transports/base.js"() {
2054
2058
  init_status();
2055
2059
  init_status_code();
2056
2060
  BaseTransport = /** @class */
@@ -2152,10 +2156,10 @@ var init_base = __esm({
2152
2156
  }
2153
2157
  });
2154
2158
 
2155
- // ../../node_modules/.pnpm/@amplitude+analytics-core@2.38.0/node_modules/@amplitude/analytics-core/lib/esm/types/server-zone.js
2159
+ // ../../node_modules/.pnpm/@amplitude+analytics-core@2.40.0/node_modules/@amplitude/analytics-core/lib/esm/types/server-zone.js
2156
2160
  var ServerZone;
2157
2161
  var init_server_zone = __esm({
2158
- "../../node_modules/.pnpm/@amplitude+analytics-core@2.38.0/node_modules/@amplitude/analytics-core/lib/esm/types/server-zone.js"() {
2162
+ "../../node_modules/.pnpm/@amplitude+analytics-core@2.40.0/node_modules/@amplitude/analytics-core/lib/esm/types/server-zone.js"() {
2159
2163
  (function(ServerZone2) {
2160
2164
  ServerZone2["US"] = "US";
2161
2165
  ServerZone2["EU"] = "EU";
@@ -2164,17 +2168,17 @@ var init_server_zone = __esm({
2164
2168
  }
2165
2169
  });
2166
2170
 
2167
- // ../../node_modules/.pnpm/@amplitude+analytics-core@2.38.0/node_modules/@amplitude/analytics-core/lib/esm/types/offline.js
2171
+ // ../../node_modules/.pnpm/@amplitude+analytics-core@2.40.0/node_modules/@amplitude/analytics-core/lib/esm/types/offline.js
2168
2172
  var OfflineDisabled;
2169
2173
  var init_offline = __esm({
2170
- "../../node_modules/.pnpm/@amplitude+analytics-core@2.38.0/node_modules/@amplitude/analytics-core/lib/esm/types/offline.js"() {
2174
+ "../../node_modules/.pnpm/@amplitude+analytics-core@2.40.0/node_modules/@amplitude/analytics-core/lib/esm/types/offline.js"() {
2171
2175
  OfflineDisabled = null;
2172
2176
  }
2173
2177
  });
2174
2178
 
2175
- // ../../node_modules/.pnpm/@amplitude+analytics-core@2.38.0/node_modules/@amplitude/analytics-core/lib/esm/index.js
2179
+ // ../../node_modules/.pnpm/@amplitude+analytics-core@2.40.0/node_modules/@amplitude/analytics-core/lib/esm/index.js
2176
2180
  var init_esm = __esm({
2177
- "../../node_modules/.pnpm/@amplitude+analytics-core@2.38.0/node_modules/@amplitude/analytics-core/lib/esm/index.js"() {
2181
+ "../../node_modules/.pnpm/@amplitude+analytics-core@2.40.0/node_modules/@amplitude/analytics-core/lib/esm/index.js"() {
2178
2182
  init_core_client();
2179
2183
  init_identify();
2180
2184
  init_revenue();
@@ -2191,18 +2195,18 @@ var init_esm = __esm({
2191
2195
  }
2192
2196
  });
2193
2197
 
2194
- // ../../node_modules/.pnpm/@amplitude+analytics-node@1.5.35/node_modules/@amplitude/analytics-node/lib/esm/version.js
2198
+ // ../../node_modules/.pnpm/@amplitude+analytics-node@1.5.37/node_modules/@amplitude/analytics-node/lib/esm/version.js
2195
2199
  var VERSION;
2196
2200
  var init_version = __esm({
2197
- "../../node_modules/.pnpm/@amplitude+analytics-node@1.5.35/node_modules/@amplitude/analytics-node/lib/esm/version.js"() {
2198
- VERSION = "1.5.35";
2201
+ "../../node_modules/.pnpm/@amplitude+analytics-node@1.5.37/node_modules/@amplitude/analytics-node/lib/esm/version.js"() {
2202
+ VERSION = "1.5.37";
2199
2203
  }
2200
2204
  });
2201
2205
 
2202
- // ../../node_modules/.pnpm/@amplitude+analytics-node@1.5.35/node_modules/@amplitude/analytics-node/lib/esm/plugins/context.js
2206
+ // ../../node_modules/.pnpm/@amplitude+analytics-node@1.5.37/node_modules/@amplitude/analytics-node/lib/esm/plugins/context.js
2203
2207
  var Context;
2204
2208
  var init_context = __esm({
2205
- "../../node_modules/.pnpm/@amplitude+analytics-node@1.5.35/node_modules/@amplitude/analytics-node/lib/esm/plugins/context.js"() {
2209
+ "../../node_modules/.pnpm/@amplitude+analytics-node@1.5.37/node_modules/@amplitude/analytics-node/lib/esm/plugins/context.js"() {
2206
2210
  init_tslib_es6();
2207
2211
  init_esm();
2208
2212
  init_version();
@@ -2237,7 +2241,7 @@ var init_context = __esm({
2237
2241
  });
2238
2242
  var Http;
2239
2243
  var init_http = __esm({
2240
- "../../node_modules/.pnpm/@amplitude+analytics-node@1.5.35/node_modules/@amplitude/analytics-node/lib/esm/transports/http.js"() {
2244
+ "../../node_modules/.pnpm/@amplitude+analytics-node@1.5.37/node_modules/@amplitude/analytics-node/lib/esm/transports/http.js"() {
2241
2245
  init_tslib_es6();
2242
2246
  init_esm();
2243
2247
  Http = /** @class */
@@ -2299,10 +2303,10 @@ var init_http = __esm({
2299
2303
  }
2300
2304
  });
2301
2305
 
2302
- // ../../node_modules/.pnpm/@amplitude+analytics-node@1.5.35/node_modules/@amplitude/analytics-node/lib/esm/config.js
2306
+ // ../../node_modules/.pnpm/@amplitude+analytics-node@1.5.37/node_modules/@amplitude/analytics-node/lib/esm/config.js
2303
2307
  var NodeConfig, useNodeConfig;
2304
2308
  var init_config2 = __esm({
2305
- "../../node_modules/.pnpm/@amplitude+analytics-node@1.5.35/node_modules/@amplitude/analytics-node/lib/esm/config.js"() {
2309
+ "../../node_modules/.pnpm/@amplitude+analytics-node@1.5.37/node_modules/@amplitude/analytics-node/lib/esm/config.js"() {
2306
2310
  init_tslib_es6();
2307
2311
  init_esm();
2308
2312
  init_http();
@@ -2320,10 +2324,10 @@ var init_config2 = __esm({
2320
2324
  }
2321
2325
  });
2322
2326
 
2323
- // ../../node_modules/.pnpm/@amplitude+analytics-node@1.5.35/node_modules/@amplitude/analytics-node/lib/esm/node-client.js
2327
+ // ../../node_modules/.pnpm/@amplitude+analytics-node@1.5.37/node_modules/@amplitude/analytics-node/lib/esm/node-client.js
2324
2328
  var AmplitudeNode, createInstance, node_client_default;
2325
2329
  var init_node_client = __esm({
2326
- "../../node_modules/.pnpm/@amplitude+analytics-node@1.5.35/node_modules/@amplitude/analytics-node/lib/esm/node-client.js"() {
2330
+ "../../node_modules/.pnpm/@amplitude+analytics-node@1.5.37/node_modules/@amplitude/analytics-node/lib/esm/node-client.js"() {
2327
2331
  init_tslib_es6();
2328
2332
  init_esm();
2329
2333
  init_context();
@@ -2397,7 +2401,7 @@ var init_node_client = __esm({
2397
2401
  }
2398
2402
  });
2399
2403
 
2400
- // ../../node_modules/.pnpm/@amplitude+analytics-node@1.5.35/node_modules/@amplitude/analytics-node/lib/esm/types.js
2404
+ // ../../node_modules/.pnpm/@amplitude+analytics-node@1.5.37/node_modules/@amplitude/analytics-node/lib/esm/types.js
2401
2405
  var types_exports = {};
2402
2406
  __export(types_exports, {
2403
2407
  IdentifyOperation: () => IdentifyOperation,
@@ -2408,12 +2412,12 @@ __export(types_exports, {
2408
2412
  SpecialEventType: () => SpecialEventType
2409
2413
  });
2410
2414
  var init_types = __esm({
2411
- "../../node_modules/.pnpm/@amplitude+analytics-node@1.5.35/node_modules/@amplitude/analytics-node/lib/esm/types.js"() {
2415
+ "../../node_modules/.pnpm/@amplitude+analytics-node@1.5.37/node_modules/@amplitude/analytics-node/lib/esm/types.js"() {
2412
2416
  init_esm();
2413
2417
  }
2414
2418
  });
2415
2419
 
2416
- // ../../node_modules/.pnpm/@amplitude+analytics-node@1.5.35/node_modules/@amplitude/analytics-node/lib/esm/index.js
2420
+ // ../../node_modules/.pnpm/@amplitude+analytics-node@1.5.37/node_modules/@amplitude/analytics-node/lib/esm/index.js
2417
2421
  var esm_exports = {};
2418
2422
  __export(esm_exports, {
2419
2423
  Identify: () => Identify,
@@ -2434,7 +2438,7 @@ __export(esm_exports, {
2434
2438
  });
2435
2439
  var add, groupIdentify, identify, init, logEvent, remove, revenue, setGroup, setOptOut, track, flush;
2436
2440
  var init_esm2 = __esm({
2437
- "../../node_modules/.pnpm/@amplitude+analytics-node@1.5.35/node_modules/@amplitude/analytics-node/lib/esm/index.js"() {
2441
+ "../../node_modules/.pnpm/@amplitude+analytics-node@1.5.37/node_modules/@amplitude/analytics-node/lib/esm/index.js"() {
2438
2442
  init_node_client();
2439
2443
  init_node_client();
2440
2444
  init_esm();