@ledgerhq/device-transport-kit-react-native-hid 0.0.0-develop-20250415001140 → 0.0.0-develop-20250415155309
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.
- package/android/src/main/kotlin/com/ledger/androidtransporthid/TransportHidModule.kt +3 -3
- package/lib/cjs/api/bridge/NativeTransportModule.js +1 -1
- package/lib/cjs/api/bridge/NativeTransportModule.js.map +1 -1
- package/lib/cjs/package.json +6 -1
- package/lib/esm/api/bridge/NativeTransportModule.js +1 -1
- package/lib/esm/api/bridge/NativeTransportModule.js.map +1 -1
- package/lib/esm/package.json +6 -1
- package/lib/types/api/bridge/NativeTransportModule.d.ts.map +1 -1
- package/lib/types/tsconfig.prod.tsbuildinfo +1 -1
- package/package.json +9 -4
- package/android/gradle/wrapper/gradle-wrapper.jar +0 -0
- package/android/gradle/wrapper/gradle-wrapper.properties +0 -7
- package/android/gradlew +0 -252
- package/android/gradlew.bat +0 -94
|
@@ -38,7 +38,7 @@ class TransportHidModule(
|
|
|
38
38
|
private val coroutineScope: CoroutineScope
|
|
39
39
|
) :
|
|
40
40
|
ReactContextBaseJavaModule(reactContext), LifecycleEventListener {
|
|
41
|
-
override fun getName(): String = "
|
|
41
|
+
override fun getName(): String = "LDMKTransportHIDModule"
|
|
42
42
|
|
|
43
43
|
private var usbPermissionReceiver: UsbPermissionReceiver? = null
|
|
44
44
|
private var usbAttachedReceiverController: UsbAttachedReceiverController? = null
|
|
@@ -47,7 +47,7 @@ class TransportHidModule(
|
|
|
47
47
|
private var eventDispatcherListeningJob: Job
|
|
48
48
|
private val loggerService: LoggerService =
|
|
49
49
|
LoggerService { info ->
|
|
50
|
-
Timber.tag("
|
|
50
|
+
Timber.tag("LDMKTransportHIDModule " + info.tag).d(info.message)
|
|
51
51
|
sendEvent(reactContext, BridgeEvents.TransportLog(info))
|
|
52
52
|
}
|
|
53
53
|
|
|
@@ -238,4 +238,4 @@ class TransportHidModule(
|
|
|
238
238
|
fun removeListeners(count: Int) {
|
|
239
239
|
// Nothing to do in our case, but React Native will issue a warning if this isn't implemented
|
|
240
240
|
}
|
|
241
|
-
}
|
|
241
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var p=Object.defineProperty;var
|
|
1
|
+
"use strict";var p=Object.defineProperty;var i=Object.getOwnPropertyDescriptor;var M=Object.getOwnPropertyNames;var T=Object.prototype.hasOwnProperty;var d=(e,o)=>{for(var r in o)p(e,r,{get:o[r],enumerable:!0})},l=(e,o,r,a)=>{if(o&&typeof o=="object"||typeof o=="function")for(let t of M(o))!T.call(e,t)&&t!==r&&p(e,t,{get:()=>o[t],enumerable:!(a=i(o,t))||a.enumerable});return e};var n=e=>l(p({},"__esModule",{value:!0}),e);var m={};d(m,{NativeTransportModule:()=>u});module.exports=n(m);var s=require("react-native");const u=s.NativeModules.LDMKTransportHIDModule;0&&(module.exports={NativeTransportModule});
|
|
2
2
|
//# sourceMappingURL=NativeTransportModule.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../src/api/bridge/NativeTransportModule.ts"],
|
|
4
|
-
"sourcesContent": ["import { NativeModules } from \"react-native\";\n\nimport type { NativeTransportModuleType } from \"./types\";\n\n// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\nexport const NativeTransportModule: NativeTransportModuleType =\n NativeModules[\"
|
|
4
|
+
"sourcesContent": ["import { NativeModules } from \"react-native\";\n\nimport type { NativeTransportModuleType } from \"./types\";\n\n// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\nexport const NativeTransportModule: NativeTransportModuleType =\n NativeModules[\"LDMKTransportHIDModule\"];\n"],
|
|
5
5
|
"mappings": "yaAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,2BAAAE,IAAA,eAAAC,EAAAH,GAAA,IAAAI,EAA8B,wBAKvB,MAAMF,EACX,gBAAc",
|
|
6
6
|
"names": ["NativeTransportModule_exports", "__export", "NativeTransportModule", "__toCommonJS", "import_react_native"]
|
|
7
7
|
}
|
package/lib/cjs/package.json
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{NativeModules as o}from"react-native";const t=o.
|
|
1
|
+
import{NativeModules as o}from"react-native";const t=o.LDMKTransportHIDModule;export{t as NativeTransportModule};
|
|
2
2
|
//# sourceMappingURL=NativeTransportModule.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../src/api/bridge/NativeTransportModule.ts"],
|
|
4
|
-
"sourcesContent": ["import { NativeModules } from \"react-native\";\n\nimport type { NativeTransportModuleType } from \"./types\";\n\n// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\nexport const NativeTransportModule: NativeTransportModuleType =\n NativeModules[\"
|
|
4
|
+
"sourcesContent": ["import { NativeModules } from \"react-native\";\n\nimport type { NativeTransportModuleType } from \"./types\";\n\n// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\nexport const NativeTransportModule: NativeTransportModuleType =\n NativeModules[\"LDMKTransportHIDModule\"];\n"],
|
|
5
5
|
"mappings": "AAAA,OAAS,iBAAAA,MAAqB,eAKvB,MAAMC,EACXD,EAAc",
|
|
6
6
|
"names": ["NativeModules", "NativeTransportModule"]
|
|
7
7
|
}
|
package/lib/esm/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NativeTransportModule.d.ts","sourceRoot":"","sources":["../../../../src/api/bridge/NativeTransportModule.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,SAAS,CAAC;AAGzD,eAAO,MAAM,qBAAqB,EAAE,
|
|
1
|
+
{"version":3,"file":"NativeTransportModule.d.ts","sourceRoot":"","sources":["../../../../src/api/bridge/NativeTransportModule.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,SAAS,CAAC;AAGzD,eAAO,MAAM,qBAAqB,EAAE,yBACK,CAAC"}
|