@onekeyfe/hd-web-sdk 0.3.14 → 0.3.16
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 +113 -0
- package/build/iframe.html +1 -1
- package/build/js/iframe.766ed2ce264c479dbb27.js +3 -0
- package/build/js/iframe.766ed2ce264c479dbb27.js.map +1 -0
- package/build/onekey-js-sdk.js +4 -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.d52c39c0a861b73374d7.js +0 -3
- package/build/js/iframe.d52c39c0a861b73374d7.js.map +0 -1
- /package/build/js/{iframe.d52c39c0a861b73374d7.js.LICENSE.txt → iframe.766ed2ce264c479dbb27.js.LICENSE.txt} +0 -0
|
@@ -7369,6 +7369,113 @@
|
|
|
7369
7369
|
}
|
|
7370
7370
|
}
|
|
7371
7371
|
},
|
|
7372
|
+
"NexaGetAddress": {
|
|
7373
|
+
"fields": {
|
|
7374
|
+
"address_n": {
|
|
7375
|
+
"rule": "repeated",
|
|
7376
|
+
"type": "uint32",
|
|
7377
|
+
"id": 1,
|
|
7378
|
+
"options": {
|
|
7379
|
+
"packed": false
|
|
7380
|
+
}
|
|
7381
|
+
},
|
|
7382
|
+
"show_display": {
|
|
7383
|
+
"type": "bool",
|
|
7384
|
+
"id": 2
|
|
7385
|
+
},
|
|
7386
|
+
"prefix": {
|
|
7387
|
+
"type": "string",
|
|
7388
|
+
"id": 3,
|
|
7389
|
+
"options": {
|
|
7390
|
+
"default": "nexa"
|
|
7391
|
+
}
|
|
7392
|
+
}
|
|
7393
|
+
}
|
|
7394
|
+
},
|
|
7395
|
+
"NexaAddress": {
|
|
7396
|
+
"fields": {
|
|
7397
|
+
"address": {
|
|
7398
|
+
"rule": "required",
|
|
7399
|
+
"type": "string",
|
|
7400
|
+
"id": 1
|
|
7401
|
+
},
|
|
7402
|
+
"public_key": {
|
|
7403
|
+
"rule": "required",
|
|
7404
|
+
"type": "bytes",
|
|
7405
|
+
"id": 2
|
|
7406
|
+
}
|
|
7407
|
+
}
|
|
7408
|
+
},
|
|
7409
|
+
"NexaSignTx": {
|
|
7410
|
+
"fields": {
|
|
7411
|
+
"address_n": {
|
|
7412
|
+
"rule": "repeated",
|
|
7413
|
+
"type": "uint32",
|
|
7414
|
+
"id": 1,
|
|
7415
|
+
"options": {
|
|
7416
|
+
"packed": false
|
|
7417
|
+
}
|
|
7418
|
+
},
|
|
7419
|
+
"raw_message": {
|
|
7420
|
+
"rule": "required",
|
|
7421
|
+
"type": "bytes",
|
|
7422
|
+
"id": 2
|
|
7423
|
+
},
|
|
7424
|
+
"prefix": {
|
|
7425
|
+
"type": "string",
|
|
7426
|
+
"id": 3,
|
|
7427
|
+
"options": {
|
|
7428
|
+
"default": "nexa"
|
|
7429
|
+
}
|
|
7430
|
+
},
|
|
7431
|
+
"input_count": {
|
|
7432
|
+
"type": "uint32",
|
|
7433
|
+
"id": 4,
|
|
7434
|
+
"options": {
|
|
7435
|
+
"default": 1
|
|
7436
|
+
}
|
|
7437
|
+
}
|
|
7438
|
+
}
|
|
7439
|
+
},
|
|
7440
|
+
"NexaTxInputRequest": {
|
|
7441
|
+
"fields": {
|
|
7442
|
+
"request_index": {
|
|
7443
|
+
"rule": "required",
|
|
7444
|
+
"type": "uint32",
|
|
7445
|
+
"id": 1
|
|
7446
|
+
},
|
|
7447
|
+
"signature": {
|
|
7448
|
+
"type": "bytes",
|
|
7449
|
+
"id": 2
|
|
7450
|
+
}
|
|
7451
|
+
}
|
|
7452
|
+
},
|
|
7453
|
+
"NexaTxInputAck": {
|
|
7454
|
+
"fields": {
|
|
7455
|
+
"address_n": {
|
|
7456
|
+
"rule": "repeated",
|
|
7457
|
+
"type": "uint32",
|
|
7458
|
+
"id": 1,
|
|
7459
|
+
"options": {
|
|
7460
|
+
"packed": false
|
|
7461
|
+
}
|
|
7462
|
+
},
|
|
7463
|
+
"raw_message": {
|
|
7464
|
+
"rule": "required",
|
|
7465
|
+
"type": "bytes",
|
|
7466
|
+
"id": 2
|
|
7467
|
+
}
|
|
7468
|
+
}
|
|
7469
|
+
},
|
|
7470
|
+
"NexaSignedTx": {
|
|
7471
|
+
"fields": {
|
|
7472
|
+
"signature": {
|
|
7473
|
+
"rule": "required",
|
|
7474
|
+
"type": "bytes",
|
|
7475
|
+
"id": 1
|
|
7476
|
+
}
|
|
7477
|
+
}
|
|
7478
|
+
},
|
|
7372
7479
|
"PolkadotGetAddress": {
|
|
7373
7480
|
"fields": {
|
|
7374
7481
|
"address_n": {
|
|
@@ -9446,6 +9553,12 @@
|
|
|
9446
9553
|
"MessageType_KaspaSignedTx": 11303,
|
|
9447
9554
|
"MessageType_KaspaTxInputRequest": 11304,
|
|
9448
9555
|
"MessageType_KaspaTxInputAck": 11305,
|
|
9556
|
+
"MessageType_NexaGetAddress": 11400,
|
|
9557
|
+
"MessageType_NexaAddress": 11401,
|
|
9558
|
+
"MessageType_NexaSignTx": 11402,
|
|
9559
|
+
"MessageType_NexaSignedTx": 11403,
|
|
9560
|
+
"MessageType_NexaTxInputRequest": 11404,
|
|
9561
|
+
"MessageType_NexaTxInputAck": 11405,
|
|
9449
9562
|
"MessageType_DeviceBackToBoot": 903,
|
|
9450
9563
|
"MessageType_DeviceInfoSettings": 10001,
|
|
9451
9564
|
"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.
|
|
27
|
+
iframeScript.setAttribute('src', './js/iframe.766ed2ce264c479dbb27.js');
|
|
28
28
|
iframeScript.setAttribute('async', 'false');
|
|
29
29
|
document.body.appendChild(iframeScript);
|
|
30
30
|
</script>
|