@launchdarkly/js-sdk-common 2.8.0 → 2.10.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.
Files changed (226) hide show
  1. package/CHANGELOG.md +26 -0
  2. package/dist/api/platform/Crypto.d.ts +17 -3
  3. package/dist/api/platform/Crypto.d.ts.map +1 -1
  4. package/dist/api/platform/EventSource.d.ts +3 -1
  5. package/dist/api/platform/EventSource.d.ts.map +1 -1
  6. package/dist/api/platform/Requests.d.ts +28 -0
  7. package/dist/api/platform/Requests.d.ts.map +1 -1
  8. package/dist/datasource/DataSourceErrorKinds.d.ts +7 -0
  9. package/dist/datasource/DataSourceErrorKinds.d.ts.map +1 -0
  10. package/dist/datasource/errors.d.ts +17 -0
  11. package/dist/datasource/errors.d.ts.map +1 -0
  12. package/dist/datasource/index.d.ts +4 -0
  13. package/dist/datasource/index.d.ts.map +1 -0
  14. package/dist/errors.d.ts +0 -11
  15. package/dist/errors.d.ts.map +1 -1
  16. package/dist/index.cjs +2477 -0
  17. package/dist/index.cjs.map +1 -0
  18. package/dist/index.d.ts +2 -1
  19. package/dist/index.d.ts.map +1 -1
  20. package/dist/index.mjs +2430 -0
  21. package/dist/index.mjs.map +1 -0
  22. package/dist/internal/events/EventProcessor.d.ts +2 -1
  23. package/dist/internal/events/EventProcessor.d.ts.map +1 -1
  24. package/dist/internal/events/EventSender.d.ts +2 -1
  25. package/dist/internal/events/EventSender.d.ts.map +1 -1
  26. package/dist/internal/events/InputClickEvent.d.ts +11 -0
  27. package/dist/internal/events/InputClickEvent.d.ts.map +1 -0
  28. package/dist/internal/events/InputCustomEvent.d.ts +2 -1
  29. package/dist/internal/events/InputCustomEvent.d.ts.map +1 -1
  30. package/dist/internal/events/InputEvent.d.ts +3 -1
  31. package/dist/internal/events/InputEvent.d.ts.map +1 -1
  32. package/dist/internal/events/InputPageViewEvent.d.ts +10 -0
  33. package/dist/internal/events/InputPageViewEvent.d.ts.map +1 -0
  34. package/dist/internal/events/LDInternalOptions.d.ts +1 -0
  35. package/dist/internal/events/LDInternalOptions.d.ts.map +1 -1
  36. package/dist/internal/index.d.ts +1 -1
  37. package/dist/internal/index.d.ts.map +1 -1
  38. package/dist/internal/stream/StreamingProcessor.d.ts +3 -2
  39. package/dist/internal/stream/StreamingProcessor.d.ts.map +1 -1
  40. package/dist/internal/stream/types.d.ts +1 -1
  41. package/dist/internal/stream/types.d.ts.map +1 -1
  42. package/dist/utils/http.d.ts +3 -2
  43. package/dist/utils/http.d.ts.map +1 -1
  44. package/package.json +18 -7
  45. package/dist/AttributeReference.js +0 -126
  46. package/dist/AttributeReference.js.map +0 -1
  47. package/dist/Context.js +0 -382
  48. package/dist/Context.js.map +0 -1
  49. package/dist/ContextFilter.js +0 -124
  50. package/dist/ContextFilter.js.map +0 -1
  51. package/dist/api/context/LDContext.js +0 -3
  52. package/dist/api/context/LDContext.js.map +0 -1
  53. package/dist/api/context/LDContextCommon.js +0 -3
  54. package/dist/api/context/LDContextCommon.js.map +0 -1
  55. package/dist/api/context/LDContextMeta.js +0 -3
  56. package/dist/api/context/LDContextMeta.js.map +0 -1
  57. package/dist/api/context/LDMultiKindContext.js +0 -3
  58. package/dist/api/context/LDMultiKindContext.js.map +0 -1
  59. package/dist/api/context/LDSingleKindContext.js +0 -3
  60. package/dist/api/context/LDSingleKindContext.js.map +0 -1
  61. package/dist/api/context/LDUser.js +0 -3
  62. package/dist/api/context/LDUser.js.map +0 -1
  63. package/dist/api/context/index.js +0 -23
  64. package/dist/api/context/index.js.map +0 -1
  65. package/dist/api/data/LDEvaluationDetail.js +0 -3
  66. package/dist/api/data/LDEvaluationDetail.js.map +0 -1
  67. package/dist/api/data/LDEvaluationReason.js +0 -3
  68. package/dist/api/data/LDEvaluationReason.js.map +0 -1
  69. package/dist/api/data/LDFlagSet.js +0 -3
  70. package/dist/api/data/LDFlagSet.js.map +0 -1
  71. package/dist/api/data/LDFlagValue.js +0 -3
  72. package/dist/api/data/LDFlagValue.js.map +0 -1
  73. package/dist/api/data/index.js +0 -21
  74. package/dist/api/data/index.js.map +0 -1
  75. package/dist/api/index.js +0 -24
  76. package/dist/api/index.js.map +0 -1
  77. package/dist/api/logging/BasicLoggerOptions.js +0 -3
  78. package/dist/api/logging/BasicLoggerOptions.js.map +0 -1
  79. package/dist/api/logging/LDLogLevel.js +0 -3
  80. package/dist/api/logging/LDLogLevel.js.map +0 -1
  81. package/dist/api/logging/LDLogger.js +0 -3
  82. package/dist/api/logging/LDLogger.js.map +0 -1
  83. package/dist/api/logging/index.js +0 -20
  84. package/dist/api/logging/index.js.map +0 -1
  85. package/dist/api/options/LDClientContext.js +0 -3
  86. package/dist/api/options/LDClientContext.js.map +0 -1
  87. package/dist/api/options/index.js +0 -4
  88. package/dist/api/options/index.js.map +0 -1
  89. package/dist/api/platform/AutoEnv.js +0 -20
  90. package/dist/api/platform/AutoEnv.js.map +0 -1
  91. package/dist/api/platform/Crypto.js +0 -3
  92. package/dist/api/platform/Crypto.js.map +0 -1
  93. package/dist/api/platform/Encoding.js +0 -3
  94. package/dist/api/platform/Encoding.js.map +0 -1
  95. package/dist/api/platform/EventSource.js +0 -3
  96. package/dist/api/platform/EventSource.js.map +0 -1
  97. package/dist/api/platform/Filesystem.js +0 -3
  98. package/dist/api/platform/Filesystem.js.map +0 -1
  99. package/dist/api/platform/Info.js +0 -3
  100. package/dist/api/platform/Info.js.map +0 -1
  101. package/dist/api/platform/Platform.js +0 -3
  102. package/dist/api/platform/Platform.js.map +0 -1
  103. package/dist/api/platform/Requests.js +0 -3
  104. package/dist/api/platform/Requests.js.map +0 -1
  105. package/dist/api/platform/Storage.js +0 -3
  106. package/dist/api/platform/Storage.js.map +0 -1
  107. package/dist/api/platform/index.js +0 -26
  108. package/dist/api/platform/index.js.map +0 -1
  109. package/dist/api/subsystem/LDContextDeduplicator.js +0 -3
  110. package/dist/api/subsystem/LDContextDeduplicator.js.map +0 -1
  111. package/dist/api/subsystem/LDEventProcessor.js +0 -3
  112. package/dist/api/subsystem/LDEventProcessor.js.map +0 -1
  113. package/dist/api/subsystem/LDEventSender.js +0 -15
  114. package/dist/api/subsystem/LDEventSender.js.map +0 -1
  115. package/dist/api/subsystem/LDStreamProcessor.js +0 -3
  116. package/dist/api/subsystem/LDStreamProcessor.js.map +0 -1
  117. package/dist/api/subsystem/index.js +0 -7
  118. package/dist/api/subsystem/index.js.map +0 -1
  119. package/dist/errors.js +0 -78
  120. package/dist/errors.js.map +0 -1
  121. package/dist/index.js +0 -31
  122. package/dist/index.js.map +0 -1
  123. package/dist/internal/context/index.js +0 -38
  124. package/dist/internal/context/index.js.map +0 -1
  125. package/dist/internal/diagnostics/DiagnosticsManager.js +0 -70
  126. package/dist/internal/diagnostics/DiagnosticsManager.js.map +0 -1
  127. package/dist/internal/diagnostics/index.js +0 -6
  128. package/dist/internal/diagnostics/index.js.map +0 -1
  129. package/dist/internal/diagnostics/types.js +0 -3
  130. package/dist/internal/diagnostics/types.js.map +0 -1
  131. package/dist/internal/evaluation/ErrorKinds.js +0 -15
  132. package/dist/internal/evaluation/ErrorKinds.js.map +0 -1
  133. package/dist/internal/evaluation/EventFactoryBase.js +0 -38
  134. package/dist/internal/evaluation/EventFactoryBase.js.map +0 -1
  135. package/dist/internal/evaluation/index.js +0 -8
  136. package/dist/internal/evaluation/index.js.map +0 -1
  137. package/dist/internal/events/ClientMessages.js +0 -14
  138. package/dist/internal/events/ClientMessages.js.map +0 -1
  139. package/dist/internal/events/EventProcessor.js +0 -239
  140. package/dist/internal/events/EventProcessor.js.map +0 -1
  141. package/dist/internal/events/EventSender.js +0 -77
  142. package/dist/internal/events/EventSender.js.map +0 -1
  143. package/dist/internal/events/EventSummarizer.js +0 -84
  144. package/dist/internal/events/EventSummarizer.js.map +0 -1
  145. package/dist/internal/events/InputCustomEvent.js +0 -19
  146. package/dist/internal/events/InputCustomEvent.js.map +0 -1
  147. package/dist/internal/events/InputEvalEvent.js +0 -38
  148. package/dist/internal/events/InputEvalEvent.js.map +0 -1
  149. package/dist/internal/events/InputEvent.js +0 -3
  150. package/dist/internal/events/InputEvent.js.map +0 -1
  151. package/dist/internal/events/InputEventBase.js +0 -11
  152. package/dist/internal/events/InputEventBase.js.map +0 -1
  153. package/dist/internal/events/InputIdentifyEvent.js +0 -12
  154. package/dist/internal/events/InputIdentifyEvent.js.map +0 -1
  155. package/dist/internal/events/InputMigrationEvent.js +0 -7
  156. package/dist/internal/events/InputMigrationEvent.js.map +0 -1
  157. package/dist/internal/events/LDInternalOptions.js +0 -3
  158. package/dist/internal/events/LDInternalOptions.js.map +0 -1
  159. package/dist/internal/events/LDInvalidSDKKeyError.js +0 -10
  160. package/dist/internal/events/LDInvalidSDKKeyError.js.map +0 -1
  161. package/dist/internal/events/NullEventProcessor.js +0 -11
  162. package/dist/internal/events/NullEventProcessor.js.map +0 -1
  163. package/dist/internal/events/SummaryCounter.js +0 -20
  164. package/dist/internal/events/SummaryCounter.js.map +0 -1
  165. package/dist/internal/events/guards.js +0 -20
  166. package/dist/internal/events/guards.js.map +0 -1
  167. package/dist/internal/events/index.js +0 -18
  168. package/dist/internal/events/index.js.map +0 -1
  169. package/dist/internal/events/sampling.js +0 -23
  170. package/dist/internal/events/sampling.js.map +0 -1
  171. package/dist/internal/index.js +0 -22
  172. package/dist/internal/index.js.map +0 -1
  173. package/dist/internal/stream/StreamingProcessor.js +0 -112
  174. package/dist/internal/stream/StreamingProcessor.js.map +0 -1
  175. package/dist/internal/stream/index.js +0 -6
  176. package/dist/internal/stream/index.js.map +0 -1
  177. package/dist/internal/stream/types.js +0 -3
  178. package/dist/internal/stream/types.js.map +0 -1
  179. package/dist/logging/BasicLogger.js +0 -97
  180. package/dist/logging/BasicLogger.js.map +0 -1
  181. package/dist/logging/SafeLogger.js +0 -63
  182. package/dist/logging/SafeLogger.js.map +0 -1
  183. package/dist/logging/createSafeLogger.js +0 -16
  184. package/dist/logging/createSafeLogger.js.map +0 -1
  185. package/dist/logging/format.js +0 -156
  186. package/dist/logging/format.js.map +0 -1
  187. package/dist/logging/index.js +0 -10
  188. package/dist/logging/index.js.map +0 -1
  189. package/dist/options/ApplicationTags.js +0 -55
  190. package/dist/options/ApplicationTags.js.map +0 -1
  191. package/dist/options/ClientContext.js +0 -20
  192. package/dist/options/ClientContext.js.map +0 -1
  193. package/dist/options/OptionMessages.js +0 -33
  194. package/dist/options/OptionMessages.js.map +0 -1
  195. package/dist/options/ServiceEndpoints.js +0 -77
  196. package/dist/options/ServiceEndpoints.js.map +0 -1
  197. package/dist/options/index.js +0 -15
  198. package/dist/options/index.js.map +0 -1
  199. package/dist/utils/VoidFunction.js +0 -3
  200. package/dist/utils/VoidFunction.js.map +0 -1
  201. package/dist/utils/cancelableTimedPromise.js +0 -30
  202. package/dist/utils/cancelableTimedPromise.js.map +0 -1
  203. package/dist/utils/clone.js +0 -10
  204. package/dist/utils/clone.js.map +0 -1
  205. package/dist/utils/date.js +0 -9
  206. package/dist/utils/date.js.map +0 -1
  207. package/dist/utils/debounce.js +0 -33
  208. package/dist/utils/debounce.js.map +0 -1
  209. package/dist/utils/deepCompact.js +0 -24
  210. package/dist/utils/deepCompact.js.map +0 -1
  211. package/dist/utils/fast-deep-equal/index.js +0 -90
  212. package/dist/utils/fast-deep-equal/index.js.map +0 -1
  213. package/dist/utils/http.js +0 -53
  214. package/dist/utils/http.js.map +0 -1
  215. package/dist/utils/index.js +0 -27
  216. package/dist/utils/index.js.map +0 -1
  217. package/dist/utils/isEmptyObject.js +0 -5
  218. package/dist/utils/isEmptyObject.js.map +0 -1
  219. package/dist/utils/noop.js +0 -4
  220. package/dist/utils/noop.js.map +0 -1
  221. package/dist/utils/sleep.js +0 -7
  222. package/dist/utils/sleep.js.map +0 -1
  223. package/dist/utils/timedPromise.js +0 -17
  224. package/dist/utils/timedPromise.js.map +0 -1
  225. package/dist/validators.js +0 -175
  226. package/dist/validators.js.map +0 -1
