@bitgo/account-lib 2.17.2-rc.0.1 → 2.17.2-rc.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.
- package/dist/browser/bitgo-account-lib.min.js +1 -1
- package/dist/browser/bitgo-account-lib.min.js.LICENSE.txt +132 -0
- package/dist/package.json +6 -3
- package/dist/resources/dot/index.ts +2 -0
- package/dist/resources/dot/mainnet.ts +2 -0
- package/dist/resources/dot/westend.ts +2 -0
- package/dist/resources/trx/protobuf/tron.js~account-lib_master +31380 -0
- package/dist/src/coin/algo/keyExclusionBuilder.d.ts +9 -0
- package/dist/src/coin/algo/keyExclusionBuilder.d.ts.map +1 -0
- package/dist/src/coin/algo/keyExclusionBuilder.js +83 -0
- package/dist/src/coin/dot/errors.d.ts +5 -0
- package/dist/src/coin/dot/errors.d.ts.map +1 -0
- package/dist/src/coin/dot/errors.js +30 -0
- package/dist/src/coin/dot/iface.d.ts +154 -0
- package/dist/src/coin/dot/iface.d.ts.map +1 -0
- package/dist/src/coin/dot/iface.js +15 -0
- package/dist/src/coin/dot/stakingBuilder.d.ts +59 -0
- package/dist/src/coin/dot/stakingBuilder.d.ts.map +1 -0
- package/dist/src/coin/dot/stakingBuilder.js +162 -0
- package/dist/src/coin/dot/txnSchema.d.ts +10 -0
- package/dist/src/coin/dot/txnSchema.d.ts.map +1 -0
- package/dist/src/coin/dot/txnSchema.js +84 -0
- package/dist/src/coin/dot/unstakeBuilder.d.ts +38 -0
- package/dist/src/coin/dot/unstakeBuilder.d.ts.map +1 -0
- package/dist/src/coin/dot/unstakeBuilder.js +116 -0
- package/dist/src/coin/sol/iface.d.ts +1 -0
- package/dist/src/coin/sol/iface.d.ts.map +1 -0
- package/dist/src/coin/sol/iface.js +1 -0
- package/dist/src/coin/sol/index.d.ts +5 -0
- package/dist/src/coin/sol/index.d.ts.map +1 -0
- package/dist/src/coin/sol/index.js +29 -0
- package/dist/src/coin/sol/keyPair.d.ts +19 -0
- package/dist/src/coin/sol/keyPair.d.ts.map +1 -0
- package/dist/src/coin/sol/keyPair.js +50 -0
- package/dist/src/coin/sol/transaction.d.ts +36 -0
- package/dist/src/coin/sol/transaction.d.ts.map +1 -0
- package/dist/src/coin/sol/transaction.js +72 -0
- package/dist/src/coin/sol/transactionBuilder.d.ts +38 -0
- package/dist/src/coin/sol/transactionBuilder.d.ts.map +1 -0
- package/dist/src/coin/sol/transactionBuilder.js +116 -0
- package/dist/src/coin/sol/transactionBuilderFactory.d.ts +24 -0
- package/dist/src/coin/sol/transactionBuilderFactory.d.ts.map +1 -0
- package/dist/src/coin/sol/transactionBuilderFactory.js +56 -0
- package/dist/src/coin/sol/transferBuilder.d.ts +19 -0
- package/dist/src/coin/sol/transferBuilder.d.ts.map +1 -0
- package/dist/src/coin/sol/transferBuilder.js +93 -0
- package/dist/src/coin/sol/utils.d.ts +22 -0
- package/dist/src/coin/sol/utils.d.ts.map +1 -0
- package/dist/src/coin/sol/utils.js +88 -0
- package/dist/src/coin/sol/walletInitializationBuilder.d.ts +19 -0
- package/dist/src/coin/sol/walletInitializationBuilder.d.ts.map +1 -0
- package/dist/src/coin/sol/walletInitializationBuilder.js +93 -0
- package/dist/src/index.d.ts +2 -0
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +6 -2
- package/package.json +6 -3
|
@@ -175,6 +175,29 @@ object-assign
|
|
|
175
175
|
* https://github.com/bcoin-org/bcrypto
|
|
176
176
|
*/
|
|
177
177
|
|
|
178
|
+
/*!
|
|
179
|
+
Copyright (C) 2013-2017 by Andrea Giammarchi - @WebReflection
|
|
180
|
+
|
|
181
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
182
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
183
|
+
in the Software without restriction, including without limitation the rights
|
|
184
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
185
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
186
|
+
furnished to do so, subject to the following conditions:
|
|
187
|
+
|
|
188
|
+
The above copyright notice and this permission notice shall be included in
|
|
189
|
+
all copies or substantial portions of the Software.
|
|
190
|
+
|
|
191
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
192
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
193
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
194
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
195
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
196
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
197
|
+
THE SOFTWARE.
|
|
198
|
+
|
|
199
|
+
*/
|
|
200
|
+
|
|
178
201
|
/*! *****************************************************************************
|
|
179
202
|
Copyright (c) Microsoft Corporation.
|
|
180
203
|
|
|
@@ -217,6 +240,115 @@ PERFORMANCE OF THIS SOFTWARE.
|
|
|
217
240
|
* see: https://github.com/dcodeIO/Long.js for details
|
|
218
241
|
*/
|
|
219
242
|
|
|
243
|
+
/**
|
|
244
|
+
* Support for translating between Uint8Array instances and JavaScript
|
|
245
|
+
* native types.
|
|
246
|
+
*
|
|
247
|
+
* {@link module:Layout~Layout|Layout} is the basis of a class
|
|
248
|
+
* hierarchy that associates property names with sequences of encoded
|
|
249
|
+
* bytes.
|
|
250
|
+
*
|
|
251
|
+
* Layouts are supported for these scalar (numeric) types:
|
|
252
|
+
* * {@link module:Layout~UInt|Unsigned integers in little-endian
|
|
253
|
+
* format} with {@link module:Layout.u8|8-bit}, {@link
|
|
254
|
+
* module:Layout.u16|16-bit}, {@link module:Layout.u24|24-bit},
|
|
255
|
+
* {@link module:Layout.u32|32-bit}, {@link
|
|
256
|
+
* module:Layout.u40|40-bit}, and {@link module:Layout.u48|48-bit}
|
|
257
|
+
* representation ranges;
|
|
258
|
+
* * {@link module:Layout~UIntBE|Unsigned integers in big-endian
|
|
259
|
+
* format} with {@link module:Layout.u16be|16-bit}, {@link
|
|
260
|
+
* module:Layout.u24be|24-bit}, {@link module:Layout.u32be|32-bit},
|
|
261
|
+
* {@link module:Layout.u40be|40-bit}, and {@link
|
|
262
|
+
* module:Layout.u48be|48-bit} representation ranges;
|
|
263
|
+
* * {@link module:Layout~Int|Signed integers in little-endian
|
|
264
|
+
* format} with {@link module:Layout.s8|8-bit}, {@link
|
|
265
|
+
* module:Layout.s16|16-bit}, {@link module:Layout.s24|24-bit},
|
|
266
|
+
* {@link module:Layout.s32|32-bit}, {@link
|
|
267
|
+
* module:Layout.s40|40-bit}, and {@link module:Layout.s48|48-bit}
|
|
268
|
+
* representation ranges;
|
|
269
|
+
* * {@link module:Layout~IntBE|Signed integers in big-endian format}
|
|
270
|
+
* with {@link module:Layout.s16be|16-bit}, {@link
|
|
271
|
+
* module:Layout.s24be|24-bit}, {@link module:Layout.s32be|32-bit},
|
|
272
|
+
* {@link module:Layout.s40be|40-bit}, and {@link
|
|
273
|
+
* module:Layout.s48be|48-bit} representation ranges;
|
|
274
|
+
* * 64-bit integral values that decode to an exact (if magnitude is
|
|
275
|
+
* less than 2^53) or nearby integral Number in {@link
|
|
276
|
+
* module:Layout.nu64|unsigned little-endian}, {@link
|
|
277
|
+
* module:Layout.nu64be|unsigned big-endian}, {@link
|
|
278
|
+
* module:Layout.ns64|signed little-endian}, and {@link
|
|
279
|
+
* module:Layout.ns64be|unsigned big-endian} encodings;
|
|
280
|
+
* * 32-bit floating point values with {@link
|
|
281
|
+
* module:Layout.f32|little-endian} and {@link
|
|
282
|
+
* module:Layout.f32be|big-endian} representations;
|
|
283
|
+
* * 64-bit floating point values with {@link
|
|
284
|
+
* module:Layout.f64|little-endian} and {@link
|
|
285
|
+
* module:Layout.f64be|big-endian} representations;
|
|
286
|
+
* * {@link module:Layout.const|Constants} that take no space in the
|
|
287
|
+
* encoded expression.
|
|
288
|
+
*
|
|
289
|
+
* and for these aggregate types:
|
|
290
|
+
* * {@link module:Layout.seq|Sequence}s of instances of a {@link
|
|
291
|
+
* module:Layout~Layout|Layout}, with JavaScript representation as
|
|
292
|
+
* an Array and constant or data-dependent {@link
|
|
293
|
+
* module:Layout~Sequence#count|length};
|
|
294
|
+
* * {@link module:Layout.struct|Structure}s that aggregate a
|
|
295
|
+
* heterogeneous sequence of {@link module:Layout~Layout|Layout}
|
|
296
|
+
* instances, with JavaScript representation as an Object;
|
|
297
|
+
* * {@link module:Layout.union|Union}s that support multiple {@link
|
|
298
|
+
* module:Layout~VariantLayout|variant layouts} over a fixed
|
|
299
|
+
* (padded) or variable (not padded) span of bytes, using an
|
|
300
|
+
* unsigned integer at the start of the data or a separate {@link
|
|
301
|
+
* module:Layout.unionLayoutDiscriminator|layout element} to
|
|
302
|
+
* determine which layout to use when interpreting the buffer
|
|
303
|
+
* contents;
|
|
304
|
+
* * {@link module:Layout.bits|BitStructure}s that contain a sequence
|
|
305
|
+
* of individual {@link
|
|
306
|
+
* module:Layout~BitStructure#addField|BitField}s packed into an 8,
|
|
307
|
+
* 16, 24, or 32-bit unsigned integer starting at the least- or
|
|
308
|
+
* most-significant bit;
|
|
309
|
+
* * {@link module:Layout.cstr|C strings} of varying length;
|
|
310
|
+
* * {@link module:Layout.blob|Blobs} of fixed- or variable-{@link
|
|
311
|
+
* module:Layout~Blob#length|length} raw data.
|
|
312
|
+
*
|
|
313
|
+
* All {@link module:Layout~Layout|Layout} instances are immutable
|
|
314
|
+
* after construction, to prevent internal state from becoming
|
|
315
|
+
* inconsistent.
|
|
316
|
+
*
|
|
317
|
+
* @local Layout
|
|
318
|
+
* @local ExternalLayout
|
|
319
|
+
* @local GreedyCount
|
|
320
|
+
* @local OffsetLayout
|
|
321
|
+
* @local UInt
|
|
322
|
+
* @local UIntBE
|
|
323
|
+
* @local Int
|
|
324
|
+
* @local IntBE
|
|
325
|
+
* @local NearUInt64
|
|
326
|
+
* @local NearUInt64BE
|
|
327
|
+
* @local NearInt64
|
|
328
|
+
* @local NearInt64BE
|
|
329
|
+
* @local Float
|
|
330
|
+
* @local FloatBE
|
|
331
|
+
* @local Double
|
|
332
|
+
* @local DoubleBE
|
|
333
|
+
* @local Sequence
|
|
334
|
+
* @local Structure
|
|
335
|
+
* @local UnionDiscriminator
|
|
336
|
+
* @local UnionLayoutDiscriminator
|
|
337
|
+
* @local Union
|
|
338
|
+
* @local VariantLayout
|
|
339
|
+
* @local BitStructure
|
|
340
|
+
* @local BitField
|
|
341
|
+
* @local Boolean
|
|
342
|
+
* @local Blob
|
|
343
|
+
* @local CString
|
|
344
|
+
* @local Constant
|
|
345
|
+
* @local bindConstructorLayout
|
|
346
|
+
* @module Layout
|
|
347
|
+
* @license MIT
|
|
348
|
+
* @author Peter A. Bigot
|
|
349
|
+
* @see {@link https://github.com/pabigot/buffer-layout|buffer-layout on GitHub}
|
|
350
|
+
*/
|
|
351
|
+
|
|
220
352
|
/**
|
|
221
353
|
* [js-sha3]{@link https://github.com/emn178/js-sha3}
|
|
222
354
|
*
|
package/dist/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bitgo/account-lib",
|
|
3
|
-
"version": "2.17.2-rc.
|
|
3
|
+
"version": "2.17.2-rc.1",
|
|
4
4
|
"description": "BitGo's account library functions",
|
|
5
5
|
"main": "./dist/src/index.js",
|
|
6
6
|
"types": "./dist/src/index.d.ts",
|
|
@@ -36,11 +36,12 @@
|
|
|
36
36
|
"dependencies": {
|
|
37
37
|
"@bitgo/blake2b": "^3.0.1",
|
|
38
38
|
"@bitgo/bls": "^0.1.0",
|
|
39
|
-
"@bitgo/statics": "^6.15.1-rc.
|
|
39
|
+
"@bitgo/statics": "^6.15.1-rc.1",
|
|
40
40
|
"@celo/contractkit": "^1.2.4",
|
|
41
41
|
"@ethereumjs/common": "^2.4.0",
|
|
42
42
|
"@ethereumjs/tx": "^3.3.0",
|
|
43
43
|
"@hashgraph/sdk": "~2.3.0",
|
|
44
|
+
"@solana/web3.js": "^1.30.2",
|
|
44
45
|
"@stablelib/hex": "^1.0.0",
|
|
45
46
|
"@stablelib/sha384": "^1.0.0",
|
|
46
47
|
"@stacks/transactions": "2.0.1",
|
|
@@ -51,6 +52,7 @@
|
|
|
51
52
|
"bignumber.js": "^9.0.0",
|
|
52
53
|
"bip32": "^2.0.6",
|
|
53
54
|
"bitcoinjs-lib": "npm:@bitgo/bitcoinjs-lib@6.1.0-rc.3",
|
|
55
|
+
"bs58": "^4.0.1",
|
|
54
56
|
"bs58check": "^2.1.2",
|
|
55
57
|
"casper-client-sdk": "1.0.39",
|
|
56
58
|
"elliptic": "^6.5.2",
|
|
@@ -70,6 +72,7 @@
|
|
|
70
72
|
"tweetnacl": "^1.0.3"
|
|
71
73
|
},
|
|
72
74
|
"devDependencies": {
|
|
75
|
+
"@types/bs58": "^4.0.1",
|
|
73
76
|
"@types/elliptic": "^6.4.12",
|
|
74
77
|
"@types/libsodium-wrappers": "^0.7.7",
|
|
75
78
|
"@types/mocha": "^5.2.6",
|
|
@@ -109,5 +112,5 @@
|
|
|
109
112
|
"git add"
|
|
110
113
|
]
|
|
111
114
|
},
|
|
112
|
-
"gitHead": "
|
|
115
|
+
"gitHead": "e1dfa18a2913bcfcdd45792f0152594636adf5be"
|
|
113
116
|
}
|