@launchdarkly/js-sdk-common 0.1.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.
- package/CHANGELOG.md +7 -0
- package/README.md +25 -0
- package/dist/AttributeReference.d.ts +35 -0
- package/dist/AttributeReference.d.ts.map +1 -0
- package/dist/AttributeReference.js +126 -0
- package/dist/AttributeReference.js.map +1 -0
- package/dist/Context.d.ts +90 -0
- package/dist/Context.d.ts.map +1 -0
- package/dist/Context.js +385 -0
- package/dist/Context.js.map +1 -0
- package/dist/ContextFilter.d.ts +11 -0
- package/dist/ContextFilter.d.ts.map +1 -0
- package/dist/ContextFilter.js +122 -0
- package/dist/ContextFilter.js.map +1 -0
- package/dist/api/context/LDContext.d.ts +8 -0
- package/dist/api/context/LDContext.d.ts.map +1 -0
- package/dist/api/context/LDContext.js +3 -0
- package/dist/api/context/LDContext.js.map +1 -0
- package/dist/api/context/LDContextCommon.d.ts +29 -0
- package/dist/api/context/LDContextCommon.d.ts.map +1 -0
- package/dist/api/context/LDContextCommon.js +3 -0
- package/dist/api/context/LDContextCommon.js.map +1 -0
- package/dist/api/context/LDContextMeta.d.ts +52 -0
- package/dist/api/context/LDContextMeta.d.ts.map +1 -0
- package/dist/api/context/LDContextMeta.js +3 -0
- package/dist/api/context/LDContextMeta.js.map +1 -0
- package/dist/api/context/LDMultiKindContext.d.ts +46 -0
- package/dist/api/context/LDMultiKindContext.d.ts.map +1 -0
- package/dist/api/context/LDMultiKindContext.js +3 -0
- package/dist/api/context/LDMultiKindContext.js.map +1 -0
- package/dist/api/context/LDSingleKindContext.d.ts +24 -0
- package/dist/api/context/LDSingleKindContext.d.ts.map +1 -0
- package/dist/api/context/LDSingleKindContext.js +3 -0
- package/dist/api/context/LDSingleKindContext.js.map +1 -0
- package/dist/api/context/LDUser.d.ts +66 -0
- package/dist/api/context/LDUser.d.ts.map +1 -0
- package/dist/api/context/LDUser.js +3 -0
- package/dist/api/context/LDUser.js.map +1 -0
- package/dist/api/context/index.d.ts +7 -0
- package/dist/api/context/index.d.ts.map +1 -0
- package/dist/api/context/index.js +23 -0
- package/dist/api/context/index.js.map +1 -0
- package/dist/api/data/LDEvaluationDetail.d.ts +27 -0
- package/dist/api/data/LDEvaluationDetail.d.ts.map +1 -0
- package/dist/api/data/LDEvaluationDetail.js +3 -0
- package/dist/api/data/LDEvaluationDetail.js.map +1 -0
- package/dist/api/data/LDEvaluationReason.d.ts +57 -0
- package/dist/api/data/LDEvaluationReason.d.ts.map +1 -0
- package/dist/api/data/LDEvaluationReason.js +3 -0
- package/dist/api/data/LDEvaluationReason.js.map +1 -0
- package/dist/api/data/LDFlagSet.d.ts +8 -0
- package/dist/api/data/LDFlagSet.d.ts.map +1 -0
- package/dist/api/data/LDFlagSet.js +3 -0
- package/dist/api/data/LDFlagSet.js.map +1 -0
- package/dist/api/data/LDFlagValue.d.ts +7 -0
- package/dist/api/data/LDFlagValue.d.ts.map +1 -0
- package/dist/api/data/LDFlagValue.js +3 -0
- package/dist/api/data/LDFlagValue.js.map +1 -0
- package/dist/api/data/index.d.ts +5 -0
- package/dist/api/data/index.d.ts.map +1 -0
- package/dist/api/data/index.js +21 -0
- package/dist/api/data/index.js.map +1 -0
- package/dist/api/index.d.ts +7 -0
- package/dist/api/index.d.ts.map +1 -0
- package/dist/api/index.js +24 -0
- package/dist/api/index.js.map +1 -0
- package/dist/api/logging/BasicLoggerOptions.d.ts +43 -0
- package/dist/api/logging/BasicLoggerOptions.d.ts.map +1 -0
- package/dist/api/logging/BasicLoggerOptions.js +3 -0
- package/dist/api/logging/BasicLoggerOptions.js.map +1 -0
- package/dist/api/logging/LDLogLevel.d.ts +10 -0
- package/dist/api/logging/LDLogLevel.d.ts.map +1 -0
- package/dist/api/logging/LDLogLevel.js +3 -0
- package/dist/api/logging/LDLogLevel.js.map +1 -0
- package/dist/api/logging/LDLogger.d.ts +47 -0
- package/dist/api/logging/LDLogger.d.ts.map +1 -0
- package/dist/api/logging/LDLogger.js +3 -0
- package/dist/api/logging/LDLogger.js.map +1 -0
- package/dist/api/logging/index.d.ts +4 -0
- package/dist/api/logging/index.d.ts.map +1 -0
- package/dist/api/logging/index.js +20 -0
- package/dist/api/logging/index.js.map +1 -0
- package/dist/api/options/LDClientContext.d.ts +43 -0
- package/dist/api/options/LDClientContext.d.ts.map +1 -0
- package/dist/api/options/LDClientContext.js +3 -0
- package/dist/api/options/LDClientContext.js.map +1 -0
- package/dist/api/options/index.d.ts +3 -0
- package/dist/api/options/index.d.ts.map +1 -0
- package/dist/api/options/index.js +3 -0
- package/dist/api/options/index.js.map +1 -0
- package/dist/api/platform/Crypto.d.ts +31 -0
- package/dist/api/platform/Crypto.d.ts.map +1 -0
- package/dist/api/platform/Crypto.js +3 -0
- package/dist/api/platform/Crypto.js.map +1 -0
- package/dist/api/platform/EventSource.d.ts +25 -0
- package/dist/api/platform/EventSource.d.ts.map +1 -0
- package/dist/api/platform/EventSource.js +3 -0
- package/dist/api/platform/EventSource.js.map +1 -0
- package/dist/api/platform/Filesystem.d.ts +40 -0
- package/dist/api/platform/Filesystem.d.ts.map +1 -0
- package/dist/api/platform/Filesystem.js +3 -0
- package/dist/api/platform/Filesystem.js.map +1 -0
- package/dist/api/platform/Info.d.ts +64 -0
- package/dist/api/platform/Info.d.ts.map +1 -0
- package/dist/api/platform/Info.js +3 -0
- package/dist/api/platform/Info.js.map +1 -0
- package/dist/api/platform/Platform.d.ts +25 -0
- package/dist/api/platform/Platform.d.ts.map +1 -0
- package/dist/api/platform/Platform.js +3 -0
- package/dist/api/platform/Platform.js.map +1 -0
- package/dist/api/platform/Requests.d.ts +75 -0
- package/dist/api/platform/Requests.d.ts.map +1 -0
- package/dist/api/platform/Requests.js +6 -0
- package/dist/api/platform/Requests.js.map +1 -0
- package/dist/api/platform/index.d.ts +7 -0
- package/dist/api/platform/index.d.ts.map +1 -0
- package/dist/api/platform/index.js +23 -0
- package/dist/api/platform/index.js.map +1 -0
- package/dist/api/subsystem/LDContextDeduplicator.d.ts +24 -0
- package/dist/api/subsystem/LDContextDeduplicator.d.ts.map +1 -0
- package/dist/api/subsystem/LDContextDeduplicator.js +3 -0
- package/dist/api/subsystem/LDContextDeduplicator.js.map +1 -0
- package/dist/api/subsystem/LDEventProcessor.d.ts +7 -0
- package/dist/api/subsystem/LDEventProcessor.d.ts.map +1 -0
- package/dist/api/subsystem/LDEventProcessor.js +3 -0
- package/dist/api/subsystem/LDEventProcessor.js.map +1 -0
- package/dist/api/subsystem/LDEventSender.d.ts +18 -0
- package/dist/api/subsystem/LDEventSender.d.ts.map +1 -0
- package/dist/api/subsystem/LDEventSender.js +15 -0
- package/dist/api/subsystem/LDEventSender.js.map +1 -0
- package/dist/api/subsystem/index.d.ts +5 -0
- package/dist/api/subsystem/index.d.ts.map +1 -0
- package/dist/api/subsystem/index.js +7 -0
- package/dist/api/subsystem/index.js.map +1 -0
- package/dist/index.d.ts +10 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +29 -0
- package/dist/index.js.map +1 -0
- package/dist/internal/events/EventProcessor.d.ts +51 -0
- package/dist/internal/events/EventProcessor.d.ts.map +1 -0
- package/dist/internal/events/EventProcessor.js +214 -0
- package/dist/internal/events/EventProcessor.js.map +1 -0
- package/dist/internal/events/EventSummarizer.d.ts +2 -0
- package/dist/internal/events/EventSummarizer.d.ts.map +1 -0
- package/dist/internal/events/EventSummarizer.js +84 -0
- package/dist/internal/events/EventSummarizer.js.map +1 -0
- package/dist/internal/events/InputCustomEvent.d.ts +11 -0
- package/dist/internal/events/InputCustomEvent.d.ts.map +1 -0
- package/dist/internal/events/InputCustomEvent.js +14 -0
- package/dist/internal/events/InputCustomEvent.js.map +1 -0
- package/dist/internal/events/InputEvalEvent.d.ts +19 -0
- package/dist/internal/events/InputEvalEvent.d.ts.map +1 -0
- package/dist/internal/events/InputEvalEvent.js +35 -0
- package/dist/internal/events/InputEvalEvent.js.map +1 -0
- package/dist/internal/events/InputEvent.d.ts +6 -0
- package/dist/internal/events/InputEvent.d.ts.map +1 -0
- package/dist/internal/events/InputEvent.js +3 -0
- package/dist/internal/events/InputEvent.js.map +1 -0
- package/dist/internal/events/InputEventBase.d.ts +8 -0
- package/dist/internal/events/InputEventBase.d.ts.map +1 -0
- package/dist/internal/events/InputEventBase.js +11 -0
- package/dist/internal/events/InputEventBase.js.map +1 -0
- package/dist/internal/events/InputIdentifyEvent.d.ts +8 -0
- package/dist/internal/events/InputIdentifyEvent.d.ts.map +1 -0
- package/dist/internal/events/InputIdentifyEvent.js +11 -0
- package/dist/internal/events/InputIdentifyEvent.js.map +1 -0
- package/dist/internal/events/LDInvalidSDKKeyError.d.ts +4 -0
- package/dist/internal/events/LDInvalidSDKKeyError.d.ts.map +1 -0
- package/dist/internal/events/LDInvalidSDKKeyError.js +10 -0
- package/dist/internal/events/LDInvalidSDKKeyError.js.map +1 -0
- package/dist/internal/events/SummaryCounter.d.ts +2 -0
- package/dist/internal/events/SummaryCounter.d.ts.map +1 -0
- package/dist/internal/events/SummaryCounter.js +20 -0
- package/dist/internal/events/SummaryCounter.js.map +1 -0
- package/dist/internal/events/guards.d.ts +7 -0
- package/dist/internal/events/guards.d.ts.map +1 -0
- package/dist/internal/events/guards.js +16 -0
- package/dist/internal/events/guards.js.map +1 -0
- package/dist/internal/events/index.d.ts +7 -0
- package/dist/internal/events/index.d.ts.map +1 -0
- package/dist/internal/events/index.js +12 -0
- package/dist/internal/events/index.js.map +1 -0
- package/dist/internal/index.d.ts +2 -0
- package/dist/internal/index.d.ts.map +1 -0
- package/dist/internal/index.js +18 -0
- package/dist/internal/index.js.map +1 -0
- package/dist/logging/BasicLogger.d.ts +27 -0
- package/dist/logging/BasicLogger.d.ts.map +1 -0
- package/dist/logging/BasicLogger.js +89 -0
- package/dist/logging/BasicLogger.js.map +1 -0
- package/dist/logging/SafeLogger.d.ts +28 -0
- package/dist/logging/SafeLogger.d.ts.map +1 -0
- package/dist/logging/SafeLogger.js +63 -0
- package/dist/logging/SafeLogger.js.map +1 -0
- package/dist/logging/format.d.ts +2 -0
- package/dist/logging/format.d.ts.map +1 -0
- package/dist/logging/format.js +156 -0
- package/dist/logging/format.js.map +1 -0
- package/dist/logging/index.d.ts +4 -0
- package/dist/logging/index.d.ts.map +1 -0
- package/dist/logging/index.js +8 -0
- package/dist/logging/index.js.map +1 -0
- package/dist/options/ApplicationTags.d.ts +15 -0
- package/dist/options/ApplicationTags.d.ts.map +1 -0
- package/dist/options/ApplicationTags.js +57 -0
- package/dist/options/ApplicationTags.js.map +1 -0
- package/dist/options/ClientContext.d.ts +36 -0
- package/dist/options/ClientContext.d.ts.map +1 -0
- package/dist/options/ClientContext.js +19 -0
- package/dist/options/ClientContext.js.map +1 -0
- package/dist/options/OptionMessages.d.ts +14 -0
- package/dist/options/OptionMessages.d.ts.map +1 -0
- package/dist/options/OptionMessages.js +33 -0
- package/dist/options/OptionMessages.js.map +1 -0
- package/dist/options/ServiceEndpoints.d.ts +10 -0
- package/dist/options/ServiceEndpoints.d.ts.map +1 -0
- package/dist/options/ServiceEndpoints.js +17 -0
- package/dist/options/ServiceEndpoints.js.map +1 -0
- package/dist/options/index.d.ts +6 -0
- package/dist/options/index.d.ts.map +1 -0
- package/dist/options/index.js +12 -0
- package/dist/options/index.js.map +1 -0
- package/dist/validators.d.ts +84 -0
- package/dist/validators.d.ts.map +1 -0
- package/dist/validators.js +149 -0
- package/dist/validators.js.map +1 -0
- package/package.json +40 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LDContextMeta.d.ts","sourceRoot":"","sources":["../../../src/api/context/LDContextMeta.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,WAAW,aAAa;IAC5B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA2CG;IACH,iBAAiB,CAAC,EAAE,MAAM,EAAE,CAAC;CAC9B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LDContextMeta.js","sourceRoot":"","sources":["../../../src/api/context/LDContextMeta.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { LDContextCommon } from './LDContextCommon';
|
|
2
|
+
/**
|
|
3
|
+
* A context which represents multiple kinds. Each kind having its own key and attributes.
|
|
4
|
+
*
|
|
5
|
+
* A multi-context must contain `kind: 'multi'` at the root.
|
|
6
|
+
*
|
|
7
|
+
* ```
|
|
8
|
+
* const myMultiContext = {
|
|
9
|
+
* // Multi-contexts must be of kind 'multi'.
|
|
10
|
+
* kind: 'multi',
|
|
11
|
+
* // The context is namespaced by its kind. This is an 'org' kind context.
|
|
12
|
+
* org: {
|
|
13
|
+
* // Each component context has its own key and attributes.
|
|
14
|
+
* key: 'my-org-key',
|
|
15
|
+
* someAttribute: 'my-attribute-value',
|
|
16
|
+
* },
|
|
17
|
+
* user: {
|
|
18
|
+
* key: 'my-user-key',
|
|
19
|
+
* firstName: 'Bob',
|
|
20
|
+
* lastName: 'Bobberson',
|
|
21
|
+
* _meta: {
|
|
22
|
+
* // Each component context has its own _meta attributes. This will only apply the this
|
|
23
|
+
* // 'user' context.
|
|
24
|
+
* privateAttributes: ['firstName']
|
|
25
|
+
* }
|
|
26
|
+
* }
|
|
27
|
+
* };
|
|
28
|
+
* ```
|
|
29
|
+
*
|
|
30
|
+
* The above multi-context contains both an 'org' and a 'user'. Each with their own key,
|
|
31
|
+
* attributes, and _meta attributes.
|
|
32
|
+
*/
|
|
33
|
+
export interface LDMultiKindContext {
|
|
34
|
+
/**
|
|
35
|
+
* The kind of the context.
|
|
36
|
+
*/
|
|
37
|
+
kind: 'multi';
|
|
38
|
+
/**
|
|
39
|
+
* The contexts which compose this multi-kind context.
|
|
40
|
+
*
|
|
41
|
+
* These should be of type LDContextCommon. "multi" is to allow
|
|
42
|
+
* for the top level "kind" attribute.
|
|
43
|
+
*/
|
|
44
|
+
[kind: string]: 'multi' | LDContextCommon;
|
|
45
|
+
}
|
|
46
|
+
//# sourceMappingURL=LDMultiKindContext.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LDMultiKindContext.d.ts","sourceRoot":"","sources":["../../../src/api/context/LDMultiKindContext.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEpD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,MAAM,WAAW,kBAAkB;IACjC;;OAEG;IACH,IAAI,EAAE,OAAO,CAAC;IAEd;;;;;OAKG;IACH,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,GAAG,eAAe,CAAC;CAC3C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LDMultiKindContext.js","sourceRoot":"","sources":["../../../src/api/context/LDMultiKindContext.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { LDContextCommon } from './LDContextCommon';
|
|
2
|
+
/**
|
|
3
|
+
* A context which represents a single kind.
|
|
4
|
+
*
|
|
5
|
+
* For a single kind context the 'kind' may not be 'multi'.
|
|
6
|
+
*
|
|
7
|
+
* ```
|
|
8
|
+
* const myOrgContext = {
|
|
9
|
+
* kind: 'org',
|
|
10
|
+
* key: 'my-org-key',
|
|
11
|
+
* someAttribute: 'my-attribute-value'
|
|
12
|
+
* };
|
|
13
|
+
* ```
|
|
14
|
+
*
|
|
15
|
+
* The above context would be a single kind context representing an organization. It has a key
|
|
16
|
+
* for that organization, and a single attribute 'someAttribute'.
|
|
17
|
+
*/
|
|
18
|
+
export interface LDSingleKindContext extends LDContextCommon {
|
|
19
|
+
/**
|
|
20
|
+
* The kind of the context.
|
|
21
|
+
*/
|
|
22
|
+
kind: string;
|
|
23
|
+
}
|
|
24
|
+
//# sourceMappingURL=LDSingleKindContext.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LDSingleKindContext.d.ts","sourceRoot":"","sources":["../../../src/api/context/LDSingleKindContext.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEpD;;;;;;;;;;;;;;;GAeG;AACH,MAAM,WAAW,mBAAoB,SAAQ,eAAe;IAC1D;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;CACd"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LDSingleKindContext.js","sourceRoot":"","sources":["../../../src/api/context/LDSingleKindContext.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A LaunchDarkly user object.
|
|
3
|
+
*
|
|
4
|
+
* @deprecated
|
|
5
|
+
*/
|
|
6
|
+
export interface LDUser {
|
|
7
|
+
/**
|
|
8
|
+
* A unique string identifying a user.
|
|
9
|
+
*/
|
|
10
|
+
key: string;
|
|
11
|
+
/**
|
|
12
|
+
* The user's name.
|
|
13
|
+
*
|
|
14
|
+
* You can search for users on the User page by name.
|
|
15
|
+
*/
|
|
16
|
+
name?: string;
|
|
17
|
+
/**
|
|
18
|
+
* The user's first name.
|
|
19
|
+
*/
|
|
20
|
+
firstName?: string;
|
|
21
|
+
/**
|
|
22
|
+
* The user's last name.
|
|
23
|
+
*/
|
|
24
|
+
lastName?: string;
|
|
25
|
+
/**
|
|
26
|
+
* The user's email address.
|
|
27
|
+
*
|
|
28
|
+
* If an `avatar` URL is not provided, LaunchDarkly will use Gravatar
|
|
29
|
+
* to try to display an avatar for the user on the Users page.
|
|
30
|
+
*/
|
|
31
|
+
email?: string;
|
|
32
|
+
/**
|
|
33
|
+
* An absolute URL to an avatar image for the user.
|
|
34
|
+
*/
|
|
35
|
+
avatar?: string;
|
|
36
|
+
/**
|
|
37
|
+
* The user's IP address.
|
|
38
|
+
*
|
|
39
|
+
* If you provide an IP, LaunchDarkly will use a geolocation service to
|
|
40
|
+
* automatically infer a `country` for the user, unless you've already
|
|
41
|
+
* specified one.
|
|
42
|
+
*/
|
|
43
|
+
ip?: string;
|
|
44
|
+
/**
|
|
45
|
+
* The country associated with the user.
|
|
46
|
+
*/
|
|
47
|
+
country?: string;
|
|
48
|
+
/**
|
|
49
|
+
* If true, the user will _not_ appear on the Users page in the LaunchDarkly dashboard.
|
|
50
|
+
*/
|
|
51
|
+
anonymous?: boolean;
|
|
52
|
+
/**
|
|
53
|
+
* Any additional attributes associated with the user.
|
|
54
|
+
*/
|
|
55
|
+
custom?: {
|
|
56
|
+
[key: string]: string | boolean | number | Array<string | boolean | number>;
|
|
57
|
+
};
|
|
58
|
+
/**
|
|
59
|
+
* Specifies a list of attribute names (either built-in or custom) which should be
|
|
60
|
+
* marked as private, and not sent to LaunchDarkly in analytics events. This is in
|
|
61
|
+
* addition to any private attributes designated in the global configuration
|
|
62
|
+
* with {@link LDOptions.privateAttributes} or {@link LDOptions.allAttributesPrivate}.
|
|
63
|
+
*/
|
|
64
|
+
privateAttributeNames?: Array<string>;
|
|
65
|
+
}
|
|
66
|
+
//# sourceMappingURL=LDUser.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LDUser.d.ts","sourceRoot":"","sources":["../../../src/api/context/LDUser.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,MAAM,WAAW,MAAM;IACrB;;OAEG;IACH,GAAG,EAAE,MAAM,CAAC;IAEZ;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;;;;OAKG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;;;;;OAMG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IAEZ;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IAEpB;;OAEG;IACH,MAAM,CAAC,EAAE;QACP,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,MAAM,GAAG,KAAK,CAAC,MAAM,GAAG,OAAO,GAAG,MAAM,CAAC,CAAC;KAC7E,CAAC;IAEF;;;;;OAKG;IACH,qBAAqB,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CACvC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LDUser.js","sourceRoot":"","sources":["../../../src/api/context/LDUser.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/api/context/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAClC,cAAc,iBAAiB,CAAC;AAChC,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AACtC,cAAc,UAAU,CAAC;AACzB,cAAc,aAAa,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
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("./LDContextCommon"), exports);
|
|
18
|
+
__exportStar(require("./LDContextMeta"), exports);
|
|
19
|
+
__exportStar(require("./LDMultiKindContext"), exports);
|
|
20
|
+
__exportStar(require("./LDSingleKindContext"), exports);
|
|
21
|
+
__exportStar(require("./LDUser"), exports);
|
|
22
|
+
__exportStar(require("./LDContext"), exports);
|
|
23
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/api/context/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAkC;AAClC,kDAAgC;AAChC,uDAAqC;AACrC,wDAAsC;AACtC,2CAAyB;AACzB,8CAA4B"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { LDEvaluationReason } from './LDEvaluationReason';
|
|
2
|
+
import { LDFlagValue } from './LDFlagValue';
|
|
3
|
+
/**
|
|
4
|
+
* An object that combines the result of a feature flag evaluation with information about
|
|
5
|
+
* how it was calculated.
|
|
6
|
+
*
|
|
7
|
+
* This is the result of calling `LDClient.variationDetail`.
|
|
8
|
+
*
|
|
9
|
+
* For more information, see the [SDK reference guide](https://docs.launchdarkly.com/sdk/features/evaluation-reasons#nodejs-server-side).
|
|
10
|
+
*/
|
|
11
|
+
export interface LDEvaluationDetail {
|
|
12
|
+
/**
|
|
13
|
+
* The result of the flag evaluation. This will be either one of the flag's variations or
|
|
14
|
+
* the default value that was passed to `LDClient.variationDetail`.
|
|
15
|
+
*/
|
|
16
|
+
value: LDFlagValue;
|
|
17
|
+
/**
|
|
18
|
+
* The index of the returned value within the flag's list of variations, e.g. 0 for the
|
|
19
|
+
* first variation-- or `null` if the default value was returned.
|
|
20
|
+
*/
|
|
21
|
+
variationIndex?: number | null;
|
|
22
|
+
/**
|
|
23
|
+
* An object describing the main factor that influenced the flag evaluation value.
|
|
24
|
+
*/
|
|
25
|
+
reason: LDEvaluationReason;
|
|
26
|
+
}
|
|
27
|
+
//# sourceMappingURL=LDEvaluationDetail.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LDEvaluationDetail.d.ts","sourceRoot":"","sources":["../../../src/api/data/LDEvaluationDetail.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C;;;;;;;GAOG;AACH,MAAM,WAAW,kBAAkB;IACjC;;;OAGG;IACH,KAAK,EAAE,WAAW,CAAC;IAEnB;;;OAGG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAE/B;;OAEG;IACH,MAAM,EAAE,kBAAkB,CAAC;CAC5B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LDEvaluationDetail.js","sourceRoot":"","sources":["../../../src/api/data/LDEvaluationDetail.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Describes the reason that a flag evaluation produced a particular value. This is
|
|
3
|
+
* part of the {@link LDEvaluationDetail} object returned by `LDClient.variationDetail`.
|
|
4
|
+
*/
|
|
5
|
+
export interface LDEvaluationReason {
|
|
6
|
+
/**
|
|
7
|
+
* The general category of the reason:
|
|
8
|
+
*
|
|
9
|
+
* - `'OFF'`: The flag was off and therefore returned its configured off value.
|
|
10
|
+
* - `'FALLTHROUGH'`: The flag was on but the context did not match any targets or rules.
|
|
11
|
+
* - `'TARGET_MATCH'`: The context key was specifically targeted for this flag.
|
|
12
|
+
* - `'RULE_MATCH'`: the context matched one of the flag's rules.
|
|
13
|
+
* - `'PREREQUISITE_FAILED'`: The flag was considered off because it had at least one
|
|
14
|
+
* prerequisite flag that either was off or did not return the desired variation.
|
|
15
|
+
* - `'ERROR'`: The flag could not be evaluated, e.g. because it does not exist or due
|
|
16
|
+
* to an unexpected error.
|
|
17
|
+
*/
|
|
18
|
+
kind: string;
|
|
19
|
+
/**
|
|
20
|
+
* A further description of the error condition, if the kind was `'ERROR'`.
|
|
21
|
+
*/
|
|
22
|
+
errorKind?: string;
|
|
23
|
+
/**
|
|
24
|
+
* The index of the matched rule (0 for the first), if the kind was `'RULE_MATCH'`.
|
|
25
|
+
*/
|
|
26
|
+
ruleIndex?: number;
|
|
27
|
+
/**
|
|
28
|
+
* The unique identifier of the matched rule, if the kind was `'RULE_MATCH'`.
|
|
29
|
+
*/
|
|
30
|
+
ruleId?: string;
|
|
31
|
+
/**
|
|
32
|
+
* The key of the failed prerequisite flag, if the kind was `'PREREQUISITE_FAILED'`.
|
|
33
|
+
*/
|
|
34
|
+
prerequisiteKey?: string;
|
|
35
|
+
/**
|
|
36
|
+
* Whether the evaluation was part of an experiment.
|
|
37
|
+
*
|
|
38
|
+
* This is true if the evaluation resulted in an experiment rollout and served one of
|
|
39
|
+
* the variations in the experiment. Otherwise it is false or undefined.
|
|
40
|
+
*/
|
|
41
|
+
inExperiment?: boolean;
|
|
42
|
+
/**
|
|
43
|
+
* Describes the validity of Big Segment information, if and only if the flag evaluation
|
|
44
|
+
* required querying at least one Big Segment.
|
|
45
|
+
*
|
|
46
|
+
* - `'HEALTHY'`: The Big Segment query involved in the flag evaluation was successful, and
|
|
47
|
+
* the segment state is considered up to date.
|
|
48
|
+
* - `'STALE'`: The Big Segment query involved in the flag evaluation was successful, but
|
|
49
|
+
* the segment state may not be up to date
|
|
50
|
+
* - `'NOT_CONFIGURED'`: Big Segments could not be queried for the flag evaluation because
|
|
51
|
+
* the SDK configuration did not include a Big Segment store.
|
|
52
|
+
* - `'STORE_ERROR'`: The Big Segment query involved in the flag evaluation failed, for
|
|
53
|
+
* instance due to a database error.
|
|
54
|
+
*/
|
|
55
|
+
bigSegmentsStatus?: 'HEALTHY' | 'STALE' | 'NOT_CONFIGURED' | 'STORE_ERROR';
|
|
56
|
+
}
|
|
57
|
+
//# sourceMappingURL=LDEvaluationReason.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LDEvaluationReason.d.ts","sourceRoot":"","sources":["../../../src/api/data/LDEvaluationReason.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,WAAW,kBAAkB;IACjC;;;;;;;;;;;OAWG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IAEzB;;;;;OAKG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IAEvB;;;;;;;;;;;;OAYG;IACH,iBAAiB,CAAC,EAAE,SAAS,GAAG,OAAO,GAAG,gBAAgB,GAAG,aAAa,CAAC;CAC5E"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LDEvaluationReason.js","sourceRoot":"","sources":["../../../src/api/data/LDEvaluationReason.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LDFlagSet.d.ts","sourceRoot":"","sources":["../../../src/api/data/LDFlagSet.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C;;GAEG;AACH,MAAM,WAAW,SAAS;IACxB,CAAC,GAAG,EAAE,MAAM,GAAG,WAAW,CAAC;CAC5B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LDFlagSet.js","sourceRoot":"","sources":["../../../src/api/data/LDFlagSet.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LDFlagValue.d.ts","sourceRoot":"","sources":["../../../src/api/data/LDFlagValue.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,MAAM,MAAM,WAAW,GAAG,GAAG,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LDFlagValue.js","sourceRoot":"","sources":["../../../src/api/data/LDFlagValue.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/api/data/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC;AACrC,cAAc,sBAAsB,CAAC;AACrC,cAAc,aAAa,CAAC;AAC5B,cAAc,eAAe,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/api/data/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAqC;AACrC,uDAAqC;AACrC,8CAA4B;AAC5B,gDAA8B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/api/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,QAAQ,CAAC;AACvB,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,OAAO,KAAK,SAAS,MAAM,aAAa,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { LDLogLevel } from './LDLogLevel';
|
|
2
|
+
/**
|
|
3
|
+
* Configuration for {@link basicLogger}.
|
|
4
|
+
*/
|
|
5
|
+
export interface BasicLoggerOptions {
|
|
6
|
+
/**
|
|
7
|
+
* The lowest level of log message to enable.
|
|
8
|
+
*
|
|
9
|
+
* See {@link LDLogLevel} for a list of possible levels. Setting a level here causes
|
|
10
|
+
* all lower-importance levels to be disabled: for instance, if you specify
|
|
11
|
+
* `'warn'`, then `'debug'` and `'info'` are disabled.
|
|
12
|
+
*
|
|
13
|
+
* If not specified, the default is `'info'` (meaning that `'debug'` is disabled).
|
|
14
|
+
*/
|
|
15
|
+
level?: LDLogLevel;
|
|
16
|
+
/**
|
|
17
|
+
* Name to use for the log entires. The default name is `LaunchDarkly`.
|
|
18
|
+
*/
|
|
19
|
+
name?: string;
|
|
20
|
+
/**
|
|
21
|
+
* An optional function to use to print each log line.
|
|
22
|
+
*
|
|
23
|
+
* If this is specified, `basicLogger` calls it to write each line of output. The
|
|
24
|
+
* argument is a fully formatted log line, not including a linefeed. The function
|
|
25
|
+
* is only called for log levels that are enabled.
|
|
26
|
+
*
|
|
27
|
+
* If not specified, the default is `console.error`.
|
|
28
|
+
*
|
|
29
|
+
* Setting this property to anything other than a function will cause SDK
|
|
30
|
+
* initialization to fail.
|
|
31
|
+
*/
|
|
32
|
+
destination?: (line: string) => void;
|
|
33
|
+
/**
|
|
34
|
+
* An optional formatter to use. The formatter should be compatible
|
|
35
|
+
* with node-style format strings like those used with `util.format`.
|
|
36
|
+
*
|
|
37
|
+
* If not specified, then a default implementation will be used.
|
|
38
|
+
* But using a node-specific implementation, for instance, would
|
|
39
|
+
* have performance and quality benefits.
|
|
40
|
+
*/
|
|
41
|
+
formatter?: (...args: any[]) => string;
|
|
42
|
+
}
|
|
43
|
+
//# sourceMappingURL=BasicLoggerOptions.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BasicLoggerOptions.d.ts","sourceRoot":"","sources":["../../../src/api/logging/BasicLoggerOptions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C;;GAEG;AACH,MAAM,WAAW,kBAAkB;IACjC;;;;;;;;OAQG;IACH,KAAK,CAAC,EAAE,UAAU,CAAC;IAEnB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;;;;;;;;;;OAWG;IACH,WAAW,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IAErC;;;;;;;OAOG;IACH,SAAS,CAAC,EAAE,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,MAAM,CAAC;CACxC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BasicLoggerOptions.js","sourceRoot":"","sources":["../../../src/api/logging/BasicLoggerOptions.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Logging levels that can be used with {@link basicLogger}.
|
|
3
|
+
*
|
|
4
|
+
* Set{@link BasicLoggerOptions.level} to one of these values to control what levels
|
|
5
|
+
* of log messages are enabled. Going from lowest importance (and most verbose)
|
|
6
|
+
* to most importance, the levels are `'debug'`, `'info'`, `'warn'`, and `'error'`.
|
|
7
|
+
* You can also specify `'none'` instead to disable all logging.
|
|
8
|
+
*/
|
|
9
|
+
export type LDLogLevel = 'debug' | 'info' | 'warn' | 'error' | 'none';
|
|
10
|
+
//# sourceMappingURL=LDLogLevel.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LDLogLevel.d.ts","sourceRoot":"","sources":["../../../src/api/logging/LDLogLevel.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,MAAM,MAAM,UAAU,GAAG,OAAO,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,MAAM,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LDLogLevel.js","sourceRoot":"","sources":["../../../src/api/logging/LDLogLevel.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The LaunchDarkly client logger interface.
|
|
3
|
+
*
|
|
4
|
+
* The {@link LDOptions.logger} property accepts any object that conforms to this
|
|
5
|
+
* interface. The SDK only uses four logging levels: `error`, `warn`, `info`, and
|
|
6
|
+
* `debug`. It will call the corresponding method of the `LDLogger` either with a
|
|
7
|
+
* single string argument, or with a format string and variable arguments in the
|
|
8
|
+
* format used by Node's `util.format()`.
|
|
9
|
+
*
|
|
10
|
+
* The [Winston](https://github.com/winstonjs/winston) logging package provides a
|
|
11
|
+
* logger that conforms to this interface, so if you have created a logger with
|
|
12
|
+
* Winston, you can simply put it into the {@link LDOptions.logger} property.
|
|
13
|
+
*
|
|
14
|
+
* If you do not provide a logger object, the SDK uses the {@link basicLogger}
|
|
15
|
+
* implementation with a minimum level of `info`.
|
|
16
|
+
*/
|
|
17
|
+
export interface LDLogger {
|
|
18
|
+
/**
|
|
19
|
+
* The error logger.
|
|
20
|
+
*
|
|
21
|
+
* @param args
|
|
22
|
+
* A sequence of any JavaScript values.
|
|
23
|
+
*/
|
|
24
|
+
error(...args: any[]): void;
|
|
25
|
+
/**
|
|
26
|
+
* The warning logger.
|
|
27
|
+
*
|
|
28
|
+
* @param args
|
|
29
|
+
* A sequence of any JavaScript values.
|
|
30
|
+
*/
|
|
31
|
+
warn(...args: any[]): void;
|
|
32
|
+
/**
|
|
33
|
+
* The info logger.
|
|
34
|
+
*
|
|
35
|
+
* @param args
|
|
36
|
+
* A sequence of any JavaScript values.
|
|
37
|
+
*/
|
|
38
|
+
info(...args: any[]): void;
|
|
39
|
+
/**
|
|
40
|
+
* The debug logger.
|
|
41
|
+
*
|
|
42
|
+
* @param args
|
|
43
|
+
* A sequence of any JavaScript values.
|
|
44
|
+
*/
|
|
45
|
+
debug(...args: any[]): void;
|
|
46
|
+
}
|
|
47
|
+
//# sourceMappingURL=LDLogger.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LDLogger.d.ts","sourceRoot":"","sources":["../../../src/api/logging/LDLogger.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AACH,MAAM,WAAW,QAAQ;IACvB;;;;;OAKG;IACH,KAAK,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,GAAG,IAAI,CAAC;IAE5B;;;;;OAKG;IACH,IAAI,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,GAAG,IAAI,CAAC;IAE3B;;;;;OAKG;IACH,IAAI,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,GAAG,IAAI,CAAC;IAE3B;;;;;OAKG;IACH,KAAK,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,GAAG,IAAI,CAAC;CAC7B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LDLogger.js","sourceRoot":"","sources":["../../../src/api/logging/LDLogger.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/api/logging/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC;AACrC,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC"}
|