1// Copyright 2015-present 650 Industries. All rights reserved.
2
3#import "EXScopedBridgeModule.h"
4
5@implementation EXScopedBridgeModule
6
7+ (NSString *)moduleName
8{
9  NSAssert(NO, @"EXScopedBridgeModule is abstract, you should only export subclasses to the bridge.");
10  return @"ExponentScopedBridgeModule";
11}
12
13- (instancetype)initWithExperienceStableLegacyId:(NSString *)experienceStableLegacyId
14                              scopeKey:(NSString *)scopeKey
15                           kernelServiceDelegate:(id)kernelServiceInstance
16                                          params:(NSDictionary *)params
17{
18  if (self = [super init]) {
19    _experienceStableLegacyId = experienceStableLegacyId;
20    _scopeKey = scopeKey;
21  }
22  return self;
23}
24
25- (instancetype)initWithExperienceStableLegacyId:(NSString *)experienceStableLegacyId
26                              scopeKey:(NSString *)scopeKey
27                          kernelServiceDelegates:(NSDictionary *)kernelServiceInstances
28                                          params:(NSDictionary *)params
29{
30  if (self = [super init]) {
31    _experienceStableLegacyId = experienceStableLegacyId;
32    _scopeKey = scopeKey;
33  }
34  return self;
35}
36
37@end
38