@onekeyfe/hd-ble-sdk 1.1.19-alpha.0 → 1.1.19-alpha.2
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/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -5
- package/package.json +5 -5
- package/src/index.ts +1 -6
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAwBA,OAAO,EAA0B,QAAQ,EAAqB,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAwBA,OAAO,EAA0B,QAAQ,EAAqB,MAAM,qBAAqB,CAAC;AAS1F,eAAO,MAAM,eAAe,EAAE;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,QAAQ,CAAC,GAAG,CAAC,CAAA;CAAO,CAAC;AAgJpE,QAAA,MAAM,cAAc,qCASlB,CAAC;AAEH,eAAe,cAAc,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -518,11 +518,7 @@ function eventTargetAgnosticAddListener(emitter, name, listener, flags) {
|
|
|
518
518
|
}
|
|
519
519
|
|
|
520
520
|
const eventEmitter = new events.exports();
|
|
521
|
-
const Log = HardwareSdk.getLogger(HardwareSdk.LoggerNames.HdBleSdk)
|
|
522
|
-
debug: (..._args) => { },
|
|
523
|
-
log: (..._args) => { },
|
|
524
|
-
error: (..._args) => { },
|
|
525
|
-
};
|
|
521
|
+
const Log = HardwareSdk.getLogger(HardwareSdk.LoggerNames.HdBleSdk);
|
|
526
522
|
let _core;
|
|
527
523
|
let _settings = HardwareSdk.parseConnectSettings();
|
|
528
524
|
let _messageID = 0;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@onekeyfe/hd-ble-sdk",
|
|
3
|
-
"version": "1.1.19-alpha.
|
|
3
|
+
"version": "1.1.19-alpha.2",
|
|
4
4
|
"author": "OneKey",
|
|
5
5
|
"homepage": "https://github.com/OneKeyHQ/hardware-js-sdk#readme",
|
|
6
6
|
"license": "ISC",
|
|
@@ -20,9 +20,9 @@
|
|
|
20
20
|
"lint:fix": "eslint . --fix"
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@onekeyfe/hd-core": "1.1.19-alpha.
|
|
24
|
-
"@onekeyfe/hd-shared": "1.1.19-alpha.
|
|
25
|
-
"@onekeyfe/hd-transport-react-native": "1.1.19-alpha.
|
|
23
|
+
"@onekeyfe/hd-core": "1.1.19-alpha.2",
|
|
24
|
+
"@onekeyfe/hd-shared": "1.1.19-alpha.2",
|
|
25
|
+
"@onekeyfe/hd-transport-react-native": "1.1.19-alpha.2"
|
|
26
26
|
},
|
|
27
|
-
"gitHead": "
|
|
27
|
+
"gitHead": "fb0244c624d5546c09262f366ef090f5fa906d03"
|
|
28
28
|
}
|
package/src/index.ts
CHANGED
|
@@ -26,12 +26,7 @@ import { ERRORS, createDeferred, Deferred, HardwareErrorCode } from '@onekeyfe/h
|
|
|
26
26
|
import ReactNativeTransport from '@onekeyfe/hd-transport-react-native';
|
|
27
27
|
|
|
28
28
|
const eventEmitter = new EventEmitter();
|
|
29
|
-
const Log =
|
|
30
|
-
debug: (..._args: any[]) => {},
|
|
31
|
-
log: (..._args: any[]) => {},
|
|
32
|
-
error: (..._args: any[]) => {},
|
|
33
|
-
};
|
|
34
|
-
|
|
29
|
+
const Log = getLogger(LoggerNames.HdBleSdk);
|
|
35
30
|
let _core: Core | undefined;
|
|
36
31
|
let _settings = parseConnectSettings();
|
|
37
32
|
|