@bitgo/account-lib 2.17.1-rc.8 → 2.17.2-node12.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.
Files changed (133) hide show
  1. package/dist/browser/bitgo-account-lib.js +2 -0
  2. package/dist/browser/bitgo-account-lib.js.LICENSE.txt +416 -0
  3. package/dist/browser/bitgo-account-lib.min.js +1 -1
  4. package/dist/browser/bitgo-account-lib.min.js.LICENSE.txt +4 -4
  5. package/dist/package.json +4 -4
  6. package/dist/resources/dot/index.ts +2 -0
  7. package/dist/resources/dot/mainnet.ts +2 -0
  8. package/dist/resources/dot/westend.ts +2 -0
  9. package/dist/src/coin/dot/addressInitializationBuilder.d.ts +80 -0
  10. package/dist/src/coin/dot/addressInitializationBuilder.d.ts.map +1 -0
  11. package/dist/src/coin/dot/addressInitializationBuilder.js +205 -0
  12. package/dist/src/coin/dot/batchTransactionBuilder.d.ts +47 -0
  13. package/dist/src/coin/dot/batchTransactionBuilder.d.ts.map +1 -0
  14. package/dist/src/coin/dot/batchTransactionBuilder.js +145 -0
  15. package/dist/src/coin/dot/errors.d.ts +8 -0
  16. package/dist/src/coin/dot/errors.d.ts.map +1 -0
  17. package/dist/src/coin/dot/errors.js +40 -0
  18. package/dist/src/coin/dot/iface.d.ts +181 -0
  19. package/dist/src/coin/dot/iface.d.ts.map +1 -0
  20. package/dist/src/coin/dot/iface.js +37 -0
  21. package/dist/src/coin/dot/stakingBuilder.d.ts +59 -0
  22. package/dist/src/coin/dot/stakingBuilder.d.ts.map +1 -0
  23. package/dist/src/coin/dot/stakingBuilder.js +157 -0
  24. package/dist/src/coin/dot/txnSchema.d.ts +12 -0
  25. package/dist/src/coin/dot/txnSchema.d.ts.map +1 -0
  26. package/dist/src/coin/dot/txnSchema.js +95 -0
  27. package/dist/src/coin/dot/unnominateBuilder.d.ts +24 -0
  28. package/dist/src/coin/dot/unnominateBuilder.d.ts.map +1 -0
  29. package/dist/src/coin/dot/unnominateBuilder.js +72 -0
  30. package/dist/src/coin/dot/unstakeBuilder.d.ts +38 -0
  31. package/dist/src/coin/dot/unstakeBuilder.d.ts.map +1 -0
  32. package/dist/src/coin/dot/unstakeBuilder.js +111 -0
  33. package/dist/src/coin/near/index.d.ts +5 -0
  34. package/dist/src/coin/near/index.d.ts.map +1 -0
  35. package/dist/src/coin/near/index.js +29 -0
  36. package/dist/src/coin/near/keyPair.d.ts +19 -0
  37. package/dist/src/coin/near/keyPair.d.ts.map +1 -0
  38. package/dist/src/coin/near/keyPair.js +76 -0
  39. package/dist/src/coin/near/transaction.d.ts +11 -0
  40. package/dist/src/coin/near/transaction.d.ts.map +1 -0
  41. package/dist/src/coin/near/transaction.js +41 -0
  42. package/dist/src/coin/near/transactionBuilder.d.ts +28 -0
  43. package/dist/src/coin/near/transactionBuilder.d.ts.map +1 -0
  44. package/dist/src/coin/near/transactionBuilder.js +68 -0
  45. package/dist/src/coin/near/transactionBuilderFactory.d.ts +24 -0
  46. package/dist/src/coin/near/transactionBuilderFactory.d.ts.map +1 -0
  47. package/dist/src/coin/near/transactionBuilderFactory.js +56 -0
  48. package/dist/src/coin/near/transferBuilder.d.ts +14 -0
  49. package/dist/src/coin/near/transferBuilder.d.ts.map +1 -0
  50. package/dist/src/coin/near/transferBuilder.js +81 -0
  51. package/dist/src/coin/near/utils.d.ts +19 -0
  52. package/dist/src/coin/near/utils.d.ts.map +1 -0
  53. package/dist/src/coin/near/utils.js +61 -0
  54. package/dist/src/coin/near/walletInitializationBuilder.d.ts +14 -0
  55. package/dist/src/coin/near/walletInitializationBuilder.d.ts.map +1 -0
  56. package/dist/src/coin/near/walletInitializationBuilder.js +81 -0
  57. package/dist/src/coin/sol/constants.d.ts +49 -0
  58. package/dist/src/coin/sol/constants.d.ts.map +1 -0
  59. package/dist/src/coin/sol/constants.js +65 -0
  60. package/dist/src/coin/sol/iface.d.ts +80 -0
  61. package/dist/src/coin/sol/iface.d.ts.map +1 -0
  62. package/dist/src/coin/sol/iface.js +3 -0
  63. package/dist/src/coin/sol/index.d.ts +8 -0
  64. package/dist/src/coin/sol/index.d.ts.map +1 -0
  65. package/dist/src/coin/sol/index.js +35 -0
  66. package/dist/src/coin/sol/instructionParamsFactory.d.ts +12 -0
  67. package/dist/src/coin/sol/instructionParamsFactory.d.ts.map +1 -0
  68. package/dist/src/coin/sol/instructionParamsFactory.js +198 -0
  69. package/dist/src/coin/sol/keyPair.d.ts +27 -0
  70. package/dist/src/coin/sol/keyPair.d.ts.map +1 -0
  71. package/dist/src/coin/sol/keyPair.js +81 -0
  72. package/dist/src/coin/sol/solInstructionFactory.d.ts +10 -0
  73. package/dist/src/coin/sol/solInstructionFactory.d.ts.map +1 -0
  74. package/dist/src/coin/sol/solInstructionFactory.js +174 -0
  75. package/dist/src/coin/sol/stakingActivateBuilder.d.ts +41 -0
  76. package/dist/src/coin/sol/stakingActivateBuilder.d.ts.map +1 -0
  77. package/dist/src/coin/sol/stakingActivateBuilder.js +162 -0
  78. package/dist/src/coin/sol/stakingDeactivateBuilder.d.ts +23 -0
  79. package/dist/src/coin/sol/stakingDeactivateBuilder.d.ts.map +1 -0
  80. package/dist/src/coin/sol/stakingDeactivateBuilder.js +130 -0
  81. package/dist/src/coin/sol/stakingWithdrawBuilder.d.ts +31 -0
  82. package/dist/src/coin/sol/stakingWithdrawBuilder.d.ts.map +1 -0
  83. package/dist/src/coin/sol/stakingWithdrawBuilder.js +146 -0
  84. package/dist/src/coin/sol/transaction.d.ts +56 -0
  85. package/dist/src/coin/sol/transaction.d.ts.map +1 -0
  86. package/dist/src/coin/sol/transaction.js +419 -0
  87. package/dist/src/coin/sol/transactionBuilder.d.ts +98 -0
  88. package/dist/src/coin/sol/transactionBuilder.d.ts.map +1 -0
  89. package/dist/src/coin/sol/transactionBuilder.js +318 -0
  90. package/dist/src/coin/sol/transactionBuilderFactory.d.ts +68 -0
  91. package/dist/src/coin/sol/transactionBuilderFactory.d.ts.map +1 -0
  92. package/dist/src/coin/sol/transactionBuilderFactory.js +132 -0
  93. package/dist/src/coin/sol/transferBuilder.d.ts +26 -0
  94. package/dist/src/coin/sol/transferBuilder.d.ts.map +1 -0
  95. package/dist/src/coin/sol/transferBuilder.js +138 -0
  96. package/dist/src/coin/sol/utils.d.ts +126 -0
  97. package/dist/src/coin/sol/utils.d.ts.map +1 -0
  98. package/dist/src/coin/sol/utils.js +315 -0
  99. package/dist/src/coin/sol/walletInitializationBuilder.d.ts +26 -0
  100. package/dist/src/coin/sol/walletInitializationBuilder.d.ts.map +1 -0
  101. package/dist/src/coin/sol/walletInitializationBuilder.js +139 -0
  102. package/dist/src/coin/stx/abstractContractBuilder.d.ts +19 -0
  103. package/dist/src/coin/stx/abstractContractBuilder.d.ts.map +1 -0
  104. package/dist/src/coin/stx/abstractContractBuilder.js +140 -0
  105. package/dist/src/coin/stx/constants.d.ts +8 -0
  106. package/dist/src/coin/stx/constants.d.ts.map +1 -0
  107. package/dist/src/coin/stx/constants.js +19 -0
  108. package/dist/src/coin/stx/sendmanyBuilder.d.ts +23 -0
  109. package/dist/src/coin/stx/sendmanyBuilder.d.ts.map +1 -0
  110. package/dist/src/coin/stx/sendmanyBuilder.js +140 -0
  111. package/dist/src/coin/stx/transaction.js +2 -2
  112. package/dist/src/coin/stx/utils.d.ts +3 -3
  113. package/dist/src/coin/stx/utils.d.ts.map +1 -1
  114. package/dist/src/coin/stx/utils.js +10 -7
  115. package/dist/src/keyPair/index.d.ts +4 -0
  116. package/dist/src/keyPair/index.d.ts.map +1 -0
  117. package/dist/src/keyPair/index.js +38 -0
  118. package/dist/src/mpc/curves.d.ts +14 -0
  119. package/dist/src/mpc/curves.d.ts.map +1 -0
  120. package/dist/src/mpc/curves.js +99 -0
  121. package/dist/src/mpc/shamir.d.ts +7 -0
  122. package/dist/src/mpc/shamir.d.ts.map +1 -0
  123. package/dist/src/mpc/shamir.js +91 -0
  124. package/dist/src/mpc/tss.d.ts +69 -0
  125. package/dist/src/mpc/tss.d.ts.map +1 -0
  126. package/dist/src/mpc/tss.js +255 -0
  127. package/dist/src/utils/ed25519KeyDeriver.d.ts +49 -0
  128. package/dist/src/utils/ed25519KeyDeriver.d.ts.map +1 -0
  129. package/dist/src/utils/ed25519KeyDeriver.js +92 -0
  130. package/dist/src/utils/index.d.ts +9 -0
  131. package/dist/src/utils/index.d.ts.map +1 -0
  132. package/dist/src/utils/index.js +43 -0
  133. package/package.json +4 -4
