@onekeyfe/hd-web-sdk 0.2.8 → 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.
- package/build/data/messages/messages.json +107 -68
- package/build/iframe.html +1 -1
- package/build/js/iframe.8c60e46473a94b579154.js +3 -0
- package/build/js/{iframe.5cdf9f2b252ee72155b1.js.LICENSE.txt → iframe.8c60e46473a94b579154.js.LICENSE.txt} +0 -0
- package/build/js/iframe.8c60e46473a94b579154.js.map +1 -0
- package/build/onekey-js-sdk.js +1249 -19
- 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.5cdf9f2b252ee72155b1.js +0 -3
- package/build/js/iframe.5cdf9f2b252ee72155b1.js.map +0 -1
|
@@ -1892,74 +1892,113 @@
|
|
|
1892
1892
|
},
|
|
1893
1893
|
"CardanoSignTxInit": {
|
|
1894
1894
|
"fields": {
|
|
1895
|
-
|
|
1896
|
-
|
|
1897
|
-
|
|
1898
|
-
|
|
1899
|
-
|
|
1900
|
-
|
|
1901
|
-
|
|
1902
|
-
|
|
1903
|
-
|
|
1904
|
-
|
|
1905
|
-
|
|
1906
|
-
|
|
1907
|
-
|
|
1908
|
-
|
|
1909
|
-
|
|
1910
|
-
|
|
1911
|
-
|
|
1912
|
-
|
|
1913
|
-
|
|
1914
|
-
|
|
1915
|
-
|
|
1916
|
-
|
|
1917
|
-
|
|
1918
|
-
|
|
1919
|
-
|
|
1920
|
-
|
|
1921
|
-
|
|
1922
|
-
|
|
1923
|
-
|
|
1924
|
-
|
|
1925
|
-
|
|
1926
|
-
|
|
1927
|
-
|
|
1928
|
-
|
|
1929
|
-
|
|
1930
|
-
|
|
1931
|
-
|
|
1932
|
-
|
|
1933
|
-
|
|
1934
|
-
|
|
1935
|
-
|
|
1936
|
-
|
|
1937
|
-
|
|
1938
|
-
|
|
1939
|
-
|
|
1940
|
-
|
|
1941
|
-
|
|
1942
|
-
|
|
1943
|
-
|
|
1944
|
-
|
|
1945
|
-
|
|
1946
|
-
|
|
1947
|
-
|
|
1948
|
-
|
|
1949
|
-
|
|
1950
|
-
|
|
1951
|
-
|
|
1952
|
-
|
|
1953
|
-
|
|
1954
|
-
|
|
1955
|
-
|
|
1956
|
-
|
|
1957
|
-
|
|
1958
|
-
|
|
1959
|
-
|
|
1960
|
-
|
|
1961
|
-
|
|
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": {
|
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.8c60e46473a94b579154.js');
|
|
28
28
|
iframeScript.setAttribute('async', 'false');
|
|
29
29
|
document.body.appendChild(iframeScript);
|
|
30
30
|
</script>
|