@entrolytics/api-client 3.0.1 → 3.0.2
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/README.md +2 -2
- package/dist/client.d.ts.map +1 -1
- package/dist/edge-helpers.d.ts.map +1 -1
- package/dist/endpoints/admin.d.ts.map +1 -1
- package/dist/endpoints/auth.d.ts.map +1 -1
- package/dist/endpoints/billing.d.ts.map +1 -1
- package/dist/endpoints/boards.d.ts.map +1 -1
- package/dist/endpoints/config.d.ts.map +1 -1
- package/dist/endpoints/events.d.ts.map +1 -1
- package/dist/endpoints/index.d.ts.map +1 -1
- package/dist/endpoints/integrations.d.ts.map +1 -1
- package/dist/endpoints/links.d.ts.map +1 -1
- package/dist/endpoints/me.d.ts.map +1 -1
- package/dist/endpoints/orgs.d.ts.map +1 -1
- package/dist/endpoints/pixels.d.ts.map +1 -1
- package/dist/endpoints/reports.d.ts.map +1 -1
- package/dist/endpoints/segments.d.ts.map +1 -1
- package/dist/endpoints/sessions.d.ts.map +1 -1
- package/dist/endpoints/users.d.ts.map +1 -1
- package/dist/endpoints/webhooks.d.ts.map +1 -1
- package/dist/endpoints/websites.d.ts.map +1 -1
- package/dist/index.cjs +61 -82
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +22 -43
- package/dist/index.js.map +1 -1
- package/dist/runtime.d.ts.map +1 -1
- package/dist/types/index.d.ts.map +1 -1
- package/package.json +20 -17
package/dist/index.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: 'Module' } });
|
|
2
2
|
let _entrolytics_shared = require("@entrolytics/shared");
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
// src/client.ts
|
|
5
5
|
function isRecord(value) {
|
|
6
6
|
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
7
7
|
}
|
|
@@ -171,8 +171,7 @@ var ApiClient = class {
|
|
|
171
171
|
}
|
|
172
172
|
};
|
|
173
173
|
|
|
174
|
-
|
|
175
|
-
//#region src/endpoints/admin.ts
|
|
174
|
+
// src/endpoints/admin.ts
|
|
176
175
|
function createAdminEndpoints(client) {
|
|
177
176
|
return {
|
|
178
177
|
/**
|
|
@@ -206,8 +205,7 @@ function createAdminEndpoints(client) {
|
|
|
206
205
|
};
|
|
207
206
|
}
|
|
208
207
|
|
|
209
|
-
|
|
210
|
-
//#region src/endpoints/auth.ts
|
|
208
|
+
// src/endpoints/auth.ts
|
|
211
209
|
function createAuthEndpoints(client) {
|
|
212
210
|
return {
|
|
213
211
|
/**
|
|
@@ -239,8 +237,7 @@ function createAuthEndpoints(client) {
|
|
|
239
237
|
};
|
|
240
238
|
}
|
|
241
239
|
|
|
242
|
-
|
|
243
|
-
//#region src/endpoints/billing.ts
|
|
240
|
+
// src/endpoints/billing.ts
|
|
244
241
|
function createBillingEndpoints(client) {
|
|
245
242
|
return {
|
|
246
243
|
/**
|
|
@@ -276,8 +273,7 @@ function createBillingEndpoints(client) {
|
|
|
276
273
|
};
|
|
277
274
|
}
|
|
278
275
|
|
|
279
|
-
|
|
280
|
-
//#region src/endpoints/boards.ts
|
|
276
|
+
// src/endpoints/boards.ts
|
|
281
277
|
function createBoardsEndpoints(client) {
|
|
282
278
|
return {
|
|
283
279
|
/**
|
|
@@ -343,8 +339,7 @@ function createBoardsEndpoints(client) {
|
|
|
343
339
|
};
|
|
344
340
|
}
|
|
345
341
|
|
|
346
|
-
|
|
347
|
-
//#region src/endpoints/config.ts
|
|
342
|
+
// src/endpoints/config.ts
|
|
348
343
|
function createConfigEndpoints(client) {
|
|
349
344
|
return {
|
|
350
345
|
/**
|
|
@@ -353,8 +348,7 @@ function createConfigEndpoints(client) {
|
|
|
353
348
|
get: () => client.get("/config") };
|
|
354
349
|
}
|
|
355
350
|
|
|
356
|
-
|
|
357
|
-
//#region src/endpoints/events.ts
|
|
351
|
+
// src/endpoints/events.ts
|
|
358
352
|
function generateUuid() {
|
|
359
353
|
if (typeof globalThis.crypto !== "undefined" && typeof globalThis.crypto.randomUUID === "function") return globalThis.crypto.randomUUID();
|
|
360
354
|
return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, (c) => {
|
|
@@ -419,7 +413,7 @@ function createEventsEndpoints(client) {
|
|
|
419
413
|
timestamp: (/* @__PURE__ */ new Date()).toISOString(),
|
|
420
414
|
sessionId: generateUuid(),
|
|
421
415
|
visitorId: generateUuid(),
|
|
422
|
-
url: "https://entrolytics.
|
|
416
|
+
url: "https://entrolytics.dev/test-event",
|
|
423
417
|
eventType: "custom_event",
|
|
424
418
|
eventName: "cli_test_event",
|
|
425
419
|
properties: {
|
|
@@ -431,8 +425,7 @@ function createEventsEndpoints(client) {
|
|
|
431
425
|
};
|
|
432
426
|
}
|
|
433
427
|
|
|
434
|
-
|
|
435
|
-
//#region src/endpoints/integrations.ts
|
|
428
|
+
// src/endpoints/integrations.ts
|
|
436
429
|
function createIntegrationsEndpoints(client) {
|
|
437
430
|
return {
|
|
438
431
|
/**
|
|
@@ -441,8 +434,7 @@ function createIntegrationsEndpoints(client) {
|
|
|
441
434
|
wordpress: (params) => client.post("/integrations/wordpress", params.data) };
|
|
442
435
|
}
|
|
443
436
|
|
|
444
|
-
|
|
445
|
-
//#region src/endpoints/links.ts
|
|
437
|
+
// src/endpoints/links.ts
|
|
446
438
|
function createLinksEndpoints(client) {
|
|
447
439
|
return {
|
|
448
440
|
/**
|
|
@@ -490,8 +482,7 @@ function createLinksEndpoints(client) {
|
|
|
490
482
|
};
|
|
491
483
|
}
|
|
492
484
|
|
|
493
|
-
|
|
494
|
-
//#region src/endpoints/me.ts
|
|
485
|
+
// src/endpoints/me.ts
|
|
495
486
|
function createMeEndpoints(client) {
|
|
496
487
|
return {
|
|
497
488
|
/**
|
|
@@ -521,8 +512,7 @@ function createMeEndpoints(client) {
|
|
|
521
512
|
};
|
|
522
513
|
}
|
|
523
514
|
|
|
524
|
-
|
|
525
|
-
//#region src/endpoints/orgs.ts
|
|
515
|
+
// src/endpoints/orgs.ts
|
|
526
516
|
function createOrgsEndpoints(client) {
|
|
527
517
|
return {
|
|
528
518
|
/**
|
|
@@ -606,8 +596,7 @@ function createOrgsEndpoints(client) {
|
|
|
606
596
|
};
|
|
607
597
|
}
|
|
608
598
|
|
|
609
|
-
|
|
610
|
-
//#region src/endpoints/pixels.ts
|
|
599
|
+
// src/endpoints/pixels.ts
|
|
611
600
|
function createPixelsEndpoints(client) {
|
|
612
601
|
return {
|
|
613
602
|
/**
|
|
@@ -649,8 +638,7 @@ function createPixelsEndpoints(client) {
|
|
|
649
638
|
};
|
|
650
639
|
}
|
|
651
640
|
|
|
652
|
-
|
|
653
|
-
//#region src/endpoints/reports.ts
|
|
641
|
+
// src/endpoints/reports.ts
|
|
654
642
|
function createReportsEndpoints(client) {
|
|
655
643
|
return {
|
|
656
644
|
/**
|
|
@@ -813,8 +801,7 @@ function createReportsEndpoints(client) {
|
|
|
813
801
|
};
|
|
814
802
|
}
|
|
815
803
|
|
|
816
|
-
|
|
817
|
-
//#region src/endpoints/segments.ts
|
|
804
|
+
// src/endpoints/segments.ts
|
|
818
805
|
function createSegmentsEndpoints(client) {
|
|
819
806
|
return {
|
|
820
807
|
/**
|
|
@@ -850,8 +837,7 @@ function createSegmentsEndpoints(client) {
|
|
|
850
837
|
};
|
|
851
838
|
}
|
|
852
839
|
|
|
853
|
-
|
|
854
|
-
//#region src/endpoints/sessions.ts
|
|
840
|
+
// src/endpoints/sessions.ts
|
|
855
841
|
function createSessionsEndpoints(client) {
|
|
856
842
|
return {
|
|
857
843
|
/**
|
|
@@ -893,8 +879,7 @@ function createSessionsEndpoints(client) {
|
|
|
893
879
|
};
|
|
894
880
|
}
|
|
895
881
|
|
|
896
|
-
|
|
897
|
-
//#region src/endpoints/users.ts
|
|
882
|
+
// src/endpoints/users.ts
|
|
898
883
|
function createUsersEndpoints(client) {
|
|
899
884
|
return {
|
|
900
885
|
/**
|
|
@@ -942,8 +927,7 @@ function createUsersEndpoints(client) {
|
|
|
942
927
|
};
|
|
943
928
|
}
|
|
944
929
|
|
|
945
|
-
|
|
946
|
-
//#region src/endpoints/webhooks.ts
|
|
930
|
+
// src/endpoints/webhooks.ts
|
|
947
931
|
function createWebhooksEndpoints(client) {
|
|
948
932
|
return {
|
|
949
933
|
/**
|
|
@@ -952,8 +936,7 @@ function createWebhooksEndpoints(client) {
|
|
|
952
936
|
clerk: (params) => client.post("/webhooks/clerk", params.data) };
|
|
953
937
|
}
|
|
954
938
|
|
|
955
|
-
|
|
956
|
-
//#region src/endpoints/websites.ts
|
|
939
|
+
// src/endpoints/websites.ts
|
|
957
940
|
function createWebsitesEndpoints(client) {
|
|
958
941
|
const toDateRangeQuery = (params) => ({
|
|
959
942
|
startDate: new Date(params.startAt).toISOString(),
|
|
@@ -1313,8 +1296,7 @@ function createWebsitesEndpoints(client) {
|
|
|
1313
1296
|
};
|
|
1314
1297
|
}
|
|
1315
1298
|
|
|
1316
|
-
|
|
1317
|
-
//#region src/runtime.ts
|
|
1299
|
+
// src/runtime.ts
|
|
1318
1300
|
/**
|
|
1319
1301
|
* Detect the current JavaScript runtime environment
|
|
1320
1302
|
*
|
|
@@ -1428,8 +1410,7 @@ function assertRuntime(expected) {
|
|
|
1428
1410
|
if (actual !== expected) throw new Error(`Expected ${expected} runtime, but detected ${actual}. This code requires ${expected} runtime to function correctly.`);
|
|
1429
1411
|
}
|
|
1430
1412
|
|
|
1431
|
-
|
|
1432
|
-
//#region src/edge-helpers.ts
|
|
1413
|
+
// src/edge-helpers.ts
|
|
1433
1414
|
/**
|
|
1434
1415
|
* Edge runtime helper utilities
|
|
1435
1416
|
*
|
|
@@ -1644,8 +1625,7 @@ function getClientIp(request) {
|
|
|
1644
1625
|
return headers.get("x-forwarded-for")?.split(",")[0]?.trim() || headers.get("x-real-ip") || headers.get("cf-connecting-ip") || headers.get("x-vercel-forwarded-for") || void 0;
|
|
1645
1626
|
}
|
|
1646
1627
|
|
|
1647
|
-
|
|
1648
|
-
//#region src/index.ts
|
|
1628
|
+
// src/index.ts
|
|
1649
1629
|
/**
|
|
1650
1630
|
* Create an Entrolytics API client.
|
|
1651
1631
|
*
|
|
@@ -1704,171 +1684,170 @@ function getClient(config) {
|
|
|
1704
1684
|
};
|
|
1705
1685
|
}
|
|
1706
1686
|
|
|
1707
|
-
|
|
1708
|
-
Object.defineProperty(exports, 'API_ENDPOINTS', {
|
|
1687
|
+
Object.defineProperty(exports, "API_ENDPOINTS", {
|
|
1709
1688
|
enumerable: true,
|
|
1710
1689
|
get: function () {
|
|
1711
1690
|
return _entrolytics_shared.API_ENDPOINTS;
|
|
1712
1691
|
}
|
|
1713
1692
|
});
|
|
1714
|
-
Object.defineProperty(exports,
|
|
1693
|
+
Object.defineProperty(exports, "API_ROUTES", {
|
|
1715
1694
|
enumerable: true,
|
|
1716
1695
|
get: function () {
|
|
1717
1696
|
return _entrolytics_shared.API_ROUTES;
|
|
1718
1697
|
}
|
|
1719
1698
|
});
|
|
1720
1699
|
exports.ApiClient = ApiClient;
|
|
1721
|
-
Object.defineProperty(exports,
|
|
1700
|
+
Object.defineProperty(exports, "BILLING_ERRORS", {
|
|
1722
1701
|
enumerable: true,
|
|
1723
1702
|
get: function () {
|
|
1724
1703
|
return _entrolytics_shared.BILLING_ERRORS;
|
|
1725
1704
|
}
|
|
1726
1705
|
});
|
|
1727
|
-
Object.defineProperty(exports,
|
|
1706
|
+
Object.defineProperty(exports, "CLI_CONFIG", {
|
|
1728
1707
|
enumerable: true,
|
|
1729
1708
|
get: function () {
|
|
1730
1709
|
return _entrolytics_shared.CLI_CONFIG;
|
|
1731
1710
|
}
|
|
1732
1711
|
});
|
|
1733
|
-
Object.defineProperty(exports,
|
|
1712
|
+
Object.defineProperty(exports, "CLI_TOKEN_STATUS", {
|
|
1734
1713
|
enumerable: true,
|
|
1735
1714
|
get: function () {
|
|
1736
1715
|
return _entrolytics_shared.CLI_TOKEN_STATUS;
|
|
1737
1716
|
}
|
|
1738
1717
|
});
|
|
1739
|
-
Object.defineProperty(exports,
|
|
1718
|
+
Object.defineProperty(exports, "DEFAULT_API_HOST", {
|
|
1740
1719
|
enumerable: true,
|
|
1741
1720
|
get: function () {
|
|
1742
1721
|
return _entrolytics_shared.DEFAULT_API_HOST;
|
|
1743
1722
|
}
|
|
1744
1723
|
});
|
|
1745
|
-
Object.defineProperty(exports,
|
|
1724
|
+
Object.defineProperty(exports, "DEPLOYMENT_ENV_VARS", {
|
|
1746
1725
|
enumerable: true,
|
|
1747
1726
|
get: function () {
|
|
1748
1727
|
return _entrolytics_shared.DEPLOYMENT_ENV_VARS;
|
|
1749
1728
|
}
|
|
1750
1729
|
});
|
|
1751
|
-
Object.defineProperty(exports,
|
|
1730
|
+
Object.defineProperty(exports, "DEPLOYMENT_SOURCES", {
|
|
1752
1731
|
enumerable: true,
|
|
1753
1732
|
get: function () {
|
|
1754
1733
|
return _entrolytics_shared.DEPLOYMENT_SOURCES;
|
|
1755
1734
|
}
|
|
1756
1735
|
});
|
|
1757
|
-
Object.defineProperty(exports,
|
|
1736
|
+
Object.defineProperty(exports, "ENV_VAR_NAMES", {
|
|
1758
1737
|
enumerable: true,
|
|
1759
1738
|
get: function () {
|
|
1760
1739
|
return _entrolytics_shared.ENV_VAR_NAMES;
|
|
1761
1740
|
}
|
|
1762
1741
|
});
|
|
1763
|
-
Object.defineProperty(exports,
|
|
1742
|
+
Object.defineProperty(exports, "ERROR_MESSAGES", {
|
|
1764
1743
|
enumerable: true,
|
|
1765
1744
|
get: function () {
|
|
1766
1745
|
return _entrolytics_shared.ERROR_MESSAGES;
|
|
1767
1746
|
}
|
|
1768
1747
|
});
|
|
1769
|
-
Object.defineProperty(exports,
|
|
1748
|
+
Object.defineProperty(exports, "EVENT_TYPES", {
|
|
1770
1749
|
enumerable: true,
|
|
1771
1750
|
get: function () {
|
|
1772
1751
|
return _entrolytics_shared.EVENT_TYPES;
|
|
1773
1752
|
}
|
|
1774
1753
|
});
|
|
1775
|
-
Object.defineProperty(exports,
|
|
1754
|
+
Object.defineProperty(exports, "FORM_EVENT_TYPES", {
|
|
1776
1755
|
enumerable: true,
|
|
1777
1756
|
get: function () {
|
|
1778
1757
|
return _entrolytics_shared.FORM_EVENT_TYPES;
|
|
1779
1758
|
}
|
|
1780
1759
|
});
|
|
1781
|
-
Object.defineProperty(exports,
|
|
1760
|
+
Object.defineProperty(exports, "FORM_FIELD_TYPES", {
|
|
1782
1761
|
enumerable: true,
|
|
1783
1762
|
get: function () {
|
|
1784
1763
|
return _entrolytics_shared.FORM_FIELD_TYPES;
|
|
1785
1764
|
}
|
|
1786
1765
|
});
|
|
1787
|
-
Object.defineProperty(exports,
|
|
1766
|
+
Object.defineProperty(exports, "FRAMEWORK_PACKAGES", {
|
|
1788
1767
|
enumerable: true,
|
|
1789
1768
|
get: function () {
|
|
1790
1769
|
return _entrolytics_shared.FRAMEWORK_PACKAGES;
|
|
1791
1770
|
}
|
|
1792
1771
|
});
|
|
1793
|
-
Object.defineProperty(exports,
|
|
1772
|
+
Object.defineProperty(exports, "FRAMEWORK_PATTERNS", {
|
|
1794
1773
|
enumerable: true,
|
|
1795
1774
|
get: function () {
|
|
1796
1775
|
return _entrolytics_shared.FRAMEWORK_PATTERNS;
|
|
1797
1776
|
}
|
|
1798
1777
|
});
|
|
1799
|
-
Object.defineProperty(exports,
|
|
1778
|
+
Object.defineProperty(exports, "HTTP_STATUS", {
|
|
1800
1779
|
enumerable: true,
|
|
1801
1780
|
get: function () {
|
|
1802
1781
|
return _entrolytics_shared.HTTP_STATUS;
|
|
1803
1782
|
}
|
|
1804
1783
|
});
|
|
1805
|
-
Object.defineProperty(exports,
|
|
1784
|
+
Object.defineProperty(exports, "NAVIGATION_TYPES", {
|
|
1806
1785
|
enumerable: true,
|
|
1807
1786
|
get: function () {
|
|
1808
1787
|
return _entrolytics_shared.NAVIGATION_TYPES;
|
|
1809
1788
|
}
|
|
1810
1789
|
});
|
|
1811
|
-
Object.defineProperty(exports,
|
|
1790
|
+
Object.defineProperty(exports, "ONBOARDING_STEPS", {
|
|
1812
1791
|
enumerable: true,
|
|
1813
1792
|
get: function () {
|
|
1814
1793
|
return _entrolytics_shared.ONBOARDING_STEPS;
|
|
1815
1794
|
}
|
|
1816
1795
|
});
|
|
1817
|
-
Object.defineProperty(exports,
|
|
1796
|
+
Object.defineProperty(exports, "PLANS", {
|
|
1818
1797
|
enumerable: true,
|
|
1819
1798
|
get: function () {
|
|
1820
1799
|
return _entrolytics_shared.PLANS;
|
|
1821
1800
|
}
|
|
1822
1801
|
});
|
|
1823
|
-
Object.defineProperty(exports,
|
|
1802
|
+
Object.defineProperty(exports, "PLAN_FEATURES", {
|
|
1824
1803
|
enumerable: true,
|
|
1825
1804
|
get: function () {
|
|
1826
1805
|
return _entrolytics_shared.PLAN_FEATURES;
|
|
1827
1806
|
}
|
|
1828
1807
|
});
|
|
1829
|
-
Object.defineProperty(exports,
|
|
1808
|
+
Object.defineProperty(exports, "RATE_LIMITS", {
|
|
1830
1809
|
enumerable: true,
|
|
1831
1810
|
get: function () {
|
|
1832
1811
|
return _entrolytics_shared.RATE_LIMITS;
|
|
1833
1812
|
}
|
|
1834
1813
|
});
|
|
1835
|
-
Object.defineProperty(exports,
|
|
1814
|
+
Object.defineProperty(exports, "SDK_EVENT_TYPES", {
|
|
1836
1815
|
enumerable: true,
|
|
1837
1816
|
get: function () {
|
|
1838
1817
|
return _entrolytics_shared.SDK_EVENT_TYPES;
|
|
1839
1818
|
}
|
|
1840
1819
|
});
|
|
1841
|
-
Object.defineProperty(exports,
|
|
1820
|
+
Object.defineProperty(exports, "SUCCESS_MESSAGES", {
|
|
1842
1821
|
enumerable: true,
|
|
1843
1822
|
get: function () {
|
|
1844
1823
|
return _entrolytics_shared.SUCCESS_MESSAGES;
|
|
1845
1824
|
}
|
|
1846
1825
|
});
|
|
1847
|
-
Object.defineProperty(exports,
|
|
1826
|
+
Object.defineProperty(exports, "USAGE_THRESHOLDS", {
|
|
1848
1827
|
enumerable: true,
|
|
1849
1828
|
get: function () {
|
|
1850
1829
|
return _entrolytics_shared.USAGE_THRESHOLDS;
|
|
1851
1830
|
}
|
|
1852
1831
|
});
|
|
1853
|
-
Object.defineProperty(exports,
|
|
1832
|
+
Object.defineProperty(exports, "USER_ROLES", {
|
|
1854
1833
|
enumerable: true,
|
|
1855
1834
|
get: function () {
|
|
1856
1835
|
return _entrolytics_shared.USER_ROLES;
|
|
1857
1836
|
}
|
|
1858
1837
|
});
|
|
1859
|
-
Object.defineProperty(exports,
|
|
1838
|
+
Object.defineProperty(exports, "VITAL_RATINGS", {
|
|
1860
1839
|
enumerable: true,
|
|
1861
1840
|
get: function () {
|
|
1862
1841
|
return _entrolytics_shared.VITAL_RATINGS;
|
|
1863
1842
|
}
|
|
1864
1843
|
});
|
|
1865
|
-
Object.defineProperty(exports,
|
|
1844
|
+
Object.defineProperty(exports, "VITAL_THRESHOLDS", {
|
|
1866
1845
|
enumerable: true,
|
|
1867
1846
|
get: function () {
|
|
1868
1847
|
return _entrolytics_shared.VITAL_THRESHOLDS;
|
|
1869
1848
|
}
|
|
1870
1849
|
});
|
|
1871
|
-
Object.defineProperty(exports,
|
|
1850
|
+
Object.defineProperty(exports, "VITAL_TYPES", {
|
|
1872
1851
|
enumerable: true,
|
|
1873
1852
|
get: function () {
|
|
1874
1853
|
return _entrolytics_shared.VITAL_TYPES;
|
|
@@ -1895,14 +1874,14 @@ exports.createWebhooksEndpoints = createWebhooksEndpoints;
|
|
|
1895
1874
|
exports.createWebsitesEndpoints = createWebsitesEndpoints;
|
|
1896
1875
|
exports.default = getClient;
|
|
1897
1876
|
exports.getClient = getClient;
|
|
1898
|
-
Object.defineProperty(exports,
|
|
1877
|
+
Object.defineProperty(exports, "detectDeploymentContext", {
|
|
1899
1878
|
enumerable: true,
|
|
1900
1879
|
get: function () {
|
|
1901
1880
|
return _entrolytics_shared.detectDeploymentContext;
|
|
1902
1881
|
}
|
|
1903
1882
|
});
|
|
1904
1883
|
exports.detectRuntime = detectRuntime;
|
|
1905
|
-
Object.defineProperty(exports,
|
|
1884
|
+
Object.defineProperty(exports, "getApiRoute", {
|
|
1906
1885
|
enumerable: true,
|
|
1907
1886
|
get: function () {
|
|
1908
1887
|
return _entrolytics_shared.getApiRoute;
|
|
@@ -1910,26 +1889,26 @@ Object.defineProperty(exports, 'getApiRoute', {
|
|
|
1910
1889
|
});
|
|
1911
1890
|
exports.getClientIp = getClientIp;
|
|
1912
1891
|
exports.getEdgeEnv = getEdgeEnv;
|
|
1913
|
-
Object.defineProperty(exports,
|
|
1892
|
+
Object.defineProperty(exports, "getEnvVarNames", {
|
|
1914
1893
|
enumerable: true,
|
|
1915
1894
|
get: function () {
|
|
1916
1895
|
return _entrolytics_shared.getEnvVarNames;
|
|
1917
1896
|
}
|
|
1918
1897
|
});
|
|
1919
|
-
Object.defineProperty(exports,
|
|
1898
|
+
Object.defineProperty(exports, "getFrameworkPackage", {
|
|
1920
1899
|
enumerable: true,
|
|
1921
1900
|
get: function () {
|
|
1922
1901
|
return _entrolytics_shared.getFrameworkPackage;
|
|
1923
1902
|
}
|
|
1924
1903
|
});
|
|
1925
1904
|
exports.getGeoFromRequest = getGeoFromRequest;
|
|
1926
|
-
Object.defineProperty(exports,
|
|
1905
|
+
Object.defineProperty(exports, "getPlan", {
|
|
1927
1906
|
enumerable: true,
|
|
1928
1907
|
get: function () {
|
|
1929
1908
|
return _entrolytics_shared.getPlan;
|
|
1930
1909
|
}
|
|
1931
1910
|
});
|
|
1932
|
-
Object.defineProperty(exports,
|
|
1911
|
+
Object.defineProperty(exports, "getPlanLimit", {
|
|
1933
1912
|
enumerable: true,
|
|
1934
1913
|
get: function () {
|
|
1935
1914
|
return _entrolytics_shared.getPlanLimit;
|
|
@@ -1937,7 +1916,7 @@ Object.defineProperty(exports, 'getPlanLimit', {
|
|
|
1937
1916
|
});
|
|
1938
1917
|
exports.getRegionInfo = getRegionInfo;
|
|
1939
1918
|
exports.getRuntimeCapabilities = getRuntimeCapabilities;
|
|
1940
|
-
Object.defineProperty(exports,
|
|
1919
|
+
Object.defineProperty(exports, "getVitalRating", {
|
|
1941
1920
|
enumerable: true,
|
|
1942
1921
|
get: function () {
|
|
1943
1922
|
return _entrolytics_shared.getVitalRating;
|
|
@@ -1945,25 +1924,25 @@ Object.defineProperty(exports, 'getVitalRating', {
|
|
|
1945
1924
|
});
|
|
1946
1925
|
exports.isEdgeRuntime = isEdgeRuntime;
|
|
1947
1926
|
exports.isNodeRuntime = isNodeRuntime;
|
|
1948
|
-
Object.defineProperty(exports,
|
|
1927
|
+
Object.defineProperty(exports, "isPlanFeatureEnabled", {
|
|
1949
1928
|
enumerable: true,
|
|
1950
1929
|
get: function () {
|
|
1951
1930
|
return _entrolytics_shared.isPlanFeatureEnabled;
|
|
1952
1931
|
}
|
|
1953
1932
|
});
|
|
1954
|
-
Object.defineProperty(exports,
|
|
1933
|
+
Object.defineProperty(exports, "isUsageCritical", {
|
|
1955
1934
|
enumerable: true,
|
|
1956
1935
|
get: function () {
|
|
1957
1936
|
return _entrolytics_shared.isUsageCritical;
|
|
1958
1937
|
}
|
|
1959
1938
|
});
|
|
1960
|
-
Object.defineProperty(exports,
|
|
1939
|
+
Object.defineProperty(exports, "isUsageWarning", {
|
|
1961
1940
|
enumerable: true,
|
|
1962
1941
|
get: function () {
|
|
1963
1942
|
return _entrolytics_shared.isUsageWarning;
|
|
1964
1943
|
}
|
|
1965
1944
|
});
|
|
1966
|
-
Object.defineProperty(exports,
|
|
1945
|
+
Object.defineProperty(exports, "isValidFramework", {
|
|
1967
1946
|
enumerable: true,
|
|
1968
1947
|
get: function () {
|
|
1969
1948
|
return _entrolytics_shared.isValidFramework;
|