/*
 * Copyright © Dynamsoft Corporation. All rights reserved.
 */

#import "RNDynamsoftVersions.h"
#import <DynamsoftCaptureVisionBundle/DynamsoftCaptureVisionBundle.h>

@implementation RNDynamsoftVersions

RCT_EXPORT_MODULE(DynamsoftVersionsModule)

- (NSDictionary *)constantsToExport {
    return @{ @"versions": @{ @"core":[DSCoreModule getVersion],
                              @"cvr":[DSCaptureVisionRouterModule getVersion],
                              @"license":[DSLicenseModule getVersion],
                              @"dce":[DSCameraEnhancerModule getVersion],
                              @"dbr":[DSBarcodeReaderModule getVersion],
                              @"dlr":[DSLabelRecognizerModule getVersion],
                              @"ddn":[DSDocumentNormalizerModule getVersion],
                              @"dnn":[DSNeuralNetworkModule getVersion],
                              @"utility":[DSUtilityModule getVersion],
                              @"dcp":[DSCodeParserModule getVersion],
                              @"dcpd":[DSCodeParserDedicatorModule getVersion],
                              @"dip":[DSImageProcessingModule getVersion] } };
}

@end
