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

2
apps/did-wallet/node_modules/layerr/dist/error.d.ts generated vendored Normal file
View File

@@ -0,0 +1,2 @@
export declare function assertError(err: unknown): asserts err is Error;
export declare function isError(err: unknown): boolean;

11
apps/did-wallet/node_modules/layerr/dist/error.js generated vendored Normal file
View File

@@ -0,0 +1,11 @@
export function assertError(err) {
if (!isError(err)) {
throw new Error("Parameter was not an error");
}
}
export function isError(err) {
return objectToString(err) === "[object Error]" || err instanceof Error;
}
function objectToString(obj) {
return Object.prototype.toString.call(obj);
}

3
apps/did-wallet/node_modules/layerr/dist/index.d.ts generated vendored Normal file
View File

@@ -0,0 +1,3 @@
export { Layerr } from "./layerr.js";
export { assertError, isError } from "./error.js";
export * from "./types.js";

3
apps/did-wallet/node_modules/layerr/dist/index.js generated vendored Normal file
View File

@@ -0,0 +1,3 @@
export { Layerr } from "./layerr.js";
export { assertError, isError } from "./error.js";
export * from "./types.js";

11
apps/did-wallet/node_modules/layerr/dist/layerr.d.ts generated vendored Normal file
View File

@@ -0,0 +1,11 @@
import { LayerrInfo, LayerrOptions } from "./types.js";
export declare class Layerr extends Error {
_cause?: Error;
_info?: LayerrInfo;
constructor(errorOptionsOrMessage?: LayerrOptions | string | Error, messageText?: string);
static cause(err: Layerr | Error): Layerr | Error | null;
static fullStack(err: Layerr | Error): string;
static info(err: Layerr | Error): LayerrInfo;
cause(): Error | Layerr | null;
toString(): string;
}

67
apps/did-wallet/node_modules/layerr/dist/layerr.js generated vendored Normal file
View File

@@ -0,0 +1,67 @@
import { assertError, isError } from "./error.js";
import { parseArguments } from "./tools.js";
export class Layerr extends Error {
constructor(errorOptionsOrMessage, messageText) {
const args = [...arguments];
const { options, shortMessage } = parseArguments(args);
let message = shortMessage;
if (options.cause) {
message = `${message}: ${options.cause.message}`;
}
super(message);
this.message = message;
if (options.name && typeof options.name === "string") {
this.name = options.name;
}
else {
this.name = "Layerr";
}
if (options.cause) {
Object.defineProperty(this, "_cause", { value: options.cause });
}
Object.defineProperty(this, "_info", { value: {} });
if (options.info && typeof options.info === "object") {
Object.assign(this._info, options.info);
}
if (Error.captureStackTrace) {
const ctor = options.constructorOpt || this.constructor;
Error.captureStackTrace(this, ctor);
}
}
static cause(err) {
assertError(err);
if (!err._cause)
return null;
return isError(err._cause) ? err._cause : null;
}
static fullStack(err) {
assertError(err);
const cause = Layerr.cause(err);
if (cause) {
return `${err.stack}\ncaused by: ${Layerr.fullStack(cause)}`;
}
return err.stack;
}
static info(err) {
assertError(err);
const output = {};
const cause = Layerr.cause(err);
if (cause) {
Object.assign(output, Layerr.info(cause));
}
if (err._info) {
Object.assign(output, err._info);
}
return output;
}
cause() {
return Layerr.cause(this);
}
toString() {
let output = this.name || this.constructor.name || this.constructor.prototype.name;
if (this.message) {
output = `${output}: ${this.message}`;
}
return output;
}
}

5
apps/did-wallet/node_modules/layerr/dist/tools.d.ts generated vendored Normal file
View File

@@ -0,0 +1,5 @@
import { LayerrOptions } from "./types.js";
export declare function parseArguments(args: Array<any>): {
options: LayerrOptions;
shortMessage: string;
};

28
apps/did-wallet/node_modules/layerr/dist/tools.js generated vendored Normal file
View File

@@ -0,0 +1,28 @@
import { isError } from "./error.js";
export function parseArguments(args) {
let options, shortMessage = "";
if (args.length === 0) {
options = {};
}
else if (isError(args[0])) {
options = {
cause: args[0]
};
shortMessage = args.slice(1).join(" ") || "";
}
else if (args[0] && typeof args[0] === "object") {
options = Object.assign({}, args[0]);
shortMessage = args.slice(1).join(" ") || "";
}
else if (typeof args[0] === "string") {
options = {};
shortMessage = shortMessage = args.join(" ") || "";
}
else {
throw new Error("Invalid arguments passed to Layerr");
}
return {
options,
shortMessage
};
}

9
apps/did-wallet/node_modules/layerr/dist/types.d.ts generated vendored Normal file
View File

@@ -0,0 +1,9 @@
export interface LayerrInfo {
[key: string]: any;
}
export interface LayerrOptions {
name?: string;
cause?: Error;
info?: Object;
constructorOpt?: Function;
}

1
apps/did-wallet/node_modules/layerr/dist/types.js generated vendored Normal file
View File

@@ -0,0 +1 @@
export {};