@keepkey/device-protocol 7.12.2 → 7.13.1

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.
@@ -2351,6 +2351,12 @@ export interface MessageTypeMap {
2351
2351
  MESSAGETYPE_OSMOSISMSGIBCTRANSFER: 1114;
2352
2352
  MESSAGETYPE_OSMOSISMSGSWAP: 1115;
2353
2353
  MESSAGETYPE_OSMOSISSIGNEDTX: 1116;
2354
+ MESSAGETYPE_MAYACHAINGETADDRESS: 1200;
2355
+ MESSAGETYPE_MAYACHAINADDRESS: 1201;
2356
+ MESSAGETYPE_MAYACHAINSIGNTX: 1202;
2357
+ MESSAGETYPE_MAYACHAINMSGREQUEST: 1203;
2358
+ MESSAGETYPE_MAYACHAINMSGACK: 1204;
2359
+ MESSAGETYPE_MAYACHAINSIGNEDTX: 1205;
2354
2360
  }
2355
2361
 
2356
2362
  export const MessageType: MessageTypeMap;
@@ -17791,7 +17791,13 @@ proto.MessageType = {
17791
17791
  MESSAGETYPE_OSMOSISMSGLPUNSTAKE: 1113,
17792
17792
  MESSAGETYPE_OSMOSISMSGIBCTRANSFER: 1114,
17793
17793
  MESSAGETYPE_OSMOSISMSGSWAP: 1115,
17794
- MESSAGETYPE_OSMOSISSIGNEDTX: 1116
17794
+ MESSAGETYPE_OSMOSISSIGNEDTX: 1116,
17795
+ MESSAGETYPE_MAYACHAINGETADDRESS: 1200,
17796
+ MESSAGETYPE_MAYACHAINADDRESS: 1201,
17797
+ MESSAGETYPE_MAYACHAINSIGNTX: 1202,
17798
+ MESSAGETYPE_MAYACHAINMSGREQUEST: 1203,
17799
+ MESSAGETYPE_MAYACHAINMSGACK: 1204,
17800
+ MESSAGETYPE_MAYACHAINSIGNEDTX: 1205
17795
17801
  };
17796
17802
 
17797
17803
  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": "KeepKeyMessageOsmosis"
4
+ "java_outer_classname": "KeepKeyMessageMayachain"
5
5
  },
6
6
  "nested": {
7
7
  "wire_in": {
@@ -1609,7 +1609,13 @@
1609
1609
  "MessageType_OsmosisMsgLPUnstake": 1113,
1610
1610
  "MessageType_OsmosisMsgIBCTransfer": 1114,
1611
1611
  "MessageType_OsmosisMsgSwap": 1115,
1612
- "MessageType_OsmosisSignedTx": 1116
1612
+ "MessageType_OsmosisSignedTx": 1116,
1613
+ "MessageType_MayachainGetAddress": 1200,
1614
+ "MessageType_MayachainAddress": 1201,
1615
+ "MessageType_MayachainSignTx": 1202,
1616
+ "MessageType_MayachainMsgRequest": 1203,
1617
+ "MessageType_MayachainMsgAck": 1204,
1618
+ "MessageType_MayachainSignedTx": 1205
1613
1619
  }
1614
1620
  },
1615
1621
  "Initialize": {
@@ -5164,6 +5170,163 @@
5164
5170
  "id": 2
5165
5171
  }
5166
5172
  }
