@onekeyfe/hd-web-sdk 0.2.7 → 0.2.9

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.
@@ -1892,74 +1892,113 @@
1892
1892
  },
1893
1893
  "CardanoSignTxInit": {
1894
1894
  "fields": {
1895
- "signing_mode": {
1896
- "rule": "required",
1897
- "type": "CardanoTxSigningMode",
1898
- "id": 1
1899
- },
1900
- "protocol_magic": {
1901
- "rule": "required",
1902
- "type": "uint32",
1903
- "id": 2
1904
- },
1905
- "network_id": {
1906
- "rule": "required",
1907
- "type": "uint32",
1908
- "id": 3
1909
- },
1910
- "inputs_count": {
1911
- "rule": "required",
1912
- "type": "uint32",
1913
- "id": 4
1914
- },
1915
- "outputs_count": {
1916
- "rule": "required",
1917
- "type": "uint32",
1918
- "id": 5
1919
- },
1920
- "fee": {
1921
- "rule": "required",
1922
- "type": "uint64",
1923
- "id": 6
1924
- },
1925
- "ttl": {
1926
- "type": "uint64",
1927
- "id": 7
1928
- },
1929
- "certificates_count": {
1930
- "rule": "required",
1931
- "type": "uint32",
1932
- "id": 8
1933
- },
1934
- "withdrawals_count": {
1935
- "rule": "required",
1936
- "type": "uint32",
1937
- "id": 9
1938
- },
1939
- "has_auxiliary_data": {
1940
- "rule": "required",
1941
- "type": "bool",
1942
- "id": 10
1943
- },
1944
- "validity_interval_start": {
1945
- "type": "uint64",
1946
- "id": 11
1947
- },
1948
- "witness_requests_count": {
1949
- "rule": "required",
1950
- "type": "uint32",
1951
- "id": 12
1952
- },
1953
- "minting_asset_groups_count": {
1954
- "rule": "required",
1955
- "type": "uint32",
1956
- "id": 13
1957
- },
1958
- "derivation_type": {
1959
- "rule": "required",
1960
- "type": "CardanoDerivationType",
1961
- "id": 14
1962
- }
1895
+ "signing_mode": {
1896
+ "rule": "required",
1897
+ "type": "CardanoTxSigningMode",
1898
+ "id": 1
1899
+ },
1900
+ "protocol_magic": {
1901
+ "rule": "required",
1902
+ "type": "uint32",
1903
+ "id": 2
1904
+ },
1905
+ "network_id": {
1906
+ "rule": "required",
1907
+ "type": "uint32",
1908
+ "id": 3
1909
+ },
1910
+ "inputs_count": {
1911
+ "rule": "required",
1912
+ "type": "uint32",
1913
+ "id": 4
1914
+ },
1915
+ "outputs_count": {
1916
+ "rule": "required",
1917
+ "type": "uint32",
1918
+ "id": 5
1919
+ },
1920
+ "fee": {
1921
+ "rule": "required",
1922
+ "type": "uint64",
1923
+ "id": 6
1924
+ },
1925
+ "ttl": {
1926
+ "type": "uint64",
1927
+ "id": 7
1928
+ },
1929
+ "certificates_count": {
1930
+ "rule": "required",
1931
+ "type": "uint32",
1932
+ "id": 8
1933
+ },
1934
+ "withdrawals_count": {
1935
+ "rule": "required",
1936
+ "type": "uint32",
1937
+ "id": 9
1938
+ },
1939
+ "has_auxiliary_data": {
1940
+ "rule": "required",
1941
+ "type": "bool",
1942
+ "id": 10
1943
+ },
1944
+ "validity_interval_start": {
1945
+ "type": "uint64",
1946
+ "id": 11
1947
+ },
1948
+ "witness_requests_count": {
1949
+ "rule": "required",
1950
+ "type": "uint32",
1951
+ "id": 12
1952
+ },
1953
+ "minting_asset_groups_count": {
1954
+ "rule": "required",
1955
+ "type": "uint32",
1956
+ "id": 13
1957
+ },
1958
+ "derivation_type": {
1959
+ "rule": "required",
1960
+ "type": "CardanoDerivationType",
1961
+ "id": 14
1962
+ },
1963
+ "include_network_id": {
1964
+ "type": "bool",
1965
+ "id": 15,
1966
+ "options": {
1967
+ "default": false
1968
+ }
1969
+ },
1970
+ "script_data_hash": {
1971
+ "type": "bytes",
1972
+ "id": 16
1973
+ },
1974
+ "collateral_inputs_count": {
1975
+ "rule": "required",
1976
+ "type": "uint32",
1977
+ "id": 17
1978
+ },
1979
+ "required_signers_count": {
1980
+ "rule": "required",
1981
+ "type": "uint32",
1982
+ "id": 18
1983
+ },
1984
+ "has_collateral_return": {
1985
+ "type": "bool",
1986
+ "id": 19,
1987
+ "options": {
1988
+ "default": false
1989
+ }
1990
+ },
1991
+ "total_collateral": {
1992
+ "type": "uint64",
1993
+ "id": 20
1994
+ },
1995
+ "reference_inputs_count": {
1996
+ "type": "uint32",
1997
+ "id": 21,
1998
+ "options": {
1999
+ "default": 0
2000
+ }
2001
+ }
1963
2002
  }
1964
2003
  },