@@ -1,21 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./LDEvaluationDetail"), exports);
18
- __exportStar(require("./LDEvaluationReason"), exports);
19
- __exportStar(require("./LDFlagSet"), exports);
20
- __exportStar(require("./LDFlagValue"), exports);
21
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/api/data/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAqC;AACrC,uDAAqC;AACrC,8CAA4B;AAC5B,gDAA8B"}
package/dist/api/index.js DELETED
@@ -1,24 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- exports.subsystem = void 0;
18
- __exportStar(require("./context"), exports);
19
- __exportStar(require("./logging"), exports);
20
- __exportStar(require("./data"), exports);
21
- __exportStar(require("./options"), exports);
22
- __exportStar(require("./platform"), exports);
23
- exports.subsystem = require("./subsystem");
24
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/api/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,4CAA0B;AAC1B,4CAA0B;AAC1B,yCAAuB;AACvB,4CAA0B;AAC1B,6CAA2B;AAC3B,2CAAyC"}
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=BasicLoggerOptions.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"BasicLoggerOptions.js","sourceRoot":"","sources":["../../../src/api/logging/BasicLoggerOptions.ts"],"names":[],"mappings":""}
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=LDLogLevel.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"LDLogLevel.js","sourceRoot":"","sources":["../../../src/api/logging/LDLogLevel.ts"],"names":[],"mappings":""}
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=LDLogger.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"LDLogger.js","sourceRoot":"","sources":["../../../src/api/logging/LDLogger.ts"],"names":[],"mappings":""}
@@ -1,20 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./BasicLoggerOptions"), exports);
18
- __exportStar(require("./LDLogger"), exports);
19
- __exportStar(require("./LDLogLevel"), exports);
20
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/api/logging/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAqC;AACrC,6CAA2B;AAC3B,+CAA6B"}
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=LDClientContext.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"LDClientContext.js","sourceRoot":"","sources":["../../../src/api/options/LDClientContext.ts"],"names":[],"mappings":""}
@@ -1,4 +0,0 @@
1
- "use strict";
2
- // Lint issue is because there is 1 item currently. We do not want to default export it.
3
- Object.defineProperty(exports, "__esModule", { value: true });
4
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/api/options/index.ts"],"names":[],"mappings":";AAAA,wFAAwF"}
@@ -1,20 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.AutoEnvAttributes = void 0;
4
- /* eslint-disable import/prefer-default-export */
5
- /**
6
- * Enable / disable Auto environment attributes. When enabled, the SDK will automatically
7
- * provide data about the mobile environment where the application is running. This data makes it simpler to target
8
- * your mobile customers based on application name or version, or on device characteristics including manufacturer,
9
- * model, operating system, locale, and so on. We recommend enabling this when you configure the SDK. To learn more,
10
- * read [Automatic environment attributes](https://docs.launchdarkly.com/sdk/features/environment-attributes).
11
- * for more documentation.
12
- *
13
- * The default is disabled.
14
- */
15
- var AutoEnvAttributes;
16
- (function (AutoEnvAttributes) {
17
- AutoEnvAttributes[AutoEnvAttributes["Disabled"] = 0] = "Disabled";
18
- AutoEnvAttributes[AutoEnvAttributes["Enabled"] = 1] = "Enabled";
19
- })(AutoEnvAttributes || (exports.AutoEnvAttributes = AutoEnvAttributes = {}));
20
- //# sourceMappingURL=AutoEnv.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"AutoEnv.js","sourceRoot":"","sources":["../../../src/api/platform/AutoEnv.ts"],"names":[],"mappings":";;;AAAA,iDAAiD;AACjD;;;;;;;;;GASG;AACH,IAAY,iBAGX;AAHD,WAAY,iBAAiB;IAC3B,iEAAQ,CAAA;IACR,+DAAO,CAAA;AACT,CAAC,EAHW,iBAAiB,iCAAjB,iBAAiB,QAG5B"}
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=Crypto.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Crypto.js","sourceRoot":"","sources":["../../../src/api/platform/Crypto.ts"],"names":[],"mappings":""}
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=Encoding.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Encoding.js","sourceRoot":"","sources":["../../../src/api/platform/Encoding.ts"],"names":[],"mappings":""}
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=EventSource.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"EventSource.js","sourceRoot":"","sources":["../../../src/api/platform/EventSource.ts"],"names":[],"mappings":""}
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=Filesystem.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Filesystem.js","sourceRoot":"","sources":["../../../src/api/platform/Filesystem.ts"],"names":[],"mappings":""}
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=Info.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Info.js","sourceRoot":"","sources":["../../../src/api/platform/Info.ts"],"names":[],"mappings":""}
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=Platform.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Platform.js","sourceRoot":"","sources":["../../../src/api/platform/Platform.ts"],"names":[],"mappings":""}
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=Requests.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Requests.js","sourceRoot":"","sources":["../../../src/api/platform/Requests.ts"],"names":[],"mappings":""}
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=Storage.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Storage.js","sourceRoot":"","sources":["../../../src/api/platform/Storage.ts"],"names":[],"mappings":""}
@@ -1,26 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./AutoEnv"), exports);
18
- __exportStar(require("./Crypto"), exports);
19
- __exportStar(require("./Encoding"), exports);
20
- __exportStar(require("./EventSource"), exports);
21
- __exportStar(require("./Filesystem"), exports);
22
- __exportStar(require("./Info"), exports);
23
- __exportStar(require("./Platform"), exports);
24
- __exportStar(require("./Requests"), exports);
25
- __exportStar(require("./Storage"), exports);
26
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/api/platform/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAA0B;AAC1B,2CAAyB;AACzB,6CAA2B;AAC3B,gDAA8B;AAC9B,+CAA6B;AAC7B,yCAAuB;AACvB,6CAA2B;AAC3B,6CAA2B;AAC3B,4CAA0B"}
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=LDContextDeduplicator.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"LDContextDeduplicator.js","sourceRoot":"","sources":["../../../src/api/subsystem/LDContextDeduplicator.ts"],"names":[],"mappings":""}
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=LDEventProcessor.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"LDEventProcessor.js","sourceRoot":"","sources":["../../../src/api/subsystem/LDEventProcessor.ts"],"names":[],"mappings":""}
@@ -1,15 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.LDDeliveryStatus = exports.LDEventType = void 0;
4
- var LDEventType;
5
- (function (LDEventType) {
6
- LDEventType[LDEventType["AnalyticsEvents"] = 0] = "AnalyticsEvents";
7
- LDEventType[LDEventType["DiagnosticEvent"] = 1] = "DiagnosticEvent";
8
- })(LDEventType || (exports.LDEventType = LDEventType = {}));
9
- var LDDeliveryStatus;
10
- (function (LDDeliveryStatus) {
11
- LDDeliveryStatus[LDDeliveryStatus["Succeeded"] = 0] = "Succeeded";
12
- LDDeliveryStatus[LDDeliveryStatus["Failed"] = 1] = "Failed";
13
- LDDeliveryStatus[LDDeliveryStatus["FailedAndMustShutDown"] = 2] = "FailedAndMustShutDown";
14
- })(LDDeliveryStatus || (exports.LDDeliveryStatus = LDDeliveryStatus = {}));
15
- //# sourceMappingURL=LDEventSender.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"LDEventSender.js","sourceRoot":"","sources":["../../../src/api/subsystem/LDEventSender.ts"],"names":[],"mappings":";;;AAAA,IAAY,WAGX;AAHD,WAAY,WAAW;IACrB,mEAAe,CAAA;IACf,mEAAe,CAAA;AACjB,CAAC,EAHW,WAAW,2BAAX,WAAW,QAGtB;AAED,IAAY,gBAIX;AAJD,WAAY,gBAAgB;IAC1B,iEAAS,CAAA;IACT,2DAAM,CAAA;IACN,yFAAqB,CAAA;AACvB,CAAC,EAJW,gBAAgB,gCAAhB,gBAAgB,QAI3B"}
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=LDStreamProcessor.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"LDStreamProcessor.js","sourceRoot":"","sources":["../../../src/api/subsystem/LDStreamProcessor.ts"],"names":[],"mappings":""}
@@ -1,7 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.LDEventType = exports.LDDeliveryStatus = void 0;
4
- const LDEventSender_1 = require("./LDEventSender");
5
- Object.defineProperty(exports, "LDDeliveryStatus", { enumerable: true, get: function () { return LDEventSender_1.LDDeliveryStatus; } });
6
- Object.defineProperty(exports, "LDEventType", { enumerable: true, get: function () { return LDEventSender_1.LDEventType; } });
7
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/api/subsystem/index.ts"],"names":[],"mappings":";;;AAEA,mDAAoG;AAOlG,iGAPsB,gCAAgB,OAOtB;AAChB,4FAR6D,2BAAW,OAQ7D"}
package/dist/errors.js DELETED
@@ -1,78 +0,0 @@
1
- "use strict";
2
- // These classes are of trivial complexity. If they become
3
- // more complex, then they could be independent files.
4
- /* eslint-disable max-classes-per-file */
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.isHttpLocallyRecoverable = exports.isHttpRecoverable = exports.LDTimeoutError = exports.LDClientError = exports.LDUnexpectedResponseError = exports.LDStreamingError = exports.LDPollingError = exports.LDFileDataSourceError = void 0;
7
- class LDFileDataSourceError extends Error {
8
- constructor(message) {
9
- super(message);
10
- this.name = 'LaunchDarklyFileDataSourceError';
11
- }
12
- }
13
- exports.LDFileDataSourceError = LDFileDataSourceError;
14
- class LDPollingError extends Error {
15
- constructor(message, status) {
16
- super(message);
17
- this.status = status;
18
- this.name = 'LaunchDarklyPollingError';
19
- }
20
- }
21
- exports.LDPollingError = LDPollingError;
22
- class LDStreamingError extends Error {
23
- constructor(message, code) {
24
- super(message);
25
- this.code = code;
26
- this.name = 'LaunchDarklyStreamingError';
27
- }
28
- }
29
- exports.LDStreamingError = LDStreamingError;
30
- class LDUnexpectedResponseError extends Error {
31
- constructor(message) {
32
- super(message);
33
- this.name = 'LaunchDarklyUnexpectedResponseError';
34
- }
35
- }
36
- exports.LDUnexpectedResponseError = LDUnexpectedResponseError;
37
- class LDClientError extends Error {
38
- constructor(message) {
39
- super(message);
40
- this.name = 'LaunchDarklyClientError';
41
- }
42
- }
43
- exports.LDClientError = LDClientError;
44
- class LDTimeoutError extends Error {
45
- constructor(message) {
46
- super(message);
47
- this.name = 'LaunchDarklyTimeoutError';
48
- }
49
- }
50
- exports.LDTimeoutError = LDTimeoutError;
51
- /**
52
- * Check if the HTTP error is recoverable. This will return false if a request
53
- * made with any payload could not recover. If the reason for the failure
54
- * is payload specific, for instance a payload that is too large, then
55
- * it could recover with a different payload.
56
- */
57
- function isHttpRecoverable(status) {
58
- if (status >= 400 && status < 500) {
59
- return status === 400 || status === 408 || status === 429;
60
- }
61
- return true;
62
- }
63
- exports.isHttpRecoverable = isHttpRecoverable;
64
- /**
65
- * Returns true if the status could recover for a different payload.
66
- *
67
- * When used with event processing this indicates that we should discard
68
- * the payload, but that a subsequent payload may succeed. Therefore we should
69
- * not stop event processing.
70
- */
71
- function isHttpLocallyRecoverable(status) {
72
- if (status === 413) {
73
- return true;
74
- }
75
- return isHttpRecoverable(status);
76
- }
77
- exports.isHttpLocallyRecoverable = isHttpLocallyRecoverable;
78
- //# sourceMappingURL=errors.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"errors.js","sourceRoot":"","sources":["../src/errors.ts"],"names":[],"mappings":";AAAA,0DAA0D;AAC1D,sDAAsD;AACtD,yCAAyC;;;AAEzC,MAAa,qBAAsB,SAAQ,KAAK;IAC9C,YAAY,OAAe;QACzB,KAAK,CAAC,OAAO,CAAC,CAAC;QACf,IAAI,CAAC,IAAI,GAAG,iCAAiC,CAAC;IAChD,CAAC;CACF;AALD,sDAKC;AAED,MAAa,cAAe,SAAQ,KAAK;IAGvC,YAAY,OAAe,EAAE,MAAe;QAC1C,KAAK,CAAC,OAAO,CAAC,CAAC;QACf,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,IAAI,CAAC,IAAI,GAAG,0BAA0B,CAAC;IACzC,CAAC;CACF;AARD,wCAQC;AAED,MAAa,gBAAiB,SAAQ,KAAK;IAGzC,YAAY,OAAe,EAAE,IAAa;QACxC,KAAK,CAAC,OAAO,CAAC,CAAC;QACf,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,IAAI,GAAG,4BAA4B,CAAC;IAC3C,CAAC;CACF;AARD,4CAQC;AAED,MAAa,yBAA0B,SAAQ,KAAK;IAClD,YAAY,OAAe;QACzB,KAAK,CAAC,OAAO,CAAC,CAAC;QACf,IAAI,CAAC,IAAI,GAAG,qCAAqC,CAAC;IACpD,CAAC;CACF;AALD,8DAKC;AAED,MAAa,aAAc,SAAQ,KAAK;IACtC,YAAY,OAAe;QACzB,KAAK,CAAC,OAAO,CAAC,CAAC;QACf,IAAI,CAAC,IAAI,GAAG,yBAAyB,CAAC;IACxC,CAAC;CACF;AALD,sCAKC;AAED,MAAa,cAAe,SAAQ,KAAK;IACvC,YAAY,OAAe;QACzB,KAAK,CAAC,OAAO,CAAC,CAAC;QACf,IAAI,CAAC,IAAI,GAAG,0BAA0B,CAAC;IACzC,CAAC;CACF;AALD,wCAKC;AAED;;;;;GAKG;AACH,SAAgB,iBAAiB,CAAC,MAAc;IAC9C,IAAI,MAAM,IAAI,GAAG,IAAI,MAAM,GAAG,GAAG,EAAE;QACjC,OAAO,MAAM,KAAK,GAAG,IAAI,MAAM,KAAK,GAAG,IAAI,MAAM,KAAK,GAAG,CAAC;KAC3D;IACD,OAAO,IAAI,CAAC;AACd,CAAC;AALD,8CAKC;AAED;;;;;;GAMG;AACH,SAAgB,wBAAwB,CAAC,MAAc;IACrD,IAAI,MAAM,KAAK,GAAG,EAAE;QAClB,OAAO,IAAI,CAAC;KACb;IACD,OAAO,iBAAiB,CAAC,MAAM,CAAC,CAAC;AACnC,CAAC;AALD,4DAKC"}
package/dist/index.js DELETED
@@ -1,31 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- exports.ContextFilter = exports.Context = exports.AttributeReference = exports.internal = void 0;
18
- const AttributeReference_1 = require("./AttributeReference");
19
- exports.AttributeReference = AttributeReference_1.default;
20
- const Context_1 = require("./Context");
21
- exports.Context = Context_1.default;
22
- const ContextFilter_1 = require("./ContextFilter");
23
- exports.ContextFilter = ContextFilter_1.default;
24
- __exportStar(require("./api"), exports);
25
- __exportStar(require("./validators"), exports);
26
- __exportStar(require("./logging"), exports);
27
- __exportStar(require("./options"), exports);
28
- __exportStar(require("./utils"), exports);
29
- exports.internal = require("./internal");
30
- __exportStar(require("./errors"), exports);
31
- //# sourceMappingURL=index.js.map
package/dist/index.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,6DAAsD;AAa7C,6BAbF,4BAAkB,CAaE;AAZ3B,uCAAgC;AAYH,kBAZtB,iBAAO,CAYsB;AAXpC,mDAA4C;AAWN,wBAX/B,uBAAa,CAW+B;AATnD,wCAAsB;AACtB,+CAA6B;AAC7B,4CAA0B;AAC1B,4CAA0B;AAC1B,0CAAwB;AAExB,yCAAuC;AACvC,2CAAyB"}
@@ -1,38 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.isLegacyUser = exports.isMultiKind = exports.isSingleKind = void 0;
4
- const validators_1 = require("../../validators");
5
- /**
6
- * Check if a context is a single kind context.
7
- * @param context
8
- * @returns true if the context is a single kind context.
9
- */
10
- function isSingleKind(context) {
11
- if ('kind' in context) {
12
- return validators_1.TypeValidators.String.is(context.kind) && context.kind !== 'multi';
13
- }
14
- return false;
15
- }
16
- exports.isSingleKind = isSingleKind;
17
- /**
18
- * Check if a context is a multi-kind context.
19
- * @param context
20
- * @returns true if it is a multi-kind context.
21
- */
22
- function isMultiKind(context) {
23
- if ('kind' in context) {
24
- return validators_1.TypeValidators.String.is(context.kind) && context.kind === 'multi';
25
- }
26
- return false;
27
- }
28
- exports.isMultiKind = isMultiKind;
29
- /**
30
- * Check if a context is a legacy user context.
31
- * @param context
32
- * @returns true if it is a legacy user context.
33
- */
34
- function isLegacyUser(context) {
35
- return !('kind' in context) || context.kind === null || context.kind === undefined;
36
- }
37
- exports.isLegacyUser = isLegacyUser;
38
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/internal/context/index.ts"],"names":[],"mappings":";;;AAKA,iDAAkD;AAElD;;;;GAIG;AACH,SAAgB,YAAY,CAAC,OAAkB;IAC7C,IAAI,MAAM,IAAI,OAAO,EAAE;QACrB,OAAO,2BAAc,CAAC,MAAM,CAAC,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,OAAO,CAAC,IAAI,KAAK,OAAO,CAAC;KAC3E;IACD,OAAO,KAAK,CAAC;AACf,CAAC;AALD,oCAKC;AAED;;;;GAIG;AACH,SAAgB,WAAW,CAAC,OAAkB;IAC5C,IAAI,MAAM,IAAI,OAAO,EAAE;QACrB,OAAO,2BAAc,CAAC,MAAM,CAAC,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,OAAO,CAAC,IAAI,KAAK,OAAO,CAAC;KAC3E;IACD,OAAO,KAAK,CAAC;AACf,CAAC;AALD,kCAKC;AAED;;;;GAIG;AACH,SAAgB,YAAY,CAAC,OAAkB;IAC7C,OAAO,CAAC,CAAC,MAAM,IAAI,OAAO,CAAC,IAAI,OAAO,CAAC,IAAI,KAAK,IAAI,IAAI,OAAO,CAAC,IAAI,KAAK,SAAS,CAAC;AACrF,CAAC;AAFD,oCAEC"}
@@ -1,70 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- class DiagnosticsManager {
4
- constructor(sdkKey, platform, diagnosticInitConfig) {
5
- this.platform = platform;
6
- this.diagnosticInitConfig = diagnosticInitConfig;
7
- this.streamInits = [];
8
- this.startTime = Date.now();
9
- this.dataSinceDate = this.startTime;
10
- this.id = {
11
- diagnosticId: platform.crypto.randomUUID(),
12
- sdkKeySuffix: sdkKey.length > 6 ? sdkKey.substring(sdkKey.length - 6) : sdkKey,
13
- };
14
- }
15
- /**
16
- * Creates the initial event that is sent by the event processor when the SDK starts up. This will
17
- * not be repeated during the lifetime of the SDK client.
18
- */
19
- createInitEvent() {
20
- var _a, _b, _c;
21
- const sdkData = this.platform.info.sdkData();
22
- const platformData = this.platform.info.platformData();
23
- return {
24
- kind: 'diagnostic-init',
25
- id: this.id,
26
- creationDate: this.startTime,
27
- sdk: sdkData,
28
- configuration: this.diagnosticInitConfig,
29
- platform: Object.assign({ name: platformData.name, osArch: (_a = platformData.os) === null || _a === void 0 ? void 0 : _a.arch, osName: (_b = platformData.os) === null || _b === void 0 ? void 0 : _b.name, osVersion: (_c = platformData.os) === null || _c === void 0 ? void 0 : _c.version }, (platformData.additional || {})),
30
- };
31
- }
32
- /**
33
- * Records a stream connection attempt (called by the stream processor).
34
- *
35
- * @param timestamp Time of the *beginning* of the connection attempt.
36
- * @param failed True if the connection failed, or we got a read timeout before receiving a "put".
37
- * @param durationMillis Elapsed time between starting timestamp and when we either gave up/lost
38
- * the connection or received a successful "put".
39
- */
40
- recordStreamInit(timestamp, failed, durationMillis) {
41
- const item = { timestamp, failed, durationMillis };
42
- this.streamInits.push(item);
43
- }
44
- /**
45
- * Creates a periodic event containing time-dependent stats, and resets the state of the manager
46
- * with regard to those stats.
47
- *
48
- * Note: the reason droppedEvents, deduplicatedUsers, and eventsInLastBatch are passed into this
49
- * function, instead of being properties of the DiagnosticsManager, is that the event processor is
50
- * the one who's calling this function and is also the one who's tracking those stats.
51
- */
52
- createStatsEventAndReset(droppedEvents, deduplicatedUsers, eventsInLastBatch) {
53
- const currentTime = Date.now();
54
- const evt = {
55
- kind: 'diagnostic',
56
- id: this.id,
57
- creationDate: currentTime,
58
- dataSinceDate: this.dataSinceDate,
59
- droppedEvents,
60
- deduplicatedUsers,
61
- eventsInLastBatch,
62
- streamInits: this.streamInits,
63
- };
64
- this.streamInits = [];
65
- this.dataSinceDate = currentTime;
66
- return evt;
67
- }
68
- }
69
- exports.default = DiagnosticsManager;
70
- //# sourceMappingURL=DiagnosticsManager.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"DiagnosticsManager.js","sourceRoot":"","sources":["../../../src/internal/diagnostics/DiagnosticsManager.ts"],"names":[],"mappings":";;AAGA,MAAqB,kBAAkB;IAMrC,YACE,MAAc,EACG,QAAkB,EAClB,oBAAyB;QADzB,aAAQ,GAAR,QAAQ,CAAU;QAClB,yBAAoB,GAApB,oBAAoB,CAAK;QAPpC,gBAAW,GAAqB,EAAE,CAAC;QASzC,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC,GAAG,EAAE,CAAC;QAC5B,IAAI,CAAC,aAAa,GAAG,IAAI,CAAC,SAAS,CAAC;QACpC,IAAI,CAAC,EAAE,GAAG;YACR,YAAY,EAAE,QAAQ,CAAC,MAAM,CAAC,UAAU,EAAE;YAC1C,YAAY,EAAE,MAAM,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,SAAS,CAAC,MAAM,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,MAAM;SAC/E,CAAC;IACJ,CAAC;IAED;;;OAGG;IACH,eAAe;;QACb,MAAM,OAAO,GAAG,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,OAAO,EAAE,CAAC;QAC7C,MAAM,YAAY,GAAG,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,YAAY,EAAE,CAAC;QAEvD,OAAO;YACL,IAAI,EAAE,iBAAiB;YACvB,EAAE,EAAE,IAAI,CAAC,EAAE;YACX,YAAY,EAAE,IAAI,CAAC,SAAS;YAC5B,GAAG,EAAE,OAAO;YACZ,aAAa,EAAE,IAAI,CAAC,oBAAoB;YACxC,QAAQ,kBACN,IAAI,EAAE,YAAY,CAAC,IAAI,EACvB,MAAM,EAAE,MAAA,YAAY,CAAC,EAAE,0CAAE,IAAI,EAC7B,MAAM,EAAE,MAAA,YAAY,CAAC,EAAE,0CAAE,IAAI,EAC7B,SAAS,EAAE,MAAA,YAAY,CAAC,EAAE,0CAAE,OAAO,IAChC,CAAC,YAAY,CAAC,UAAU,IAAI,EAAE,CAAC,CACnC;SACF,CAAC;IACJ,CAAC;IAED;;;;;;;OAOG;IACH,gBAAgB,CAAC,SAAiB,EAAE,MAAe,EAAE,cAAsB;QACzE,MAAM,IAAI,GAAG,EAAE,SAAS,EAAE,MAAM,EAAE,cAAc,EAAE,CAAC;QACnD,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAC9B,CAAC;IAED;;;;;;;OAOG;IACH,wBAAwB,CACtB,aAAqB,EACrB,iBAAyB,EACzB,iBAAyB;QAEzB,MAAM,WAAW,GAAG,IAAI,CAAC,GAAG,EAAE,CAAC;QAC/B,MAAM,GAAG,GAAyB;YAChC,IAAI,EAAE,YAAY;YAClB,EAAE,EAAE,IAAI,CAAC,EAAE;YACX,YAAY,EAAE,WAAW;YACzB,aAAa,EAAE,IAAI,CAAC,aAAa;YACjC,aAAa;YACb,iBAAiB;YACjB,iBAAiB;YACjB,WAAW,EAAE,IAAI,CAAC,WAAW;SAC9B,CAAC;QAEF,IAAI,CAAC,WAAW,GAAG,EAAE,CAAC;QACtB,IAAI,CAAC,aAAa,GAAG,WAAW,CAAC;QACjC,OAAO,GAAG,CAAC;IACb,CAAC;CACF;AArFD,qCAqFC"}
@@ -1,6 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DiagnosticsManager = void 0;
4
- const DiagnosticsManager_1 = require("./DiagnosticsManager");
5
- exports.DiagnosticsManager = DiagnosticsManager_1.default;
6
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/internal/diagnostics/index.ts"],"names":[],"mappings":";;;AAAA,6DAAsD;AAG7C,6BAHF,4BAAkB,CAGE"}
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/internal/diagnostics/types.ts"],"names":[],"mappings":""}
@@ -1,15 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- /**
4
- * Different kinds of error which may be encountered during evaluation.
5
- */
6
- var ErrorKinds;
7
- (function (ErrorKinds) {
8
- ErrorKinds["MalformedFlag"] = "MALFORMED_FLAG";
9
- ErrorKinds["UserNotSpecified"] = "USER_NOT_SPECIFIED";
10
- ErrorKinds["FlagNotFound"] = "FLAG_NOT_FOUND";
11
- ErrorKinds["ClientNotReady"] = "CLIENT_NOT_READY";
12
- ErrorKinds["WrongType"] = "WRONG_TYPE";
13
- })(ErrorKinds || (ErrorKinds = {}));
14
- exports.default = ErrorKinds;
15
- //# sourceMappingURL=ErrorKinds.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ErrorKinds.js","sourceRoot":"","sources":["../../../src/internal/evaluation/ErrorKinds.ts"],"names":[],"mappings":";;AAAA;;GAEG;AACH,IAAK,UAMJ;AAND,WAAK,UAAU;IACb,8CAAgC,CAAA;IAChC,qDAAuC,CAAA;IACvC,6CAA+B,CAAA;IAC/B,iDAAmC,CAAA;IACnC,sCAAwB,CAAA;AAC1B,CAAC,EANI,UAAU,KAAV,UAAU,QAMd;AAED,kBAAe,UAAU,CAAC"}