@ledgerhq/hw-app-eth 6.9.0 → 6.10.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/README.md +154 -153
- package/lib/contracts.js.map +1 -1
- package/lib-es/contracts.js.map +1 -1
- package/package.json +7 -7
- package/src/contracts.ts +1 -1
package/README.md
CHANGED
|
@@ -13,53 +13,53 @@ Ledger Hardware Wallet ETH JavaScript bindings.
|
|
|
13
13
|
|
|
14
14
|
#### Table of Contents
|
|
15
15
|
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
16
|
+
* [loadInfosForContractMethod](#loadinfosforcontractmethod)
|
|
17
|
+
* [Parameters](#parameters)
|
|
18
|
+
* [byContractAddressAndChainId](#bycontractaddressandchainid)
|
|
19
|
+
* [Parameters](#parameters-1)
|
|
20
|
+
* [list](#list)
|
|
21
|
+
* [Eth](#eth)
|
|
22
|
+
* [Parameters](#parameters-2)
|
|
23
|
+
* [Examples](#examples)
|
|
24
|
+
* [getAddress](#getaddress)
|
|
25
|
+
* [Parameters](#parameters-3)
|
|
26
|
+
* [Examples](#examples-1)
|
|
27
|
+
* [provideERC20TokenInformation](#provideerc20tokeninformation)
|
|
28
|
+
* [Parameters](#parameters-4)
|
|
29
|
+
* [Examples](#examples-2)
|
|
30
|
+
* [signTransaction](#signtransaction)
|
|
31
|
+
* [Parameters](#parameters-5)
|
|
32
|
+
* [Examples](#examples-3)
|
|
33
|
+
* [getAppConfiguration](#getappconfiguration)
|
|
34
|
+
* [signPersonalMessage](#signpersonalmessage)
|
|
35
|
+
* [Parameters](#parameters-6)
|
|
36
|
+
* [Examples](#examples-4)
|
|
37
|
+
* [signEIP712HashedMessage](#signeip712hashedmessage)
|
|
38
|
+
* [Parameters](#parameters-7)
|
|
39
|
+
* [Examples](#examples-5)
|
|
40
|
+
* [starkGetPublicKey](#starkgetpublickey)
|
|
41
|
+
* [Parameters](#parameters-8)
|
|
42
|
+
* [starkSignOrder](#starksignorder)
|
|
43
|
+
* [Parameters](#parameters-9)
|
|
44
|
+
* [starkSignOrder_v2](#starksignorder_v2)
|
|
45
|
+
* [Parameters](#parameters-10)
|
|
46
|
+
* [starkSignTransfer](#starksigntransfer)
|
|
47
|
+
* [Parameters](#parameters-11)
|
|
48
|
+
* [starkSignTransfer_v2](#starksigntransfer_v2)
|
|
49
|
+
* [Parameters](#parameters-12)
|
|
50
|
+
* [starkProvideQuantum](#starkprovidequantum)
|
|
51
|
+
* [Parameters](#parameters-13)
|
|
52
|
+
* [starkProvideQuantum_v2](#starkprovidequantum_v2)
|
|
53
|
+
* [Parameters](#parameters-14)
|
|
54
|
+
* [starkUnsafeSign](#starkunsafesign)
|
|
55
|
+
* [Parameters](#parameters-15)
|
|
56
|
+
* [eth2GetPublicKey](#eth2getpublickey)
|
|
57
|
+
* [Parameters](#parameters-16)
|
|
58
|
+
* [Examples](#examples-6)
|
|
59
|
+
* [eth2SetWithdrawalIndex](#eth2setwithdrawalindex)
|
|
60
|
+
* [Parameters](#parameters-17)
|
|
61
|
+
* [setExternalPlugin](#setexternalplugin)
|
|
62
|
+
* [Parameters](#parameters-18)
|
|
63
63
|
|
|
64
64
|
### loadInfosForContractMethod
|
|
65
65
|
|
|
@@ -67,12 +67,12 @@ Retrieve the metadatas a given contract address and a method selector
|
|
|
67
67
|
|
|
68
68
|
#### Parameters
|
|
69
69
|
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
70
|
+
* `contractAddress` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**
|
|
71
|
+
* `selector` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**
|
|
72
|
+
* `chainId` **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)**
|
|
73
|
+
* `userPluginsLoadConfig` **PluginsLoadConfig**
|
|
74
74
|
|
|
75
|
-
Returns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)
|
|
75
|
+
Returns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)<(ContractMethod | [undefined](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/undefined))>**
|
|
76
76
|
|
|
77
77
|
### byContractAddressAndChainId
|
|
78
78
|
|
|
@@ -80,8 +80,8 @@ Retrieve the token information by a given contract address if any
|
|
|
80
80
|
|
|
81
81
|
#### Parameters
|
|
82
82
|
|
|
83
|
-
|
|
84
|
-
|
|
83
|
+
* `contract` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**
|
|
84
|
+
* `chainId` **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)**
|
|
85
85
|
|
|
86
86
|
Returns **(TokenInfo | null | [undefined](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/undefined))**
|
|
87
87
|
|
|
@@ -89,7 +89,7 @@ Returns **(TokenInfo | null | [undefined](https://developer.mozilla.org/docs/Web
|
|
|
89
89
|
|
|
90
90
|
list all the ERC20 tokens informations
|
|
91
91
|
|
|
92
|
-
Returns **[Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)
|
|
92
|
+
Returns **[Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)\<TokenInfo>**
|
|
93
93
|
|
|
94
94
|
### Eth
|
|
95
95
|
|
|
@@ -97,9 +97,9 @@ Ethereum API
|
|
|
97
97
|
|
|
98
98
|
#### Parameters
|
|
99
99
|
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
100
|
+
* `transport` **Transport**
|
|
101
|
+
* `scrambleKey` (optional, default `"w0w"`)
|
|
102
|
+
* `pluginsLoadConfig` **PluginsLoadConfig** (optional, default `{}`)
|
|
103
103
|
|
|
104
104
|
#### Examples
|
|
105
105
|
|
|
@@ -114,9 +114,9 @@ get Ethereum address for a given BIP 32 path.
|
|
|
114
114
|
|
|
115
115
|
##### Parameters
|
|
116
116
|
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
117
|
+
* `path` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** a path in BIP 32 format
|
|
118
|
+
* `boolDisplay` **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)?**
|
|
119
|
+
* `boolChaincode` **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)?**
|
|
120
120
|
|
|
121
121
|
##### Examples
|
|
122
122
|
|
|
@@ -124,7 +124,7 @@ get Ethereum address for a given BIP 32 path.
|
|
|
124
124
|
eth.getAddress("44'/60'/0'/0/0").then(o => o.address)
|
|
125
125
|
```
|
|
126
126
|
|
|
127
|
-
Returns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)
|
|
127
|
+
Returns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)<{publicKey: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String), address: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String), chainCode: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)?}>** an object with a publicKey, address and (optionally) chainCode
|
|
128
128
|
|
|
129
129
|
#### provideERC20TokenInformation
|
|
130
130
|
|
|
@@ -136,8 +136,9 @@ calling this contract address to display the proper token information to the use
|
|
|
136
136
|
|
|
137
137
|
##### Parameters
|
|
138
138
|
|
|
139
|
-
|
|
140
|
-
|
|
139
|
+
* `info` **any** : a blob from "erc20.js" utilities that contains all token information.
|
|
140
|
+
|
|
141
|
+
* `info.data`
|
|
141
142
|
|
|
142
143
|
##### Examples
|
|
143
144
|
|
|
@@ -148,7 +149,7 @@ if (zrxInfo) await appEth.provideERC20TokenInformation(zrxInfo)
|
|
|
148
149
|
const signed = await appEth.signTransaction(path, rawTxHex)
|
|
149
150
|
```
|
|
150
151
|
|
|
151
|
-
Returns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)
|
|
152
|
+
Returns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)<[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)>**
|
|
152
153
|
|
|
153
154
|
#### signTransaction
|
|
154
155
|
|
|
@@ -156,8 +157,8 @@ You can sign a transaction and retrieve v, r, s given the raw transaction and th
|
|
|
156
157
|
|
|
157
158
|
##### Parameters
|
|
158
159
|
|
|
159
|
-
|
|
160
|
-
|
|
160
|
+
* `path` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**
|
|
161
|
+
* `rawTxHex` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**
|
|
161
162
|
|
|
162
163
|
##### Examples
|
|
163
164
|
|
|
@@ -165,11 +166,11 @@ You can sign a transaction and retrieve v, r, s given the raw transaction and th
|
|
|
165
166
|
eth.signTransaction("44'/60'/0'/0/0", "e8018504e3b292008252089428ee52a8f3d6e5d15f8b131996950d7f296c7952872bd72a2487400080").then(result => ...)
|
|
166
167
|
```
|
|
167
168
|
|
|
168
|
-
Returns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)
|
|
169
|
+
Returns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)<{s: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String), v: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String), r: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)}>**
|
|
169
170
|
|
|
170
171
|
#### getAppConfiguration
|
|
171
172
|
|
|
172
|
-
Returns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)
|
|
173
|
+
Returns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)<{arbitraryDataEnabled: [number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number), erc20ProvisioningNecessary: [number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number), starkEnabled: [number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number), starkv2Supported: [number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number), version: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)}>**
|
|
173
174
|
|
|
174
175
|
#### signPersonalMessage
|
|
175
176
|
|
|
@@ -177,8 +178,8 @@ You can sign a message according to eth_sign RPC call and retrieve v, r, s given
|
|
|
177
178
|
|
|
178
179
|
##### Parameters
|
|
179
180
|
|
|
180
|
-
|
|
181
|
-
|
|
181
|
+
* `path` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**
|
|
182
|
+
* `messageHex` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**
|
|
182
183
|
|
|
183
184
|
##### Examples
|
|
184
185
|
|
|
@@ -193,7 +194,7 @@ console.log("Signature 0x" + result['r'] + result['s'] + v);
|
|
|
193
194
|
})
|
|
194
195
|
```
|
|
195
196
|
|
|
196
|
-
Returns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)
|
|
197
|
+
Returns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)<{v: [number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number), s: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String), r: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)}>**
|
|
197
198
|
|
|
198
199
|
#### signEIP712HashedMessage
|
|
199
200
|
|
|
@@ -201,9 +202,9 @@ Sign a prepared message following web3.eth.signTypedData specification. The host
|
|
|
201
202
|
|
|
202
203
|
##### Parameters
|
|
203
204
|
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
205
|
+
* `path` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**
|
|
206
|
+
* `domainSeparatorHex` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**
|
|
207
|
+
* `hashStructMessageHex` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**
|
|
207
208
|
|
|
208
209
|
##### Examples
|
|
209
210
|
|
|
@@ -218,7 +219,7 @@ console.log("Signature 0x" + result['r'] + result['s'] + v);
|
|
|
218
219
|
})
|
|
219
220
|
```
|
|
220
221
|
|
|
221
|
-
Returns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)
|
|
222
|
+
Returns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)<{v: [number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number), s: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String), r: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)}>**
|
|
222
223
|
|
|
223
224
|
#### starkGetPublicKey
|
|
224
225
|
|
|
@@ -226,10 +227,10 @@ get Stark public key for a given BIP 32 path.
|
|
|
226
227
|
|
|
227
228
|
##### Parameters
|
|
228
229
|
|
|
229
|
-
|
|
230
|
-
|
|
230
|
+
* `path` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** a path in BIP 32 format
|
|
231
|
+
* `boolDisplay` **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)?**
|
|
231
232
|
|
|
232
|
-
Returns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)
|
|
233
|
+
Returns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)<[Buffer](https://nodejs.org/api/buffer.html)>** the Stark public key
|
|
233
234
|
|
|
234
235
|
#### starkSignOrder
|
|
235
236
|
|
|
@@ -237,19 +238,19 @@ sign a Stark order
|
|
|
237
238
|
|
|
238
239
|
##### Parameters
|
|
239
240
|
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
241
|
+
* `path` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** a path in BIP 32 format
|
|
242
|
+
* `sourceTokenAddress` **([string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String) | [undefined](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/undefined))**
|
|
243
|
+
* `sourceQuantization` **BigNumber** quantization used for the source token
|
|
244
|
+
* `destinationTokenAddress` **([string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String) | [undefined](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/undefined))**
|
|
245
|
+
* `destinationQuantization` **BigNumber** quantization used for the destination token
|
|
246
|
+
* `sourceVault` **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)** ID of the source vault
|
|
247
|
+
* `destinationVault` **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)** ID of the destination vault
|
|
248
|
+
* `amountSell` **BigNumber** amount to sell
|
|
249
|
+
* `amountBuy` **BigNumber** amount to buy
|
|
250
|
+
* `nonce` **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)** transaction nonce
|
|
251
|
+
* `timestamp` **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)** transaction validity timestamp
|
|
251
252
|
|
|
252
|
-
Returns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)
|
|
253
|
+
Returns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)<([Buffer](https://nodejs.org/api/buffer.html) | {r: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String), s: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)})>** the signature
|
|
253
254
|
|
|
254
255
|
#### starkSignOrder_v2
|
|
255
256
|
|
|
@@ -257,23 +258,23 @@ sign a Stark order using the Starkex V2 protocol
|
|
|
257
258
|
|
|
258
259
|
##### Parameters
|
|
259
260
|
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
Returns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)
|
|
261
|
+
* `path` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** a path in BIP 32 format
|
|
262
|
+
* `sourceTokenAddress` **([string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String) | [undefined](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/undefined))**
|
|
263
|
+
* `sourceQuantizationType` **StarkQuantizationType** quantization type used for the source token
|
|
264
|
+
* `sourceQuantization` **(BigNumber | [undefined](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/undefined))**
|
|
265
|
+
* `sourceMintableBlobOrTokenId` **(BigNumber | [undefined](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/undefined))**
|
|
266
|
+
* `destinationTokenAddress` **([string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String) | [undefined](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/undefined))**
|
|
267
|
+
* `destinationQuantizationType` **StarkQuantizationType** quantization type used for the destination token
|
|
268
|
+
* `destinationQuantization` **(BigNumber | [undefined](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/undefined))**
|
|
269
|
+
* `destinationMintableBlobOrTokenId` **(BigNumber | [undefined](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/undefined))**
|
|
270
|
+
* `sourceVault` **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)** ID of the source vault
|
|
271
|
+
* `destinationVault` **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)** ID of the destination vault
|
|
272
|
+
* `amountSell` **BigNumber** amount to sell
|
|
273
|
+
* `amountBuy` **BigNumber** amount to buy
|
|
274
|
+
* `nonce` **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)** transaction nonce
|
|
275
|
+
* `timestamp` **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)** transaction validity timestamp
|
|
276
|
+
|
|
277
|
+
Returns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)<([Buffer](https://nodejs.org/api/buffer.html) | {r: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String), s: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)})>** the signature
|
|
277
278
|
|
|
278
279
|
#### starkSignTransfer
|
|
279
280
|
|
|
@@ -281,17 +282,17 @@ sign a Stark transfer
|
|
|
281
282
|
|
|
282
283
|
##### Parameters
|
|
283
284
|
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
285
|
+
* `path` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** a path in BIP 32 format
|
|
286
|
+
* `transferTokenAddress` **([string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String) | [undefined](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/undefined))**
|
|
287
|
+
* `transferQuantization` **BigNumber** quantization used for the token to be transferred
|
|
288
|
+
* `targetPublicKey` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** target Stark public key
|
|
289
|
+
* `sourceVault` **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)** ID of the source vault
|
|
290
|
+
* `destinationVault` **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)** ID of the destination vault
|
|
291
|
+
* `amountTransfer` **BigNumber** amount to transfer
|
|
292
|
+
* `nonce` **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)** transaction nonce
|
|
293
|
+
* `timestamp` **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)** transaction validity timestamp
|
|
293
294
|
|
|
294
|
-
Returns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)
|
|
295
|
+
Returns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)<([Buffer](https://nodejs.org/api/buffer.html) | {r: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String), s: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)})>** the signature
|
|
295
296
|
|
|
296
297
|
#### starkSignTransfer_v2
|
|
297
298
|
|
|
@@ -299,21 +300,21 @@ sign a Stark transfer or conditional transfer using the Starkex V2 protocol
|
|
|
299
300
|
|
|
300
301
|
##### Parameters
|
|
301
302
|
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
Returns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)
|
|
303
|
+
* `path` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** a path in BIP 32 format
|
|
304
|
+
* `transferTokenAddress` **([string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String) | [undefined](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/undefined))**
|
|
305
|
+
* `transferQuantizationType` **StarkQuantizationType** quantization type used for the token to be transferred
|
|
306
|
+
* `transferQuantization` **(BigNumber | [undefined](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/undefined))**
|
|
307
|
+
* `transferMintableBlobOrTokenId` **(BigNumber | [undefined](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/undefined))**
|
|
308
|
+
* `targetPublicKey` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** target Stark public key
|
|
309
|
+
* `sourceVault` **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)** ID of the source vault
|
|
310
|
+
* `destinationVault` **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)** ID of the destination vault
|
|
311
|
+
* `amountTransfer` **BigNumber** amount to transfer
|
|
312
|
+
* `nonce` **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)** transaction nonce
|
|
313
|
+
* `timestamp` **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)** transaction validity timestamp
|
|
314
|
+
* `conditionalTransferAddress` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)?**
|
|
315
|
+
* `conditionalTransferFact` **BigNumber?**
|
|
316
|
+
|
|
317
|
+
Returns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)<([Buffer](https://nodejs.org/api/buffer.html) | {r: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String), s: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)})>** the signature
|
|
317
318
|
|
|
318
319
|
#### starkProvideQuantum
|
|
319
320
|
|
|
@@ -323,10 +324,10 @@ It shall be run following a provideERC20TokenInformation call for the given cont
|
|
|
323
324
|
|
|
324
325
|
##### Parameters
|
|
325
326
|
|
|
326
|
-
|
|
327
|
-
|
|
327
|
+
* `operationContract` **([string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String) | [undefined](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/undefined))** contract address of the token to be transferred (not present for ETH)
|
|
328
|
+
* `operationQuantization` **BigNumber** quantization used for the token to be transferred
|
|
328
329
|
|
|
329
|
-
Returns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)
|
|
330
|
+
Returns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)<[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)>**
|
|
330
331
|
|
|
331
332
|
#### starkProvideQuantum_v2
|
|
332
333
|
|
|
@@ -336,12 +337,12 @@ It shall be run following a provideERC20TokenInformation call for the given cont
|
|
|
336
337
|
|
|
337
338
|
##### Parameters
|
|
338
339
|
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
340
|
+
* `operationContract` **([string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String) | [undefined](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/undefined))** contract address of the token to be transferred (not present for ETH)
|
|
341
|
+
* `operationQuantizationType` **StarkQuantizationType** quantization type of the token to be transferred
|
|
342
|
+
* `operationQuantization` **BigNumber?**
|
|
343
|
+
* `operationMintableBlobOrTokenId` **BigNumber?**
|
|
343
344
|
|
|
344
|
-
Returns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)
|
|
345
|
+
Returns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)<[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)>**
|
|
345
346
|
|
|
346
347
|
#### starkUnsafeSign
|
|
347
348
|
|
|
@@ -350,10 +351,10 @@ It is intended for speed of execution in case an unknown Stark model is pushed a
|
|
|
350
351
|
|
|
351
352
|
##### Parameters
|
|
352
353
|
|
|
353
|
-
|
|
354
|
-
|
|
354
|
+
* `path` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** a path in BIP 32 format
|
|
355
|
+
* `hash` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** hexadecimal hash to sign
|
|
355
356
|
|
|
356
|
-
Returns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)
|
|
357
|
+
Returns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)<([Buffer](https://nodejs.org/api/buffer.html) | {r: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String), s: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)})>** the signature
|
|
357
358
|
|
|
358
359
|
#### eth2GetPublicKey
|
|
359
360
|
|
|
@@ -361,8 +362,8 @@ get an Ethereum 2 BLS-12 381 public key for a given BIP 32 path.
|
|
|
361
362
|
|
|
362
363
|
##### Parameters
|
|
363
364
|
|
|
364
|
-
|
|
365
|
-
|
|
365
|
+
* `path` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** a path in BIP 32 format
|
|
366
|
+
* `boolDisplay` **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)?**
|
|
366
367
|
|
|
367
368
|
##### Examples
|
|
368
369
|
|
|
@@ -370,7 +371,7 @@ get an Ethereum 2 BLS-12 381 public key for a given BIP 32 path.
|
|
|
370
371
|
eth.eth2GetPublicKey("12381/3600/0/0").then(o => o.publicKey)
|
|
371
372
|
```
|
|
372
373
|
|
|
373
|
-
Returns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)
|
|
374
|
+
Returns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)<{publicKey: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)}>** an object with a publicKey
|
|
374
375
|
|
|
375
376
|
#### eth2SetWithdrawalIndex
|
|
376
377
|
|
|
@@ -380,9 +381,9 @@ It shall be run before the ETH 2 deposit transaction is signed. If not called, t
|
|
|
380
381
|
|
|
381
382
|
##### Parameters
|
|
382
383
|
|
|
383
|
-
|
|
384
|
+
* `withdrawalIndex` **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)** index path in the EIP 2334 path m/12381/3600/withdrawalIndex/0
|
|
384
385
|
|
|
385
|
-
Returns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)
|
|
386
|
+
Returns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)<[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)>** True if the method was executed successfully
|
|
386
387
|
|
|
387
388
|
#### setExternalPlugin
|
|
388
389
|
|
|
@@ -390,8 +391,8 @@ Set the name of the plugin that should be used to parse the next transaction
|
|
|
390
391
|
|
|
391
392
|
##### Parameters
|
|
392
393
|
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
394
|
+
* `pluginName` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** string containing the name of the plugin, must have length between 1 and 30 bytes
|
|
395
|
+
* `contractAddress` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**
|
|
396
|
+
* `selector` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**
|
|
396
397
|
|
|
397
|
-
Returns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)
|
|
398
|
+
Returns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)<[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)>** True if the method was executed successfully
|
package/lib/contracts.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contracts.js","sourceRoot":"","sources":["../src/contracts.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,gDAA0B;AAoB1B,IAAM,wBAAwB,GAAG;IAC/B,OAAO,EAAE,6BAA6B;IACtC,YAAY,EAAE,IAAI;CACnB,CAAC;AAEF;;GAEG;AACI,IAAM,0BAA0B,GAAG,UACxC,eAAuB,EACvB,QAAgB,EAChB,OAAe,EACf,qBAAwC;;;;;gBAElC,2BACD,wBAAwB,GACxB,qBAAqB,CACzB,EAHO,OAAO,aAAA,EAAE,YAAY,kBAAA,CAG3B;qBACS,CAAC,OAAO,EAAR,wBAAQ;gBACf,KAAA,EAAE,CAAA;;oBACF,qBAAM,kBAAK;qBACR,GAAG,CAAI,OAAO,2BAAwB,CAAC;qBACvC,IAAI,CAAC,UAAC,CAAC,IAAK,OAAA,CAAC,CAAC,
|
|
1
|
+
{"version":3,"file":"contracts.js","sourceRoot":"","sources":["../src/contracts.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,gDAA0B;AAoB1B,IAAM,wBAAwB,GAAG;IAC/B,OAAO,EAAE,6BAA6B;IACtC,YAAY,EAAE,IAAI;CACnB,CAAC;AAEF;;GAEG;AACI,IAAM,0BAA0B,GAAG,UACxC,eAAuB,EACvB,QAAgB,EAChB,OAAe,EACf,qBAAwC;;;;;gBAElC,2BACD,wBAAwB,GACxB,qBAAqB,CACzB,EAHO,OAAO,aAAA,EAAE,YAAY,kBAAA,CAG3B;qBACS,CAAC,OAAO,EAAR,wBAAQ;gBACf,KAAA,EAAE,CAAA;;oBACF,qBAAM,kBAAK;qBACR,GAAG,CAAI,OAAO,2BAAwB,CAAC;qBACvC,IAAI,CAAC,UAAC,CAAC,IAAK,OAAA,CAAC,CAAC,IAAW,EAAb,CAAa,CAAC,CAC1B,OAAK,CAAA,CAAC,UAAC,CAAC;oBACP,IACE,CAAC,CAAC,QAAQ;wBACV,GAAG,IAAI,CAAC,CAAC,QAAQ,CAAC,MAAM;wBACxB,CAAC,CAAC,QAAQ,CAAC,MAAM,GAAG,GAAG,EACvB;wBACA,OAAO,IAAI,CAAC,CAAC,6GAA6G;qBAC3H;oBACD,MAAM,CAAC,CAAC;gBACV,CAAC,CAAC,EAAA;;gBAZJ,KAAA,SAYI,CAAA;;;gBAdJ,IAAI,KAcA;gBAER,IAAI,YAAY,EAAE;oBAChB,IAAI,yBAAQ,IAAI,GAAK,YAAY,CAAE,CAAC;iBACrC;gBAED,IAAI,CAAC,IAAI;oBAAE,sBAAO;gBAEZ,UAAU,GAAG,QAAQ,CAAC,WAAW,EAAE,CAAC;gBACpC,iBAAiB,GAAG,eAAe,CAAC,WAAW,EAAE,CAAC;gBAExD,IAAI,iBAAiB,IAAI,IAAI,EAAE;oBACvB,iBAAiB,GAAG,IAAI,CAAC,iBAAiB,CAAC,CAAC;oBAElD,IAAI,UAAU,IAAI,iBAAiB,EAAE;wBACnC,sBAAO;gCACL,OAAO,EAAE,iBAAiB,CAAC,UAAU,CAAC,CAAC,iBAAiB,CAAC;gCACzD,SAAS,EAAE,iBAAiB,CAAC,UAAU,CAAC,CAAC,WAAW,CAAC;gCACrD,MAAM,EAAE,iBAAiB,CAAC,UAAU,CAAC,CAAC,QAAQ,CAAC;gCAC/C,eAAe,EAAE,iBAAiB,CAAC,UAAU,CAAC,CAAC,iBAAiB,CAAC;gCACjE,GAAG,EAAE,iBAAiB,CAAC,KAAK,CAAC;6BAC9B,EAAC;qBACH;iBACF;;;;KACF,CAAC;AAhDW,QAAA,0BAA0B,8BAgDrC"}
|
package/lib-es/contracts.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contracts.js","sourceRoot":"","sources":["../src/contracts.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAoB1B,IAAM,wBAAwB,GAAG;IAC/B,OAAO,EAAE,6BAA6B;IACtC,YAAY,EAAE,IAAI;CACnB,CAAC;AAEF;;GAEG;AACH,MAAM,CAAC,IAAM,0BAA0B,GAAG,UACxC,eAAuB,EACvB,QAAgB,EAChB,OAAe,EACf,qBAAwC;;;;;gBAElC,2BACD,wBAAwB,GACxB,qBAAqB,CACzB,EAHO,OAAO,aAAA,EAAE,YAAY,kBAAA,CAG3B;qBACS,CAAC,OAAO,EAAR,wBAAQ;gBACf,KAAA,EAAE,CAAA;;oBACF,qBAAM,KAAK;qBACR,GAAG,CAAI,OAAO,2BAAwB,CAAC;qBACvC,IAAI,CAAC,UAAC,CAAC,IAAK,OAAA,CAAC,CAAC,
|
|
1
|
+
{"version":3,"file":"contracts.js","sourceRoot":"","sources":["../src/contracts.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAoB1B,IAAM,wBAAwB,GAAG;IAC/B,OAAO,EAAE,6BAA6B;IACtC,YAAY,EAAE,IAAI;CACnB,CAAC;AAEF;;GAEG;AACH,MAAM,CAAC,IAAM,0BAA0B,GAAG,UACxC,eAAuB,EACvB,QAAgB,EAChB,OAAe,EACf,qBAAwC;;;;;gBAElC,2BACD,wBAAwB,GACxB,qBAAqB,CACzB,EAHO,OAAO,aAAA,EAAE,YAAY,kBAAA,CAG3B;qBACS,CAAC,OAAO,EAAR,wBAAQ;gBACf,KAAA,EAAE,CAAA;;oBACF,qBAAM,KAAK;qBACR,GAAG,CAAI,OAAO,2BAAwB,CAAC;qBACvC,IAAI,CAAC,UAAC,CAAC,IAAK,OAAA,CAAC,CAAC,IAAW,EAAb,CAAa,CAAC,CAC1B,OAAK,CAAA,CAAC,UAAC,CAAC;oBACP,IACE,CAAC,CAAC,QAAQ;wBACV,GAAG,IAAI,CAAC,CAAC,QAAQ,CAAC,MAAM;wBACxB,CAAC,CAAC,QAAQ,CAAC,MAAM,GAAG,GAAG,EACvB;wBACA,OAAO,IAAI,CAAC,CAAC,6GAA6G;qBAC3H;oBACD,MAAM,CAAC,CAAC;gBACV,CAAC,CAAC,EAAA;;gBAZJ,KAAA,SAYI,CAAA;;;gBAdJ,IAAI,KAcA;gBAER,IAAI,YAAY,EAAE;oBAChB,IAAI,yBAAQ,IAAI,GAAK,YAAY,CAAE,CAAC;iBACrC;gBAED,IAAI,CAAC,IAAI;oBAAE,sBAAO;gBAEZ,UAAU,GAAG,QAAQ,CAAC,WAAW,EAAE,CAAC;gBACpC,iBAAiB,GAAG,eAAe,CAAC,WAAW,EAAE,CAAC;gBAExD,IAAI,iBAAiB,IAAI,IAAI,EAAE;oBACvB,iBAAiB,GAAG,IAAI,CAAC,iBAAiB,CAAC,CAAC;oBAElD,IAAI,UAAU,IAAI,iBAAiB,EAAE;wBACnC,sBAAO;gCACL,OAAO,EAAE,iBAAiB,CAAC,UAAU,CAAC,CAAC,iBAAiB,CAAC;gCACzD,SAAS,EAAE,iBAAiB,CAAC,UAAU,CAAC,CAAC,WAAW,CAAC;gCACrD,MAAM,EAAE,iBAAiB,CAAC,UAAU,CAAC,CAAC,QAAQ,CAAC;gCAC/C,eAAe,EAAE,iBAAiB,CAAC,UAAU,CAAC,CAAC,iBAAiB,CAAC;gCACjE,GAAG,EAAE,iBAAiB,CAAC,KAAK,CAAC;6BAC9B,EAAC;qBACH;iBACF;;;;KACF,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ledgerhq/hw-app-eth",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.10.0",
|
|
4
4
|
"description": "Ledger Hardware Wallet Ethereum Application API",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Ledger",
|
|
@@ -27,11 +27,11 @@
|
|
|
27
27
|
"types": "lib/Eth.d.ts",
|
|
28
28
|
"license": "Apache-2.0",
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@ledgerhq/cryptoassets": "^6.
|
|
31
|
-
"@ledgerhq/errors": "^6.
|
|
32
|
-
"@ledgerhq/hw-transport": "^6.
|
|
33
|
-
"@ledgerhq/logs": "^6.
|
|
34
|
-
"axios": "^0.
|
|
30
|
+
"@ledgerhq/cryptoassets": "^6.10.0",
|
|
31
|
+
"@ledgerhq/errors": "^6.10.0",
|
|
32
|
+
"@ledgerhq/hw-transport": "^6.10.0",
|
|
33
|
+
"@ledgerhq/logs": "^6.10.0",
|
|
34
|
+
"axios": "^0.23.0",
|
|
35
35
|
"bignumber.js": "^9.0.1",
|
|
36
36
|
"ethers": "^5.4.7"
|
|
37
37
|
},
|
|
@@ -41,5 +41,5 @@
|
|
|
41
41
|
"watch": "bash ../../script/watch.sh",
|
|
42
42
|
"doc": "bash ../../script/doc.sh"
|
|
43
43
|
},
|
|
44
|
-
"gitHead": "
|
|
44
|
+
"gitHead": "03b06be36f668077572feb4d5ccd7486f546f7b4"
|
|
45
45
|
}
|