1965
2004
  "CardanoTxInput": {
@@ -5591,6 +5630,52 @@
5591
5630
  "RebootToBootloader": {
5592
5631
  "fields": {}
5593
5632
  },
5633
+ "RebootToBoardloader": {
5634
+ "fields": {}
5635
+ },
5636
+ "ListResDir": {
5637
+ "fields": {
5638
+ "path": {
5639
+ "rule": "required",
5640
+ "type": "string",
5641
+ "id": 1
5642
+ }
5643
+ }
5644
+ },
5645
+ "FileInfoList": {
5646
+ "fields": {
5647
+ "files": {
5648
+ "rule": "repeated",
5649
+ "type": "FileInfo",
5650
+ "id": 1
5651
+ }
5652
+ },
5653
+ "nested": {
5654
+ "FileInfo": {
5655
+ "fields": {
5656
+ "name": {
5657
+ "rule": "required",
5658
+ "type": "string",
5659
+ "id": 1
5660
+ },
5661
+ "size": {
5662
+ "rule": "required",
5663
+ "type": "uint64",
5664
+ "id": 2
5665
+ }
5666
+ }
5667
+ }
5668
+ }
5669
+ },
5670
+ "DeviceEraseSector": {
5671
+ "fields": {
5672
+ "sector": {
5673
+ "rule": "required",
5674
+ "type": "uint32",
5675
+ "id": 1
5676
+ }
5677
+ }
5678
+ },
5594
5679
  "MoneroTransactionSourceEntry": {
5595
5680
  "fields": {
5596
5681
  "outputs": {
@@ -7724,6 +7809,61 @@
7724
7809
  }
7725
7810
  }
7726
7811
  },
7812
+ "SuiGetAddress": {
7813
+ "fields": {
7814
+ "address_n": {
7815
+ "rule": "repeated",
7816
+ "type": "uint32",
7817
+ "id": 1,
7818
+ "options": {
7819
+ "packed": false
7820
+ }
7821
+ },
7822
+ "show_display": {
7823
+ "type": "bool",
7824
+ "id": 2
7825
+ }
7826
+ }
7827
+ },
7828
+ "SuiAddress": {
7829
+ "fields": {
7830
+ "address": {
7831
+ "type": "string",
7832
+ "id": 1
7833
+ }
7834
+ }
7835
+ },
7836
+ "SuiSignTx": {
7837
+ "fields": {
7838
+ "address_n": {
7839
+ "rule": "repeated",
7840
+ "type": "uint32",
7841
+ "id": 1,
7842
+ "options": {
7843
+ "packed": false
7844
+ }
7845
+ },
7846
+ "raw_tx": {
7847
+ "rule": "required",
7848
+ "type": "bytes",
7849
+ "id": 2
7850
+ }
7851
+ }
7852
+ },
7853
+ "SuiSignedTx": {
7854
+ "fields": {
7855
+ "public_key": {
7856
+ "rule": "required",
7857
+ "type": "bytes",
7858
+ "id": 1
7859
+ },
7860
+ "signature": {
7861
+ "rule": "required",
7862
+ "type": "bytes",
7863
+ "id": 2
7864
+ }
7865
+ }
7866
+ },
7727
7867
  "TezosGetAddress": {
7728
7868
  "fields": {
7729
7869
  "address_n": {
@@ -8721,6 +8861,10 @@
8721
8861
  "MessageType_AlgorandAddress": 10901,
8722
8862
  "MessageType_AlgorandSignTx": 10902,
8723
8863
  "MessageType_AlgorandSignedTx": 10903,
8864
+ "MessageType_SuiGetAddress": 11100,
8865
+ "MessageType_SuiAddress": 11101,
8866
+ "MessageType_SuiSignTx": 11102,
8867
+ "MessageType_SuiSignedTx": 11103,
8724
8868
  "MessageType_DeviceBackToBoot": 903,
8725
8869
  "MessageType_DeviceInfoSettings": 10001,
8726
8870
  "MessageType_GetDeviceInfo": 10002,
@@ -8741,7 +8885,11 @@
8741
8885
  "MessageType_ZoomRequest": 10019,
8742
8886
  "MessageType_ResourceRequest": 10020,
8743
8887
  "MessageType_ResourceAck": 10021,
8744
- "MessageType_ResourceUpdate": 10022
8888
+ "MessageType_ResourceUpdate": 10022,
8889
+ "MessageType_ListResDir": 10023,
8890
+ "MessageType_FileInfoList": 10024,
8891
+ "MessageType_RebootToBoardloader": 10025,
8892
+ "MessageType_DeviceEraseSector": 10026
8745
8893
  }
8746
8894
  },
8747
8895
  "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.4213283e3f22e5567768.js');
27
+ iframeScript.setAttribute('src', './js/iframe.8c60e46473a94b579154.js');
28
28
  iframeScript.setAttribute('async', 'false');
29
29
  document.body.appendChild(iframeScript);
30
30
  </script>