fix: restore smartshare library

This commit is contained in:
Paolo Miguel de Leon
2022-07-15 14:48:25 +08:00
parent f720bd3d94
commit d1d775228e
7 changed files with 27 additions and 12 deletions

View File

@@ -2,7 +2,7 @@ import { EmitterSubscription } from 'react-native';
import { BluetoothState } from 'react-native-bluetooth-state-manager';
declare module '@idpass/smartshare-react-native' {
class BluetoothApi {
class IdpassSmartshare {
getConnectionParameters: () => string;
setConnectionParameters: (params: string) => void;
@@ -47,7 +47,7 @@ declare module '@idpass/smartshare-react-native' {
pk: string;
}
export = new BluetoothApi();
export = new IdpassSmartshare();
}
declare module 'react-native-bluetooth-state-manager' {