@ledgerhq/vault-cli 1.53.1 → 1.54.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.
@@ -1,4 +1,4 @@
1
1
 
2
- > @ledgerhq/vault-cli@1.53.1 build /home/runner/work/vault-ts/vault-ts/apps/cli
2
+ > @ledgerhq/vault-cli@1.54.1 build /home/runner/work/vault-ts/vault-ts/apps/cli
3
3
  > tsc && chmod +x bin/index.js
4
4
 
package/CHANGELOG.md CHANGED
@@ -1,5 +1,23 @@
1
1
  # @ledgerhq/vault-cli
2
2
 
3
+ ## 1.54.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [93ce8a9]
8
+ - @ledgerhq/vault-common@1.71.0
9
+
10
+ ## 1.54.0
11
+
12
+ ### Minor Changes
13
+
14
+ - 12b715a: Add ability to pass tradelink_data to account creation
15
+
16
+ ### Patch Changes
17
+
18
+ - Updated dependencies [12b715a]
19
+ - @ledgerhq/vault-common@1.70.0
20
+
3
21
  ## 1.53.1
4
22
 
5
23
  ### Patch Changes
@@ -1,116 +1,329 @@
1
1
  {
2
- "customUsernames": {
3
- "10": "Hedy OneOf 10",
4
- "11": "Joan OneOf 11",
5
- "12": "Grace Bybit 12",
6
- "13": "Mileva CC 13",
7
- "14": "Adi CC 14",
8
- "15": "David Winterm 15",
9
- "16": "Claus Comply 16"
10
- },
11
2
  "users": {
12
- "operators": [10, 11, 12, 13, 14, 15, 16]
3
+ "apiV2": [
4
+ {
5
+ "name": "Hedy OneOf 10",
6
+ "publicKey": "04a6018f256a4d6128951862576f79a4993dbb15ad00f8f20d9478d8bb570a2bfc0148719fca6306bfcf6b965a0286daaa4d55625cc71dfe749451b8adb4de3d6b"
7
+ },
8
+ {
9
+ "name": "Joan Oneof 11",
10
+ "publicKey": "04d8b9408c73b8fbc1c3a819c2bc4d75493a86e0246eaa09787f536c1b375e3f0194c673dbe789ccbd2f7473a438b4ee8cd33dbb948f54ae9e8e5ff432f4bb71ba"
11
+ },
12
+ {
13
+ "name": "Grace Bybit 12",
14
+ "publicKey": "047cdbf03460e8d1ff08ff503004c547ab97c3d87b8bfd3fe11363724c8578cb7d18f0f1a452ed31dc2c55fdb5113524357f537b63893a628651cef5ccff8cda98"
15
+ },
16
+ {
17
+ "name": "Mileva CC 13",
18
+ "publicKey": "0497dbcf2bebe45a3ea5cbd8480f66503c82f2310a0fd3f81578b96d69703e1e5bf06e4353048185d447167a3ab1fad8d8a2949bfe14b059c94f12e949ba11a838"
19
+ },
20
+ {
21
+ "name": "Adi CC 14",
22
+ "publicKey": "04945fd6a66e3e447057c7c101da38eabf19d1dc4a762d684e339f23fdab5cc7489dda4f64a8ac8626a8a2056047670dce1f86fb441e0349125c3426a44c86cfd3"
23
+ },
24
+ {
25
+ "name": "David Winterm 15",
26
+ "publicKey": "040ae09c8c46510310f3179be8ec957b604adc5dd69324c800818a0726e2a52699a6e52e74d8b531573be744222e3b330a82d6484cf945226c405a3ef8f3fd7fc2"
27
+ },
28
+ {
29
+ "name": "Clause Comply 16",
30
+ "publicKey": "04aa8a0cd57345e9138deaf5c0833822567e50afefe063b3ca7bbfa188656f927049ae8733411650876f4932edd0873d4d550f5c5d0863dc97830f3f2c2d6dc987"
31
+ }
32
+ ]
13
33
  },
14
34
  "groups": [
15
35
  {
16
- "name": "Group OneOf",
36
+ "name": "My Compliance Team",
17
37
  "description": "",
18
- "users": [10, 11]
38
+ "users": ["Clause Comply 16"]
19
39
  },
20
40
  {
21
- "name": "Group Bybit",
41
+ "name": "Group Wintermute",
22
42
  "description": "",
23
- "users": [12]
43
+ "users": ["David Winterm 15"]
24
44
  },
25
45
  {
26
46
  "name": "Group Crypto.com",
27
47
  "description": "",
28
- "users": [13, 14]
48
+ "users": ["Mileva CC 13", "Adi CC 14"]
29
49
  },
30
50
  {
31
- "name": "Group Wintermute",
51
+ "name": "Group Bybit",
32
52
  "description": "",
33
- "users": [15]
53
+ "users": ["Grace Bybit 12"]
34
54
  },
35
55
  {
36
- "name": "My Compliance Team",
56
+ "name": "Group OneOf",
37
57
  "description": "",
38
- "users": [16]
58
+ "users": ["Hedy OneOf 10", "Joan Oneof 11"]
39
59
  }
40
60
  ],
41
61
  "whitelists": [
42
62
  {
43
- "name": "Oneof whitelist",
63
+ "name": "all exchanges",
64
+ "description": "",
65
+ "type": "TRANSACTION",
44
66
  "addresses": [
45
67
  {
46
- "address": "tb1q645fc9qjq4h9779ph2f2ade5mpqprhr2k68mtj",
68
+ "name": "Kraken n1",
69
+ "address": "tb1q7893kjx6gemqh4jpg5kld5r0qadmemu9kt6jxg",
70
+ "currency": "bitcoin_testnet"
71
+ },
72
+ {
73
+ "name": "Binance n0",
74
+ "address": "tb1qa87hqcqhec3g7dv03gncherlpvfh6wwt8nevnu",
47
75
  "currency": "bitcoin_testnet"
76
+ },
77
+ {
78
+ "name": "ETH sepopo",
79
+ "address": "0xb550388547691a526190d60C30C2f9E2af03fF3D",
80
+ "currency": "ethereum_sepolia"
48
81
  }
49
82
  ]
50
83
  },
51
84
  {
52
- "name": "crypto.com addresses",
85
+ "name": "wintermute addresses",
53
86
  "description": "",
87
+ "type": "TRANSACTION",
54
88
  "addresses": [
55
89
  {
56
- "name": "BTC Liquidity n0",
57
- "address": "tb1qa87hqcqhec3g7dv03gncherlpvfh6wwt8nevnu",
90
+ "name": "Kraken n1",
91
+ "address": "tb1q7893kjx6gemqh4jpg5kld5r0qadmemu9kt6jxg",
58
92
  "currency": "bitcoin_testnet"
59
93
  },
60
94
  {
61
- "name": "BTC Reserves n1",
62
- "address": "tb1q7893kjx6gemqh4jpg5kld5r0qadmemu9kt6jxg",
95
+ "name": "Binance n0",
96
+ "address": "tb1qa87hqcqhec3g7dv03gncherlpvfh6wwt8nevnu",
63
97
  "currency": "bitcoin_testnet"
98
+ },
99
+ {
100
+ "name": "ETH sepopo",
101
+ "address": "0xb550388547691a526190d60C30C2f9E2af03fF3D",
102
+ "currency": "ethereum_sepolia"
64
103
  }
65
104
  ]
66
105
  },
67
106
  {
68
107
  "name": "bybit addresses",
69
108
  "description": "",
109
+ "type": "TRANSACTION",
70
110
  "addresses": [
111
+ {
112
+ "name": "Kraken n1",
113
+ "address": "tb1q7893kjx6gemqh4jpg5kld5r0qadmemu9kt6jxg",
114
+ "currency": "bitcoin_testnet"
115
+ },
71
116
  {
72
117
  "name": "Binance n0",
73
118
  "address": "tb1qa87hqcqhec3g7dv03gncherlpvfh6wwt8nevnu",
74
119
  "currency": "bitcoin_testnet"
75
120
  },
76
121
  {
77
- "name": "Kraken n1",
78
- "address": "tb1q7893kjx6gemqh4jpg5kld5r0qadmemu9kt6jxg",
79
- "currency": "bitcoin_testnet"
122
+ "name": "ETH sepopo",
123
+ "address": "0xb550388547691a526190d60C30C2f9E2af03fF3D",
124
+ "currency": "ethereum_sepolia"
80
125
  }
81
126
  ]
82
127
  },
83
128
  {
84
- "name": "wintermute addresses",
129
+ "name": "crypto.com addresses",
85
130
  "description": "",
131
+ "type": "TRANSACTION",
86
132
  "addresses": [
87
133
  {
88
- "name": "Binance n0",
89
- "address": "tb1qa87hqcqhec3g7dv03gncherlpvfh6wwt8nevnu",
134
+ "name": "BTC Reserves n1",
135
+ "address": "tb1q7893kjx6gemqh4jpg5kld5r0qadmemu9kt6jxg",
90
136
  "currency": "bitcoin_testnet"
91
137
  },
92
138
  {
93
- "name": "Kraken n1",
94
- "address": "tb1q7893kjx6gemqh4jpg5kld5r0qadmemu9kt6jxg",
139
+ "name": "BTC Liquidity n0",
140
+ "address": "tb1qa87hqcqhec3g7dv03gncherlpvfh6wwt8nevnu",
95
141
  "currency": "bitcoin_testnet"
142
+ },
143
+ {
144
+ "name": "ETH sepopo",
145
+ "address": "0xb550388547691a526190d60C30C2f9E2af03fF3D",
146
+ "currency": "ethereum_sepolia"
96
147
  }
97
148
  ]
98
149
  },
99
150
  {
100
- "name": "all exchanges",
151
+ "name": "Oneof whitelist",
101
152
  "description": "",
153
+ "type": "TRANSACTION",
102
154
  "addresses": [
103
155
  {
104
- "name": "Binance n0",
105
- "address": "tb1qa87hqcqhec3g7dv03gncherlpvfh6wwt8nevnu",
156
+ "name": "bitcoin_testnet-1",
157
+ "address": "tb1q645fc9qjq4h9779ph2f2ade5mpqprhr2k68mtj",
106
158
  "currency": "bitcoin_testnet"
107
159
  },
108
160
  {
109
- "name": "Kraken n1",
110
- "address": "tb1q7893kjx6gemqh4jpg5kld5r0qadmemu9kt6jxg",
111
- "currency": "bitcoin_testnet"
161
+ "name": "ETH sepopo",
162
+ "address": "0xb550388547691a526190d60C30C2f9E2af03fF3D",
163
+ "currency": "ethereum_sepolia"
112
164
  }
113
165
  ]
114
166
  }
167
+ ],
168
+ "accounts": [
169
+ {
170
+ "name": "TL-0001-BIT-OOF-KOM",
171
+ "currency": "bitcoin_testnet",
172
+ "derivationMode": "NATIVE_SEGWIT",
173
+ "tradelink_data": {
174
+ "currency": "bitcoin_testnet",
175
+ "custodian": {
176
+ "id": 1,
177
+ "approver_group_id": 5,
178
+ "whitelist_id": 5,
179
+ "role": "CUSTODIAN",
180
+ "name": "Komainu",
181
+ "logo_url": "https://pbs.twimg.com/profile_images/1412795738539581447/WoWVR9-f_400x400.png",
182
+ "code": "KOM"
183
+ },
184
+ "asset_manager": {
185
+ "id": 1,
186
+ "approver_group_id": 5,
187
+ "whitelist_id": 5,
188
+ "role": "CUSTODIAN",
189
+ "name": "Komainu",
190
+ "logo_url": "https://pbs.twimg.com/profile_images/1412795738539581447/WoWVR9-f_400x400.png",
191
+ "code": "KOM"
192
+ },
193
+ "exchanges": [
194
+ {
195
+ "id": 1,
196
+ "approver_group_id": 3,
197
+ "whitelist_id": 4,
198
+ "name": "Crypto.com",
199
+ "role": "EXCHANGE",
200
+ "logo_url": "https://static.intercomassets.com/avatars/5265558/square_128/Logo-1636463979.jpg",
201
+ "code": "CCc",
202
+ "requires_pre_approval": false
203
+ },
204
+ {
205
+ "id": 2,
206
+ "approver_group_id": 2,
207
+ "whitelist_id": 3,
208
+ "name": "ByBit",
209
+ "role": "EXCHANGE",
210
+ "code": "BBt",
211
+ "logo_url": "https://seeklogo.com/images/B/bybit-logo-4C31FD6A08-seeklogo.com.png",
212
+ "requires_pre_approval": false
213
+ },
214
+ {
215
+ "id": 3,
216
+ "approver_group_id": 4,
217
+ "whitelist_id": 2,
218
+ "name": "Wintemute",
219
+ "role": "EXCHANGE",
220
+ "logo_url": "https://pbs.twimg.com/profile_images/1731739745997234176/wBqS9X5A_400x400.jpg",
221
+ "code": "WIT",
222
+ "requires_pre_approval": false
223
+ }
224
+ ]
225
+ },
226
+ "rules": [
227
+ [
228
+ {
229
+ "type": "MULTI_AUTHORIZATIONS",
230
+ "steps": [
231
+ {
232
+ "quorum": 1,
233
+ "group": "Group Crypto.com"
234
+ },
235
+ {
236
+ "quorum": 1,
237
+ "group": "My Compliance Team"
238
+ }
239
+ ]
240
+ },
241
+ {
242
+ "type": "WHITELIST",
243
+ "whitelists": ["crypto.com addresses"]
244
+ }
245
+ ],
246
+ [
247
+ {
248
+ "type": "MULTI_AUTHORIZATIONS",
249
+ "steps": [
250
+ {
251
+ "quorum": 1,
252
+ "group": "Group Bybit"
253
+ },
254
+ {
255
+ "quorum": 1,
256
+ "group": "My Compliance Team"
257
+ }
258
+ ]
259
+ },
260
+ {
261
+ "type": "WHITELIST",
262
+ "whitelists": ["bybit addresses"]
263
+ }
264
+ ],
265
+ [
266
+ {
267
+ "type": "MULTI_AUTHORIZATIONS",
268
+ "steps": [
269
+ {
270
+ "quorum": 1,
271
+ "group": "Group Wintermute"
272
+ },
273
+ {
274
+ "quorum": 1,
275
+ "group": "My Compliance Team"
276
+ }
277
+ ]
278
+ },
279
+ {
280
+ "type": "WHITELIST",
281
+ "whitelists": ["wintermute addresses"]
282
+ }
283
+ ],
284
+ [
285
+ {
286
+ "type": "MULTI_AUTHORIZATIONS",
287
+ "steps": [
288
+ {
289
+ "quorum": 1,
290
+ "group": "Group OneOf"
291
+ },
292
+ {
293
+ "quorum": 1,
294
+ "group": "Group OneOf"
295
+ },
296
+ {
297
+ "quorum": 1,
298
+ "group": "My Compliance Team"
299
+ }
300
+ ]
301
+ },
302
+ {
303
+ "type": "WHITELIST",
304
+ "whitelists": ["Oneof whitelist"]
305
+ }
306
+ ],
307
+ [
308
+ {
309
+ "type": "MULTI_AUTHORIZATIONS",
310
+ "steps": [
311
+ {
312
+ "quorum": 1,
313
+ "group": "My Compliance Team"
314
+ },
315
+ {
316
+ "quorum": 1,
317
+ "group": "My Compliance Team"
318
+ }
319
+ ]
320
+ },
321
+ {
322
+ "type": "WHITELIST",
323
+ "whitelists": ["all exchanges"]
324
+ }
325
+ ]
326
+ ]
327
+ }
115
328
  ]
116
329
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ledgerhq/vault-cli",
3
- "version": "1.53.1",
3
+ "version": "1.54.1",
4
4
  "description": "A various utility command-line for Vault development",
5
5
  "homepage": "https://github.com/LedgerHQ/vault-ts",
6
6
  "license": "BSD-2-Clause",
@@ -35,7 +35,7 @@
35
35
  "qs": "^6.11.2",
36
36
  "@ledgerhq/coin-check": "0.4.1",
37
37
  "@ledgerhq/live-common-stub": "1.5.1",
38
- "@ledgerhq/vault-common": "1.69.0",
38
+ "@ledgerhq/vault-common": "1.71.0",
39
39
  "@ledgerhq/vault-utils": "1.0.0"
40
40
  },
41
41
  "devDependencies": {