@onekeyfe/hd-web-sdk 0.2.6 → 0.2.8
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/build/data/messages/messages.json +110 -1
- package/build/iframe.html +1 -1
- package/build/js/iframe.5cdf9f2b252ee72155b1.js +3 -0
- package/build/js/{iframe.e162166654afe2b43e26.js.LICENSE.txt → iframe.5cdf9f2b252ee72155b1.js.LICENSE.txt} +0 -0
- package/build/js/iframe.5cdf9f2b252ee72155b1.js.map +1 -0
- package/build/onekey-js-sdk.js +334 -4
- package/build/onekey-js-sdk.js.map +1 -1
- package/build/onekey-js-sdk.min.js +1 -1
- package/build/onekey-js-sdk.min.js.map +1 -1
- package/package.json +6 -6
- package/build/js/iframe.e162166654afe2b43e26.js +0 -3
- package/build/js/iframe.e162166654afe2b43e26.js.map +0 -1
|
@@ -5591,6 +5591,52 @@
|
|
|
5591
5591
|
"RebootToBootloader": {
|
|
5592
5592
|
"fields": {}
|
|
5593
5593
|
},
|
|
5594
|
+
"RebootToBoardloader": {
|
|
5595
|
+
"fields": {}
|
|
5596
|
+
},
|
|
5597
|
+
"ListResDir": {
|
|
5598
|
+
"fields": {
|
|
5599
|
+
"path": {
|
|
5600
|
+
"rule": "required",
|
|
5601
|
+
"type": "string",
|
|
5602
|
+
"id": 1
|
|
5603
|
+
}
|
|
5604
|
+
}
|
|
5605
|
+
},
|
|
5606
|
+
"FileInfoList": {
|
|
5607
|
+
"fields": {
|
|
5608
|
+
"files": {
|
|
5609
|
+
"rule": "repeated",
|
|
5610
|
+
"type": "FileInfo",
|
|
5611
|
+
"id": 1
|
|
5612
|
+
}
|
|
5613
|
+
},
|
|
5614
|
+
"nested": {
|
|
5615
|
+
"FileInfo": {
|
|
5616
|
+
"fields": {
|
|
5617
|
+
"name": {
|
|
5618
|
+
"rule": "required",
|
|
5619
|
+
"type": "string",
|
|
5620
|
+
"id": 1
|
|
5621
|
+
},
|
|
5622
|
+
"size": {
|
|
5623
|
+
"rule": "required",
|
|
5624
|
+
"type": "uint64",
|
|
5625
|
+
"id": 2
|
|
5626
|
+
}
|
|
5627
|
+
}
|
|
5628
|
+
}
|
|
5629
|
+
}
|
|
5630
|
+
},
|
|
5631
|
+
"DeviceEraseSector": {
|
|
5632
|
+
"fields": {
|
|
5633
|
+
"sector": {
|
|
5634
|
+
"rule": "required",
|
|
5635
|
+
"type": "uint32",
|
|
5636
|
+
"id": 1
|
|
5637
|
+
}
|
|
5638
|
+
}
|
|
5639
|
+
},
|
|
5594
5640
|
"MoneroTransactionSourceEntry": {
|
|
5595
5641
|
"fields": {
|
|
5596
5642
|
"outputs": {
|
|
@@ -7724,6 +7770,61 @@
|
|
|
7724
7770
|
}
|
|
7725
7771
|
}
|
|
7726
7772
|
},
|
|
7773
|
+
"SuiGetAddress": {
|
|
7774
|
+
"fields": {
|
|
7775
|
+
"address_n": {
|
|
7776
|
+
"rule": "repeated",
|
|
7777
|
+
"type": "uint32",
|
|
7778
|
+
"id": 1,
|
|
7779
|
+
"options": {
|
|
7780
|
+
"packed": false
|
|
7781
|
+
}
|
|
7782
|
+
},
|
|
7783
|
+
"show_display": {
|
|
7784
|
+
"type": "bool",
|
|
7785
|
+
"id": 2
|
|
7786
|
+
}
|
|
7787
|
+
}
|
|
7788
|
+
},
|
|
7789
|
+
"SuiAddress": {
|
|
7790
|
+
"fields": {
|
|
7791
|
+
"address": {
|
|
7792
|
+
"type": "string",
|
|
7793
|
+
"id": 1
|
|
7794
|
+
}
|
|
7795
|
+
}
|
|
7796
|
+
},
|
|
7797
|
+
"SuiSignTx": {
|
|
7798
|
+
"fields": {
|
|
7799
|
+
"address_n": {
|
|
7800
|
+
"rule": "repeated",
|
|
7801
|
+
"type": "uint32",
|
|
7802
|
+
"id": 1,
|
|
7803
|
+
"options": {
|
|
7804
|
+
"packed": false
|
|
7805
|
+
}
|
|
7806
|
+
},
|
|
7807
|
+
"raw_tx": {
|
|
7808
|
+
"rule": "required",
|
|
7809
|
+
"type": "bytes",
|
|
7810
|
+
"id": 2
|
|
7811
|
+
}
|
|
7812
|
+
}
|
|
7813
|
+
},
|
|
7814
|
+
"SuiSignedTx": {
|
|
7815
|
+
"fields": {
|
|
7816
|
+
"public_key": {
|
|
7817
|
+
"rule": "required",
|
|
7818
|
+
"type": "bytes",
|
|
7819
|
+
"id": 1
|
|
7820
|
+
},
|
|
7821
|
+
"signature": {
|
|
7822
|
+
"rule": "required",
|
|
7823
|
+
"type": "bytes",
|
|
7824
|
+
"id": 2
|
|
7825
|
+
}
|
|
7826
|
+
}
|
|
7827
|
+
},
|
|
7727
7828
|
"TezosGetAddress": {
|
|
7728
7829
|
"fields": {
|
|
7729
7830
|
"address_n": {
|
|
@@ -8721,6 +8822,10 @@
|
|
|
8721
8822
|
"MessageType_AlgorandAddress": 10901,
|
|
8722
8823
|
"MessageType_AlgorandSignTx": 10902,
|
|
8723
8824
|
"MessageType_AlgorandSignedTx": 10903,
|
|
8825
|
+
"MessageType_SuiGetAddress": 11100,
|
|
8826
|
+
"MessageType_SuiAddress": 11101,
|
|
8827
|
+
"MessageType_SuiSignTx": 11102,
|
|
8828
|
+
"MessageType_SuiSignedTx": 11103,
|
|
8724
8829
|
"MessageType_DeviceBackToBoot": 903,
|
|
8725
8830
|
"MessageType_DeviceInfoSettings": 10001,
|
|
8726
8831
|
"MessageType_GetDeviceInfo": 10002,
|
|
@@ -8741,7 +8846,11 @@
|
|
|
8741
8846
|
"MessageType_ZoomRequest": 10019,
|
|
8742
8847
|
"MessageType_ResourceRequest": 10020,
|
|
8743
8848
|
"MessageType_ResourceAck": 10021,
|
|
8744
|
-
"MessageType_ResourceUpdate": 10022
|
|
8849
|
+
"MessageType_ResourceUpdate": 10022,
|
|
8850
|
+
"MessageType_ListResDir": 10023,
|
|
8851
|
+
"MessageType_FileInfoList": 10024,
|
|
8852
|
+
"MessageType_RebootToBoardloader": 10025,
|
|
8853
|
+
"MessageType_DeviceEraseSector": 10026
|
|
8745
8854
|
}
|
|
8746
8855
|
},
|
|
8747
8856
|
"google": {
|
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.
|
|
27
|
+
iframeScript.setAttribute('src', './js/iframe.5cdf9f2b252ee72155b1.js');
|
|
28
28
|
iframeScript.setAttribute('async', 'false');
|
|
29
29
|
document.body.appendChild(iframeScript);
|
|
30
30
|
</script>
|