Add comprehensive installation and setup documentation

- Add GETTING_STARTED.md with quick start guide and development modes
- Add INSTALL.sh automated installation script
- Add INSTALLATION_CHECKLIST.md, INSTALLATION_SUCCESS.md, and INSTALLATION_SUMMARY.md
- Add QUICK_REFERENCE.md for common commands
- Add SETUP_GUIDE.md with detailed setup instructions
- Update README.md with improved project overview
- Add did-wallet app dependencies and node_modules
This commit is contained in:
Dorian
2026-01-27 17:18:21 +00:00
parent a81f655133
commit 0d073fa89e
22658 changed files with 4494151 additions and 6 deletions
+47
View File
@@ -0,0 +1,47 @@
/**
* @packageDocumentation
*
* Takes an async iterator that emits promise-returning functions, invokes them in parallel and emits the results in the same order as the input.
*
* The final batch may be smaller than the batch size.
*
* @example
*
* ```javascript
* import parallelBatch from 'it-parallel-batch'
* import all from 'it-all'
* import delay from 'delay'
*
* // This can also be an iterator, async iterator, generator, etc
* const input = [
* async () => {
* await delay(500)
*
* return 1
* },
* async () => {
* await delay(200)
*
* return 2
* },
* async () => {
* await delay(100)
*
* return 3
* }
* ]
*
* const batchSize = 2
*
* const result = await all(parallelBatch(input, batchSize))
*
* console.info(result) // [1, 2, 3]
* ```
*/
/**
* Takes an (async) iterator that emits promise-returning functions,
* invokes them in parallel and emits the results as they become available but
* in the same order as the input
*/
export default function parallelBatch<T>(source: AsyncIterable<() => Promise<T>> | Iterable<() => Promise<T>>, size?: number): AsyncGenerator<T, void, undefined>;
//# sourceMappingURL=index.d.ts.map
+1
View File
@@ -0,0 +1 @@
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AAcH;;;;GAIG;AACH,wBAAgC,aAAa,CAAE,CAAC,EAAG,MAAM,EAAE,aAAa,CAAC,MAAM,OAAO,CAAC,CAAC,CAAC,CAAC,GAAG,QAAQ,CAAC,MAAM,OAAO,CAAC,CAAC,CAAC,CAAC,EAAE,IAAI,GAAE,MAAU,GAAG,cAAc,CAAC,CAAC,EAAE,IAAI,EAAE,SAAS,CAAC,CAiB7K"}
+63
View File
@@ -0,0 +1,63 @@
/**
* @packageDocumentation
*
* Takes an async iterator that emits promise-returning functions, invokes them in parallel and emits the results in the same order as the input.
*
* The final batch may be smaller than the batch size.
*
* @example
*
* ```javascript
* import parallelBatch from 'it-parallel-batch'
* import all from 'it-all'
* import delay from 'delay'
*
* // This can also be an iterator, async iterator, generator, etc
* const input = [
* async () => {
* await delay(500)
*
* return 1
* },
* async () => {
* await delay(200)
*
* return 2
* },
* async () => {
* await delay(100)
*
* return 3
* }
* ]
*
* const batchSize = 2
*
* const result = await all(parallelBatch(input, batchSize))
*
* console.info(result) // [1, 2, 3]
* ```
*/
import batch from 'it-batch';
/**
* Takes an (async) iterator that emits promise-returning functions,
* invokes them in parallel and emits the results as they become available but
* in the same order as the input
*/
export default async function* parallelBatch(source, size = 1) {
for await (const tasks of batch(source, size)) {
const things = tasks.map(async (p) => {
return p().then(value => ({ ok: true, value }), err => ({ ok: false, err }));
});
for (let i = 0; i < things.length; i++) {
const result = await things[i];
if (result.ok) {
yield result.value;
}
else {
throw result.err;
}
}
}
}
//# sourceMappingURL=index.js.map
+1
View File
@@ -0,0 +1 @@
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AAEH,OAAO,KAAK,MAAM,UAAU,CAAA;AAY5B;;;;GAIG;AACH,MAAM,CAAC,OAAO,CAAC,KAAK,SAAU,CAAC,CAAC,aAAa,CAAM,MAAoE,EAAE,OAAe,CAAC;IACvI,IAAI,KAAK,EAAE,MAAM,KAAK,IAAI,KAAK,CAAC,MAAM,EAAE,IAAI,CAAC,EAAE,CAAC;QAC9C,MAAM,MAAM,GAAyC,KAAK,CAAC,GAAG,CAC5D,KAAK,EAAE,CAAmB,EAAE,EAAE;YAC5B,OAAO,CAAC,EAAE,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC,EAAE,EAAE,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC,EAAE,GAAG,CAAC,EAAE,CAAC,CAAC,EAAE,EAAE,EAAE,KAAK,EAAE,GAAG,EAAE,CAAC,CAAC,CAAA;QAC9E,CAAC,CAAC,CAAA;QAEJ,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC;YACvC,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,CAAC,CAAC,CAAA;YAE9B,IAAI,MAAM,CAAC,EAAE,EAAE,CAAC;gBACd,MAAM,MAAM,CAAC,KAAK,CAAA;YACpB,CAAC;iBAAM,CAAC;gBACN,MAAM,MAAM,CAAC,GAAG,CAAA;YAClB,CAAC;QACH,CAAC;IACH,CAAC;AACH,CAAC"}