@keepkey/device-protocol 7.2.3 → 7.5.0
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/lib/messages-osmosis_pb.d.ts +730 -0
- package/lib/messages-osmosis_pb.js +5813 -0
- package/lib/messages_pb.d.ts +16 -0
- package/lib/messages_pb.js +60 -2
- package/lib/proto.json +392 -2
- package/package.json +3 -3
package/lib/messages_pb.d.ts
CHANGED
|
@@ -1819,6 +1819,11 @@ export class EthereumSignTx extends jspb.Message {
|
|
|
1819
1819
|
getTxType(): number | undefined;
|
|
1820
1820
|
setTxType(value: number): void;
|
|
1821
1821
|
|
|
1822
|
+
hasType(): boolean;
|
|
1823
|
+
clearType(): void;
|
|
1824
|
+
getType(): number | undefined;
|
|
1825
|
+
setType(value: number): void;
|
|
1826
|
+
|
|
1822
1827
|
serializeBinary(): Uint8Array;
|
|
1823
1828
|
toObject(includeInstance?: boolean): EthereumSignTx.AsObject;
|
|
1824
1829
|
static toObject(includeInstance: boolean, msg: EthereumSignTx): EthereumSignTx.AsObject;
|
|
@@ -1849,6 +1854,7 @@ export namespace EthereumSignTx {
|
|
|
1849
1854
|
tokenTo: Uint8Array | string,
|
|
1850
1855
|
tokenShortcut?: string,
|
|
1851
1856
|
txType?: number,
|
|
1857
|
+
type?: number,
|
|
1852
1858
|
}
|
|
1853
1859
|
}
|
|
1854
1860
|
|
|
@@ -2703,6 +2709,16 @@ export interface MessageTypeMap {
|
|
|
2703
2709
|
MESSAGETYPE_TENDERMINTMSGACK: 1004;
|
|
2704
2710
|
MESSAGETYPE_TENDERMINTMSGSEND: 1005;
|
|
2705
2711
|
MESSAGETYPE_TENDERMINTSIGNEDTX: 1006;
|
|
2712
|
+
MESSAGETYPE_OSMOSISGETADDRESS: 1100;
|
|
2713
|
+
MESSAGETYPE_OSMOSISADDRESS: 1101;
|
|
2714
|
+
MESSAGETYPE_OSMOSISSIGNTX: 1102;
|
|
2715
|
+
MESSAGETYPE_OSMOSISMSGREQUEST: 1103;
|
|
2716
|
+
MESSAGETYPE_OSMOSISMSGACK: 1104;
|
|
2717
|
+
MESSAGETYPE_OSMOSISMSGSEND: 1105;
|
|
2718
|
+
MESSAGETYPE_OSMOSISMSGELEGATE: 1106;
|
|
2719
|
+
MESSAGETYPE_OSMOSISMSGUNDELEGATE: 1107;
|
|
2720
|
+
MESSAGETYPE_OSMOSISMSGCLAIM: 1108;
|
|
2721
|
+
MESSAGETYPE_OSMOSISSIGNEDTX: 1109;
|
|
2706
2722
|
}
|
|
2707
2723
|
|
|
2708
2724
|
export const MessageType: MessageTypeMap;
|
package/lib/messages_pb.js
CHANGED
|
@@ -14245,7 +14245,8 @@ proto.EthereumSignTx.toObject = function(includeInstance, msg) {
|
|
|
14245
14245
|
tokenValue: msg.getTokenValue_asB64(),
|
|
14246
14246
|
tokenTo: msg.getTokenTo_asB64(),
|
|
14247
14247
|
tokenShortcut: (f = jspb.Message.getField(msg, 102)) == null ? undefined : f,
|
|
14248
|
-
txType: (f = jspb.Message.getField(msg, 103)) == null ? undefined : f
|
|
14248
|
+
txType: (f = jspb.Message.getField(msg, 103)) == null ? undefined : f,
|
|
14249
|
+
type: (f = jspb.Message.getField(msg, 104)) == null ? undefined : f
|
|
14249
14250
|
};
|
|
14250
14251
|
|
|
14251
14252
|
if (includeInstance) {
|
|
@@ -14359,6 +14360,10 @@ proto.EthereumSignTx.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
14359
14360
|
var value = /** @type {number} */ (reader.readUint32());
|
|
14360
14361
|
msg.setTxType(value);
|
|
14361
14362
|
break;
|
|
14363
|
+
case 104:
|
|
14364
|
+
var value = /** @type {number} */ (reader.readUint32());
|
|
14365
|
+
msg.setType(value);
|
|
14366
|
+
break;
|
|
14362
14367
|
default:
|
|
14363
14368
|
reader.skipField();
|
|
14364
14369
|
break;
|
|
@@ -14515,6 +14520,13 @@ proto.EthereumSignTx.serializeBinaryToWriter = function(message, writer) {
|
|
|
14515
14520
|
f
|
|
14516
14521
|
);
|
|
14517
14522
|
}
|
|
14523
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 104));
|
|
14524
|
+
if (f != null) {
|
|
14525
|
+
writer.writeUint32(
|
|
14526
|
+
104,
|
|
14527
|
+
f
|
|
14528
|
+
);
|
|
14529
|
+
}
|
|
14518
14530
|
};
|
|
14519
14531
|
|
|
14520
14532
|
|
|
@@ -15409,6 +15421,42 @@ proto.EthereumSignTx.prototype.hasTxType = function() {
|
|
|
15409
15421
|
};
|
|
15410
15422
|
|
|
15411
15423
|
|
|
15424
|
+
/**
|
|
15425
|
+
* optional uint32 type = 104;
|
|
15426
|
+
* @return {number}
|
|
15427
|
+
*/
|
|
15428
|
+
proto.EthereumSignTx.prototype.getType = function() {
|
|
15429
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 104, 0));
|
|
15430
|
+
};
|
|
15431
|
+
|
|
15432
|
+
|
|
15433
|
+
/**
|
|
15434
|
+
* @param {number} value
|
|
15435
|
+
* @return {!proto.EthereumSignTx} returns this
|
|
15436
|
+
*/
|
|
15437
|
+
proto.EthereumSignTx.prototype.setType = function(value) {
|
|
15438
|
+
return jspb.Message.setField(this, 104, value);
|
|
15439
|
+
};
|
|
15440
|
+
|
|
15441
|
+
|
|
15442
|
+
/**
|
|
15443
|
+
* Clears the field making it undefined.
|
|
15444
|
+
* @return {!proto.EthereumSignTx} returns this
|
|
15445
|
+
*/
|
|
15446
|
+
proto.EthereumSignTx.prototype.clearType = function() {
|
|
15447
|
+
return jspb.Message.setField(this, 104, undefined);
|
|
15448
|
+
};
|
|
15449
|
+
|
|
15450
|
+
|
|
15451
|
+
/**
|
|
15452
|
+
* Returns whether this field is set.
|
|
15453
|
+
* @return {boolean}
|
|
15454
|
+
*/
|
|
15455
|
+
proto.EthereumSignTx.prototype.hasType = function() {
|
|
15456
|
+
return jspb.Message.getField(this, 104) != null;
|
|
15457
|
+
};
|
|
15458
|
+
|
|
15459
|
+
|
|
15412
15460
|
|
|
15413
15461
|
|
|
15414
15462
|
|
|
@@ -20981,7 +21029,17 @@ proto.MessageType = {
|
|
|
20981
21029
|
MESSAGETYPE_TENDERMINTMSGREQUEST: 1003,
|
|
20982
21030
|
MESSAGETYPE_TENDERMINTMSGACK: 1004,
|
|
20983
21031
|
MESSAGETYPE_TENDERMINTMSGSEND: 1005,
|
|
20984
|
-
MESSAGETYPE_TENDERMINTSIGNEDTX: 1006
|
|
21032
|
+
MESSAGETYPE_TENDERMINTSIGNEDTX: 1006,
|
|
21033
|
+
MESSAGETYPE_OSMOSISGETADDRESS: 1100,
|
|
21034
|
+
MESSAGETYPE_OSMOSISADDRESS: 1101,
|
|
21035
|
+
MESSAGETYPE_OSMOSISSIGNTX: 1102,
|
|
21036
|
+
MESSAGETYPE_OSMOSISMSGREQUEST: 1103,
|
|
21037
|
+
MESSAGETYPE_OSMOSISMSGACK: 1104,
|
|
21038
|
+
MESSAGETYPE_OSMOSISMSGSEND: 1105,
|
|
21039
|
+
MESSAGETYPE_OSMOSISMSGELEGATE: 1106,
|
|
21040
|
+
MESSAGETYPE_OSMOSISMSGUNDELEGATE: 1107,
|
|
21041
|
+
MESSAGETYPE_OSMOSISMSGCLAIM: 1108,
|
|
21042
|
+
MESSAGETYPE_OSMOSISSIGNEDTX: 1109
|
|
20985
21043
|
};
|
|
20986
21044
|
|
|
20987
21045
|
goog.object.extend(exports, proto);
|
package/lib/proto.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"options": {
|
|
3
3
|
"java_package": "com.keepkey.deviceprotocol",
|
|
4
|
-
"java_outer_classname": "
|
|
4
|
+
"java_outer_classname": "KeepKeyMessageOsmosis"
|
|
5
5
|
},
|
|
6
6
|
"nested": {
|
|
7
7
|
"wire_in": {
|
|
@@ -1697,7 +1697,17 @@
|
|
|
1697
1697
|
"MessageType_TendermintMsgRequest": 1003,
|
|
1698
1698
|
"MessageType_TendermintMsgAck": 1004,
|
|
1699
1699
|
"MessageType_TendermintMsgSend": 1005,
|
|
1700
|
-
"MessageType_TendermintSignedTx": 1006
|
|
1700
|
+
"MessageType_TendermintSignedTx": 1006,
|
|
1701
|
+
"MessageType_OsmosisGetAddress": 1100,
|
|
1702
|
+
"MessageType_OsmosisAddress": 1101,
|
|
1703
|
+
"MessageType_OsmosisSignTx": 1102,
|
|
1704
|
+
"MessageType_OsmosisMsgRequest": 1103,
|
|
1705
|
+
"MessageType_OsmosisMsgAck": 1104,
|
|
1706
|
+
"MessageType_OsmosisMsgSend": 1105,
|
|
1707
|
+
"MessageType_OsmosisMsgelegate": 1106,
|
|
1708
|
+
"MessageType_OsmosisMsgUndelegate": 1107,
|
|
1709
|
+
"MessageType_OsmosisMsgClaim": 1108,
|
|
1710
|
+
"MessageType_OsmosisSignedTx": 1109
|
|
1701
1711
|
}
|
|
1702
1712
|
},
|
|
1703
1713
|
"Initialize": {
|
|
@@ -2641,6 +2651,10 @@
|
|
|
2641
2651
|
"tx_type": {
|
|
2642
2652
|
"type": "uint32",
|
|
2643
2653
|
"id": 103
|
|
2654
|
+
},
|
|
2655
|
+
"type": {
|
|
2656
|
+
"type": "uint32",
|
|
2657
|
+
"id": 104
|
|
2644
2658
|
}
|
|
2645
2659
|
}
|
|
2646
2660
|
},
|
|
@@ -4471,6 +4485,382 @@
|
|
|
4471
4485
|
"id": 2
|
|
4472
4486
|
}
|
|
4473
4487
|
}
|
|
4488
|
+
},
|
|
4489
|
+
"OsmosisGetAddress": {
|
|
4490
|
+
"fields": {
|
|
4491
|
+
"address_n": {
|
|
4492
|
+
"rule": "repeated",
|
|
4493
|
+
"type": "uint32",
|
|
4494
|
+
"id": 1,
|
|
4495
|
+
"options": {
|
|
4496
|
+
"packed": false
|
|
4497
|
+
}
|
|
4498
|
+
},
|
|
4499
|
+
"show_display": {
|
|
4500
|
+
"type": "bool",
|
|
4501
|
+
"id": 2
|
|
4502
|
+
},
|
|
4503
|
+
"testnet": {
|
|
4504
|
+
"type": "bool",
|
|
4505
|
+
"id": 3
|
|
4506
|
+
}
|
|
4507
|
+
}
|
|
4508
|
+
},
|
|
4509
|
+
"OsmosisAddress": {
|
|
4510
|
+
"fields": {
|
|
4511
|
+
"address": {
|
|
4512
|
+
"type": "string",
|
|
4513
|
+
"id": 1
|
|
4514
|
+
}
|
|
4515
|
+
}
|
|
4516
|
+
},
|
|
4517
|
+
"OsmosisToken": {
|
|
4518
|
+
"fields": {
|
|
4519
|
+
"denom": {
|
|
4520
|
+
"type": "string",
|
|
4521
|
+
"id": 1
|
|
4522
|
+
},
|
|
4523
|
+
"amount": {
|
|
4524
|
+
"type": "uint64",
|
|
4525
|
+
"id": 2,
|
|
4526
|
+
"options": {
|
|
4527
|
+
"jstype": "JS_STRING"
|
|
4528
|
+
}
|
|
4529
|
+
}
|
|
4530
|
+
}
|
|
4531
|
+
},
|
|
4532
|
+
"OsmosisTimeoutHeight": {
|
|
4533
|
+
"fields": {
|
|
4534
|
+
"revision_number": {
|
|
4535
|
+
"type": "uint64",
|
|
4536
|
+
"id": 1
|
|
4537
|
+
},
|
|
4538
|
+
"revision_height": {
|
|
4539
|
+
"type": "uint64",
|
|
4540
|
+
"id": 2
|
|
4541
|
+
}
|
|
4542
|
+
}
|
|
4543
|
+
},
|
|
4544
|
+
"OsmosisSignTx": {
|
|
4545
|
+
"fields": {
|
|
4546
|
+
"address_n": {
|
|
4547
|
+
"rule": "repeated",
|
|
4548
|
+
"type": "uint32",
|
|
4549
|
+
"id": 1,
|
|
4550
|
+
"options": {
|
|
4551
|
+
"packed": false
|
|
4552
|
+
}
|
|
4553
|
+
},
|
|
4554
|
+
"account_number": {
|
|
4555
|
+
"type": "uint64",
|
|
4556
|
+
"id": 2,
|
|
4557
|
+
"options": {
|
|
4558
|
+
"jstype": "JS_STRING"
|
|
4559
|
+
}
|
|
4560
|
+
},
|
|
4561
|
+
"chain_id": {
|
|
4562
|
+
"type": "string",
|
|
4563
|
+
"id": 3
|
|
4564
|
+
},
|
|
4565
|
+
"fee_amount": {
|
|
4566
|
+
"type": "uint32",
|
|
4567
|
+
"id": 4
|
|
4568
|
+
},
|
|
4569
|
+
"gas": {
|
|
4570
|
+
"type": "uint32",
|
|
4571
|
+
"id": 5
|
|
4572
|
+
},
|
|
4573
|
+
"memo": {
|
|
4574
|
+
"type": "string",
|
|
4575
|
+
"id": 6
|
|
4576
|
+
},
|
|
4577
|
+
"sequence": {
|
|
4578
|
+
"type": "uint64",
|
|
4579
|
+
"id": 7,
|
|
4580
|
+
"options": {
|
|
4581
|
+
"jstype": "JS_STRING"
|
|
4582
|
+
}
|
|
4583
|
+
},
|
|
4584
|
+
"msg_count": {
|
|
4585
|
+
"type": "uint32",
|
|
4586
|
+
"id": 8
|
|
4587
|
+
},
|
|
4588
|
+
"testnet": {
|
|
4589
|
+
"type": "bool",
|
|
4590
|
+
"id": 9
|
|
4591
|
+
}
|
|
4592
|
+
}
|
|
4593
|
+
},
|
|
4594
|
+
"OsmosisMsgRequest": {
|
|
4595
|
+
"fields": {}
|
|
4596
|
+
},
|
|
4597
|
+
"OsmosisMsgAck": {
|
|
4598
|
+
"fields": {
|
|
4599
|
+
"send": {
|
|
4600
|
+
"type": "OsmosisMsgSend",
|
|
4601
|
+
"id": 1
|
|
4602
|
+
},
|
|
4603
|
+
"delegate": {
|
|
4604
|
+
"type": "OsmosisMsgDelegate",
|
|
4605
|
+
"id": 2
|
|
4606
|
+
},
|
|
4607
|
+
"undelegate": {
|
|
4608
|
+
"type": "OsmosisMsgUndelegate",
|
|
4609
|
+
"id": 3
|
|
4610
|
+
},
|
|
4611
|
+
"claim": {
|
|
4612
|
+
"type": "OsmosisMsgClaim",
|
|
4613
|
+
"id": 4
|
|
4614
|
+
},
|
|
4615
|
+
"lp_add": {
|
|
4616
|
+
"type": "OsmosisMsgLPAdd",
|
|
4617
|
+
"id": 5
|
|
4618
|
+
},
|
|
4619
|
+
"lp_remove": {
|
|
4620
|
+
"type": "OsmosisMsgLPRemove",
|
|
4621
|
+
"id": 6
|
|
4622
|
+
},
|
|
4623
|
+
"farm_tokens": {
|
|
4624
|
+
"type": "OsmosisMsgFarmTokens",
|
|
4625
|
+
"id": 7
|
|
4626
|
+
},
|
|
4627
|
+
"ibc_deposit": {
|
|
4628
|
+
"type": "OsmosisMsgIBCDeposit",
|
|
4629
|
+
"id": 8
|
|
4630
|
+
},
|
|
4631
|
+
"ibc_withdrawal": {
|
|
4632
|
+
"type": "OsmosisMsgIBCWithdrawal",
|
|
4633
|
+
"id": 9
|
|
4634
|
+
},
|
|
4635
|
+
"swap": {
|
|
4636
|
+
"type": "OsmosisMsgSwap",
|
|
4637
|
+
"id": 10
|
|
4638
|
+
}
|
|
4639
|
+
}
|
|
4640
|
+
},
|
|
4641
|
+
"OsmosisMsgSend": {
|
|
4642
|
+
"fields": {
|
|
4643
|
+
"from_address": {
|
|
4644
|
+
"type": "string",
|
|
4645
|
+
"id": 1
|
|
4646
|
+
},
|
|
4647
|
+
"to_address": {
|
|
4648
|
+
"type": "string",
|
|
4649
|
+
"id": 2
|
|
4650
|
+
},
|
|
4651
|
+
"token": {
|
|
4652
|
+
"type": "OsmosisToken",
|
|
4653
|
+
"id": 3
|
|
4654
|
+
},
|
|
4655
|
+
"address_type": {
|
|
4656
|
+
"type": "OutputAddressType",
|
|
4657
|
+
"id": 4
|
|
4658
|
+
}
|
|
4659
|
+
}
|
|
4660
|
+
},
|
|
4661
|
+
"OsmosisMsgDelegate": {
|
|
4662
|
+
"fields": {
|
|
4663
|
+
"delegator_address": {
|
|
4664
|
+
"type": "string",
|
|
4665
|
+
"id": 1
|
|
4666
|
+
},
|
|
4667
|
+
"validator_address": {
|
|
4668
|
+
"type": "string",
|
|
4669
|
+
"id": 2
|
|
4670
|
+
},
|
|
4671
|
+
"token": {
|
|
4672
|
+
"type": "OsmosisToken",
|
|
4673
|
+
"id": 3
|
|
4674
|
+
}
|
|
4675
|
+
}
|
|
4676
|
+
},
|
|
4677
|
+
"OsmosisMsgUndelegate": {
|
|
4678
|
+
"fields": {
|
|
4679
|
+
"delegator_address": {
|
|
4680
|
+
"type": "string",
|
|
4681
|
+
"id": 1
|
|
4682
|
+
},
|
|
4683
|
+
"validator_address": {
|
|
4684
|
+
"type": "string",
|
|
4685
|
+
"id": 2
|
|
4686
|
+
},
|
|
4687
|
+
"token": {
|
|
4688
|
+
"type": "OsmosisToken",
|
|
4689
|
+
"id": 3
|
|
4690
|
+
}
|
|
4691
|
+
}
|
|
4692
|
+
},
|
|
4693
|
+
"OsmosisMsgClaim": {
|
|
4694
|
+
"fields": {
|
|
4695
|
+
"delegator_address": {
|
|
4696
|
+
"type": "string",
|
|
4697
|
+
"id": 1
|
|
4698
|
+
},
|
|
4699
|
+
"validator_address": {
|
|
4700
|
+
"type": "string",
|
|
4701
|
+
"id": 2
|
|
4702
|
+
},
|
|
4703
|
+
"token": {
|
|
4704
|
+
"type": "OsmosisToken",
|
|
4705
|
+
"id": 3
|
|
4706
|
+
}
|
|
4707
|
+
}
|
|
4708
|
+
},
|
|
4709
|
+
"OsmosisMsgLPAdd": {
|
|
4710
|
+
"fields": {
|
|
4711
|
+
"sender": {
|
|
4712
|
+
"type": "string",
|
|
4713
|
+
"id": 1
|
|
4714
|
+
},
|
|
4715
|
+
"pool_id": {
|
|
4716
|
+
"type": "string",
|
|
4717
|
+
"id": 2
|
|
4718
|
+
},
|
|
4719
|
+
"share_out_amount": {
|
|
4720
|
+
"type": "uint64",
|
|
4721
|
+
"id": 3
|
|
4722
|
+
},
|
|
4723
|
+
"token_in_max_a": {
|
|
4724
|
+
"type": "OsmosisToken",
|
|
4725
|
+
"id": 4
|
|
4726
|
+
},
|
|
4727
|
+
"token_in_max_b": {
|
|
4728
|
+
"type": "OsmosisToken",
|
|
4729
|
+
"id": 5
|
|
4730
|
+
}
|
|
4731
|
+
}
|
|
4732
|
+
},
|
|
4733
|
+
"OsmosisMsgLPRemove": {
|
|
4734
|
+
"fields": {
|
|
4735
|
+
"sender": {
|
|
4736
|
+
"type": "string",
|
|
4737
|
+
"id": 1
|
|
4738
|
+
},
|
|
4739
|
+
"pool_id": {
|
|
4740
|
+
"type": "string",
|
|
4741
|
+
"id": 2
|
|
4742
|
+
},
|
|
4743
|
+
"share_out_amount": {
|
|
4744
|
+
"type": "uint64",
|
|
4745
|
+
"id": 3
|
|
4746
|
+
},
|
|
4747
|
+
"token_out_min_a": {
|
|
4748
|
+
"type": "OsmosisToken",
|
|
4749
|
+
"id": 4
|
|
4750
|
+
},
|
|
4751
|
+
"token_out_min_b": {
|
|
4752
|
+
"type": "OsmosisToken",
|
|
4753
|
+
"id": 5
|
|
4754
|
+
}
|
|
4755
|
+
}
|
|
4756
|
+
},
|
|
4757
|
+
"OsmosisMsgFarmTokens": {
|
|
4758
|
+
"fields": {
|
|
4759
|
+
"owner": {
|
|
4760
|
+
"type": "string",
|
|
4761
|
+
"id": 1
|
|
4762
|
+
},
|
|
4763
|
+
"duration": {
|
|
4764
|
+
"type": "uint64",
|
|
4765
|
+
"id": 2
|
|
4766
|
+
},
|
|
4767
|
+
"token": {
|
|
4768
|
+
"type": "OsmosisToken",
|
|
4769
|
+
"id": 3
|
|
4770
|
+
}
|
|
4771
|
+
}
|
|
4772
|
+
},
|
|
4773
|
+
"OsmosisMsgIBCDeposit": {
|
|
4774
|
+
"fields": {
|
|
4775
|
+
"source_port": {
|
|
4776
|
+
"type": "string",
|
|
4777
|
+
"id": 1
|
|
4778
|
+
},
|
|
4779
|
+
"source_channel": {
|
|
4780
|
+
"type": "string",
|
|
4781
|
+
"id": 2
|
|
4782
|
+
},
|
|
4783
|
+
"token": {
|
|
4784
|
+
"type": "OsmosisToken",
|
|
4785
|
+
"id": 3
|
|
4786
|
+
},
|
|
4787
|
+
"sender": {
|
|
4788
|
+
"type": "string",
|
|
4789
|
+
"id": 4
|
|
4790
|
+
},
|
|
4791
|
+
"receiver": {
|
|
4792
|
+
"type": "string",
|
|
4793
|
+
"id": 5
|
|
4794
|
+
},
|
|
4795
|
+
"timeout_height": {
|
|
4796
|
+
"type": "OsmosisTimeoutHeight",
|
|
4797
|
+
"id": 6
|
|
4798
|
+
}
|
|
4799
|
+
}
|
|
4800
|
+
},
|
|
4801
|
+
"OsmosisMsgIBCWithdrawal": {
|
|
4802
|
+
"fields": {
|
|
4803
|
+
"source_port": {
|
|
4804
|
+
"type": "string",
|
|
4805
|
+
"id": 1
|
|
4806
|
+
},
|
|
4807
|
+
"source_channel": {
|
|
4808
|
+
"type": "string",
|
|
4809
|
+
"id": 2
|
|
4810
|
+
},
|
|
4811
|
+
"token": {
|
|
4812
|
+
"type": "OsmosisToken",
|
|
4813
|
+
"id": 3
|
|
4814
|
+
},
|
|
4815
|
+
"sender": {
|
|
4816
|
+
"type": "string",
|
|
4817
|
+
"id": 4
|
|
4818
|
+
},
|
|
4819
|
+
"receiver": {
|
|
4820
|
+
"type": "string",
|
|
4821
|
+
"id": 5
|
|
4822
|
+
},
|
|
4823
|
+
"timeout_height": {
|
|
4824
|
+
"type": "OsmosisTimeoutHeight",
|
|
4825
|
+
"id": 6
|
|
4826
|
+
}
|
|
4827
|
+
}
|
|
4828
|
+
},
|
|
4829
|
+
"OsmosisMsgSwap": {
|
|
4830
|
+
"fields": {
|
|
4831
|
+
"sender": {
|
|
4832
|
+
"type": "string",
|
|
4833
|
+
"id": 1
|
|
4834
|
+
},
|
|
4835
|
+
"pool_id": {
|
|
4836
|
+
"type": "string",
|
|
4837
|
+
"id": 2
|
|
4838
|
+
},
|
|
4839
|
+
"token_out_denom": {
|
|
4840
|
+
"type": "string",
|
|
4841
|
+
"id": 3
|
|
4842
|
+
},
|
|
4843
|
+
"token_in": {
|
|
4844
|
+
"type": "OsmosisToken",
|
|
4845
|
+
"id": 4
|
|
4846
|
+
},
|
|
4847
|
+
"token_out_min_amount": {
|
|
4848
|
+
"type": "uint64",
|
|
4849
|
+
"id": 5
|
|
4850
|
+
}
|
|
4851
|
+
}
|
|
4852
|
+
},
|
|
4853
|
+
"OsmosisSignedTx": {
|
|
4854
|
+
"fields": {
|
|
4855
|
+
"public_key": {
|
|
4856
|
+
"type": "bytes",
|
|
4857
|
+
"id": 1
|
|
4858
|
+
},
|
|
4859
|
+
"signature": {
|
|
4860
|
+
"type": "bytes",
|
|
4861
|
+
"id": 2
|
|
4862
|
+
}
|
|
4863
|
+
}
|
|
4474
4864
|
}
|
|
4475
4865
|
}
|
|
4476
4866
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@keepkey/device-protocol",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.5.0",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
"scripts": {
|
|
9
9
|
"clean": "rm -rf ./lib/*.js ./lib/*.ts",
|
|
10
10
|
"build": "npm run build:js && npm run build:json && npm run build:postprocess",
|
|
11
|
-
"build:js": "protoc --plugin=protoc-gen-ts=./node_modules/.bin/protoc-gen-ts --js_out=import_style=commonjs,binary:./lib --ts_out=./lib exchange.proto types.proto messages.proto messages-eos.proto messages-nano.proto messages-cosmos.proto messages-binance.proto messages-ripple.proto messages-tendermint.proto messages-thorchain.proto",
|
|
12
|
-
"build:json": "pbjs --keep-case -t json ./types.proto ./messages.proto ./messages-eos.proto ./messages-nano.proto ./messages-cosmos.proto ./messages-binance.proto ./messages-ripple.proto ./messages-tendermint.proto ./messages-thorchain.proto ./exchange.proto > ./lib/proto.json",
|
|
11
|
+
"build:js": "protoc --plugin=protoc-gen-ts=./node_modules/.bin/protoc-gen-ts --js_out=import_style=commonjs,binary:./lib --ts_out=./lib exchange.proto types.proto messages.proto messages-eos.proto messages-nano.proto messages-cosmos.proto messages-binance.proto messages-ripple.proto messages-tendermint.proto messages-thorchain.proto messages-osmosis.proto",
|
|
12
|
+
"build:json": "pbjs --keep-case -t json ./types.proto ./messages.proto ./messages-eos.proto ./messages-nano.proto ./messages-cosmos.proto ./messages-binance.proto ./messages-ripple.proto ./messages-tendermint.proto ./messages-thorchain.proto ./messages-osmosis.proto ./exchange.proto > ./lib/proto.json",
|
|
13
13
|
"build:postprocess": "find ./lib -name \"*.js\" -exec sed -i '' -e \"s/var global = Function(\\'return this\\')();/var global = (function(){ return this }).call(null);/g\" {} \\;",
|
|
14
14
|
"prepublishOnly": "npm run build",
|
|
15
15
|
"test": "echo \"Error: no test specified\" && exit 1"
|