@@ -0,0 +1,416 @@
1
+ /*
2
+ * [hi-base32]{@link https://github.com/emn178/hi-base32}
3
+ *
4
+ * @version 0.5.0
5
+ * @author Chen, Yi-Cyuan [emn178@gmail.com]
6
+ * @copyright Chen, Yi-Cyuan 2015-2018
7
+ * @license MIT
8
+ */
9
+
10
+ /*
11
+ * [js-sha512]{@link https://github.com/emn178/js-sha512}
12
+ *
13
+ * @version 0.8.0
14
+ * @author Chen, Yi-Cyuan [emn178@gmail.com]
15
+ * @copyright Chen, Yi-Cyuan 2014-2018
16
+ * @license MIT
17
+ */
18
+
19
+ /*
20
+ object-assign
21
+ (c) Sindre Sorhus
22
+ @license MIT
23
+ */
24
+
25
+ /*!
26
+ * mustache.js - Logic-less {{mustache}} templates with JavaScript
27
+ * http://github.com/janl/mustache.js
28
+ */
29
+
30
+ /*!
31
+ * @overview es6-promise - a tiny implementation of Promises/A+.
32
+ * @copyright Copyright (c) 2014 Yehuda Katz, Tom Dale, Stefan Penner and contributors (Conversion to ES6 API by Jake Archibald)
33
+ * @license Licensed under MIT license
34
+ * See https://raw.githubusercontent.com/stefanpenner/es6-promise/master/LICENSE
35
+ * @version v4.2.8+1e68dce6
36
+ */
37
+
38
+ /*!
39
+ * The buffer module from node.js, for the browser.
40
+ *
41
+ * @author Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
42
+ * @license MIT
43
+ */
44
+
45
+ /*!
46
+ * The buffer module from node.js, for the browser.
47
+ *
48
+ * @author Feross Aboukhadijeh <https://feross.org>
49
+ * @license MIT
50
+ */
51
+
52
+ /*!
53
+ * URI.js - Mutating URLs
54
+ *
55
+ * Version: 1.19.6
56
+ *
57
+ * Author: Rodney Rehm
58
+ * Web: http://medialize.github.io/URI.js/
59
+ *
60
+ * Licensed under
61
+ * MIT License http://www.opensource.org/licenses/mit-license
62
+ *
63
+ */
64
+
65
+ /*!
66
+ * URI.js - Mutating URLs
67
+ * IPv6 Support
68
+ *
69
+ * Version: 1.19.6
70
+ *
71
+ * Author: Rodney Rehm
72
+ * Web: http://medialize.github.io/URI.js/
73
+ *
74
+ * Licensed under
75
+ * MIT License http://www.opensource.org/licenses/mit-license
76
+ *
77
+ */
78
+
79
+ /*!
80
+ * URI.js - Mutating URLs
81
+ * Second Level Domain (SLD) Support
82
+ *
83
+ * Version: 1.19.6
84
+ *
85
+ * Author: Rodney Rehm
86
+ * Web: http://medialize.github.io/URI.js/
87
+ *
88
+ * Licensed under
89
+ * MIT License http://www.opensource.org/licenses/mit-license
90
+ *
91
+ */
92
+
93
+ /*!
94
+ * URI.js - Mutating URLs
95
+ * URI Template Support - http://tools.ietf.org/html/rfc6570
96
+ *
97
+ * Version: 1.19.6
98
+ *
99
+ * Author: Rodney Rehm
100
+ * Web: http://medialize.github.io/URI.js/
101
+ *
102
+ * Licensed under
103
+ * MIT License http://www.opensource.org/licenses/mit-license
104
+ *
105
+ */
106
+
107
+ /*!
108
+ * assert.js - assert for bcrypto
109
+ * Copyright (c) 2020, Christopher Jeffrey (MIT License).
110
+ * https://github.com/bcoin-org/bcrypto
111
+ */
112
+
113
+ /*!
114
+ * depd
115
+ * Copyright(c) 2015 Douglas Christopher Wilson
116
+ * MIT Licensed
117
+ */
118
+
119
+ /*!
120
+ * hkdf.js - hkdf for bcrypto
121
+ * Copyright (c) 2014-2019, Christopher Jeffrey (MIT License).
122
+ * https://github.com/bcoin-org/bcrypto
123
+ *
124
+ * Resources:
125
+ * https://en.wikipedia.org/wiki/HKDF
126
+ * https://tools.ietf.org/html/rfc5869
127
+ */
128
+
129
+ /*!
130
+ * hkdf.js - hkdf for bcrypto
131
+ * Copyright (c) 2017-2019, Christopher Jeffrey (MIT License).
132
+ * https://github.com/bcoin-org/bcrypto
133
+ */
134
+
135
+ /*!
136
+ * hmac.js - hmac for bcrypto
137
+ * Copyright (c) 2016-2019, Christopher Jeffrey (MIT License).
138
+ * https://github.com/bcoin-org/bcrypto
139
+ *
140
+ * Parts of this software are based on indutny/hash.js:
141
+ * Copyright (c) 2014, Fedor Indutny (MIT License).
142
+ * https://github.com/indutny/hash.js
143
+ *
144
+ * Resources:
145
+ * https://en.wikipedia.org/wiki/HMAC
146
+ * https://tools.ietf.org/html/rfc2104
147
+ * https://github.com/indutny/hash.js/blob/master/lib/hash/hmac.js
148
+ */
149
+
150
+ /*!
151
+ * http-errors
152
+ * Copyright(c) 2014 Jonathan Ong
153
+ * Copyright(c) 2016 Douglas Christopher Wilson
154
+ * MIT Licensed
155
+ */
156
+
157
+ /*!
158
+ * random.js - random for bcrypto
159
+ * Copyright (c) 2017-2019, Christopher Jeffrey (MIT License).
160
+ * https://github.com/bcoin-org/bcrypto
161
+ */
162
+
163
+ /*!
164
+ * random.js - random number generator for bcrypto
165
+ * Copyright (c) 2014-2019, Christopher Jeffrey (MIT License).
166
+ * https://github.com/bcoin-org/bcrypto
167
+ *
168
+ * Resources:
169
+ * https://wiki.openssl.org/index.php/Random_Numbers
170
+ * https://csrc.nist.gov/projects/random-bit-generation/
171
+ * http://www.pcg-random.org/posts/bounded-rands.html
172
+ * https://developer.mozilla.org/en-US/docs/Web/API/Crypto/getRandomValues
173
+ */
174
+
175
+ /*!
176
+ * sha256.js - SHA256 implementation for bcrypto
177
+ * Copyright (c) 2016-2019, Christopher Jeffrey (MIT License).
178
+ * https://github.com/bcoin-org/bcrypto
179
+ *
180
+ * Parts of this software are based on indutny/hash.js:
181
+ * Copyright (c) 2014, Fedor Indutny (MIT License).
182
+ * https://github.com/indutny/hash.js
183
+ *
184
+ * Resources:
185
+ * https://en.wikipedia.org/wiki/SHA-2
186
+ * https://tools.ietf.org/html/rfc4634
187
+ * https://github.com/indutny/hash.js/blob/master/lib/hash/sha/256.js
188
+ */
189
+
190
+ /*!
191
+ * sha256.js - sha256 for bcrypto
192
+ * Copyright (c) 2017-2019, Christopher Jeffrey (MIT License).
193
+ * https://github.com/bcoin-org/bcrypto
194
+ */
195
+
196
+ /*!
197
+ * statuses
198
+ * Copyright(c) 2014 Jonathan Ong
199
+ * Copyright(c) 2016 Douglas Christopher Wilson
200
+ * MIT Licensed
201
+ */
202
+
203
+ /*!
204
+ * toidentifier
205
+ * Copyright(c) 2016 Douglas Christopher Wilson
206
+ * MIT Licensed
207
+ */
208
+
209
+ /*!
210
+ Copyright (C) 2013-2017 by Andrea Giammarchi - @WebReflection
211
+
212
+ Permission is hereby granted, free of charge, to any person obtaining a copy
213
+ of this software and associated documentation files (the "Software"), to deal
214
+ in the Software without restriction, including without limitation the rights
215
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
216
+ copies of the Software, and to permit persons to whom the Software is
217
+ furnished to do so, subject to the following conditions:
218
+
219
+ The above copyright notice and this permission notice shall be included in
220
+ all copies or substantial portions of the Software.
221
+
222
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
223
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
224
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
225
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
226
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
227
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
228
+ THE SOFTWARE.
229
+
230
+ */
231
+
232
+ /*! *****************************************************************************
233
+ Copyright (c) Microsoft Corporation.
234
+
235
+ Permission to use, copy, modify, and/or distribute this software for any
236
+ purpose with or without fee is hereby granted.
237
+
238
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
239
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
240
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
241
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
242
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
243
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
244
+ PERFORMANCE OF THIS SOFTWARE.
245
+ ***************************************************************************** */
246
+
247
+ /*! For license information please see algosdk.min.js.LICENSE.txt */
248
+
249
+ /*! For license information please see lib.js.LICENSE.txt */
250
+
251
+ /*! bignumber.js v4.1.0 https://github.com/MikeMcl/bignumber.js/LICENCE */
252
+
253
+ /*! https://mths.be/punycode v1.3.2 by @mathias */
254
+
255
+ /*! https://mths.be/punycode v1.4.0 by @mathias */
256
+
257
+ /*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
258
+
259
+ /*! micro-base - MIT License (c) 2021 Paul Miller (paulmillr.com) */
260
+
261
+ /*! noble-hashes - MIT License (c) 2021 Paul Miller (paulmillr.com) */
262
+
263
+ /*! noble-secp256k1 - MIT License (c) Paul Miller (paulmillr.com) */
264
+
265
+ /*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
266
+
267
+ /**
268
+ * @license
269
+ * Lodash <https://lodash.com/>
270
+ * Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
271
+ * Released under MIT license <https://lodash.com/license>
272
+ * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
273
+ * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
274
+ */
275
+
276
+ /**
277
+ * @license Long.js (c) 2013 Daniel Wirtz <dcode@dcode.io>
278
+ * Released under the Apache License, Version 2.0
279
+ * see: https://github.com/dcodeIO/Long.js for details
280
+ */
281
+
282
+ /**
283
+ * Support for translating between Uint8Array instances and JavaScript
284
+ * native types.
285
+ *
286
+ * {@link module:Layout~Layout|Layout} is the basis of a class
287
+ * hierarchy that associates property names with sequences of encoded
288
+ * bytes.
289
+ *
290
+ * Layouts are supported for these scalar (numeric) types:
291
+ * * {@link module:Layout~UInt|Unsigned integers in little-endian
292
+ * format} with {@link module:Layout.u8|8-bit}, {@link
293
+ * module:Layout.u16|16-bit}, {@link module:Layout.u24|24-bit},
294
+ * {@link module:Layout.u32|32-bit}, {@link
295
+ * module:Layout.u40|40-bit}, and {@link module:Layout.u48|48-bit}
296
+ * representation ranges;
297
+ * * {@link module:Layout~UIntBE|Unsigned integers in big-endian
298
+ * format} with {@link module:Layout.u16be|16-bit}, {@link
299
+ * module:Layout.u24be|24-bit}, {@link module:Layout.u32be|32-bit},
300
+ * {@link module:Layout.u40be|40-bit}, and {@link
301
+ * module:Layout.u48be|48-bit} representation ranges;
302
+ * * {@link module:Layout~Int|Signed integers in little-endian
303
+ * format} with {@link module:Layout.s8|8-bit}, {@link
304
+ * module:Layout.s16|16-bit}, {@link module:Layout.s24|24-bit},
305
+ * {@link module:Layout.s32|32-bit}, {@link
306
+ * module:Layout.s40|40-bit}, and {@link module:Layout.s48|48-bit}
307
+ * representation ranges;
308
+ * * {@link module:Layout~IntBE|Signed integers in big-endian format}
309
+ * with {@link module:Layout.s16be|16-bit}, {@link
310
+ * module:Layout.s24be|24-bit}, {@link module:Layout.s32be|32-bit},
311
+ * {@link module:Layout.s40be|40-bit}, and {@link
312
+ * module:Layout.s48be|48-bit} representation ranges;
313
+ * * 64-bit integral values that decode to an exact (if magnitude is
314
+ * less than 2^53) or nearby integral Number in {@link
315
+ * module:Layout.nu64|unsigned little-endian}, {@link
316
+ * module:Layout.nu64be|unsigned big-endian}, {@link
317
+ * module:Layout.ns64|signed little-endian}, and {@link
318
+ * module:Layout.ns64be|unsigned big-endian} encodings;
319
+ * * 32-bit floating point values with {@link
320
+ * module:Layout.f32|little-endian} and {@link
321
+ * module:Layout.f32be|big-endian} representations;
322
+ * * 64-bit floating point values with {@link
323
+ * module:Layout.f64|little-endian} and {@link
324
+ * module:Layout.f64be|big-endian} representations;
325
+ * * {@link module:Layout.const|Constants} that take no space in the
326
+ * encoded expression.
327
+ *
328
+ * and for these aggregate types:
329
+ * * {@link module:Layout.seq|Sequence}s of instances of a {@link
330
+ * module:Layout~Layout|Layout}, with JavaScript representation as
331
+ * an Array and constant or data-dependent {@link
332
+ * module:Layout~Sequence#count|length};
333
+ * * {@link module:Layout.struct|Structure}s that aggregate a
334
+ * heterogeneous sequence of {@link module:Layout~Layout|Layout}
335
+ * instances, with JavaScript representation as an Object;
336
+ * * {@link module:Layout.union|Union}s that support multiple {@link
337
+ * module:Layout~VariantLayout|variant layouts} over a fixed
338
+ * (padded) or variable (not padded) span of bytes, using an
339
+ * unsigned integer at the start of the data or a separate {@link
340
+ * module:Layout.unionLayoutDiscriminator|layout element} to
341
+ * determine which layout to use when interpreting the buffer
342
+ * contents;
343
+ * * {@link module:Layout.bits|BitStructure}s that contain a sequence
344
+ * of individual {@link
345
+ * module:Layout~BitStructure#addField|BitField}s packed into an 8,
346
+ * 16, 24, or 32-bit unsigned integer starting at the least- or
347
+ * most-significant bit;
348
+ * * {@link module:Layout.cstr|C strings} of varying length;
349
+ * * {@link module:Layout.blob|Blobs} of fixed- or variable-{@link
350
+ * module:Layout~Blob#length|length} raw data.
351
+ *
352
+ * All {@link module:Layout~Layout|Layout} instances are immutable
353
+ * after construction, to prevent internal state from becoming
354
+ * inconsistent.
355
+ *
356
+ * @local Layout
357
+ * @local ExternalLayout
358
+ * @local GreedyCount
359
+ * @local OffsetLayout
360
+ * @local UInt
361
+ * @local UIntBE
362
+ * @local Int
363
+ * @local IntBE
364
+ * @local NearUInt64
365
+ * @local NearUInt64BE
366
+ * @local NearInt64
367
+ * @local NearInt64BE
368
+ * @local Float
369
+ * @local FloatBE
370
+ * @local Double
371
+ * @local DoubleBE
372
+ * @local Sequence
373
+ * @local Structure
374
+ * @local UnionDiscriminator
375
+ * @local UnionLayoutDiscriminator
376
+ * @local Union
377
+ * @local VariantLayout
378
+ * @local BitStructure
379
+ * @local BitField
380
+ * @local Boolean
381
+ * @local Blob
382
+ * @local CString
383
+ * @local Constant
384
+ * @local bindConstructorLayout
385
+ * @module Layout
386
+ * @license MIT
387
+ * @author Peter A. Bigot
388
+ * @see {@link https://github.com/pabigot/buffer-layout|buffer-layout on GitHub}
389
+ */
390
+
391
+ /**
392
+ * [js-sha256]{@link https://github.com/emn178/js-sha256}
393
+ *
394
+ * @version 0.9.0
395
+ * @author Chen, Yi-Cyuan [emn178@gmail.com]
396
+ * @copyright Chen, Yi-Cyuan 2014-2017
397
+ * @license MIT
398
+ */
399
+
400
+ /**
401
+ * [js-sha3]{@link https://github.com/emn178/js-sha3}
402
+ *
403
+ * @version 0.5.7
404
+ * @author Chen, Yi-Cyuan [emn178@gmail.com]
405
+ * @copyright Chen, Yi-Cyuan 2015-2016
406
+ * @license MIT
407
+ */
408
+
409
+ /**
410
+ * [js-sha3]{@link https://github.com/emn178/js-sha3}
411
+ *
412
+ * @version 0.8.0
413
+ * @author Chen, Yi-Cyuan [emn178@gmail.com]
414
+ * @copyright Chen, Yi-Cyuan 2015-2018
415
+ * @license MIT
416
+ */