5173
+ },
5174
+ "MayachainGetAddress": {
5175
+ "fields": {
5176
+ "address_n": {
5177
+ "rule": "repeated",
5178
+ "type": "uint32",
5179
+ "id": 1,
5180
+ "options": {
5181
+ "packed": false
5182
+ }
5183
+ },
5184
+ "show_display": {
5185
+ "type": "bool",
5186
+ "id": 2
5187
+ },
5188
+ "testnet": {
5189
+ "type": "bool",
5190
+ "id": 3
5191
+ }
5192
+ }
5193
+ },
5194
+ "MayachainAddress": {
5195
+ "fields": {
5196
+ "address": {
5197
+ "type": "string",
5198
+ "id": 1
5199
+ }
5200
+ }
5201
+ },
5202
+ "MayachainSignTx": {
5203
+ "fields": {
5204
+ "address_n": {
5205
+ "rule": "repeated",
5206
+ "type": "uint32",
5207
+ "id": 1,
5208
+ "options": {
5209
+ "packed": false
5210
+ }
5211
+ },
5212
+ "account_number": {
5213
+ "type": "uint64",
5214
+ "id": 2,
5215
+ "options": {
5216
+ "jstype": "JS_STRING"
5217
+ }
5218
+ },
5219
+ "chain_id": {
5220
+ "type": "string",
5221
+ "id": 3
5222
+ },
5223
+ "fee_amount": {
5224
+ "type": "uint32",
5225
+ "id": 4
5226
+ },
5227
+ "gas": {
5228
+ "type": "uint32",
5229
+ "id": 5
5230
+ },
5231
+ "memo": {
5232
+ "type": "string",
5233
+ "id": 6
5234
+ },
5235
+ "sequence": {
5236
+ "type": "uint64",
5237
+ "id": 7,
5238
+ "options": {
5239
+ "jstype": "JS_STRING"
5240
+ }
5241
+ },
5242
+ "msg_count": {
5243
+ "type": "uint32",
5244
+ "id": 8
5245
+ },
5246
+ "testnet": {
5247
+ "type": "bool",
5248
+ "id": 9
5249
+ }
5250
+ }
5251
+ },
5252
+ "MayachainMsgRequest": {
5253
+ "fields": {}
5254
+ },
5255
+ "MayachainMsgAck": {
5256
+ "fields": {
5257
+ "send": {
5258
+ "type": "MayachainMsgSend",
5259
+ "id": 1
5260
+ },
5261
+ "deposit": {
5262
+ "type": "MayachainMsgDeposit",
5263
+ "id": 2
5264
+ }
5265
+ }
5266
+ },
5267
+ "MayachainMsgSend": {
5268
+ "fields": {
5269
+ "from_address": {
5270
+ "type": "string",
5271
+ "id": 6
5272
+ },
5273
+ "to_address": {
5274
+ "type": "string",
5275
+ "id": 7
5276
+ },
5277
+ "amount": {
5278
+ "type": "uint64",
5279
+ "id": 8,
5280
+ "options": {
5281
+ "jstype": "JS_STRING"
5282
+ }
5283
+ },
5284
+ "address_type": {
5285
+ "type": "OutputAddressType",
5286
+ "id": 9
5287
+ }
5288
+ },
5289
+ "reserved": [
5290
+ [
5291
+ 10,
5292
+ 10
5293
+ ]
5294
+ ]
5295
+ },
5296
+ "MayachainMsgDeposit": {
5297
+ "fields": {
5298
+ "asset": {
5299
+ "type": "string",
5300
+ "id": 1
5301
+ },
5302
+ "amount": {
5303
+ "type": "uint64",
5304
+ "id": 2,
5305
+ "options": {
5306
+ "jstype": "JS_STRING"
5307
+ }
5308
+ },
5309
+ "memo": {
5310
+ "type": "string",
5311
+ "id": 3
5312
+ },
5313
+ "signer": {
5314
+ "type": "string",
5315
+ "id": 4
5316
+ }
5317
+ }
5318
+ },
5319
+ "MayachainSignedTx": {
5320
+ "fields": {
5321
+ "public_key": {
5322
+ "type": "bytes",
5323
+ "id": 1
5324
+ },
5325
+ "signature": {
5326
+ "type": "bytes",
5327
+ "id": 2
5328
+ }
5329
+ }
5167
5330
  }
5168
5331
  }
