@onekeyfe/hd-web-sdk 0.1.57 → 0.1.59

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.
@@ -1,5 +1,55 @@
1
1
  {
2
2
  "nested": {
3
+ "AlgorandGetAddress": {
4
+ "fields": {
5
+ "address_n": {
6
+ "rule": "repeated",
7
+ "type": "uint32",
8
+ "id": 1,
9
+ "options": {
10
+ "packed": false
11
+ }
12
+ },
13
+ "show_display": {
14
+ "type": "bool",
15
+ "id": 3
16
+ }
17
+ }
18
+ },
19
+ "AlgorandAddress": {
20
+ "fields": {
21
+ "address": {
22
+ "type": "string",
23
+ "id": 1
24
+ }
25
+ }
26
+ },
27
+ "AlgorandSignTx": {
28
+ "fields": {
29
+ "address_n": {
30
+ "rule": "repeated",
31
+ "type": "uint32",
32
+ "id": 1,
33
+ "options": {
34
+ "packed": false
35
+ }
36
+ },
37
+ "raw_tx": {
38
+ "rule": "required",
39
+ "type": "bytes",
40
+ "id": 2
41
+ }
42
+ }
43
+ },
44
+ "AlgorandSignedTx": {
45
+ "fields": {
46
+ "signature": {
47
+ "rule": "required",
48
+ "type": "bytes",
49
+ "id": 1
50
+ }
51
+ }
52
+ },
3
53
  "AptosGetAddress": {
4
54
  "fields": {
5
55
  "address_n": {
@@ -55,6 +105,65 @@
55
105
  }
56
106
  }
57
107
  },
108
+ "AptosSignMessage": {
109
+ "fields": {
110
+ "address_n": {
111
+ "rule": "repeated",
112
+ "type": "uint32",
113
+ "id": 1,
114
+ "options": {
115
+ "packed": false
116
+ }
117
+ },
118
+ "payload": {
119
+ "rule": "required",
120
+ "type": "AptosMessagePayload",
121
+ "id": 2
122
+ }
123
+ },
124
+ "nested": {
125
+ "AptosMessagePayload": {
126
+ "fields": {
127
+ "address": {
128
+ "type": "string",
129
+ "id": 2
130
+ },
131
+ "chain_id": {
132
+ "type": "string",
133
+ "id": 3
134
+ },
135
+ "application": {
136
+ "type": "string",
137
+ "id": 4
138
+ },
139
+ "nonce": {
140
+ "rule": "required",
141
+ "type": "string",
142
+ "id": 5
143
+ },
144
+ "message": {
145
+ "rule": "required",
146
+ "type": "string",
147
+ "id": 6
148
+ }
149
+ }
150
+ }
151
+ }
152
+ },
153
+ "AptosMessageSignature": {
154
+ "fields": {
155
+ "signature": {
156
+ "rule": "required",
157
+ "type": "bytes",
158
+ "id": 1
159
+ },
160
+ "address": {
161
+ "rule": "required",
162
+ "type": "string",
163
+ "id": 2
164
+ }
165
+ }
166
+ },
58
167
  "BinanceGetAddress": {
59
168
  "fields": {
60
169
  "address_n": {
@@ -2827,6 +2936,60 @@
2827
2936
  }
2828
2937
  }
2829
2938
  },
2939
+ "CosmosGetAddress": {
2940
+ "fields": {
2941
+ "address_n": {
2942
+ "rule": "repeated",
2943
+ "type": "uint32",
2944
+ "id": 1,
2945
+ "options": {
2946
+ "packed": false
2947
+ }
2948
+ },
2949
+ "hrp": {
2950
+ "type": "string",
2951
+ "id": 2
2952
+ },
2953
+ "show_display": {
2954
+ "type": "bool",
2955
+ "id": 3
2956
+ }
2957
+ }
2958
+ },
2959
+ "CosmosAddress": {
2960
+ "fields": {
2961
+ "address": {
2962
+ "type": "string",
2963
+ "id": 1
2964
+ }
2965
+ }
2966
+ },
2967
+ "CosmosSignTx": {
2968
+ "fields": {
2969
+ "address_n": {
2970
+ "rule": "repeated",
2971
+ "type": "uint32",
2972
+ "id": 1,
2973
+ "options": {
2974
+ "packed": false
2975
+ }
2976
+ },
2977
+ "raw_tx": {
2978
+ "rule": "required",
2979
+ "type": "bytes",
2980
+ "id": 2
2981
+ }
2982
+ }
2983
+ },
2984
+ "CosmosSignedTx": {
2985
+ "fields": {
2986
+ "signature": {
2987
+ "rule": "required",
2988
+ "type": "bytes",
2989
+ "id": 1
2990
+ }
2991
+ }
2992
+ },
2830
2993
  "CipherKeyValue": {
2831
2994
  "fields": {
2832
2995
  "address_n": {
@@ -8508,6 +8671,8 @@
8508
8671
  "MessageType_AptosAddress": 10601,
8509
8672
  "MessageType_AptosSignTx": 10602,
8510
8673
  "MessageType_AptosSignedTx": 10603,
8674
+ "MessageType_AptosSignMessage": 10604,
8675
+ "MessageType_AptosMessageSignature": 10605,
8511
8676
  "MessageType_WebAuthnListResidentCredentials": 800,
8512
8677
  "MessageType_WebAuthnCredentials": 801,
8513
8678
  "MessageType_WebAuthnAddResidentCredential": 802,
@@ -8548,6 +8713,14 @@
8548
8713
  "MessageType_NearAddress": 10702,
8549
8714
  "MessageType_NearSignTx": 10703,
8550
8715
  "MessageType_NearSignedTx": 10704,
8716
+ "MessageType_CosmosGetAddress": 10800,
8717
+ "MessageType_CosmosAddress": 10801,
8718
+ "MessageType_CosmosSignTx": 10802,
8719
+ "MessageType_CosmosSignedTx": 10803,
8720
+ "MessageType_AlgorandGetAddress": 10900,
8721
+ "MessageType_AlgorandAddress": 10901,
8722
+ "MessageType_AlgorandSignTx": 10902,
8723
+ "MessageType_AlgorandSignedTx": 10903,
8551
8724
  "MessageType_DeviceBackToBoot": 903,
8552
8725
  "MessageType_DeviceInfoSettings": 10001,
8553
8726
  "MessageType_GetDeviceInfo": 10002,
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.d7e734522cce67a6c71c.js');
27
+ iframeScript.setAttribute('src', './js/iframe.36966284354c2b9823e0.js');
28
28
  iframeScript.setAttribute('async', 'false');
29
29
  document.body.appendChild(iframeScript);
30
30
  </script>