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 1414 * limitations under the License.
1515 */
1616
17- import { checkArrayEquality } from '../../../lib/ utils/fns' ;
17+ import { checkArrayEquality } from '../../utils/fns' ;
1818
1919export class OdpConfig {
2020 /**
Original file line number Diff line number Diff line change 1515 */
1616
1717import { getLogger } from '../logging' ;
18- import { sprintf } from '../../../lib/ utils/fns' ;
18+ import { sprintf } from '../../utils/fns' ;
1919import { DatafileManager , DatafileManagerConfig , DatafileUpdate } from './datafileManager' ;
2020import EventEmitter , { Disposer } from './eventEmitter' ;
2121import { AbortableRequest , Response , Headers } from './http' ;
@@ -24,7 +24,7 @@ import BackoffController from './backoffController';
2424import PersistentKeyValueCache from './persistentKeyValueCache' ;
2525
2626import { NotificationRegistry } from './../../core/notification_center/notification_registry' ;
27- import { NOTIFICATION_TYPES } from '../../../lib/ utils/enums' ;
27+ import { NOTIFICATION_TYPES } from '../../utils/enums' ;
2828
2929const logger = getLogger ( 'DatafileManager' ) ;
3030
Original file line number Diff line number Diff line change @@ -69,8 +69,6 @@ import {
6969 ODP_USER_KEY ,
7070} from '../utils/enums' ;
7171
72- import { BrowserOdpManager } from '../../lib/plugins/odp_manager/index.browser' ;
73-
7472const MODULE_NAME = 'OPTIMIZELY' ;
7573
7674const DEFAULT_ONREADY_TIMEOUT = 30000 ;
Original file line number Diff line number Diff line change 1313 * See the License for the specific language governing permissions and *
1414 * limitations under the License. *
1515 ***************************************************************************/
16- import Optimizely from '../../lib/ optimizely' ;
16+ import Optimizely from '../optimizely' ;
1717import {
1818 EventTags ,
1919 OptimizelyDecideOption ,
2020 OptimizelyDecision ,
2121 OptimizelyDecisionContext ,
2222 OptimizelyForcedDecision ,
2323 UserAttributes ,
24- } from '../../lib/ shared_types' ;
24+ } from '../shared_types' ;
2525import { CONTROL_ATTRIBUTES } from '../utils/enums' ;
2626import { OptimizelySegmentOption } from '../core/odp/optimizely_segment_option' ;
2727
Original file line number Diff line number Diff line change 11/**
2- * Copyright 2021-2022 , Optimizely
2+ * Copyright 2021-2023 , Optimizely
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License");
55 * you may not use this file except in compliance with the License.
1717import {
1818 EventProcessor ,
1919 ProcessableEvent ,
20- } from '../../../lib/ modules/event_processor' ;
20+ } from '../../modules/event_processor' ;
2121import { NotificationSender } from '../../core/notification_center' ;
2222
2323import { EventDispatcher } from '../../shared_types' ;
Original file line number Diff line number Diff line change 11/**
2- * Copyright 2022, Optimizely
2+ * Copyright 2022-2023 , Optimizely
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License");
55 * you may not use this file except in compliance with the License.
1414 * limitations under the License.
1515 */
1616
17- import { LogTierV1EventProcessor , LocalStoragePendingEventsDispatcher } from '../../../lib/ modules/event_processor/index.react_native' ;
17+ import { LogTierV1EventProcessor , LocalStoragePendingEventsDispatcher } from '../../modules/event_processor/index.react_native' ;
1818
1919export function createEventProcessor (
2020 ...args : ConstructorParameters < typeof LogTierV1EventProcessor >
Original file line number Diff line number Diff line change 11/**
2- * Copyright 2020, 2022, Optimizely
2+ * Copyright 2020, 2022-2023 Optimizely
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License");
55 * you may not use this file except in compliance with the License.
1414 * limitations under the License.
1515 */
1616
17- import { LogTierV1EventProcessor , LocalStoragePendingEventsDispatcher } from '../../../lib/ modules/event_processor' ;
17+ import { LogTierV1EventProcessor , LocalStoragePendingEventsDispatcher } from '../../modules/event_processor' ;
1818
1919export function createEventProcessor (
2020 ...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' ;
218import { LogLevel } from '../../../modules/logging' ;
319import { OdpEvent } from "../../../core/odp/odp_event" ;
420
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' ;
420
521const DEFAULT_BATCH_SIZE = 10 ;
622const DEFAULT_FLUSH_INTERVAL_MSECS = 1000 ;
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ import {
2828} from '../../utils/enums' ;
2929
3030import { OdpManager } from '../../core/odp/odp_manager' ;
31- import { OdpOptions } from '../../../lib/ shared_types' ;
31+ import { OdpOptions } from '../../shared_types' ;
3232import { NodeOdpEventApiManager } from '../odp/event_api_manager/index.node' ;
3333import { NodeOdpEventManager } from '../odp/event_manager/index.node' ;
3434import { OdpSegmentManager } from '../../core/odp/odp_segment_manager' ;
You can’t perform that action at this time.
0 commit comments