autotel-subscribers 34.1.0 → 35.0.0

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.48.0/node_modules/@amplitude/analytics-core/lib/esm/types/event/event.js
215
+ // ../../node_modules/.pnpm/@amplitude+analytics-core@2.48.2/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.48.0/node_modules/@amplitude/analytics-core/lib/esm/types/event/event.js"() {
218
+ "../../node_modules/.pnpm/@amplitude+analytics-core@2.48.2/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.48.0/node_modules/@amplitude/analytics-core/lib/esm/types/constants.js
239
+ // ../../node_modules/.pnpm/@amplitude+analytics-core@2.48.2/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.48.0/node_modules/@amplitude/analytics-core/lib/esm/types/constants.js"() {
242
+ "../../node_modules/.pnpm/@amplitude+analytics-core@2.48.2/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.48.0/node_modules/@amplitude/analytics-core/lib/esm/utils/valid-properties.js
254
+ // ../../node_modules/.pnpm/@amplitude+analytics-core@2.48.2/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.48.0/node_modules/@amplitude/analytics-core/lib/esm/utils/valid-properties.js"() {
257
+ "../../node_modules/.pnpm/@amplitude+analytics-core@2.48.2/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.48.0/node_modules/@amplitude/analytics-core/lib/esm/identify.js
312
+ // ../../node_modules/.pnpm/@amplitude+analytics-core@2.48.2/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.48.0/node_modules/@amplitude/analytics-core/lib/esm/identify.js"() {
315
+ "../../node_modules/.pnpm/@amplitude+analytics-core@2.48.2/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.48.0/node_modules/@amplitude/analytics-core/lib/esm/types/messages.js
426
+ // ../../node_modules/.pnpm/@amplitude+analytics-core@2.48.2/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.48.0/node_modules/@amplitude/analytics-core/lib/esm/types/messages.js"() {
429
+ "../../node_modules/.pnpm/@amplitude+analytics-core@2.48.2/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.48.0/node_modules/@amplitude/analytics-core/lib/esm/types/status.js
440
+ // ../../node_modules/.pnpm/@amplitude+analytics-core@2.48.2/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.48.0/node_modules/@amplitude/analytics-core/lib/esm/types/status.js"() {
443
+ "../../node_modules/.pnpm/@amplitude+analytics-core@2.48.2/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.48.0/node_modules/@amplitude/analytics-core/lib/esm/utils/result-builder.js
458
+ // ../../node_modules/.pnpm/@amplitude+analytics-core@2.48.2/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.48.0/node_modules/@amplitude/analytics-core/lib/esm/utils/result-builder.js"() {
461
+ "../../node_modules/.pnpm/@amplitude+analytics-core@2.48.2/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.48.0/node_modules/@amplitude/analytics-core/lib/esm/global-scope.js
475
+ // ../../node_modules/.pnpm/@amplitude+analytics-core@2.48.2/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.48.0/node_modules/@amplitude/analytics-core/lib/esm/global-scope.js"() {
478
+ "../../node_modules/.pnpm/@amplitude+analytics-core@2.48.2/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.48.0/node_modules/@amplitude/analytics-core/lib/esm/utils/uuid.js
501
+ // ../../node_modules/.pnpm/@amplitude+analytics-core@2.48.2/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.48.0/node_modules/@amplitude/analytics-core/lib/esm/utils/uuid.js"() {
504
+ "../../node_modules/.pnpm/@amplitude+analytics-core@2.48.2/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.48.0/node_modules/@amplitude/analytics-core/lib/esm/timeline.js
548
+ // ../../node_modules/.pnpm/@amplitude+analytics-core@2.48.2/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.48.0/node_modules/@amplitude/analytics-core/lib/esm/timeline.js"() {
551
+ "../../node_modules/.pnpm/@amplitude+analytics-core@2.48.2/node_modules/@amplitude/analytics-core/lib/esm/timeline.js"() {
552
552
  init_tslib_es6();
553
553
  init_result_builder();
554
554
  init_uuid();
@@ -559,32 +559,41 @@ var init_timeline = __esm({
559
559
  this.queue = [];
560
560
  this.applying = false;
561
561
  this.plugins = [];
562
+ this.pluginStatus = /* @__PURE__ */ new Map();
562
563
  this._optOutListeners = [];
563
564
  }
564
565
  Timeline2.prototype.register = function(plugin, config) {
565
566
  var _a, _b;
566
567
  return __awaiter(this, void 0, void 0, function() {
568
+ var name;
567
569
  return __generator(this, function(_c) {
568
570
  switch (_c.label) {
569
571
  case 0:
570
- if (this.plugins.some(function(existingPlugin) {
571
- return existingPlugin.name === plugin.name;
572
- })) {
573
- this.loggerProvider.warn("Plugin with name ".concat(plugin.name, " already exists, skipping registration"));
572
+ if (plugin.name === void 0) {
573
+ plugin.name = UUID();
574
+ this.loggerProvider.warn("Plugin name is undefined.\n Generating a random UUID for plugin name: ".concat(plugin.name, ".\n Set a name for the plugin to prevent it from being added multiple times."));
575
+ }
576
+ name = plugin.name;
577
+ if (this.pluginStatus.has(name)) {
578
+ this.loggerProvider.warn("Plugin with name ".concat(name, " already exists, skipping registration"));
574
579
  return [
575
580
  2
576
581
  /*return*/
577
582
  ];
578
583
  }
579
- if (plugin.name === void 0) {
580
- plugin.name = UUID();
581
- this.loggerProvider.warn("Plugin name is undefined. \n Generating a random UUID for plugin name: ".concat(plugin.name, ". \n Set a name for the plugin to prevent it from being added multiple times."));
582
- }
583
584
  plugin.type = (_a = plugin.type) !== null && _a !== void 0 ? _a : "enrichment";
585
+ this.pluginStatus.set(name, "locked");
584
586
  return [4, (_b = plugin.setup) === null || _b === void 0 ? void 0 : _b.call(plugin, config, this.client)];
585
587
  case 1:
586
588
  _c.sent();
589
+ if (this.pluginStatus.get(name) !== "locked") {
590
+ return [
591
+ 2
592
+ /*return*/
593
+ ];
594
+ }
587
595
  this.plugins.push(plugin);
596
+ this.pluginStatus.set(name, "installed");
588
597
  return [
589
598
  2
590
599
  /*return*/
@@ -600,6 +609,7 @@ var init_timeline = __esm({
600
609
  return __generator(this, function(_b) {
601
610
  switch (_b.label) {
602
611
  case 0:
612
+ this.pluginStatus.delete(pluginName);
603
613
  index = this.plugins.findIndex(function(plugin2) {
604
614
  return plugin2.name === pluginName;
605
615
  });
@@ -632,6 +642,7 @@ var init_timeline = __esm({
632
642
  return (_a = plugin.teardown) === null || _a === void 0 ? void 0 : _a.call(plugin);
633
643
  });
634
644
  this.plugins = [];
645
+ this.pluginStatus.clear();
635
646
  this.client = client;
636
647
  };
637
648
  Timeline2.prototype.push = function(event) {
@@ -911,10 +922,10 @@ var init_timeline = __esm({
911
922
  }
912
923
  });
913
924
 
914
- // ../../node_modules/.pnpm/@amplitude+analytics-core@2.48.0/node_modules/@amplitude/analytics-core/lib/esm/utils/event-builder.js
925
+ // ../../node_modules/.pnpm/@amplitude+analytics-core@2.48.2/node_modules/@amplitude/analytics-core/lib/esm/utils/event-builder.js
915
926
  var createTrackEvent, createIdentifyEvent, createGroupIdentifyEvent, createGroupEvent, createRevenueEvent;
916
927
  var init_event_builder = __esm({
917
- "../../node_modules/.pnpm/@amplitude+analytics-core@2.48.0/node_modules/@amplitude/analytics-core/lib/esm/utils/event-builder.js"() {
928
+ "../../node_modules/.pnpm/@amplitude+analytics-core@2.48.2/node_modules/@amplitude/analytics-core/lib/esm/utils/event-builder.js"() {
918
929
  init_tslib_es6();
919
930
  init_identify();
920
931
  init_event();
@@ -944,10 +955,10 @@ var init_event_builder = __esm({
944
955
  }
945
956
  });
946
957
 
947
- // ../../node_modules/.pnpm/@amplitude+analytics-core@2.48.0/node_modules/@amplitude/analytics-core/lib/esm/utils/return-wrapper.js
958
+ // ../../node_modules/.pnpm/@amplitude+analytics-core@2.48.2/node_modules/@amplitude/analytics-core/lib/esm/utils/return-wrapper.js
948
959
  var returnWrapper;
949
960
  var init_return_wrapper = __esm({
950
- "../../node_modules/.pnpm/@amplitude+analytics-core@2.48.0/node_modules/@amplitude/analytics-core/lib/esm/utils/return-wrapper.js"() {
961
+ "../../node_modules/.pnpm/@amplitude+analytics-core@2.48.2/node_modules/@amplitude/analytics-core/lib/esm/utils/return-wrapper.js"() {
951
962
  returnWrapper = function(awaitable) {
952
963
  return {
953
964
  promise: awaitable || Promise.resolve()
@@ -956,10 +967,10 @@ var init_return_wrapper = __esm({
956
967
  }
957
968
  });
958
969
 
959
- // ../../node_modules/.pnpm/@amplitude+analytics-core@2.48.0/node_modules/@amplitude/analytics-core/lib/esm/core-client.js
970
+ // ../../node_modules/.pnpm/@amplitude+analytics-core@2.48.2/node_modules/@amplitude/analytics-core/lib/esm/core-client.js
960
971
  var AmplitudeCore;
961
972
  var init_core_client = __esm({
962
- "../../node_modules/.pnpm/@amplitude+analytics-core@2.48.0/node_modules/@amplitude/analytics-core/lib/esm/core-client.js"() {
973
+ "../../node_modules/.pnpm/@amplitude+analytics-core@2.48.2/node_modules/@amplitude/analytics-core/lib/esm/core-client.js"() {
963
974
  init_tslib_es6();
964
975
  init_event();
965
976
  init_identify();
@@ -1231,10 +1242,10 @@ var init_core_client = __esm({
1231
1242
  }
1232
1243
  });
1233
1244
 
1234
- // ../../node_modules/.pnpm/@amplitude+analytics-core@2.48.0/node_modules/@amplitude/analytics-core/lib/esm/revenue.js
1245
+ // ../../node_modules/.pnpm/@amplitude+analytics-core@2.48.2/node_modules/@amplitude/analytics-core/lib/esm/revenue.js
1235
1246
  var Revenue, RevenueProperty;
1236
1247
  var init_revenue = __esm({
1237
- "../../node_modules/.pnpm/@amplitude+analytics-core@2.48.0/node_modules/@amplitude/analytics-core/lib/esm/revenue.js"() {
1248
+ "../../node_modules/.pnpm/@amplitude+analytics-core@2.48.2/node_modules/@amplitude/analytics-core/lib/esm/revenue.js"() {
1238
1249
  init_tslib_es6();
1239
1250
  init_valid_properties();
1240
1251
  Revenue = /** @class */
@@ -1315,10 +1326,10 @@ var init_revenue = __esm({
1315
1326
  }
1316
1327
  });
1317
1328
 
1318
- // ../../node_modules/.pnpm/@amplitude+analytics-core@2.48.0/node_modules/@amplitude/analytics-core/lib/esm/utils/chunk.js
1329
+ // ../../node_modules/.pnpm/@amplitude+analytics-core@2.48.2/node_modules/@amplitude/analytics-core/lib/esm/utils/chunk.js
1319
1330
  var chunk;
1320
1331
  var init_chunk = __esm({
1321
- "../../node_modules/.pnpm/@amplitude+analytics-core@2.48.0/node_modules/@amplitude/analytics-core/lib/esm/utils/chunk.js"() {
1332
+ "../../node_modules/.pnpm/@amplitude+analytics-core@2.48.2/node_modules/@amplitude/analytics-core/lib/esm/utils/chunk.js"() {
1322
1333
  chunk = function(arr, size) {
1323
1334
  var chunkSize = Math.max(size, 1);
1324
1335
  return arr.reduce(function(chunks, element, index) {
@@ -1333,10 +1344,10 @@ var init_chunk = __esm({
1333
1344
  }
1334
1345
  });
1335
1346
 
1336
- // ../../node_modules/.pnpm/@amplitude+analytics-core@2.48.0/node_modules/@amplitude/analytics-core/lib/esm/types/loglevel.js
1347
+ // ../../node_modules/.pnpm/@amplitude+analytics-core@2.48.2/node_modules/@amplitude/analytics-core/lib/esm/types/loglevel.js
1337
1348
  var LogLevel;
1338
1349
  var init_loglevel = __esm({
1339
- "../../node_modules/.pnpm/@amplitude+analytics-core@2.48.0/node_modules/@amplitude/analytics-core/lib/esm/types/loglevel.js"() {
1350
+ "../../node_modules/.pnpm/@amplitude+analytics-core@2.48.2/node_modules/@amplitude/analytics-core/lib/esm/types/loglevel.js"() {
1340
1351
  (function(LogLevel2) {
1341
1352
  LogLevel2[LogLevel2["None"] = 0] = "None";
1342
1353
  LogLevel2[LogLevel2["Error"] = 1] = "Error";
@@ -1347,10 +1358,10 @@ var init_loglevel = __esm({
1347
1358
  }
1348
1359
  });
1349
1360
 
1350
- // ../../node_modules/.pnpm/@amplitude+analytics-core@2.48.0/node_modules/@amplitude/analytics-core/lib/esm/logger.js
1361
+ // ../../node_modules/.pnpm/@amplitude+analytics-core@2.48.2/node_modules/@amplitude/analytics-core/lib/esm/logger.js
1351
1362
  var PREFIX, Logger;
1352
1363
  var init_logger = __esm({
1353
- "../../node_modules/.pnpm/@amplitude+analytics-core@2.48.0/node_modules/@amplitude/analytics-core/lib/esm/logger.js"() {
1364
+ "../../node_modules/.pnpm/@amplitude+analytics-core@2.48.2/node_modules/@amplitude/analytics-core/lib/esm/logger.js"() {
1354
1365
  init_loglevel();
1355
1366
  PREFIX = "Amplitude Logger ";
1356
1367
  Logger = /** @class */
@@ -1412,10 +1423,10 @@ var init_logger = __esm({
1412
1423
  }
1413
1424
  });
1414
1425
 
1415
- // ../../node_modules/.pnpm/@amplitude+analytics-core@2.48.0/node_modules/@amplitude/analytics-core/lib/esm/config.js
1426
+ // ../../node_modules/.pnpm/@amplitude+analytics-core@2.48.2/node_modules/@amplitude/analytics-core/lib/esm/config.js
1416
1427
  var getDefaultConfig, Config, getServerUrl, createServerConfig, RequestMetadata;
1417
1428
  var init_config = __esm({
1418
- "../../node_modules/.pnpm/@amplitude+analytics-core@2.48.0/node_modules/@amplitude/analytics-core/lib/esm/config.js"() {
1429
+ "../../node_modules/.pnpm/@amplitude+analytics-core@2.48.2/node_modules/@amplitude/analytics-core/lib/esm/config.js"() {
1419
1430
  init_constants();
1420
1431
  init_logger();
1421
1432
  init_loglevel();
@@ -1516,19 +1527,19 @@ var init_config = __esm({
1516
1527
  }
1517
1528
  });
1518
1529
 
1519
- // ../../node_modules/.pnpm/@amplitude+analytics-core@2.48.0/node_modules/@amplitude/analytics-core/lib/esm/utils/status-code.js
1530
+ // ../../node_modules/.pnpm/@amplitude+analytics-core@2.48.2/node_modules/@amplitude/analytics-core/lib/esm/utils/status-code.js
1520
1531
  function isSuccessStatusCode(code) {
1521
1532
  return code >= 200 && code < 300;
1522
1533
  }
1523
1534
  var init_status_code = __esm({
1524
- "../../node_modules/.pnpm/@amplitude+analytics-core@2.48.0/node_modules/@amplitude/analytics-core/lib/esm/utils/status-code.js"() {
1535
+ "../../node_modules/.pnpm/@amplitude+analytics-core@2.48.2/node_modules/@amplitude/analytics-core/lib/esm/utils/status-code.js"() {
1525
1536
  }
1526
1537
  });
1527
1538
 
1528
- // ../../node_modules/.pnpm/@amplitude+analytics-core@2.48.0/node_modules/@amplitude/analytics-core/lib/esm/utils/debug.js
1539
+ // ../../node_modules/.pnpm/@amplitude+analytics-core@2.48.2/node_modules/@amplitude/analytics-core/lib/esm/utils/debug.js
1529
1540
  var getStacktrace, getClientLogConfig, getValueByStringPath, getClientStates, debugWrapper;
1530
1541
  var init_debug = __esm({
1531
- "../../node_modules/.pnpm/@amplitude+analytics-core@2.48.0/node_modules/@amplitude/analytics-core/lib/esm/utils/debug.js"() {
1542
+ "../../node_modules/.pnpm/@amplitude+analytics-core@2.48.2/node_modules/@amplitude/analytics-core/lib/esm/utils/debug.js"() {
1532
1543
  init_tslib_es6();
1533
1544
  init_loglevel();
1534
1545
  getStacktrace = function(ignoreDepth) {
@@ -1646,7 +1657,7 @@ var init_debug = __esm({
1646
1657
  }
1647
1658
  });
1648
1659
 
1649
- // ../../node_modules/.pnpm/@amplitude+analytics-core@2.48.0/node_modules/@amplitude/analytics-core/lib/esm/plugins/destination.js
1660
+ // ../../node_modules/.pnpm/@amplitude+analytics-core@2.48.2/node_modules/@amplitude/analytics-core/lib/esm/plugins/destination.js
1650
1661
  function getErrorMessage(error) {
1651
1662
  if (error instanceof Error)
1652
1663
  return error.message;
@@ -1664,7 +1675,7 @@ function getResponseBodyString(res) {
1664
1675
  }
1665
1676
  var DEFAULT_AMPLITUDE_SERVER_URLS, shouldCompressUploadBodyForRequest, Destination;
1666
1677
  var init_destination = __esm({
1667
- "../../node_modules/.pnpm/@amplitude+analytics-core@2.48.0/node_modules/@amplitude/analytics-core/lib/esm/plugins/destination.js"() {
1678
+ "../../node_modules/.pnpm/@amplitude+analytics-core@2.48.2/node_modules/@amplitude/analytics-core/lib/esm/plugins/destination.js"() {
1668
1679
  init_tslib_es6();
1669
1680
  init_status();
1670
1681
  init_messages();
@@ -2071,10 +2082,10 @@ var init_destination = __esm({
2071
2082
  }
2072
2083
  });
2073
2084
 
2074
- // ../../node_modules/.pnpm/@amplitude+analytics-core@2.48.0/node_modules/@amplitude/analytics-core/lib/esm/transports/base.js
2085
+ // ../../node_modules/.pnpm/@amplitude+analytics-core@2.48.2/node_modules/@amplitude/analytics-core/lib/esm/transports/base.js
2075
2086
  var BaseTransport;
2076
2087
  var init_base = __esm({
2077
- "../../node_modules/.pnpm/@amplitude+analytics-core@2.48.0/node_modules/@amplitude/analytics-core/lib/esm/transports/base.js"() {
2088
+ "../../node_modules/.pnpm/@amplitude+analytics-core@2.48.2/node_modules/@amplitude/analytics-core/lib/esm/transports/base.js"() {
2078
2089
  init_status();
2079
2090
  init_status_code();
2080
2091
  BaseTransport = /** @class */
@@ -2176,10 +2187,10 @@ var init_base = __esm({
2176
2187
  }
2177
2188
  });
2178
2189
 
2179
- // ../../node_modules/.pnpm/@amplitude+analytics-core@2.48.0/node_modules/@amplitude/analytics-core/lib/esm/types/server-zone.js
2190
+ // ../../node_modules/.pnpm/@amplitude+analytics-core@2.48.2/node_modules/@amplitude/analytics-core/lib/esm/types/server-zone.js
2180
2191
  var ServerZone;
2181
2192
  var init_server_zone = __esm({
2182
- "../../node_modules/.pnpm/@amplitude+analytics-core@2.48.0/node_modules/@amplitude/analytics-core/lib/esm/types/server-zone.js"() {
2193
+ "../../node_modules/.pnpm/@amplitude+analytics-core@2.48.2/node_modules/@amplitude/analytics-core/lib/esm/types/server-zone.js"() {
2183
2194
  (function(ServerZone2) {
2184
2195
  ServerZone2["US"] = "US";
2185
2196
  ServerZone2["EU"] = "EU";
@@ -2188,17 +2199,17 @@ var init_server_zone = __esm({
2188
2199
  }
2189
2200
  });
2190
2201
 
2191
- // ../../node_modules/.pnpm/@amplitude+analytics-core@2.48.0/node_modules/@amplitude/analytics-core/lib/esm/types/offline.js
2202
+ // ../../node_modules/.pnpm/@amplitude+analytics-core@2.48.2/node_modules/@amplitude/analytics-core/lib/esm/types/offline.js
2192
2203
  var OfflineDisabled;
2193
2204
  var init_offline = __esm({
2194
- "../../node_modules/.pnpm/@amplitude+analytics-core@2.48.0/node_modules/@amplitude/analytics-core/lib/esm/types/offline.js"() {
2205
+ "../../node_modules/.pnpm/@amplitude+analytics-core@2.48.2/node_modules/@amplitude/analytics-core/lib/esm/types/offline.js"() {
2195
2206
  OfflineDisabled = null;
2196
2207
  }
2197
2208
  });
2198
2209
 
2199
- // ../../node_modules/.pnpm/@amplitude+analytics-core@2.48.0/node_modules/@amplitude/analytics-core/lib/esm/index.js
2210
+ // ../../node_modules/.pnpm/@amplitude+analytics-core@2.48.2/node_modules/@amplitude/analytics-core/lib/esm/index.js
2200
2211
  var init_esm = __esm({
2201
- "../../node_modules/.pnpm/@amplitude+analytics-core@2.48.0/node_modules/@amplitude/analytics-core/lib/esm/index.js"() {
2212
+ "../../node_modules/.pnpm/@amplitude+analytics-core@2.48.2/node_modules/@amplitude/analytics-core/lib/esm/index.js"() {
2202
2213
  init_core_client();
2203
2214
  init_identify();
2204
2215
  init_revenue();
@@ -2215,18 +2226,18 @@ var init_esm = __esm({
2215
2226
  }
2216
2227
  });
2217
2228
 
2218
- // ../../node_modules/.pnpm/@amplitude+analytics-node@1.5.57/node_modules/@amplitude/analytics-node/lib/esm/version.js
2229
+ // ../../node_modules/.pnpm/@amplitude+analytics-node@1.5.58/node_modules/@amplitude/analytics-node/lib/esm/version.js
2219
2230
  var VERSION;
2220
2231
  var init_version = __esm({
2221
- "../../node_modules/.pnpm/@amplitude+analytics-node@1.5.57/node_modules/@amplitude/analytics-node/lib/esm/version.js"() {
2222
- VERSION = "1.5.57";
2232
+ "../../node_modules/.pnpm/@amplitude+analytics-node@1.5.58/node_modules/@amplitude/analytics-node/lib/esm/version.js"() {
2233
+ VERSION = "1.5.58";
2223
2234
  }
2224
2235
  });
2225
2236
 
2226
- // ../../node_modules/.pnpm/@amplitude+analytics-node@1.5.57/node_modules/@amplitude/analytics-node/lib/esm/plugins/context.js
2237
+ // ../../node_modules/.pnpm/@amplitude+analytics-node@1.5.58/node_modules/@amplitude/analytics-node/lib/esm/plugins/context.js
2227
2238
  var Context;
2228
2239
  var init_context = __esm({
2229
- "../../node_modules/.pnpm/@amplitude+analytics-node@1.5.57/node_modules/@amplitude/analytics-node/lib/esm/plugins/context.js"() {
2240
+ "../../node_modules/.pnpm/@amplitude+analytics-node@1.5.58/node_modules/@amplitude/analytics-node/lib/esm/plugins/context.js"() {
2230
2241
  init_tslib_es6();
2231
2242
  init_esm();
2232
2243
  init_version();
@@ -2261,7 +2272,7 @@ var init_context = __esm({
2261
2272
  });
2262
2273
  var Http;
2263
2274
  var init_http = __esm({
2264
- "../../node_modules/.pnpm/@amplitude+analytics-node@1.5.57/node_modules/@amplitude/analytics-node/lib/esm/transports/http.js"() {
2275
+ "../../node_modules/.pnpm/@amplitude+analytics-node@1.5.58/node_modules/@amplitude/analytics-node/lib/esm/transports/http.js"() {
2265
2276
  init_tslib_es6();
2266
2277
  init_esm();
2267
2278
  Http = /** @class */
@@ -2323,10 +2334,10 @@ var init_http = __esm({
2323
2334
  }
2324
2335
  });
2325
2336
 
2326
- // ../../node_modules/.pnpm/@amplitude+analytics-node@1.5.57/node_modules/@amplitude/analytics-node/lib/esm/config.js
2337
+ // ../../node_modules/.pnpm/@amplitude+analytics-node@1.5.58/node_modules/@amplitude/analytics-node/lib/esm/config.js
2327
2338
  var NodeConfig, useNodeConfig;
2328
2339
  var init_config2 = __esm({
2329
- "../../node_modules/.pnpm/@amplitude+analytics-node@1.5.57/node_modules/@amplitude/analytics-node/lib/esm/config.js"() {
2340
+ "../../node_modules/.pnpm/@amplitude+analytics-node@1.5.58/node_modules/@amplitude/analytics-node/lib/esm/config.js"() {
2330
2341
  init_tslib_es6();
2331
2342
  init_esm();
2332
2343
  init_http();
@@ -2344,10 +2355,10 @@ var init_config2 = __esm({
2344
2355
  }
2345
2356
  });
2346
2357
 
2347
- // ../../node_modules/.pnpm/@amplitude+analytics-node@1.5.57/node_modules/@amplitude/analytics-node/lib/esm/node-client.js
2358
+ // ../../node_modules/.pnpm/@amplitude+analytics-node@1.5.58/node_modules/@amplitude/analytics-node/lib/esm/node-client.js
2348
2359
  var AmplitudeNode, createInstance, node_client_default;
2349
2360
  var init_node_client = __esm({
2350
- "../../node_modules/.pnpm/@amplitude+analytics-node@1.5.57/node_modules/@amplitude/analytics-node/lib/esm/node-client.js"() {
2361
+ "../../node_modules/.pnpm/@amplitude+analytics-node@1.5.58/node_modules/@amplitude/analytics-node/lib/esm/node-client.js"() {
2351
2362
  init_tslib_es6();
2352
2363
  init_esm();
2353
2364
  init_context();
@@ -2421,7 +2432,7 @@ var init_node_client = __esm({
2421
2432
  }
2422
2433
  });
2423
2434
 
2424
- // ../../node_modules/.pnpm/@amplitude+analytics-node@1.5.57/node_modules/@amplitude/analytics-node/lib/esm/types.js
2435
+ // ../../node_modules/.pnpm/@amplitude+analytics-node@1.5.58/node_modules/@amplitude/analytics-node/lib/esm/types.js
2425
2436
  var types_exports = {};
2426
2437
  __export(types_exports, {
2427
2438
  IdentifyOperation: () => IdentifyOperation,
@@ -2432,12 +2443,12 @@ __export(types_exports, {
2432
2443
  SpecialEventType: () => SpecialEventType
2433
2444
  });
2434
2445
  var init_types = __esm({
2435
- "../../node_modules/.pnpm/@amplitude+analytics-node@1.5.57/node_modules/@amplitude/analytics-node/lib/esm/types.js"() {
2446
+ "../../node_modules/.pnpm/@amplitude+analytics-node@1.5.58/node_modules/@amplitude/analytics-node/lib/esm/types.js"() {
2436
2447
  init_esm();
2437
2448
  }
2438
2449
  });
2439
2450
 
2440
- // ../../node_modules/.pnpm/@amplitude+analytics-node@1.5.57/node_modules/@amplitude/analytics-node/lib/esm/index.js
2451
+ // ../../node_modules/.pnpm/@amplitude+analytics-node@1.5.58/node_modules/@amplitude/analytics-node/lib/esm/index.js
2441
2452
  var esm_exports = {};
2442
2453
  __export(esm_exports, {
2443
2454
  Identify: () => Identify,
@@ -2458,7 +2469,7 @@ __export(esm_exports, {
2458
2469
  });
2459
2470
  var add, groupIdentify, identify, init, logEvent, remove, revenue, setGroup, setOptOut, track, flush;
2460
2471
  var init_esm2 = __esm({
2461
- "../../node_modules/.pnpm/@amplitude+analytics-node@1.5.57/node_modules/@amplitude/analytics-node/lib/esm/index.js"() {
2472
+ "../../node_modules/.pnpm/@amplitude+analytics-node@1.5.58/node_modules/@amplitude/analytics-node/lib/esm/index.js"() {
2462
2473
  init_node_client();
2463
2474
  init_node_client();
2464
2475
  init_esm();