Skip to content

Commit 14838f7

Browse files
committed
chore: move code into the root directory (#32)
- move code the repo up one level --------- Signed-off-by: Jeremy Andrews <[email protected]>
1 parent 6a233df commit 14838f7

34 files changed

+24
-3946
lines changed

lib/feature_provider.dart

+15
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,11 @@ enum ProviderState {
1111
DEGRADED,
1212
RECONNECTING,
1313
PLUGIN_ERROR,
14+
<<<<<<< HEAD
1415
MAINTENANCE,
16+
=======
17+
MAINTENANCE
18+
>>>>>>> ba2a59e (chore: move code into the root directory (#32))
1519
}
1620

1721
/// Provider configuration
@@ -118,7 +122,11 @@ class InMemoryProvider implements FeatureProvider {
118122
final ProviderConfig _config;
119123

120124
InMemoryProvider(this._flags, [ProviderConfig? config])
125+
<<<<<<< HEAD
121126
: _config = config ?? const ProviderConfig();
127+
=======
128+
: _config = config ?? const ProviderConfig();
129+
>>>>>>> ba2a59e (chore: move code into the root directory (#32))
122130

123131
@override
124132
String get name => 'InMemoryProvider';
@@ -257,4 +265,11 @@ abstract class CommercialProvider implements FeatureProvider {
257265
ProviderState get state => _state;
258266

259267
// HTTP request implementation template
268+
<<<<<<< HEAD
269+
=======
270+
Future<dynamic> _makeRequest(String path,
271+
{Map<String, dynamic>? params}) async {
272+
throw UnimplementedError('_makeRequest must be implemented by child class');
273+
}
274+
>>>>>>> ba2a59e (chore: move code into the root directory (#32))
260275
}

lib/transaction_context.dart

+9
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,21 @@ class TransactionContext {
3535
/// Transaction context manager
3636
class TransactionContextManager {
3737
static final TransactionContextManager _instance =
38+
<<<<<<< HEAD
3839
TransactionContextManager._internal(Duration(minutes: 5));
40+
=======
41+
TransactionContextManager._internal();
42+
>>>>>>> ba2a59e (chore: move code into the root directory (#32))
3943
final _contexts = <String, TransactionContext>{};
4044
final _contextStack = <String>[];
4145
final Duration _defaultTimeout;
4246

47+
<<<<<<< HEAD
4348
TransactionContextManager._internal(this._defaultTimeout);
49+
=======
50+
TransactionContextManager._internal(
51+
[this._defaultTimeout = const Duration(minutes: 30)]);
52+
>>>>>>> ba2a59e (chore: move code into the root directory (#32))
4453

4554
factory TransactionContextManager() => _instance;
4655

open-feature-dart-server-sdk/CHANGELOG.md

-8
This file was deleted.

open-feature-dart-server-sdk/README.md

-3
This file was deleted.

open-feature-dart-server-sdk/lib/client.dart

-242
This file was deleted.

open-feature-dart-server-sdk/lib/domain.dart

-55
This file was deleted.

0 commit comments

Comments
 (0)