@icedevml/react-native-host-card-emulation 0.6.2 → 0.6.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,5 @@
1
- import type {TurboModule, CodegenTypes} from 'react-native';
1
+ import type {TurboModule} from 'react-native';
2
+ import type {EventEmitter} from 'react-native/Libraries/Types/CodegenTypes';
2
3
  import {TurboModuleRegistry} from 'react-native';
3
4
 
4
5
  export type HCEModuleEventType =
@@ -112,14 +113,14 @@ export interface Spec extends TurboModule {
112
113
  /**
113
114
  * Event handler for foreground HCE interactions.
114
115
  */
115
- readonly onEvent: CodegenTypes.EventEmitter<HCEModuleEvent>;
116
+ readonly onEvent: EventEmitter<HCEModuleEvent>;
116
117
 
117
118
  /**
118
119
  * Event handler for background HCE interactions.
119
120
  * NOTE: Don't subscribe to that handler directly, use wrapper hceBackground.ts:createBackgroundHCE.
120
121
  * See demo app or README.md for example wrapper usage.
121
122
  */
122
- readonly onBackgroundEvent: CodegenTypes.EventEmitter<HCEModuleBackgroundEvent>;
123
+ readonly onBackgroundEvent: EventEmitter<HCEModuleBackgroundEvent>;
123
124
  }
124
125
 
125
126
  export default TurboModuleRegistry.getEnforcing<Spec>(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@icedevml/react-native-host-card-emulation",
3
- "version": "0.6.2",
3
+ "version": "0.6.3",
4
4
  "description": "Host Card Emulation (HCE) React Native Turbo Module for iOS and Android platforms.",
5
5
  "react-native": "js/index",
6
6
  "source": "js/index",