Skip to content
Prev Previous commit
Next Next commit
fix: revert/discard unneeded changes that were accidentally pushed
  • Loading branch information
pthompson127 committed Jul 28, 2020
commit 382d5e9d93820f725df6846d8a558675cdd7a622
2 changes: 1 addition & 1 deletion packages/datafile-manager/src/datafileManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { PersistentKeyValueCache } from '@optimizely/js-sdk-utils';
import PersistentKeyValueCache from './persistentKeyValueCache';

export interface DatafileUpdate {
datafile: string;
Expand Down
3 changes: 2 additions & 1 deletion packages/datafile-manager/src/httpPollingDatafileManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,13 @@
*/

import { getLogger } from '@optimizely/js-sdk-logging';
import { sprintf, PersistentKeyValueCache } from '@optimizely/js-sdk-utils';
import { sprintf } from '@optimizely/js-sdk-utils';
import { DatafileManager, DatafileManagerConfig, DatafileUpdate } from './datafileManager';
import EventEmitter, { Disposer } from './eventEmitter';
import { AbortableRequest, Response, Headers } from './http';
import { DEFAULT_UPDATE_INTERVAL, MIN_UPDATE_INTERVAL, DEFAULT_URL_TEMPLATE } from './config';
import BackoffController from './backoffController';
import PersistentKeyValueCache from './persistentKeyValueCache';

const logger = getLogger('DatafileManager');

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import { makeGetRequest } from './browserRequest';
import HttpPollingDatafileManager from './httpPollingDatafileManager';
import { Headers, AbortableRequest } from './http';
import { DatafileManagerConfig } from './datafileManager';
import { ReactNativeAsyncStorageCache } from '@optimizely/js-sdk-utils';
import ReactNativeAsyncStorageCache from './reactNativeAsyncStorageCache';

export default class ReactNativeDatafileManager extends HttpPollingDatafileManager {
protected makeGetRequest(reqUrl: string, headers: Headers): AbortableRequest {
Expand Down