aboutsummaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
authorSuat Özgür <s.oezguer@gmail.com>2018-12-17 00:43:16 +0100
committerSuat Özgür <s.oezguer@gmail.com>2018-12-17 00:43:16 +0100
commit8ffa333bc94699ce1945cf58b24838e73295b028 (patch)
tree9173d263f707c0602fd5dece9e19ccf1c082cc00 /libs
parent2ef27fb80b0aa0419d3ebd8b320b354fd24c67f3 (diff)
downloadBIP39-8ffa333bc94699ce1945cf58b24838e73295b028.tar.gz
BIP39-8ffa333bc94699ce1945cf58b24838e73295b028.tar.zst
BIP39-8ffa333bc94699ce1945cf58b24838e73295b028.zip
adding xlm stellar
Diffstat (limited to 'libs')
-rw-r--r--libs/stellar-util/package-lock.json1341
-rw-r--r--libs/stellar-util/package.json13
-rw-r--r--libs/stellar-util/stellar-util.js48
3 files changed, 1402 insertions, 0 deletions
diff --git a/libs/stellar-util/package-lock.json b/libs/stellar-util/package-lock.json
new file mode 100644
index 0000000..0dd4288
--- /dev/null
+++ b/libs/stellar-util/package-lock.json
@@ -0,0 +1,1341 @@
1{
2 "name": "stellar-util",
3 "version": "0.0.1",
4 "lockfileVersion": 1,
5 "requires": true,
6 "dependencies": {
7 "JSONStream": {
8 "version": "1.3.5",
9 "resolved": "https://registry.npmjs.org/JSONStream/-/JSONStream-1.3.5.tgz",
10 "integrity": "sha512-E+iruNOY8VV9s4JEbe1aNEm6MiszPRr/UfcHMz0TQh1BXSxHK+ASV1R6W4HpjBhSeS+54PIsAMCBmwD06LLsqQ==",
11 "dev": true,
12 "requires": {
13 "jsonparse": "^1.2.0",
14 "through": ">=2.2.7 <3"
15 }
16 },
17 "acorn": {
18 "version": "6.0.4",
19 "resolved": "https://registry.npmjs.org/acorn/-/acorn-6.0.4.tgz",
20 "integrity": "sha512-VY4i5EKSKkofY2I+6QLTbTTN/UvEQPCo6eiwzzSaSWfpaDhOmStMCMod6wmuPciNq+XS0faCglFu2lHZpdHUtg==",
21 "dev": true
22 },
23 "acorn-dynamic-import": {
24 "version": "4.0.0",
25 "resolved": "https://registry.npmjs.org/acorn-dynamic-import/-/acorn-dynamic-import-4.0.0.tgz",
26 "integrity": "sha512-d3OEjQV4ROpoflsnUA8HozoIR504TFxNivYEUi6uwz0IYhBkTDXGuWlNdMtybRt3nqVx/L6XqMt0FxkXuWKZhw==",
27 "dev": true
28 },
29 "acorn-node": {
30 "version": "1.6.2",
31 "resolved": "https://registry.npmjs.org/acorn-node/-/acorn-node-1.6.2.tgz",
32 "integrity": "sha512-rIhNEZuNI8ibQcL7ANm/mGyPukIaZsRNX9psFNQURyJW0nu6k8wjSDld20z6v2mDBWqX13pIEnk9gGZJHIlEXg==",
33 "dev": true,
34 "requires": {
35 "acorn": "^6.0.2",
36 "acorn-dynamic-import": "^4.0.0",
37 "acorn-walk": "^6.1.0",
38 "xtend": "^4.0.1"
39 }
40 },
41 "acorn-walk": {
42 "version": "6.1.1",
43 "resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-6.1.1.tgz",
44 "integrity": "sha512-OtUw6JUTgxA2QoqqmrmQ7F2NYqiBPi/L2jqHyFtllhOUvXYQXf0Z1CYUinIfyT4bTCGmrA7gX9FvHA81uzCoVw==",
45 "dev": true
46 },
47 "array-filter": {
48 "version": "0.0.1",
49 "resolved": "https://registry.npmjs.org/array-filter/-/array-filter-0.0.1.tgz",
50 "integrity": "sha1-fajPLiZijtcygDWB/SH2fKzS7uw=",
51 "dev": true
52 },
53 "array-map": {
54 "version": "0.0.0",
55 "resolved": "https://registry.npmjs.org/array-map/-/array-map-0.0.0.tgz",
56 "integrity": "sha1-iKK6tz0c97zVwbEYoAP2b2ZfpmI=",
57 "dev": true
58 },
59 "array-reduce": {
60 "version": "0.0.0",
61 "resolved": "https://registry.npmjs.org/array-reduce/-/array-reduce-0.0.0.tgz",
62 "integrity": "sha1-FziZ0//Rx9k4PkR5Ul2+J4yrXys=",
63 "dev": true
64 },
65 "asn1.js": {
66 "version": "4.10.1",
67 "resolved": "https://registry.npmjs.org/asn1.js/-/asn1.js-4.10.1.tgz",
68 "integrity": "sha512-p32cOF5q0Zqs9uBiONKYLm6BClCoBCM5O9JfeUSlnQLBTxYdTK+pW+nXflm8UkKd2UYlEbYz5qEi0JuZR9ckSw==",
69 "dev": true,
70 "requires": {
71 "bn.js": "^4.0.0",
72 "inherits": "^2.0.1",
73 "minimalistic-assert": "^1.0.0"
74 }
75 },
76 "assert": {
77 "version": "1.4.1",
78 "resolved": "https://registry.npmjs.org/assert/-/assert-1.4.1.tgz",
79 "integrity": "sha1-mZEtWRg2tab1s0XA8H7vwI/GXZE=",
80 "dev": true,
81 "requires": {
82 "util": "0.10.3"
83 },
84 "dependencies": {
85 "inherits": {
86 "version": "2.0.1",
87 "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.1.tgz",
88 "integrity": "sha1-sX0I0ya0Qj5Wjv9xn5GwscvfafE=",
89 "dev": true
90 },
91 "util": {
92 "version": "0.10.3",
93 "resolved": "http://registry.npmjs.org/util/-/util-0.10.3.tgz",
94 "integrity": "sha1-evsa/lCAUkZInj23/g7TeTNqwPk=",
95 "dev": true,
96 "requires": {
97 "inherits": "2.0.1"
98 }
99 }
100 }
101 },
102 "balanced-match": {
103 "version": "1.0.0",
104 "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz",
105 "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=",
106 "dev": true
107 },
108 "base32.js": {
109 "version": "0.1.0",
110 "resolved": "https://registry.npmjs.org/base32.js/-/base32.js-0.1.0.tgz",
111 "integrity": "sha1-tYLexpPC8R6JPPBk7mrFthMaIgI="
112 },
113 "base64-js": {
114 "version": "1.3.0",
115 "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.3.0.tgz",
116 "integrity": "sha512-ccav/yGvoa80BQDljCxsmmQ3Xvx60/UpBIij5QN21W3wBi/hhIC9OoO+KLpu9IJTS9j4DRVJ3aDDF9cMSoa2lw==",
117 "dev": true
118 },
119 "bignumber.js": {
120 "version": "4.1.0",
121 "resolved": "https://registry.npmjs.org/bignumber.js/-/bignumber.js-4.1.0.tgz",
122 "integrity": "sha512-eJzYkFYy9L4JzXsbymsFn3p54D+llV27oTQ+ziJG7WFRheJcNZilgVXMG0LoZtlQSKBsJdWtLFqOD0u+U0jZKA=="
123 },
124 "bindings": {
125 "version": "1.3.1",
126 "resolved": "https://registry.npmjs.org/bindings/-/bindings-1.3.1.tgz",
127 "integrity": "sha512-i47mqjF9UbjxJhxGf+pZ6kSxrnI3wBLlnGI2ArWJ4r0VrvDS7ZYXkprq/pLaBWYq4GM0r4zdHY+NNRqEMU7uew==",
128 "optional": true
129 },
130 "bn.js": {
131 "version": "4.11.8",
132 "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.11.8.tgz",
133 "integrity": "sha512-ItfYfPLkWHUjckQCk8xC+LwxgK8NYcXywGigJgSwOP8Y2iyWT4f2vsZnoOXTTbo+o5yXmIUJ4gn5538SO5S3gA==",
134 "dev": true
135 },
136 "brace-expansion": {
137 "version": "1.1.11",
138 "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",
139 "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==",
140 "dev": true,
141 "requires": {
142 "balanced-match": "^1.0.0",
143 "concat-map": "0.0.1"
144 }
145 },
146 "brorand": {
147 "version": "1.1.0",
148 "resolved": "https://registry.npmjs.org/brorand/-/brorand-1.1.0.tgz",
149 "integrity": "sha1-EsJe/kCkXjwyPrhnWgoM5XsiNx8=",
150 "dev": true
151 },
152 "browser-pack": {
153 "version": "6.1.0",
154 "resolved": "http://registry.npmjs.org/browser-pack/-/browser-pack-6.1.0.tgz",
155 "integrity": "sha512-erYug8XoqzU3IfcU8fUgyHqyOXqIE4tUTTQ+7mqUjQlvnXkOO6OlT9c/ZoJVHYoAaqGxr09CN53G7XIsO4KtWA==",
156 "dev": true,
157 "requires": {
158 "JSONStream": "^1.0.3",
159 "combine-source-map": "~0.8.0",
160 "defined": "^1.0.0",
161 "safe-buffer": "^5.1.1",
162 "through2": "^2.0.0",
163 "umd": "^3.0.0"
164 }
165 },
166 "browser-resolve": {
167 "version": "1.11.3",
168 "resolved": "https://registry.npmjs.org/browser-resolve/-/browser-resolve-1.11.3.tgz",
169 "integrity": "sha512-exDi1BYWB/6raKHmDTCicQfTkqwN5fioMFV4j8BsfMU4R2DK/QfZfK7kOVkmWCNANf0snkBzqGqAJBao9gZMdQ==",
170 "dev": true,
171 "requires": {
172 "resolve": "1.1.7"
173 },
174 "dependencies": {
175 "resolve": {
176 "version": "1.1.7",
177 "resolved": "http://registry.npmjs.org/resolve/-/resolve-1.1.7.tgz",
178 "integrity": "sha1-IDEU2CrSxe2ejgQRs5ModeiJ6Xs=",
179 "dev": true
180 }
181 }
182 },
183 "browserify": {
184 "version": "16.2.3",
185 "resolved": "https://registry.npmjs.org/browserify/-/browserify-16.2.3.tgz",
186 "integrity": "sha512-zQt/Gd1+W+IY+h/xX2NYMW4orQWhqSwyV+xsblycTtpOuB27h1fZhhNQuipJ4t79ohw4P4mMem0jp/ZkISQtjQ==",
187 "dev": true,
188 "requires": {
189 "JSONStream": "^1.0.3",
190 "assert": "^1.4.0",
191 "browser-pack": "^6.0.1",
192 "browser-resolve": "^1.11.0",
193 "browserify-zlib": "~0.2.0",
194 "buffer": "^5.0.2",
195 "cached-path-relative": "^1.0.0",
196 "concat-stream": "^1.6.0",
197 "console-browserify": "^1.1.0",
198 "constants-browserify": "~1.0.0",
199 "crypto-browserify": "^3.0.0",
200 "defined": "^1.0.0",
201 "deps-sort": "^2.0.0",
202 "domain-browser": "^1.2.0",
203 "duplexer2": "~0.1.2",
204 "events": "^2.0.0",
205 "glob": "^7.1.0",
206 "has": "^1.0.0",
207 "htmlescape": "^1.1.0",
208 "https-browserify": "^1.0.0",
209 "inherits": "~2.0.1",
210 "insert-module-globals": "^7.0.0",
211 "labeled-stream-splicer": "^2.0.0",
212 "mkdirp": "^0.5.0",
213 "module-deps": "^6.0.0",
214 "os-browserify": "~0.3.0",
215 "parents": "^1.0.1",
216 "path-browserify": "~0.0.0",
217 "process": "~0.11.0",
218 "punycode": "^1.3.2",
219 "querystring-es3": "~0.2.0",
220 "read-only-stream": "^2.0.0",
221 "readable-stream": "^2.0.2",
222 "resolve": "^1.1.4",
223 "shasum": "^1.0.0",
224 "shell-quote": "^1.6.1",
225 "stream-browserify": "^2.0.0",
226 "stream-http": "^2.0.0",
227 "string_decoder": "^1.1.1",
228 "subarg": "^1.0.0",
229 "syntax-error": "^1.1.1",
230 "through2": "^2.0.0",
231 "timers-browserify": "^1.0.1",
232 "tty-browserify": "0.0.1",
233 "url": "~0.11.0",
234 "util": "~0.10.1",
235 "vm-browserify": "^1.0.0",
236 "xtend": "^4.0.0"
237 }
238 },
239 "browserify-aes": {
240 "version": "1.2.0",
241 "resolved": "http://registry.npmjs.org/browserify-aes/-/browserify-aes-1.2.0.tgz",
242 "integrity": "sha512-+7CHXqGuspUn/Sl5aO7Ea0xWGAtETPXNSAjHo48JfLdPWcMng33Xe4znFvQweqc/uzk5zSOI3H52CYnjCfb5hA==",
243 "dev": true,
244 "requires": {
245 "buffer-xor": "^1.0.3",
246 "cipher-base": "^1.0.0",
247 "create-hash": "^1.1.0",
248 "evp_bytestokey": "^1.0.3",
249 "inherits": "^2.0.1",
250 "safe-buffer": "^5.0.1"
251 }
252 },
253 "browserify-cipher": {
254 "version": "1.0.1",
255 "resolved": "https://registry.npmjs.org/browserify-cipher/-/browserify-cipher-1.0.1.tgz",
256 "integrity": "sha512-sPhkz0ARKbf4rRQt2hTpAHqn47X3llLkUGn+xEJzLjwY8LRs2p0v7ljvI5EyoRO/mexrNunNECisZs+gw2zz1w==",
257 "dev": true,
258 "requires": {
259 "browserify-aes": "^1.0.4",
260 "browserify-des": "^1.0.0",
261 "evp_bytestokey": "^1.0.0"
262 }
263 },
264 "browserify-des": {
265 "version": "1.0.2",
266 "resolved": "https://registry.npmjs.org/browserify-des/-/browserify-des-1.0.2.tgz",
267 "integrity": "sha512-BioO1xf3hFwz4kc6iBhI3ieDFompMhrMlnDFC4/0/vd5MokpuAc3R+LYbwTA9A5Yc9pq9UYPqffKpW2ObuwX5A==",
268 "dev": true,
269 "requires": {
270 "cipher-base": "^1.0.1",
271 "des.js": "^1.0.0",
272 "inherits": "^2.0.1",
273 "safe-buffer": "^5.1.2"
274 }
275 },
276 "browserify-rsa": {
277 "version": "4.0.1",
278 "resolved": "http://registry.npmjs.org/browserify-rsa/-/browserify-rsa-4.0.1.tgz",
279 "integrity": "sha1-IeCr+vbyApzy+vsTNWenAdQTVSQ=",
280 "dev": true,
281 "requires": {
282 "bn.js": "^4.1.0",
283 "randombytes": "^2.0.1"
284 }
285 },
286 "browserify-sign": {
287 "version": "4.0.4",
288 "resolved": "https://registry.npmjs.org/browserify-sign/-/browserify-sign-4.0.4.tgz",
289 "integrity": "sha1-qk62jl17ZYuqa/alfmMMvXqT0pg=",
290 "dev": true,
291 "requires": {
292 "bn.js": "^4.1.1",
293 "browserify-rsa": "^4.0.0",
294 "create-hash": "^1.1.0",
295 "create-hmac": "^1.1.2",
296 "elliptic": "^6.0.0",
297 "inherits": "^2.0.1",
298 "parse-asn1": "^5.0.0"
299 }
300 },
301 "browserify-zlib": {
302 "version": "0.2.0",
303 "resolved": "https://registry.npmjs.org/browserify-zlib/-/browserify-zlib-0.2.0.tgz",
304 "integrity": "sha512-Z942RysHXmJrhqk88FmKBVq/v5tqmSkDz7p54G/MGyjMnCFFnC79XWNbg+Vta8W6Wb2qtSZTSxIGkJrRpCFEiA==",
305 "dev": true,
306 "requires": {
307 "pako": "~1.0.5"
308 }
309 },
310 "buffer": {
311 "version": "5.2.1",
312 "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.2.1.tgz",
313 "integrity": "sha512-c+Ko0loDaFfuPWiL02ls9Xd3GO3cPVmUobQ6t3rXNUk304u6hGq+8N/kFi+QEIKhzK3uwolVhLzszmfLmMLnqg==",
314 "dev": true,
315 "requires": {
316 "base64-js": "^1.0.2",
317 "ieee754": "^1.1.4"
318 }
319 },
320 "buffer-from": {
321 "version": "1.1.1",
322 "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.1.tgz",
323 "integrity": "sha512-MQcXEUbCKtEo7bhqEs6560Hyd4XaovZlO/k9V3hjVUF/zwW7KBVdSK4gIt/bzwS9MbR5qob+F5jusZsb0YQK2A==",
324 "dev": true
325 },
326 "buffer-xor": {
327 "version": "1.0.3",
328 "resolved": "https://registry.npmjs.org/buffer-xor/-/buffer-xor-1.0.3.tgz",
329 "integrity": "sha1-JuYe0UIvtw3ULm42cp7VHYVf6Nk=",
330 "dev": true
331 },
332 "builtin-status-codes": {
333 "version": "3.0.0",
334 "resolved": "https://registry.npmjs.org/builtin-status-codes/-/builtin-status-codes-3.0.0.tgz",
335 "integrity": "sha1-hZgoeOIbmOHGZCXgPQF0eI9Wnug=",
336 "dev": true
337 },
338 "cached-path-relative": {
339 "version": "1.0.2",
340 "resolved": "https://registry.npmjs.org/cached-path-relative/-/cached-path-relative-1.0.2.tgz",
341 "integrity": "sha512-5r2GqsoEb4qMTTN9J+WzXfjov+hjxT+j3u5K+kIVNIwAd99DLCJE9pBIMP1qVeybV6JiijL385Oz0DcYxfbOIg==",
342 "dev": true
343 },
344 "cipher-base": {
345 "version": "1.0.4",
346 "resolved": "https://registry.npmjs.org/cipher-base/-/cipher-base-1.0.4.tgz",
347 "integrity": "sha512-Kkht5ye6ZGmwv40uUDZztayT2ThLQGfnj/T71N/XzeZeo3nf8foyW7zGTsPYkEya3m5f3cAypH+qe7YOrM1U2Q==",
348 "dev": true,
349 "requires": {
350 "inherits": "^2.0.1",
351 "safe-buffer": "^5.0.1"
352 }
353 },
354 "combine-source-map": {
355 "version": "0.8.0",
356 "resolved": "https://registry.npmjs.org/combine-source-map/-/combine-source-map-0.8.0.tgz",
357 "integrity": "sha1-pY0N8ELBhvz4IqjoAV9UUNLXmos=",
358 "dev": true,
359 "requires": {
360 "convert-source-map": "~1.1.0",
361 "inline-source-map": "~0.6.0",
362 "lodash.memoize": "~3.0.3",
363 "source-map": "~0.5.3"
364 }
365 },
366 "concat-map": {
367 "version": "0.0.1",
368 "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz",
369 "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=",
370 "dev": true
371 },
372 "concat-stream": {
373 "version": "1.6.2",
374 "resolved": "https://registry.npmjs.org/concat-stream/-/concat-stream-1.6.2.tgz",
375 "integrity": "sha512-27HBghJxjiZtIk3Ycvn/4kbJk/1uZuJFfuPEns6LaEvpvG1f0hTea8lilrouyo9mVc2GWdcEZ8OLoGmSADlrCw==",
376 "dev": true,
377 "requires": {
378 "buffer-from": "^1.0.0",
379 "inherits": "^2.0.3",
380 "readable-stream": "^2.2.2",
381 "typedarray": "^0.0.6"
382 }
383 },
384 "console-browserify": {
385 "version": "1.1.0",
386 "resolved": "https://registry.npmjs.org/console-browserify/-/console-browserify-1.1.0.tgz",
387 "integrity": "sha1-8CQcRXMKn8YyOyBtvzjtx0HQuxA=",
388 "dev": true,
389 "requires": {
390 "date-now": "^0.1.4"
391 }
392 },
393 "constants-browserify": {
394 "version": "1.0.0",
395 "resolved": "https://registry.npmjs.org/constants-browserify/-/constants-browserify-1.0.0.tgz",
396 "integrity": "sha1-wguW2MYXdIqvHBYCF2DNJ/y4y3U=",
397 "dev": true
398 },
399 "convert-source-map": {
400 "version": "1.1.3",
401 "resolved": "http://registry.npmjs.org/convert-source-map/-/convert-source-map-1.1.3.tgz",
402 "integrity": "sha1-SCnId+n+SbMWHzvzZziI4gRpmGA=",
403 "dev": true
404 },
405 "core-util-is": {
406 "version": "1.0.2",
407 "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz",
408 "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=",
409 "dev": true
410 },
411 "crc": {
412 "version": "3.5.0",
413 "resolved": "https://registry.npmjs.org/crc/-/crc-3.5.0.tgz",
414 "integrity": "sha1-mLi6fUiWZbo5efWbITgTdBAaGWQ="
415 },
416 "create-ecdh": {
417 "version": "4.0.3",
418 "resolved": "https://registry.npmjs.org/create-ecdh/-/create-ecdh-4.0.3.tgz",
419 "integrity": "sha512-GbEHQPMOswGpKXM9kCWVrremUcBmjteUaQ01T9rkKCPDXfUHX0IoP9LpHYo2NPFampa4e+/pFDc3jQdxrxQLaw==",
420 "dev": true,
421 "requires": {
422 "bn.js": "^4.1.0",
423 "elliptic": "^6.0.0"
424 }
425 },
426 "create-hash": {
427 "version": "1.2.0",
428 "resolved": "http://registry.npmjs.org/create-hash/-/create-hash-1.2.0.tgz",
429 "integrity": "sha512-z00bCGNHDG8mHAkP7CtT1qVu+bFQUPjYq/4Iv3C3kWjTFV10zIjfSoeqXo9Asws8gwSHDGj/hl2u4OGIjapeCg==",
430 "dev": true,
431 "requires": {
432 "cipher-base": "^1.0.1",
433 "inherits": "^2.0.1",
434 "md5.js": "^1.3.4",
435 "ripemd160": "^2.0.1",
436 "sha.js": "^2.4.0"
437 }
438 },
439 "create-hmac": {
440 "version": "1.1.7",
441 "resolved": "http://registry.npmjs.org/create-hmac/-/create-hmac-1.1.7.tgz",
442 "integrity": "sha512-MJG9liiZ+ogc4TzUwuvbER1JRdgvUFSB5+VR/g5h82fGaIRWMWddtKBHi7/sVhfjQZ6SehlyhvQYrcYkaUIpLg==",
443 "dev": true,
444 "requires": {
445 "cipher-base": "^1.0.3",
446 "create-hash": "^1.1.0",
447 "inherits": "^2.0.1",
448 "ripemd160": "^2.0.0",
449 "safe-buffer": "^5.0.1",
450 "sha.js": "^2.4.8"
451 }
452 },
453 "crypto-browserify": {
454 "version": "3.12.0",
455 "resolved": "https://registry.npmjs.org/crypto-browserify/-/crypto-browserify-3.12.0.tgz",
456 "integrity": "sha512-fz4spIh+znjO2VjL+IdhEpRJ3YN6sMzITSBijk6FK2UvTqruSQW+/cCZTSNsMiZNvUeq0CqurF+dAbyiGOY6Wg==",
457 "dev": true,
458 "requires": {
459 "browserify-cipher": "^1.0.0",
460 "browserify-sign": "^4.0.0",
461 "create-ecdh": "^4.0.0",
462 "create-hash": "^1.1.0",
463 "create-hmac": "^1.1.0",
464 "diffie-hellman": "^5.0.0",
465 "inherits": "^2.0.1",
466 "pbkdf2": "^3.0.3",
467 "public-encrypt": "^4.0.0",
468 "randombytes": "^2.0.0",
469 "randomfill": "^1.0.3"
470 }
471 },
472 "cursor": {
473 "version": "0.1.5",
474 "resolved": "https://registry.npmjs.org/cursor/-/cursor-0.1.5.tgz",
475 "integrity": "sha1-6neMKwnTPC5WT9khRwdnUEg+uyw="
476 },
477 "date-now": {
478 "version": "0.1.4",
479 "resolved": "https://registry.npmjs.org/date-now/-/date-now-0.1.4.tgz",
480 "integrity": "sha1-6vQ5/U1ISK105cx9vvIAZyueNFs=",
481 "dev": true
482 },
483 "defined": {
484 "version": "1.0.0",
485 "resolved": "https://registry.npmjs.org/defined/-/defined-1.0.0.tgz",
486 "integrity": "sha1-yY2bzvdWdBiOEQlpFRGZ45sfppM=",
487 "dev": true
488 },
489 "deps-sort": {
490 "version": "2.0.0",
491 "resolved": "http://registry.npmjs.org/deps-sort/-/deps-sort-2.0.0.tgz",
492 "integrity": "sha1-CRckkC6EZYJg65EHSMzNGvbiH7U=",
493 "dev": true,
494 "requires": {
495 "JSONStream": "^1.0.3",
496 "shasum": "^1.0.0",
497 "subarg": "^1.0.0",
498 "through2": "^2.0.0"
499 }
500 },
501 "des.js": {
502 "version": "1.0.0",
503 "resolved": "https://registry.npmjs.org/des.js/-/des.js-1.0.0.tgz",
504 "integrity": "sha1-wHTS4qpqipoH29YfmhXCzYPsjsw=",
505 "dev": true,
506 "requires": {
507 "inherits": "^2.0.1",
508 "minimalistic-assert": "^1.0.0"
509 }
510 },
511 "detective": {
512 "version": "5.1.0",
513 "resolved": "http://registry.npmjs.org/detective/-/detective-5.1.0.tgz",
514 "integrity": "sha512-TFHMqfOvxlgrfVzTEkNBSh9SvSNX/HfF4OFI2QFGCyPm02EsyILqnUeb5P6q7JZ3SFNTBL5t2sePRgrN4epUWQ==",
515 "dev": true,
516 "requires": {
517 "acorn-node": "^1.3.0",
518 "defined": "^1.0.0",
519 "minimist": "^1.1.1"
520 }
521 },
522 "diffie-hellman": {
523 "version": "5.0.3",
524 "resolved": "http://registry.npmjs.org/diffie-hellman/-/diffie-hellman-5.0.3.tgz",
525 "integrity": "sha512-kqag/Nl+f3GwyK25fhUMYj81BUOrZ9IuJsjIcDE5icNM9FJHAVm3VcUDxdLPoQtTuUylWm6ZIknYJwwaPxsUzg==",
526 "dev": true,
527 "requires": {
528 "bn.js": "^4.1.0",
529 "miller-rabin": "^4.0.0",
530 "randombytes": "^2.0.0"
531 }
532 },
533 "domain-browser": {
534 "version": "1.2.0",
535 "resolved": "https://registry.npmjs.org/domain-browser/-/domain-browser-1.2.0.tgz",
536 "integrity": "sha512-jnjyiM6eRyZl2H+W8Q/zLMA481hzi0eszAaBUzIVnmYVDBbnLxVNnfu1HgEBvCbL+71FrxMl3E6lpKH7Ge3OXA==",
537 "dev": true
538 },
539 "duplexer2": {
540 "version": "0.1.4",
541 "resolved": "https://registry.npmjs.org/duplexer2/-/duplexer2-0.1.4.tgz",
542 "integrity": "sha1-ixLauHjA1p4+eJEFFmKjL8a93ME=",
543 "dev": true,
544 "requires": {
545 "readable-stream": "^2.0.2"
546 }
547 },
548 "ed25519": {
549 "version": "0.0.4",
550 "resolved": "https://registry.npmjs.org/ed25519/-/ed25519-0.0.4.tgz",
551 "integrity": "sha1-5WIYrOL8kD0llZOu8LKpY59HW+s=",
552 "optional": true,
553 "requires": {
554 "bindings": "^1.2.1",
555 "nan": "^2.0.9"
556 }
557 },
558 "elliptic": {
559 "version": "6.4.1",
560 "resolved": "https://registry.npmjs.org/elliptic/-/elliptic-6.4.1.tgz",
561 "integrity": "sha512-BsXLz5sqX8OHcsh7CqBMztyXARmGQ3LWPtGjJi6DiJHq5C/qvi9P3OqgswKSDftbu8+IoI/QDTAm2fFnQ9SZSQ==",
562 "dev": true,
563 "requires": {
564 "bn.js": "^4.4.0",
565 "brorand": "^1.0.1",
566 "hash.js": "^1.0.0",
567 "hmac-drbg": "^1.0.0",
568 "inherits": "^2.0.1",
569 "minimalistic-assert": "^1.0.0",
570 "minimalistic-crypto-utils": "^1.0.0"
571 }
572 },
573 "events": {
574 "version": "2.1.0",
575 "resolved": "https://registry.npmjs.org/events/-/events-2.1.0.tgz",
576 "integrity": "sha512-3Zmiobend8P9DjmKAty0Era4jV8oJ0yGYe2nJJAxgymF9+N8F2m0hhZiMoWtcfepExzNKZumFU3ksdQbInGWCg==",
577 "dev": true
578 },
579 "evp_bytestokey": {
580 "version": "1.0.3",
581 "resolved": "https://registry.npmjs.org/evp_bytestokey/-/evp_bytestokey-1.0.3.tgz",
582 "integrity": "sha512-/f2Go4TognH/KvCISP7OUsHn85hT9nUkxxA9BEWxFn+Oj9o8ZNLm/40hdlgSLyuOimsrTKLUMEorQexp/aPQeA==",
583 "dev": true,
584 "requires": {
585 "md5.js": "^1.3.4",
586 "safe-buffer": "^5.1.1"
587 }
588 },
589 "fs.realpath": {
590 "version": "1.0.0",
591 "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz",
592 "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=",
593 "dev": true
594 },
595 "function-bind": {
596 "version": "1.1.1",
597 "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz",
598 "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==",
599 "dev": true
600 },
601 "get-assigned-identifiers": {
602 "version": "1.2.0",
603 "resolved": "https://registry.npmjs.org/get-assigned-identifiers/-/get-assigned-identifiers-1.2.0.tgz",
604 "integrity": "sha512-mBBwmeGTrxEMO4pMaaf/uUEFHnYtwr8FTe8Y/mer4rcV/bye0qGm6pw1bGZFGStxC5O76c5ZAVBGnqHmOaJpdQ==",
605 "dev": true
606 },
607 "glob": {
608 "version": "7.1.3",
609 "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.3.tgz",
610 "integrity": "sha512-vcfuiIxogLV4DlGBHIUOwI0IbrJ8HWPc4MU7HzviGeNho/UJDfi6B5p3sHeWIQ0KGIU0Jpxi5ZHxemQfLkkAwQ==",
611 "dev": true,
612 "requires": {
613 "fs.realpath": "^1.0.0",
614 "inflight": "^1.0.4",
615 "inherits": "2",
616 "minimatch": "^3.0.4",
617 "once": "^1.3.0",
618 "path-is-absolute": "^1.0.0"
619 }
620 },
621 "has": {
622 "version": "1.0.3",
623 "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz",
624 "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==",
625 "dev": true,
626 "requires": {
627 "function-bind": "^1.1.1"
628 }
629 },
630 "hash-base": {
631 "version": "3.0.4",
632 "resolved": "https://registry.npmjs.org/hash-base/-/hash-base-3.0.4.tgz",
633 "integrity": "sha1-X8hoaEfs1zSZQDMZprCj8/auSRg=",
634 "dev": true,
635 "requires": {
636 "inherits": "^2.0.1",
637 "safe-buffer": "^5.0.1"
638 }
639 },
640 "hash.js": {
641 "version": "1.1.7",
642 "resolved": "https://registry.npmjs.org/hash.js/-/hash.js-1.1.7.tgz",
643 "integrity": "sha512-taOaskGt4z4SOANNseOviYDvjEJinIkRgmp7LbKP2YTTmVxWBl87s/uzK9r+44BclBSp2X7K1hqeNfz9JbBeXA==",
644 "dev": true,
645 "requires": {
646 "inherits": "^2.0.3",
647 "minimalistic-assert": "^1.0.1"
648 }
649 },
650 "hmac-drbg": {
651 "version": "1.0.1",
652 "resolved": "https://registry.npmjs.org/hmac-drbg/-/hmac-drbg-1.0.1.tgz",
653 "integrity": "sha1-0nRXAQJabHdabFRXk+1QL8DGSaE=",
654 "dev": true,
655 "requires": {
656 "hash.js": "^1.0.3",
657 "minimalistic-assert": "^1.0.0",
658 "minimalistic-crypto-utils": "^1.0.1"
659 }
660 },
661 "htmlescape": {
662 "version": "1.1.1",
663 "resolved": "http://registry.npmjs.org/htmlescape/-/htmlescape-1.1.1.tgz",
664 "integrity": "sha1-OgPtwiFLyjtmQko+eVk0lQnLA1E=",
665 "dev": true
666 },
667 "https-browserify": {
668 "version": "1.0.0",
669 "resolved": "https://registry.npmjs.org/https-browserify/-/https-browserify-1.0.0.tgz",
670 "integrity": "sha1-7AbBDgo0wPL68Zn3/X/Hj//QPHM=",
671 "dev": true
672 },
673 "ieee754": {
674 "version": "1.1.12",
675 "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.1.12.tgz",
676 "integrity": "sha512-GguP+DRY+pJ3soyIiGPTvdiVXjZ+DbXOxGpXn3eMvNW4x4irjqXm4wHKscC+TfxSJ0yw/S1F24tqdMNsMZTiLA==",
677 "dev": true
678 },
679 "inflight": {
680 "version": "1.0.6",
681 "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz",
682 "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=",
683 "dev": true,
684 "requires": {
685 "once": "^1.3.0",
686 "wrappy": "1"
687 }
688 },
689 "inherits": {
690 "version": "2.0.3",
691 "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz",
692 "integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4="
693 },
694 "inline-source-map": {
695 "version": "0.6.2",
696 "resolved": "https://registry.npmjs.org/inline-source-map/-/inline-source-map-0.6.2.tgz",
697 "integrity": "sha1-+Tk0ccGKedFyT4Y/o4tYY3Ct4qU=",
698 "dev": true,
699 "requires": {
700 "source-map": "~0.5.3"
701 }
702 },
703 "insert-module-globals": {
704 "version": "7.2.0",
705 "resolved": "https://registry.npmjs.org/insert-module-globals/-/insert-module-globals-7.2.0.tgz",
706 "integrity": "sha512-VE6NlW+WGn2/AeOMd496AHFYmE7eLKkUY6Ty31k4og5vmA3Fjuwe9v6ifH6Xx/Hz27QvdoMoviw1/pqWRB09Sw==",
707 "dev": true,
708 "requires": {
709 "JSONStream": "^1.0.3",
710 "acorn-node": "^1.5.2",
711 "combine-source-map": "^0.8.0",
712 "concat-stream": "^1.6.1",
713 "is-buffer": "^1.1.0",
714 "path-is-absolute": "^1.0.1",
715 "process": "~0.11.0",
716 "through2": "^2.0.0",
717 "undeclared-identifiers": "^1.1.2",
718 "xtend": "^4.0.0"
719 }
720 },
721 "is-buffer": {
722 "version": "1.1.6",
723 "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz",
724 "integrity": "sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==",
725 "dev": true
726 },
727 "isarray": {
728 "version": "1.0.0",
729 "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz",
730 "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=",
731 "dev": true
732 },
733 "js-xdr": {
734 "version": "1.0.5",
735 "resolved": "https://registry.npmjs.org/js-xdr/-/js-xdr-1.0.5.tgz",
736 "integrity": "sha512-v0jffMa8bko3uFcGYt1lHrtpd1adhH6qk41RfLPsNPj77/K8fi7LOi4+lUUY3MBEIFnJgaGHrbc6sxdTwHImxQ==",
737 "requires": {
738 "cursor": "^0.1.5",
739 "lodash": "^4.17.5",
740 "long": "^2.2.3"
741 }
742 },
743 "json-stable-stringify": {
744 "version": "0.0.1",
745 "resolved": "https://registry.npmjs.org/json-stable-stringify/-/json-stable-stringify-0.0.1.tgz",
746 "integrity": "sha1-YRwj6BTbN1Un34URk9tZ3Sryf0U=",
747 "dev": true,
748 "requires": {
749 "jsonify": "~0.0.0"
750 }
751 },
752 "jsonify": {
753 "version": "0.0.0",
754 "resolved": "https://registry.npmjs.org/jsonify/-/jsonify-0.0.0.tgz",
755 "integrity": "sha1-LHS27kHZPKUbe1qu6PUDYx0lKnM=",
756 "dev": true
757 },
758 "jsonparse": {
759 "version": "1.3.1",
760 "resolved": "https://registry.npmjs.org/jsonparse/-/jsonparse-1.3.1.tgz",
761 "integrity": "sha1-P02uSpH6wxX3EGL4UhzCOfE2YoA=",
762 "dev": true
763 },
764 "labeled-stream-splicer": {
765 "version": "2.0.1",
766 "resolved": "http://registry.npmjs.org/labeled-stream-splicer/-/labeled-stream-splicer-2.0.1.tgz",
767 "integrity": "sha512-MC94mHZRvJ3LfykJlTUipBqenZz1pacOZEMhhQ8dMGcDHs0SBE5GbsavUXV7YtP3icBW17W0Zy1I0lfASmo9Pg==",
768 "dev": true,
769 "requires": {
770 "inherits": "^2.0.1",
771 "isarray": "^2.0.4",
772 "stream-splicer": "^2.0.0"
773 },
774 "dependencies": {
775 "isarray": {
776 "version": "2.0.4",
777 "resolved": "https://registry.npmjs.org/isarray/-/isarray-2.0.4.tgz",
778 "integrity": "sha512-GMxXOiUirWg1xTKRipM0Ek07rX+ubx4nNVElTJdNLYmNO/2YrDkgJGw9CljXn+r4EWiDQg/8lsRdHyg2PJuUaA==",
779 "dev": true
780 }
781 }
782 },
783 "lodash": {
784 "version": "4.17.11",
785 "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.11.tgz",
786 "integrity": "sha512-cQKh8igo5QUhZ7lg38DYWAxMvjSAKG0A8wGSVimP07SIUEK2UO+arSRKbRZWtelMtN5V0Hkwh5ryOto/SshYIg=="
787 },
788 "lodash.memoize": {
789 "version": "3.0.4",
790 "resolved": "https://registry.npmjs.org/lodash.memoize/-/lodash.memoize-3.0.4.tgz",
791 "integrity": "sha1-LcvSwofLwKVcxCMovQxzYVDVPj8=",
792 "dev": true
793 },
794 "long": {
795 "version": "2.4.0",
796 "resolved": "https://registry.npmjs.org/long/-/long-2.4.0.tgz",
797 "integrity": "sha1-n6GAux2VAM3CnEFWdmoZleH0Uk8="
798 },
799 "md5.js": {
800 "version": "1.3.5",
801 "resolved": "https://registry.npmjs.org/md5.js/-/md5.js-1.3.5.tgz",
802 "integrity": "sha512-xitP+WxNPcTTOgnTJcrhM0xvdPepipPSf3I8EIpGKeFLjt3PlJLIDG3u8EX53ZIubkb+5U2+3rELYpEhHhzdkg==",
803 "dev": true,
804 "requires": {
805 "hash-base": "^3.0.0",
806 "inherits": "^2.0.1",
807 "safe-buffer": "^5.1.2"
808 }
809 },
810 "miller-rabin": {
811 "version": "4.0.1",
812 "resolved": "https://registry.npmjs.org/miller-rabin/-/miller-rabin-4.0.1.tgz",
813 "integrity": "sha512-115fLhvZVqWwHPbClyntxEVfVDfl9DLLTuJvq3g2O/Oxi8AiNouAHvDSzHS0viUJc+V5vm3eq91Xwqn9dp4jRA==",
814 "dev": true,
815 "requires": {
816 "bn.js": "^4.0.0",
817 "brorand": "^1.0.1"
818 }
819 },
820 "minimalistic-assert": {
821 "version": "1.0.1",
822 "resolved": "https://registry.npmjs.org/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz",
823 "integrity": "sha512-UtJcAD4yEaGtjPezWuO9wC4nwUnVH/8/Im3yEHQP4b67cXlD/Qr9hdITCU1xDbSEXg2XKNaP8jsReV7vQd00/A==",
824 "dev": true
825 },
826 "minimalistic-crypto-utils": {
827 "version": "1.0.1",
828 "resolved": "https://registry.npmjs.org/minimalistic-crypto-utils/-/minimalistic-crypto-utils-1.0.1.tgz",
829 "integrity": "sha1-9sAMHAsIIkblxNmd+4x8CDsrWCo=",
830 "dev": true
831 },
832 "minimatch": {
833 "version": "3.0.4",
834 "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz",
835 "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==",
836 "dev": true,
837 "requires": {
838 "brace-expansion": "^1.1.7"
839 }
840 },
841 "minimist": {
842 "version": "1.2.0",
843 "resolved": "http://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz",
844 "integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ=",
845 "dev": true
846 },
847 "mkdirp": {
848 "version": "0.5.1",
849 "resolved": "http://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz",
850 "integrity": "sha1-MAV0OOrGz3+MR2fzhkjWaX11yQM=",
851 "dev": true,
852 "requires": {
853 "minimist": "0.0.8"
854 },
855 "dependencies": {
856 "minimist": {
857 "version": "0.0.8",
858 "resolved": "http://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz",
859 "integrity": "sha1-hX/Kv8M5fSYluCKCYuhqp6ARsF0=",
860 "dev": true
861 }
862 }
863 },
864 "module-deps": {
865 "version": "6.2.0",
866 "resolved": "https://registry.npmjs.org/module-deps/-/module-deps-6.2.0.tgz",
867 "integrity": "sha512-hKPmO06so6bL/ZvqVNVqdTVO8UAYsi3tQWlCa+z9KuWhoN4KDQtb5hcqQQv58qYiDE21wIvnttZEPiDgEbpwbA==",
868 "dev": true,
869 "requires": {
870 "JSONStream": "^1.0.3",
871 "browser-resolve": "^1.7.0",
872 "cached-path-relative": "^1.0.0",
873 "concat-stream": "~1.6.0",
874 "defined": "^1.0.0",
875 "detective": "^5.0.2",
876 "duplexer2": "^0.1.2",
877 "inherits": "^2.0.1",
878 "parents": "^1.0.0",
879 "readable-stream": "^2.0.2",
880 "resolve": "^1.4.0",
881 "stream-combiner2": "^1.1.1",
882 "subarg": "^1.0.0",
883 "through2": "^2.0.0",
884 "xtend": "^4.0.0"
885 }
886 },
887 "nan": {
888 "version": "2.12.0",
889 "resolved": "https://registry.npmjs.org/nan/-/nan-2.12.0.tgz",
890 "integrity": "sha512-zT5nC0JhbljmyEf+Z456nvm7iO7XgRV2hYxoBtPpnyp+0Q4aCoP6uWNn76v/I6k2kCYNLWqWbwBWQcjsNI/bjw==",
891 "optional": true
892 },
893 "once": {
894 "version": "1.4.0",
895 "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz",
896 "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=",
897 "dev": true,
898 "requires": {
899 "wrappy": "1"
900 }
901 },
902 "os-browserify": {
903 "version": "0.3.0",
904 "resolved": "https://registry.npmjs.org/os-browserify/-/os-browserify-0.3.0.tgz",
905 "integrity": "sha1-hUNzx/XCMVkU/Jv8a9gjj92h7Cc=",
906 "dev": true
907 },
908 "pako": {
909 "version": "1.0.7",
910 "resolved": "https://registry.npmjs.org/pako/-/pako-1.0.7.tgz",
911 "integrity": "sha512-3HNK5tW4x8o5mO8RuHZp3Ydw9icZXx0RANAOMzlMzx7LVXhMJ4mo3MOBpzyd7r/+RUu8BmndP47LXT+vzjtWcQ==",
912 "dev": true
913 },
914 "parents": {
915 "version": "1.0.1",
916 "resolved": "https://registry.npmjs.org/parents/-/parents-1.0.1.tgz",
917 "integrity": "sha1-/t1NK/GTp3dF/nHjcdc8MwfZx1E=",
918 "dev": true,
919 "requires": {
920 "path-platform": "~0.11.15"
921 }
922 },
923 "parse-asn1": {
924 "version": "5.1.1",
925 "resolved": "http://registry.npmjs.org/parse-asn1/-/parse-asn1-5.1.1.tgz",
926 "integrity": "sha512-KPx7flKXg775zZpnp9SxJlz00gTd4BmJ2yJufSc44gMCRrRQ7NSzAcSJQfifuOLgW6bEi+ftrALtsgALeB2Adw==",
927 "dev": true,
928 "requires": {
929 "asn1.js": "^4.0.0",
930 "browserify-aes": "^1.0.0",
931 "create-hash": "^1.1.0",
932 "evp_bytestokey": "^1.0.0",
933 "pbkdf2": "^3.0.3"
934 }
935 },
936 "path-browserify": {
937 "version": "0.0.1",
938 "resolved": "https://registry.npmjs.org/path-browserify/-/path-browserify-0.0.1.tgz",
939 "integrity": "sha512-BapA40NHICOS+USX9SN4tyhq+A2RrN/Ws5F0Z5aMHDp98Fl86lX8Oti8B7uN93L4Ifv4fHOEA+pQw87gmMO/lQ==",
940 "dev": true
941 },
942 "path-is-absolute": {
943 "version": "1.0.1",
944 "resolved": "http://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz",
945 "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=",
946 "dev": true
947 },
948 "path-parse": {
949 "version": "1.0.6",
950 "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.6.tgz",
951 "integrity": "sha512-GSmOT2EbHrINBf9SR7CDELwlJ8AENk3Qn7OikK4nFYAu3Ote2+JYNVvkpAEQm3/TLNEJFD/xZJjzyxg3KBWOzw==",
952 "dev": true
953 },
954 "path-platform": {
955 "version": "0.11.15",
956 "resolved": "https://registry.npmjs.org/path-platform/-/path-platform-0.11.15.tgz",
957 "integrity": "sha1-6GQhf3TDaFDwhSt43Hv31KVyG/I=",
958 "dev": true
959 },
960 "pbkdf2": {
961 "version": "3.0.17",
962 "resolved": "https://registry.npmjs.org/pbkdf2/-/pbkdf2-3.0.17.tgz",
963 "integrity": "sha512-U/il5MsrZp7mGg3mSQfn742na2T+1/vHDCG5/iTI3X9MKUuYUZVLQhyRsg06mCgDBTd57TxzgZt7P+fYfjRLtA==",
964 "dev": true,
965 "requires": {
966 "create-hash": "^1.1.2",
967 "create-hmac": "^1.1.4",
968 "ripemd160": "^2.0.1",
969 "safe-buffer": "^5.0.1",
970 "sha.js": "^2.4.8"
971 }
972 },
973 "process": {
974 "version": "0.11.10",
975 "resolved": "https://registry.npmjs.org/process/-/process-0.11.10.tgz",
976 "integrity": "sha1-czIwDoQBYb2j5podHZGn1LwW8YI=",
977 "dev": true
978 },
979 "process-nextick-args": {
980 "version": "2.0.0",
981 "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.0.tgz",
982 "integrity": "sha512-MtEC1TqN0EU5nephaJ4rAtThHtC86dNN9qCuEhtshvpVBkAW5ZO7BASN9REnF9eoXGcRub+pFuKEpOHE+HbEMw==",
983 "dev": true
984 },
985 "public-encrypt": {
986 "version": "4.0.3",
987 "resolved": "https://registry.npmjs.org/public-encrypt/-/public-encrypt-4.0.3.tgz",
988 "integrity": "sha512-zVpa8oKZSz5bTMTFClc1fQOnyyEzpl5ozpi1B5YcvBrdohMjH2rfsBtyXcuNuwjsDIXmBYlF2N5FlJYhR29t8Q==",
989 "dev": true,
990 "requires": {
991 "bn.js": "^4.1.0",
992 "browserify-rsa": "^4.0.0",
993 "create-hash": "^1.1.0",
994 "parse-asn1": "^5.0.0",
995 "randombytes": "^2.0.1",
996 "safe-buffer": "^5.1.2"
997 }
998 },
999 "punycode": {
1000 "version": "1.4.1",
1001 "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.4.1.tgz",
1002 "integrity": "sha1-wNWmOycYgArY4esPpSachN1BhF4=",
1003 "dev": true
1004 },
1005 "querystring": {
1006 "version": "0.2.0",
1007 "resolved": "https://registry.npmjs.org/querystring/-/querystring-0.2.0.tgz",
1008 "integrity": "sha1-sgmEkgO7Jd+CDadW50cAWHhSFiA=",
1009 "dev": true
1010 },
1011 "querystring-es3": {
1012 "version": "0.2.1",
1013 "resolved": "https://registry.npmjs.org/querystring-es3/-/querystring-es3-0.2.1.tgz",
1014 "integrity": "sha1-nsYfeQSYdXB9aUFFlv2Qek1xHnM=",
1015 "dev": true
1016 },
1017 "randombytes": {
1018 "version": "2.0.6",
1019 "resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.0.6.tgz",
1020 "integrity": "sha512-CIQ5OFxf4Jou6uOKe9t1AOgqpeU5fd70A8NPdHSGeYXqXsPe6peOwI0cUl88RWZ6sP1vPMV3avd/R6cZ5/sP1A==",
1021 "dev": true,
1022 "requires": {
1023 "safe-buffer": "^5.1.0"
1024 }
1025 },
1026 "randomfill": {
1027 "version": "1.0.4",
1028 "resolved": "https://registry.npmjs.org/randomfill/-/randomfill-1.0.4.tgz",
1029 "integrity": "sha512-87lcbR8+MhcWcUiQ+9e+Rwx8MyR2P7qnt15ynUlbm3TU/fjbgz4GsvfSUDTemtCCtVCqb4ZcEFlyPNTh9bBTLw==",
1030 "dev": true,
1031 "requires": {
1032 "randombytes": "^2.0.5",
1033 "safe-buffer": "^5.1.0"
1034 }
1035 },
1036 "read-only-stream": {
1037 "version": "2.0.0",
1038 "resolved": "https://registry.npmjs.org/read-only-stream/-/read-only-stream-2.0.0.tgz",
1039 "integrity": "sha1-JyT9aoET1zdkrCiNQ4YnDB2/F/A=",
1040 "dev": true,
1041 "requires": {
1042 "readable-stream": "^2.0.2"
1043 }
1044 },
1045 "readable-stream": {
1046 "version": "2.3.6",
1047 "resolved": "http://registry.npmjs.org/readable-stream/-/readable-stream-2.3.6.tgz",
1048 "integrity": "sha512-tQtKA9WIAhBF3+VLAseyMqZeBjW0AHJoxOtYqSUZNJxauErmLbVm2FW1y+J/YA9dUrAC39ITejlZWhVIwawkKw==",
1049 "dev": true,
1050 "requires": {
1051 "core-util-is": "~1.0.0",
1052 "inherits": "~2.0.3",
1053 "isarray": "~1.0.0",
1054 "process-nextick-args": "~2.0.0",
1055 "safe-buffer": "~5.1.1",
1056 "string_decoder": "~1.1.1",
1057 "util-deprecate": "~1.0.1"
1058 },
1059 "dependencies": {
1060 "string_decoder": {
1061 "version": "1.1.1",
1062 "resolved": "http://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz",
1063 "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==",
1064 "dev": true,
1065 "requires": {
1066 "safe-buffer": "~5.1.0"
1067 }
1068 }
1069 }
1070 },
1071 "resolve": {
1072 "version": "1.8.1",
1073 "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.8.1.tgz",
1074 "integrity": "sha512-AicPrAC7Qu1JxPCZ9ZgCZlY35QgFnNqc+0LtbRNxnVw4TXvjQ72wnuL9JQcEBgXkI9JM8MsT9kaQoHcpCRJOYA==",
1075 "dev": true,
1076 "requires": {
1077 "path-parse": "^1.0.5"
1078 }
1079 },
1080 "ripemd160": {
1081 "version": "2.0.2",
1082 "resolved": "https://registry.npmjs.org/ripemd160/-/ripemd160-2.0.2.tgz",
1083 "integrity": "sha512-ii4iagi25WusVoiC4B4lq7pbXfAp3D9v5CwfkY33vffw2+pkDjY1D8GaN7spsxvCSx8dkPqOZCEZyfxcmJG2IA==",
1084 "dev": true,
1085 "requires": {
1086 "hash-base": "^3.0.0",
1087 "inherits": "^2.0.1"
1088 }
1089 },
1090 "safe-buffer": {
1091 "version": "5.1.2",
1092 "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz",
1093 "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g=="
1094 },
1095 "sha.js": {
1096 "version": "2.4.11",
1097 "resolved": "http://registry.npmjs.org/sha.js/-/sha.js-2.4.11.tgz",
1098 "integrity": "sha512-QMEp5B7cftE7APOjk5Y6xgrbWu+WkLVQwk8JNjZ8nKRciZaByEW6MubieAiToS7+dwvrjGhH8jRXz3MVd0AYqQ==",
1099 "requires": {
1100 "inherits": "^2.0.1",
1101 "safe-buffer": "^5.0.1"
1102 }
1103 },
1104 "shasum": {
1105 "version": "1.0.2",
1106 "resolved": "http://registry.npmjs.org/shasum/-/shasum-1.0.2.tgz",
1107 "integrity": "sha1-5wEjENj0F/TetXEhUOVni4euVl8=",
1108 "dev": true,
1109 "requires": {
1110 "json-stable-stringify": "~0.0.0",
1111 "sha.js": "~2.4.4"
1112 }
1113 },
1114 "shell-quote": {
1115 "version": "1.6.1",
1116 "resolved": "https://registry.npmjs.org/shell-quote/-/shell-quote-1.6.1.tgz",
1117 "integrity": "sha1-9HgZSczkAmlxJ0MOo7PFR29IF2c=",
1118 "dev": true,
1119 "requires": {
1120 "array-filter": "~0.0.0",
1121 "array-map": "~0.0.0",
1122 "array-reduce": "~0.0.0",
1123 "jsonify": "~0.0.0"
1124 }
1125 },
1126 "simple-concat": {
1127 "version": "1.0.0",
1128 "resolved": "https://registry.npmjs.org/simple-concat/-/simple-concat-1.0.0.tgz",
1129 "integrity": "sha1-c0TLuLbib7J9ZrL8hvn21Zl1IcY=",
1130 "dev": true
1131 },
1132 "source-map": {
1133 "version": "0.5.7",
1134 "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz",
1135 "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=",
1136 "dev": true
1137 },
1138 "stellar-base": {
1139 "version": "0.10.0",
1140 "resolved": "https://registry.npmjs.org/stellar-base/-/stellar-base-0.10.0.tgz",
1141 "integrity": "sha512-PPuVWAc9t63q9eiMrV3czO2Q2ZozcU7dEMJX8Hu8AIVuV4DbDMyGk5a4nzsJajVsSZyq2Tyccv3dqVudKkBZUA==",
1142 "requires": {
1143 "base32.js": "~0.1.0",
1144 "bignumber.js": "^4.0.0",
1145 "crc": "3.5.0",
1146 "ed25519": "0.0.4",
1147 "js-xdr": "^1.0.5",
1148 "lodash": "^4.17.10",
1149 "sha.js": "^2.3.6",
1150 "tweetnacl": "^1.0.0"
1151 }
1152 },
1153 "stream-browserify": {
1154 "version": "2.0.1",
1155 "resolved": "http://registry.npmjs.org/stream-browserify/-/stream-browserify-2.0.1.tgz",
1156 "integrity": "sha1-ZiZu5fm9uZQKTkUUyvtDu3Hlyds=",
1157 "dev": true,
1158 "requires": {
1159 "inherits": "~2.0.1",
1160 "readable-stream": "^2.0.2"
1161 }
1162 },
1163 "stream-combiner2": {
1164 "version": "1.1.1",
1165 "resolved": "https://registry.npmjs.org/stream-combiner2/-/stream-combiner2-1.1.1.tgz",
1166 "integrity": "sha1-+02KFCDqNidk4hrUeAOXvry0HL4=",
1167 "dev": true,
1168 "requires": {
1169 "duplexer2": "~0.1.0",
1170 "readable-stream": "^2.0.2"
1171 }
1172 },
1173 "stream-http": {
1174 "version": "2.8.3",
1175 "resolved": "https://registry.npmjs.org/stream-http/-/stream-http-2.8.3.tgz",
1176 "integrity": "sha512-+TSkfINHDo4J+ZobQLWiMouQYB+UVYFttRA94FpEzzJ7ZdqcL4uUUQ7WkdkI4DSozGmgBUE/a47L+38PenXhUw==",
1177 "dev": true,
1178 "requires": {
1179 "builtin-status-codes": "^3.0.0",
1180 "inherits": "^2.0.1",
1181 "readable-stream": "^2.3.6",
1182 "to-arraybuffer": "^1.0.0",
1183 "xtend": "^4.0.0"
1184 }
1185 },
1186 "stream-splicer": {
1187 "version": "2.0.0",
1188 "resolved": "http://registry.npmjs.org/stream-splicer/-/stream-splicer-2.0.0.tgz",
1189 "integrity": "sha1-G2O+Q4oTPktnHMGTUZdgAXWRDYM=",
1190 "dev": true,
1191 "requires": {
1192 "inherits": "^2.0.1",
1193 "readable-stream": "^2.0.2"
1194 }
1195 },
1196 "string_decoder": {
1197 "version": "1.2.0",
1198 "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.2.0.tgz",
1199 "integrity": "sha512-6YqyX6ZWEYguAxgZzHGL7SsCeGx3V2TtOTqZz1xSTSWnqsbWwbptafNyvf/ACquZUXV3DANr5BDIwNYe1mN42w==",
1200 "dev": true,
1201 "requires": {
1202 "safe-buffer": "~5.1.0"
1203 }
1204 },
1205 "subarg": {
1206 "version": "1.0.0",
1207 "resolved": "https://registry.npmjs.org/subarg/-/subarg-1.0.0.tgz",
1208 "integrity": "sha1-9izxdYHplrSPyWVpn1TAauJouNI=",
1209 "dev": true,
1210 "requires": {
1211 "minimist": "^1.1.0"
1212 }
1213 },
1214 "syntax-error": {
1215 "version": "1.4.0",
1216 "resolved": "http://registry.npmjs.org/syntax-error/-/syntax-error-1.4.0.tgz",
1217 "integrity": "sha512-YPPlu67mdnHGTup2A8ff7BC2Pjq0e0Yp/IyTFN03zWO0RcK07uLcbi7C2KpGR2FvWbaB0+bfE27a+sBKebSo7w==",
1218 "dev": true,
1219 "requires": {
1220 "acorn-node": "^1.2.0"
1221 }
1222 },
1223 "through": {
1224 "version": "2.3.8",
1225 "resolved": "http://registry.npmjs.org/through/-/through-2.3.8.tgz",
1226 "integrity": "sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU=",
1227 "dev": true
1228 },
1229 "through2": {
1230 "version": "2.0.5",
1231 "resolved": "https://registry.npmjs.org/through2/-/through2-2.0.5.tgz",
1232 "integrity": "sha512-/mrRod8xqpA+IHSLyGCQ2s8SPHiCDEeQJSep1jqLYeEUClOFG2Qsh+4FU6G9VeqpZnGW/Su8LQGc4YKni5rYSQ==",
1233 "dev": true,
1234 "requires": {
1235 "readable-stream": "~2.3.6",
1236 "xtend": "~4.0.1"
1237 }
1238 },
1239 "timers-browserify": {
1240 "version": "1.4.2",
1241 "resolved": "http://registry.npmjs.org/timers-browserify/-/timers-browserify-1.4.2.tgz",
1242 "integrity": "sha1-ycWLV1voQHN1y14kYtrO50NZ9B0=",
1243 "dev": true,
1244 "requires": {
1245 "process": "~0.11.0"
1246 }
1247 },
1248 "to-arraybuffer": {
1249 "version": "1.0.1",
1250 "resolved": "https://registry.npmjs.org/to-arraybuffer/-/to-arraybuffer-1.0.1.tgz",
1251 "integrity": "sha1-fSKbH8xjfkZsoIEYCDanqr/4P0M=",
1252 "dev": true
1253 },
1254 "tty-browserify": {
1255 "version": "0.0.1",
1256 "resolved": "https://registry.npmjs.org/tty-browserify/-/tty-browserify-0.0.1.tgz",
1257 "integrity": "sha512-C3TaO7K81YvjCgQH9Q1S3R3P3BtN3RIM8n+OvX4il1K1zgE8ZhI0op7kClgkxtutIE8hQrcrHBXvIheqKUUCxw==",
1258 "dev": true
1259 },
1260 "tweetnacl": {
1261 "version": "1.0.0",
1262 "resolved": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-1.0.0.tgz",
1263 "integrity": "sha1-cT2LgY2kIGh0C/aDhtBHnmb8ins="
1264 },
1265 "typedarray": {
1266 "version": "0.0.6",
1267 "resolved": "https://registry.npmjs.org/typedarray/-/typedarray-0.0.6.tgz",
1268 "integrity": "sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c=",
1269 "dev": true
1270 },
1271 "umd": {
1272 "version": "3.0.3",
1273 "resolved": "https://registry.npmjs.org/umd/-/umd-3.0.3.tgz",
1274 "integrity": "sha512-4IcGSufhFshvLNcMCV80UnQVlZ5pMOC8mvNPForqwA4+lzYQuetTESLDQkeLmihq8bRcnpbQa48Wb8Lh16/xow==",
1275 "dev": true
1276 },
1277 "undeclared-identifiers": {
1278 "version": "1.1.2",
1279 "resolved": "https://registry.npmjs.org/undeclared-identifiers/-/undeclared-identifiers-1.1.2.tgz",
1280 "integrity": "sha512-13EaeocO4edF/3JKime9rD7oB6QI8llAGhgn5fKOPyfkJbRb6NFv9pYV6dFEmpa4uRjKeBqLZP8GpuzqHlKDMQ==",
1281 "dev": true,
1282 "requires": {
1283 "acorn-node": "^1.3.0",
1284 "get-assigned-identifiers": "^1.2.0",
1285 "simple-concat": "^1.0.0",
1286 "xtend": "^4.0.1"
1287 }
1288 },
1289 "url": {
1290 "version": "0.11.0",
1291 "resolved": "https://registry.npmjs.org/url/-/url-0.11.0.tgz",
1292 "integrity": "sha1-ODjpfPxgUh63PFJajlW/3Z4uKPE=",
1293 "dev": true,
1294 "requires": {
1295 "punycode": "1.3.2",
1296 "querystring": "0.2.0"
1297 },
1298 "dependencies": {
1299 "punycode": {
1300 "version": "1.3.2",
1301 "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.3.2.tgz",
1302 "integrity": "sha1-llOgNvt8HuQjQvIyXM7v6jkmxI0=",
1303 "dev": true
1304 }
1305 }
1306 },
1307 "util": {
1308 "version": "0.10.4",
1309 "resolved": "https://registry.npmjs.org/util/-/util-0.10.4.tgz",
1310 "integrity": "sha512-0Pm9hTQ3se5ll1XihRic3FDIku70C+iHUdT/W926rSgHV5QgXsYbKZN8MSC3tJtSkhuROzvsQjAaFENRXr+19A==",
1311 "dev": true,
1312 "requires": {
1313 "inherits": "2.0.3"
1314 }
1315 },
1316 "util-deprecate": {
1317 "version": "1.0.2",
1318 "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz",
1319 "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=",
1320 "dev": true
1321 },
1322 "vm-browserify": {
1323 "version": "1.1.0",
1324 "resolved": "https://registry.npmjs.org/vm-browserify/-/vm-browserify-1.1.0.tgz",
1325 "integrity": "sha512-iq+S7vZJE60yejDYM0ek6zg308+UZsdtPExWP9VZoCFCz1zkJoXFnAX7aZfd/ZwrkidzdUZL0C/ryW+JwAiIGw==",
1326 "dev": true
1327 },
1328 "wrappy": {
1329 "version": "1.0.2",
1330 "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz",
1331 "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=",
1332 "dev": true
1333 },
1334 "xtend": {
1335 "version": "4.0.1",
1336 "resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.1.tgz",
1337 "integrity": "sha1-pcbVMr5lbiPbgg77lDofBJmNY68=",
1338 "dev": true
1339 }
1340 }
1341}
diff --git a/libs/stellar-util/package.json b/libs/stellar-util/package.json
new file mode 100644
index 0000000..80bc8a4
--- /dev/null
+++ b/libs/stellar-util/package.json
@@ -0,0 +1,13 @@
1{
2 "name": "stellar-util",
3 "version": "0.0.1",
4 "scripts" :{
5 "build": "browserify stellar-util.js > ../../src/js/stellar-util.js"
6 },
7 "dependencies": {
8 "stellar-base": "^0.10.0"
9 },
10 "devDependencies": {
11 "browserify": "^16.2.3"
12 }
13}
diff --git a/libs/stellar-util/stellar-util.js b/libs/stellar-util/stellar-util.js
new file mode 100644
index 0000000..1922d5c
--- /dev/null
+++ b/libs/stellar-util/stellar-util.js
@@ -0,0 +1,48 @@
1const createHmac = require('create-hmac');
2const StellarBase = require('stellar-base');
3
4window.stellarUtil = {
5
6 HARDENED_OFFSET: 0x80000000,
7 ED25519_CURVE: 'ed25519 seed',
8
9 replaceDerive: (val) => val.replace("'", ''),
10
11 getMasterKeyFromSeed: function (seed) {
12 const hmac = createHmac('sha512', this.ED25519_CURVE);
13 const I = hmac.update(Buffer.from(seed, 'hex')).digest();
14 const IL = I.slice(0, 32);
15 const IR = I.slice(32);
16 return {
17 key: IL,
18 chainCode: IR,
19 };
20 },
21
22 CKDPriv: ({key, chainCode}, index) => {
23 const indexBuffer = Buffer.allocUnsafe(4);
24 indexBuffer.writeUInt32BE(index, 0);
25 const data = Buffer.concat([Buffer.alloc(1, 0), key, indexBuffer]);
26 const I = createHmac('sha512', chainCode)
27 .update(data)
28 .digest();
29 const IL = I.slice(0, 32);
30 const IR = I.slice(32);
31 return {
32 key: IL,
33 chainCode: IR,
34 };
35 },
36
37 derivePath: function (path, seed) {
38
39 const {key, chainCode} = this.getMasterKeyFromSeed(seed);
40 const segments = path
41 .split('/')
42 .slice(1)
43 .map(this.replaceDerive)
44 .map(el => parseInt(el, 10));
45 const result = segments.reduce((parentKeys, segment) => this.CKDPriv(parentKeys, segment + this.HARDENED_OFFSET), {key, chainCode});
46 return StellarBase.Keypair.fromRawEd25519Seed(result.key);
47 }
48}