File tree Expand file tree Collapse file tree 12 files changed +53
-23
lines changed Expand file tree Collapse file tree 12 files changed +53
-23
lines changed Original file line number Diff line number Diff line change 14
14
* limitations under the License.
15
15
*/
16
16
17
- import { checkArrayEquality } from '../../../lib/ utils/fns' ;
17
+ import { checkArrayEquality } from '../../utils/fns' ;
18
18
19
19
export class OdpConfig {
20
20
/**
Original file line number Diff line number Diff line change 15
15
*/
16
16
17
17
import { getLogger } from '../logging' ;
18
- import { sprintf } from '../../../lib/ utils/fns' ;
18
+ import { sprintf } from '../../utils/fns' ;
19
19
import { DatafileManager , DatafileManagerConfig , DatafileUpdate } from './datafileManager' ;
20
20
import EventEmitter , { Disposer } from './eventEmitter' ;
21
21
import { AbortableRequest , Response , Headers } from './http' ;
@@ -24,7 +24,7 @@ import BackoffController from './backoffController';
24
24
import PersistentKeyValueCache from './persistentKeyValueCache' ;
25
25
26
26
import { NotificationRegistry } from './../../core/notification_center/notification_registry' ;
27
- import { NOTIFICATION_TYPES } from '../../../lib/ utils/enums' ;
27
+ import { NOTIFICATION_TYPES } from '../../utils/enums' ;
28
28
29
29
const logger = getLogger ( 'DatafileManager' ) ;
30
30
Original file line number Diff line number Diff line change @@ -69,8 +69,6 @@ import {
69
69
ODP_USER_KEY ,
70
70
} from '../utils/enums' ;
71
71
72
- import { BrowserOdpManager } from '../../lib/plugins/odp_manager/index.browser' ;
73
-
74
72
const MODULE_NAME = 'OPTIMIZELY' ;
75
73
76
74
const DEFAULT_ONREADY_TIMEOUT = 30000 ;
Original file line number Diff line number Diff line change 13
13
* See the License for the specific language governing permissions and *
14
14
* limitations under the License. *
15
15
***************************************************************************/
16
- import Optimizely from '../../lib/ optimizely' ;
16
+ import Optimizely from '../optimizely' ;
17
17
import {
18
18
EventTags ,
19
19
OptimizelyDecideOption ,
20
20
OptimizelyDecision ,
21
21
OptimizelyDecisionContext ,
22
22
OptimizelyForcedDecision ,
23
23
UserAttributes ,
24
- } from '../../lib/ shared_types' ;
24
+ } from '../shared_types' ;
25
25
import { CONTROL_ATTRIBUTES } from '../utils/enums' ;
26
26
import { OptimizelySegmentOption } from '../core/odp/optimizely_segment_option' ;
27
27
Original file line number Diff line number Diff line change 1
1
/**
2
- * Copyright 2021-2022 , Optimizely
2
+ * Copyright 2021-2023 , Optimizely
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
17
17
import {
18
18
EventProcessor ,
19
19
ProcessableEvent ,
20
- } from '../../../lib/ modules/event_processor' ;
20
+ } from '../../modules/event_processor' ;
21
21
import { NotificationSender } from '../../core/notification_center' ;
22
22
23
23
import { EventDispatcher } from '../../shared_types' ;
Original file line number Diff line number Diff line change 1
1
/**
2
- * Copyright 2022, Optimizely
2
+ * Copyright 2022-2023 , Optimizely
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
14
14
* limitations under the License.
15
15
*/
16
16
17
- import { LogTierV1EventProcessor , LocalStoragePendingEventsDispatcher } from '../../../lib/ modules/event_processor/index.react_native' ;
17
+ import { LogTierV1EventProcessor , LocalStoragePendingEventsDispatcher } from '../../modules/event_processor/index.react_native' ;
18
18
19
19
export function createEventProcessor (
20
20
...args : ConstructorParameters < typeof LogTierV1EventProcessor >
Original file line number Diff line number Diff line change 1
1
/**
2
- * Copyright 2020, 2022, Optimizely
2
+ * Copyright 2020, 2022-2023 Optimizely
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
14
14
* limitations under the License.
15
15
*/
16
16
17
- import { LogTierV1EventProcessor , LocalStoragePendingEventsDispatcher } from '../../../lib/ modules/event_processor' ;
17
+ import { LogTierV1EventProcessor , LocalStoragePendingEventsDispatcher } from '../../modules/event_processor' ;
18
18
19
19
export function createEventProcessor (
20
20
...args : ConstructorParameters < typeof LogTierV1EventProcessor >
Original file line number Diff line number Diff line change 1
- import { IOdpEventManager , OdpEventManager } from '../../../../lib/core/odp/odp_event_manager' ;
1
+ /**
2
+ * Copyright 2023, Optimizely
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+
17
+ import { IOdpEventManager , OdpEventManager } from '../../../core/odp/odp_event_manager' ;
2
18
import { LogLevel } from '../../../modules/logging' ;
3
19
import { OdpEvent } from "../../../core/odp/odp_event" ;
4
20
Original file line number Diff line number Diff line change 1
- import { OdpEvent } from '../../../../lib/core/odp/odp_event' ;
2
- import { IOdpEventManager , OdpEventManager } from '../../../../lib/core/odp/odp_event_manager' ;
3
- import { LogLevel } from '../../../../lib/modules/logging' ;
1
+ /**
2
+ * Copyright 2023, Optimizely
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+
17
+ import { OdpEvent } from '../../../core/odp/odp_event' ;
18
+ import { IOdpEventManager , OdpEventManager } from '../../../core/odp/odp_event_manager' ;
19
+ import { LogLevel } from '../../../modules/logging' ;
4
20
5
21
const DEFAULT_BATCH_SIZE = 10 ;
6
22
const DEFAULT_FLUSH_INTERVAL_MSECS = 1000 ;
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ import {
28
28
} from '../../utils/enums' ;
29
29
30
30
import { OdpManager } from '../../core/odp/odp_manager' ;
31
- import { OdpOptions } from '../../../lib/ shared_types' ;
31
+ import { OdpOptions } from '../../shared_types' ;
32
32
import { NodeOdpEventApiManager } from '../odp/event_api_manager/index.node' ;
33
33
import { NodeOdpEventManager } from '../odp/event_manager/index.node' ;
34
34
import { OdpSegmentManager } from '../../core/odp/odp_segment_manager' ;
You can’t perform that action at this time.
0 commit comments