@onekeyfe/hd-web-sdk 0.2.56 → 0.3.0

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/README.md CHANGED
@@ -19,7 +19,7 @@ yarn add @onekeyfe/hd-web-sdk
19
19
  ## Initialization
20
20
 
21
21
  ```javascript
22
- import HardwareSDK from '@onekeyfe/hd-web-sdk';
22
+ import { HardwareSDK } from '@onekeyfe/hd-web-sdk';
23
23
 
24
24
  function init() {
25
25
  HardwareSDK.init({
@@ -32,6 +32,3 @@ function init() {
32
32
  ## Docs
33
33
 
34
34
  Documentation is available [hardware-js-sdk](https://developer.onekey.so/connect-to-hardware/hardware-sdk/start)
35
-
36
- ## Examples
37
- // TODO: add example url
package/build/iframe.html CHANGED
@@ -24,7 +24,7 @@
24
24
 
25
25
  const iframeScript = document.createElement('script');
26
26
  iframeScript.setAttribute('type', 'text/javascript');
27
- iframeScript.setAttribute('src', './js/iframe.199daae12068b249ffcd.js');
27
+ iframeScript.setAttribute('src', './js/iframe.f8afaa7cbe1ac195dbc5.js');
28
28
  iframeScript.setAttribute('async', 'false');
29
29
  document.body.appendChild(iframeScript);
30
30
  </script>