5169
5332
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keepkey/device-protocol",
3
- "version": "7.12.2",
3
+ "version": "7.13.1",
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 types.proto messages.proto messages-ethereum.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-ethereum.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 > ./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 types.proto messages.proto messages-ethereum.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 messages-mayachain.proto",
12
+ "build:json": "pbjs --keep-case -t json ./types.proto ./messages.proto ./messages-ethereum.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 ./messages-mayachain.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"
package/yarn.lock DELETED
@@ -1,122 +0,0 @@
1
- # THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
2
- # yarn lockfile v1
3
-
4
-
5
- "@protobufjs/aspromise@^1.1.1", "@protobufjs/aspromise@^1.1.2":
6
- version "1.1.2"
7
- resolved "https://registry.yarnpkg.com/@protobufjs/aspromise/-/aspromise-1.1.2.tgz#9b8b0cc663d669a7d8f6f5d0893a14d348f30fbf"
8
-
9
- "@protobufjs/base64@^1.1.2":
10
- version "1.1.2"
11
- resolved "https://registry.yarnpkg.com/@protobufjs/base64/-/base64-1.1.2.tgz#4c85730e59b9a1f1f349047dbf24296034bb2735"
12
-
13
- "@protobufjs/codegen@^2.0.4":
14
- version "2.0.4"
15
- resolved "https://registry.yarnpkg.com/@protobufjs/codegen/-/codegen-2.0.4.tgz#7ef37f0d010fb028ad1ad59722e506d9262815cb"
16
-
17
- "@protobufjs/eventemitter@^1.1.0":
18
- version "1.1.0"
19
- resolved "https://registry.yarnpkg.com/@protobufjs/eventemitter/-/eventemitter-1.1.0.tgz#355cbc98bafad5978f9ed095f397621f1d066b70"
20
-
21
- "@protobufjs/fetch@^1.1.0":
22
- version "1.1.0"
23
- resolved "https://registry.yarnpkg.com/@protobufjs/fetch/-/fetch-1.1.0.tgz#ba99fb598614af65700c1619ff06d454b0d84c45"
24
- dependencies:
25
- "@protobufjs/aspromise" "^1.1.1"
26
- "@protobufjs/inquire" "^1.1.0"
27
-
28
- "@protobufjs/float@^1.0.2":
29
- version "1.0.2"
30
- resolved "https://registry.yarnpkg.com/@protobufjs/float/-/float-1.0.2.tgz#5e9e1abdcb73fc0a7cb8b291df78c8cbd97b87d1"
31
-
32
- "@protobufjs/inquire@^1.1.0":
33
- version "1.1.0"
34
- resolved "https://registry.yarnpkg.com/@protobufjs/inquire/-/inquire-1.1.0.tgz#ff200e3e7cf2429e2dcafc1140828e8cc638f089"
35
-
36
- "@protobufjs/path@^1.1.2":
37
- version "1.1.2"
38
- resolved "https://registry.yarnpkg.com/@protobufjs/path/-/path-1.1.2.tgz#6cc2b20c5c9ad6ad0dccfd21ca7673d8d7fbf68d"
39
-
40
- "@protobufjs/pool@^1.1.0":
41
- version "1.1.0"
42
- resolved "https://registry.yarnpkg.com/@protobufjs/pool/-/pool-1.1.0.tgz#09fd15f2d6d3abfa9b65bc366506d6ad7846ff54"
43
-
44
- "@protobufjs/utf8@^1.1.0":
45
- version "1.1.0"
46
- resolved "https://registry.yarnpkg.com/@protobufjs/utf8/-/utf8-1.1.0.tgz#a777360b5b39a1a2e5106f8e858f2fd2d060c570"
47
-
48
- "@types/long@^4.0.0":
49
- version "4.0.0"
50
- resolved "https://registry.yarnpkg.com/@types/long/-/long-4.0.0.tgz#719551d2352d301ac8b81db732acb6bdc28dbdef"
51
-
52
- "@types/node@^10.1.0":
53
- version "10.12.24"
54
- resolved "https://registry.yarnpkg.com/@types/node/-/node-10.12.24.tgz#b13564af612a22a20b5d95ca40f1bffb3af315cf"
55
-
56
- bytebuffer@5.0.1:
57
- version "5.0.1"
58
- resolved "https://registry.yarnpkg.com/bytebuffer/-/bytebuffer-5.0.1.tgz#582eea4b1a873b6d020a48d58df85f0bba6cfddd"
59
- dependencies:
60
- long "~3"
61
-
62
- commander@2.9.0:
63
- version "2.9.0"
64
- resolved "https://registry.yarnpkg.com/commander/-/commander-2.9.0.tgz#9c99094176e12240cb22d6c5146098400fe0f7d4"
65
- dependencies:
66
- graceful-readlink ">= 1.0.0"
67
-
68
- google-protobuf@^3.6.1:
69
- version "3.9.0"
70
- resolved "https://registry.yarnpkg.com/google-protobuf/-/google-protobuf-3.9.0.tgz#1f33e51e7993ea51e758a82650ad4347273b9bc6"
71
-
72
- google-protobuf@^3.7.0-rc.2:
73
- version "3.7.0-rc.2"
74
- resolved "https://registry.yarnpkg.com/google-protobuf/-/google-protobuf-3.7.0-rc.2.tgz#a65e9216825065099c4ff243eee9e16e764cc2c9"
75
-
76
- "graceful-readlink@>= 1.0.0":
77
- version "1.0.1"
78
- resolved "https://registry.yarnpkg.com/graceful-readlink/-/graceful-readlink-1.0.1.tgz#4cafad76bc62f02fa039b2f94e9a3dd3a391a725"
79
-
80
- long@^4.0.0:
81
- version "4.0.0"
82
- resolved "https://registry.yarnpkg.com/long/-/long-4.0.0.tgz#9a7b71cfb7d361a194ea555241c92f7468d5bf28"
83
-
84
- long@~3:
85
- version "3.2.0"
86
- resolved "https://registry.yarnpkg.com/long/-/long-3.2.0.tgz#d821b7138ca1cb581c172990ef14db200b5c474b"
87
-
88
- pbjs@^0.0.5:
89
- version "0.0.5"
90
- resolved "https://registry.yarnpkg.com/pbjs/-/pbjs-0.0.5.tgz#b4c88e15aac4552ca0922aa64cd5338efd3447bf"
91
- dependencies:
92
- bytebuffer "5.0.1"
93
- commander "2.9.0"
94
- protocol-buffers-schema "3.1.0"
95
-
96
- protobufjs@^6.8.8:
97
- version "6.8.8"
98
- resolved "https://registry.yarnpkg.com/protobufjs/-/protobufjs-6.8.8.tgz#c8b4f1282fd7a90e6f5b109ed11c84af82908e7c"
99
- dependencies:
100
- "@protobufjs/aspromise" "^1.1.2"
101
- "@protobufjs/base64" "^1.1.2"
102
- "@protobufjs/codegen" "^2.0.4"
103
- "@protobufjs/eventemitter" "^1.1.0"
104
- "@protobufjs/fetch" "^1.1.0"
105
- "@protobufjs/float" "^1.0.2"
106
- "@protobufjs/inquire" "^1.1.0"
107
- "@protobufjs/path" "^1.1.2"
108
- "@protobufjs/pool" "^1.1.0"
109
- "@protobufjs/utf8" "^1.1.0"
110
- "@types/long" "^4.0.0"
111
- "@types/node" "^10.1.0"
112
- long "^4.0.0"
113
-
114
- protocol-buffers-schema@3.1.0:
115
- version "3.1.0"
116
- resolved "https://registry.yarnpkg.com/protocol-buffers-schema/-/protocol-buffers-schema-3.1.0.tgz#d8a819549ead3e6bd189ebe9e50e96636bbc5cc7"
117
-
118
- ts-protoc-gen@^0.10.0:
119
- version "0.10.0"
120
- resolved "https://registry.yarnpkg.com/ts-protoc-gen/-/ts-protoc-gen-0.10.0.tgz#f708d99be59ad0be6bdce6f4fe893ec41757d2c9"
121
- dependencies:
122
- google-protobuf "^3.6.1"