|
| 1 | +/** |
| 2 | + * Copyright 2025, 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 | + * https://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 | + */ |
1 | 16 | import { |
2 | | - createInstance, |
3 | | - createStaticProjectConfigManager, |
4 | | - createPollingProjectConfigManager, |
5 | | - createForwardingEventProcessor, |
6 | 17 | createBatchEventProcessor, |
| 18 | + createErrorNotifier, |
| 19 | + createForwardingEventProcessor, |
| 20 | + createInstance, |
| 21 | + createLogger, |
7 | 22 | createOdpManager, |
| 23 | + createPollingProjectConfigManager, |
| 24 | + createStaticProjectConfigManager, |
8 | 25 | createVuidManager, |
9 | | - createLogger, |
10 | | - createErrorNotifier, |
11 | | - getSendBeaconEventDispatcher, |
12 | 26 | eventDispatcher, |
13 | 27 | INFO, |
14 | 28 | NOTIFICATION_TYPES, |
15 | 29 | type Client, |
16 | 30 | type Config, |
| 31 | + type DecisionNotificationPayload, |
| 32 | + type ErrorHandler, |
| 33 | + type EventDispatcher, |
| 34 | + type LogHandler, |
17 | 35 | type OpaqueConfigManager, |
| 36 | + type OpaqueErrorNotifier, |
18 | 37 | type OpaqueEventProcessor, |
| 38 | + type OpaqueLogger, |
19 | 39 | type OpaqueOdpManager, |
20 | 40 | type OpaqueVuidManager, |
21 | | - type OpaqueLogger, |
22 | | - type OpaqueErrorNotifier, |
23 | | - type EventDispatcher, |
24 | 41 | type OptimizelyDecision, |
25 | 42 | type OptimizelyUserContext, |
26 | | - type DecisionNotificationPayload, |
27 | | - type UserAttributes, |
28 | | - type ErrorHandler, |
29 | | - type LogHandler, |
| 43 | + type UserAttributes |
30 | 44 | } from '@optimizely/optimizely-sdk'; |
31 | 45 | import * as fs from 'fs'; |
32 | 46 | import * as path from 'path'; |
33 | | -import { fileURLToPath } from 'url'; |
34 | 47 | import { dirname } from 'path'; |
| 48 | +import { fileURLToPath } from 'url'; |
35 | 49 |
|
36 | 50 | const __filename: string = fileURLToPath(import.meta.url); |
37 | 51 | const __dirname: string = dirname(__filename); |
|
0 commit comments