chainflow 0.1.6 → 0.1.8
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/LICENSE +20 -20
- package/README.md +565 -488
- package/dist/core/chainflow.d.ts +12 -3
- package/dist/core/chainflow.js +13 -11
- package/dist/core/chainflow.js.map +1 -1
- package/dist/core/inputNode.d.ts +1 -1
- package/dist/core/inputNode.js +31 -29
- package/dist/core/inputNode.js.map +1 -1
- package/dist/core/logger.d.ts +1 -0
- package/dist/core/logger.js +6 -2
- package/dist/core/logger.js.map +1 -1
- package/dist/core/sourceNode.d.ts +5 -5
- package/dist/core/sourceNode.js +5 -5
- package/dist/core/sourceNode.js.map +1 -1
- package/dist/core/utils/constants.d.ts +2 -2
- package/dist/core/utils/constants.js +3 -3
- package/dist/core/utils/constants.js.map +1 -1
- package/dist/core/utils/symbols.d.ts +1 -1
- package/dist/core/utils/symbols.js +2 -2
- package/dist/http/endpoint.d.ts +3 -2
- package/dist/http/endpoint.js +20 -13
- package/dist/http/endpoint.js.map +1 -1
- package/dist/http/errors.d.ts +1 -1
- package/dist/http/errors.js +2 -2
- package/dist/http/errors.js.map +1 -1
- package/dist/http/logger.d.ts +1 -0
- package/dist/http/logger.js +8 -2
- package/dist/http/logger.js.map +1 -1
- package/dist/http/utils/client.d.ts +11 -8
- package/dist/http/utils/client.js +23 -9
- package/dist/http/utils/client.js.map +1 -1
- package/dist/http/utils/id.d.ts +5 -0
- package/dist/http/utils/id.js +9 -0
- package/dist/http/utils/id.js.map +1 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +5 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/core/utils/source.d.ts +0 -14
- package/dist/core/utils/source.js +0 -19
- package/dist/core/utils/source.js.map +0 -1
- package/dist/http/utils/hash.d.ts +0 -4
- package/dist/http/utils/hash.js +0 -8
- package/dist/http/utils/hash.js.map +0 -1
package/dist/http/errors.js
CHANGED
|
@@ -11,8 +11,8 @@ class UnsupportedMethodError extends Error {
|
|
|
11
11
|
exports.UnsupportedMethodError = UnsupportedMethodError;
|
|
12
12
|
/** When there is no value available for a required input node. */
|
|
13
13
|
class RequiredValuesNotFoundError extends Error {
|
|
14
|
-
constructor(
|
|
15
|
-
super(`Endpoint with
|
|
14
|
+
constructor(id, missingValues) {
|
|
15
|
+
super(`Endpoint with id "${id}" is missing required values with these paths: ${missingValues.join(', ')}`);
|
|
16
16
|
this.name = 'RequiredValuesNotFoundError';
|
|
17
17
|
}
|
|
18
18
|
}
|
package/dist/http/errors.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"errors.js","sourceRoot":"","sources":["../../src/http/errors.ts"],"names":[],"mappings":";;;AAAA,+DAA+D;AAC/D,MAAa,sBAAuB,SAAQ,KAAK;IAC/C,YAAY,iBAAyB;QACnC,KAAK,CAAC,WAAW,iBAAiB,qBAAqB,CAAC,CAAC;QACzD,IAAI,CAAC,IAAI,GAAG,wBAAwB,CAAC;IACvC,CAAC;CACF;AALD,wDAKC;AAED,kEAAkE;AAClE,MAAa,2BAA4B,SAAQ,KAAK;IACpD,YAAY,
|
|
1
|
+
{"version":3,"file":"errors.js","sourceRoot":"","sources":["../../src/http/errors.ts"],"names":[],"mappings":";;;AAAA,+DAA+D;AAC/D,MAAa,sBAAuB,SAAQ,KAAK;IAC/C,YAAY,iBAAyB;QACnC,KAAK,CAAC,WAAW,iBAAiB,qBAAqB,CAAC,CAAC;QACzD,IAAI,CAAC,IAAI,GAAG,wBAAwB,CAAC;IACvC,CAAC;CACF;AALD,wDAKC;AAED,kEAAkE;AAClE,MAAa,2BAA4B,SAAQ,KAAK;IACpD,YAAY,EAAU,EAAE,aAAuB;QAC7C,KAAK,CACH,qBAAqB,EAAE,kDAAkD,aAAa,CAAC,IAAI,CACzF,IAAI,CACL,EAAE,CACJ,CAAC;QACF,IAAI,CAAC,IAAI,GAAG,6BAA6B,CAAC;IAC5C,CAAC;CACF;AATD,kEASC;AAED,MAAa,oBAAqB,SAAQ,KAAK;IAC7C,YAAY,GAAY;QACtB,KAAK,CACH,wBAAwB,GAAG,aAAH,GAAG,cAAH,GAAG,GAAI,4DAA4D,EAAE,CAC9F,CAAC;QACF,IAAI,CAAC,IAAI,GAAG,sBAAsB,CAAC;IACrC,CAAC;CACF;AAPD,oDAOC"}
|
package/dist/http/logger.d.ts
CHANGED
package/dist/http/logger.js
CHANGED
|
@@ -3,13 +3,19 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.warn = exports.log = void 0;
|
|
6
|
+
exports.enableLogs = exports.warn = exports.log = void 0;
|
|
7
7
|
/* istanbul ignore file */
|
|
8
8
|
const debug_1 = __importDefault(require("debug"));
|
|
9
|
+
const logger_1 = require("../core/logger");
|
|
9
10
|
exports.log = (0, debug_1.default)('chainflow:http');
|
|
10
11
|
exports.warn = (0, debug_1.default)('chainflow:http:error');
|
|
11
|
-
|
|
12
|
+
const enableLogs = () => {
|
|
12
13
|
exports.log.enabled = true;
|
|
13
14
|
exports.warn.enabled = true;
|
|
15
|
+
(0, logger_1.enableLogs)();
|
|
16
|
+
};
|
|
17
|
+
exports.enableLogs = enableLogs;
|
|
18
|
+
if (process.env.ENABLE_CHAINFLOW_LOGS === 'true') {
|
|
19
|
+
(0, exports.enableLogs)();
|
|
14
20
|
}
|
|
15
21
|
//# sourceMappingURL=logger.js.map
|
package/dist/http/logger.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"logger.js","sourceRoot":"","sources":["../../src/http/logger.ts"],"names":[],"mappings":";;;;;;AAAA,0BAA0B;AAC1B,kDAA0B;
|
|
1
|
+
{"version":3,"file":"logger.js","sourceRoot":"","sources":["../../src/http/logger.ts"],"names":[],"mappings":";;;;;;AAAA,0BAA0B;AAC1B,kDAA0B;AAC1B,2CAA+D;AAElD,QAAA,GAAG,GAAG,IAAA,eAAK,EAAC,gBAAgB,CAAC,CAAC;AAC9B,QAAA,IAAI,GAAG,IAAA,eAAK,EAAC,sBAAsB,CAAC,CAAC;AAE3C,MAAM,UAAU,GAAG,GAAG,EAAE;IAC7B,WAAG,CAAC,OAAO,GAAG,IAAI,CAAC;IACnB,YAAI,CAAC,OAAO,GAAG,IAAI,CAAC;IACpB,IAAA,mBAAe,GAAE,CAAC;AACpB,CAAC,CAAC;AAJW,QAAA,UAAU,cAIrB;AAEF,IAAI,OAAO,CAAC,GAAG,CAAC,qBAAqB,KAAK,MAAM,EAAE,CAAC;IACjD,IAAA,kBAAU,GAAE,CAAC;AACf,CAAC"}
|
|
@@ -1,17 +1,20 @@
|
|
|
1
|
+
import { Dispatcher } from 'undici';
|
|
1
2
|
export type SUPPORTED_METHOD_UPPERCASE = 'GET' | 'POST' | 'PUT' | 'DELETE' | 'PATCH' | 'OPTIONS';
|
|
2
3
|
/** @todo evaluate if defaults should change */
|
|
3
|
-
export declare
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
'content-type': string;
|
|
7
|
-
};
|
|
8
|
-
declare const _default: {
|
|
4
|
+
export declare let _defaultHeaders: Record<string, string> | undefined;
|
|
5
|
+
export declare const defaultHeaders: (headers?: Record<string, string>, replace?: boolean) => void;
|
|
6
|
+
export declare const httpClient: {
|
|
9
7
|
request: ({ addr, path, method, body, headers, }: {
|
|
10
8
|
addr: string;
|
|
11
9
|
path: string;
|
|
12
10
|
method: SUPPORTED_METHOD_UPPERCASE;
|
|
13
11
|
body?: any;
|
|
14
12
|
headers?: Record<string, string> | undefined;
|
|
15
|
-
}) => Promise<
|
|
13
|
+
}) => Promise<Dispatcher.ResponseData | null>;
|
|
16
14
|
};
|
|
17
|
-
|
|
15
|
+
/**
|
|
16
|
+
* Check required to avoid errors when attempting `json()` on an empty body.
|
|
17
|
+
* Refer to issue under `ResponseData` at
|
|
18
|
+
* https://github.com/nodejs/undici/blob/main/docs/docs/api/Dispatcher.md
|
|
19
|
+
*/
|
|
20
|
+
export declare const checkJsonSafe: (resp: Dispatcher.ResponseData) => boolean;
|
|
@@ -9,25 +9,29 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
9
9
|
});
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.defaultHeaders = void 0;
|
|
12
|
+
exports.checkJsonSafe = exports.httpClient = exports.defaultHeaders = exports._defaultHeaders = void 0;
|
|
13
13
|
const undici_1 = require("undici");
|
|
14
14
|
const logger_1 = require("../logger");
|
|
15
15
|
/** @todo evaluate if defaults should change */
|
|
16
|
-
exports.
|
|
17
|
-
connection: 'keep-alive',
|
|
18
|
-
accept: '*/*',
|
|
16
|
+
exports._defaultHeaders = {
|
|
19
17
|
'content-type': 'application/json',
|
|
20
|
-
|
|
18
|
+
'User-Agent': 'Chainflow/0.1',
|
|
21
19
|
};
|
|
20
|
+
const defaultHeaders = (headers, replace) => {
|
|
21
|
+
replace
|
|
22
|
+
? (exports._defaultHeaders = headers)
|
|
23
|
+
: (exports._defaultHeaders = Object.assign(Object.assign({}, exports._defaultHeaders), headers));
|
|
24
|
+
};
|
|
25
|
+
exports.defaultHeaders = defaultHeaders;
|
|
22
26
|
/** Sends a HTTP request. */
|
|
23
27
|
const request = ({ addr, path, method, body, headers, }) => __awaiter(void 0, void 0, void 0, function* () {
|
|
24
|
-
const finalHeaders = Object.assign(Object.assign({}, exports.
|
|
28
|
+
const finalHeaders = Object.assign(Object.assign({}, exports._defaultHeaders), headers);
|
|
25
29
|
(0, logger_1.log)(`[${method}] [${addr}${path}] with headers %O${body ? ' and payload %O' : ''}`, finalHeaders, body !== null && body !== void 0 ? body : '');
|
|
26
30
|
try {
|
|
27
31
|
const resp = yield (0, undici_1.request)(`${addr}${path}`, {
|
|
28
32
|
method,
|
|
29
|
-
body: JSON.stringify(body),
|
|
30
|
-
headers: finalHeaders,
|
|
33
|
+
body: body ? JSON.stringify(body) : null,
|
|
34
|
+
headers: Object.keys(finalHeaders).length > 0 ? finalHeaders : null,
|
|
31
35
|
});
|
|
32
36
|
return resp;
|
|
33
37
|
}
|
|
@@ -36,5 +40,15 @@ const request = ({ addr, path, method, body, headers, }) => __awaiter(void 0, vo
|
|
|
36
40
|
return null;
|
|
37
41
|
}
|
|
38
42
|
});
|
|
39
|
-
exports.
|
|
43
|
+
exports.httpClient = { request };
|
|
44
|
+
/**
|
|
45
|
+
* Check required to avoid errors when attempting `json()` on an empty body.
|
|
46
|
+
* Refer to issue under `ResponseData` at
|
|
47
|
+
* https://github.com/nodejs/undici/blob/main/docs/docs/api/Dispatcher.md
|
|
48
|
+
*/
|
|
49
|
+
const checkJsonSafe = (resp) => {
|
|
50
|
+
var _a;
|
|
51
|
+
return Boolean(resp.statusCode !== 204 && ((_a = resp.headers['content-type']) === null || _a === void 0 ? void 0 : _a.includes('application/json')));
|
|
52
|
+
};
|
|
53
|
+
exports.checkJsonSafe = checkJsonSafe;
|
|
40
54
|
//# sourceMappingURL=client.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client.js","sourceRoot":"","sources":["../../../src/http/utils/client.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"client.js","sourceRoot":"","sources":["../../../src/http/utils/client.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,mCAA8D;AAC9D,sCAAsC;AAItC,+CAA+C;AACpC,QAAA,eAAe,GAAuC;IAC/D,cAAc,EAAE,kBAAkB;IAClC,YAAY,EAAE,eAAe;CAC9B,CAAC;AAEK,MAAM,cAAc,GAAG,CAAC,OAAgC,EAAE,OAAiB,EAAE,EAAE;IACpF,OAAO;QACL,CAAC,CAAC,CAAC,uBAAe,GAAG,OAAO,CAAC;QAC7B,CAAC,CAAC,CAAC,uBAAe,mCACX,uBAAe,GACf,OAAO,CACX,CAAC,CAAC;AACT,CAAC,CAAC;AAPW,QAAA,cAAc,kBAOzB;AAEF,4BAA4B;AAC5B,MAAM,OAAO,GAAG,CAAO,EACrB,IAAI,EACJ,IAAI,EACJ,MAAM,EACN,IAAI,EACJ,OAAO,GAOR,EAAE,EAAE;IACH,MAAM,YAAY,mCACb,uBAAe,GACf,OAAO,CACX,CAAC;IAEF,IAAA,YAAG,EACD,IAAI,MAAM,MAAM,IAAI,GAAG,IAAI,oBAAoB,IAAI,CAAC,CAAC,CAAC,iBAAiB,CAAC,CAAC,CAAC,EAAE,EAAE,EAC9E,YAAY,EACZ,IAAI,aAAJ,IAAI,cAAJ,IAAI,GAAI,EAAE,CACX,CAAC;IAEF,IAAI,CAAC;QACH,MAAM,IAAI,GAAG,MAAM,IAAA,gBAAa,EAAC,GAAG,IAAI,GAAG,IAAI,EAAE,EAAE;YACjD,MAAM;YACN,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI;YACxC,OAAO,EAAE,MAAM,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,IAAI;SACpE,CAAC,CAAC;QAEH,OAAO,IAAI,CAAC;IACd,CAAC;IAAC,OAAO,GAAG,EAAE,CAAC;QACb,IAAA,aAAI,EAAC,mBAAmB,GAAG,EAAE,CAAC,CAAC;QAC/B,OAAO,IAAI,CAAC;IACd,CAAC;AACH,CAAC,CAAA,CAAC;AAEW,QAAA,UAAU,GAAG,EAAE,OAAO,EAAE,CAAC;AAEtC;;;;GAIG;AACI,MAAM,aAAa,GAAG,CAAC,IAA6B,EAAW,EAAE;;IACtE,OAAO,OAAO,CACZ,IAAI,CAAC,UAAU,KAAK,GAAG,KAAI,MAAA,IAAI,CAAC,OAAO,CAAC,cAAc,CAAC,0CAAE,QAAQ,CAAC,kBAAkB,CAAC,CAAA,CACtF,CAAC;AACJ,CAAC,CAAC;AAJW,QAAA,aAAa,iBAIxB"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getEndpointId = void 0;
|
|
4
|
+
/** @todo explore improving this */
|
|
5
|
+
const getEndpointId = ({ route, method }) => {
|
|
6
|
+
return `[${method.toUpperCase()}] ${route}`;
|
|
7
|
+
};
|
|
8
|
+
exports.getEndpointId = getEndpointId;
|
|
9
|
+
//# sourceMappingURL=id.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"id.js","sourceRoot":"","sources":["../../../src/http/utils/id.ts"],"names":[],"mappings":";;;AAAA,mCAAmC;AAC5B,MAAM,aAAa,GAAG,CAAC,EAAE,KAAK,EAAE,MAAM,EAAqC,EAAU,EAAE;IAC5F,OAAO,IAAI,MAAM,CAAC,WAAW,EAAE,KAAK,KAAK,EAAE,CAAC;AAC9C,CAAC,CAAC;AAFW,QAAA,aAAa,iBAExB"}
|
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -14,6 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
exports.defaultHeaders = exports.enableLogs = void 0;
|
|
17
18
|
__exportStar(require("./core/chainflow"), exports);
|
|
18
19
|
__exportStar(require("./core/utils/initializers"), exports);
|
|
19
20
|
__exportStar(require("./core/inputNode"), exports);
|
|
@@ -22,4 +23,8 @@ __exportStar(require("./core/utils/config"), exports);
|
|
|
22
23
|
__exportStar(require("./http/endpoint"), exports);
|
|
23
24
|
__exportStar(require("./http/reqBuilder"), exports);
|
|
24
25
|
__exportStar(require("./http/originServer"), exports);
|
|
26
|
+
var logger_1 = require("./http/logger");
|
|
27
|
+
Object.defineProperty(exports, "enableLogs", { enumerable: true, get: function () { return logger_1.enableLogs; } });
|
|
28
|
+
var client_1 = require("./http/utils/client");
|
|
29
|
+
Object.defineProperty(exports, "defaultHeaders", { enumerable: true, get: function () { return client_1.defaultHeaders; } });
|
|
25
30
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,mDAAiC;AACjC,4DAA0C;AAC1C,mDAAiC;AACjC,oDAAkC;AAClC,sDAAoC;AACpC,kDAAgC;AAChC,oDAAkC;AAClC,sDAAoC;AACpC,wCAA2C;AAAlC,oGAAA,UAAU,OAAA;AACnB,8CAAqD;AAA5C,wGAAA,cAAc,OAAA"}
|
package/package.json
CHANGED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { NodeValue } from '../inputNode';
|
|
2
|
-
import { SourceNode } from '../sourceNode';
|
|
3
|
-
import { nodeValueIdentifier } from './symbols';
|
|
4
|
-
export declare const source: (source: SourceNode, callback?: ((val: any) => any) | undefined) => {
|
|
5
|
-
[nodeValueIdentifier]: NodeValue;
|
|
6
|
-
source: SourceNode;
|
|
7
|
-
callback: ((val: any) => any) | undefined;
|
|
8
|
-
};
|
|
9
|
-
/** @experimental - evaluating if this is important enough to retain */
|
|
10
|
-
export declare const sources: (sources: SourceNode[], callback?: ((val: any) => any) | undefined) => {
|
|
11
|
-
[nodeValueIdentifier]: NodeValue;
|
|
12
|
-
sources: SourceNode[];
|
|
13
|
-
callback: ((val: any) => any) | undefined;
|
|
14
|
-
};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.sources = exports.source = void 0;
|
|
4
|
-
const inputNode_1 = require("../inputNode");
|
|
5
|
-
const symbols_1 = require("./symbols");
|
|
6
|
-
const source = (source, callback) => ({
|
|
7
|
-
[symbols_1.nodeValueIdentifier]: inputNode_1.NodeValue.SourceWithCallback,
|
|
8
|
-
source,
|
|
9
|
-
callback,
|
|
10
|
-
});
|
|
11
|
-
exports.source = source;
|
|
12
|
-
/** @experimental - evaluating if this is important enough to retain */
|
|
13
|
-
const sources = (sources, callback) => ({
|
|
14
|
-
[symbols_1.nodeValueIdentifier]: inputNode_1.NodeValue.Sources,
|
|
15
|
-
sources,
|
|
16
|
-
callback,
|
|
17
|
-
});
|
|
18
|
-
exports.sources = sources;
|
|
19
|
-
//# sourceMappingURL=source.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"source.js","sourceRoot":"","sources":["../../../src/core/utils/source.ts"],"names":[],"mappings":";;;AAAA,4CAAyC;AAEzC,uCAAgD;AAEzC,MAAM,MAAM,GAAG,CAAC,MAAkB,EAAE,QAA4B,EAAE,EAAE,CAAC,CAAC;IAC3E,CAAC,6BAAmB,CAAC,EAAE,qBAAS,CAAC,kBAAkB;IACnD,MAAM;IACN,QAAQ;CACT,CAAC,CAAC;AAJU,QAAA,MAAM,UAIhB;AAEH,uEAAuE;AAChE,MAAM,OAAO,GAAG,CAAC,OAAqB,EAAE,QAA4B,EAAE,EAAE,CAAC,CAAC;IAC/E,CAAC,6BAAmB,CAAC,EAAE,qBAAS,CAAC,OAAO;IACxC,OAAO;IACP,QAAQ;CACT,CAAC,CAAC;AAJU,QAAA,OAAO,WAIjB"}
|
package/dist/http/utils/hash.js
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.hashEndpoint = void 0;
|
|
4
|
-
const hashEndpoint = ({ route, method }) => {
|
|
5
|
-
return `{${method}} ${route}`;
|
|
6
|
-
};
|
|
7
|
-
exports.hashEndpoint = hashEndpoint;
|
|
8
|
-
//# sourceMappingURL=hash.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"hash.js","sourceRoot":"","sources":["../../../src/http/utils/hash.ts"],"names":[],"mappings":";;;AAAO,MAAM,YAAY,GAAG,CAAC,EAAE,KAAK,EAAE,MAAM,EAAqC,EAAU,EAAE;IAC3F,OAAO,IAAI,MAAM,KAAK,KAAK,EAAE,CAAC;AAChC,CAAC,CAAC;AAFW,QAAA,YAAY,gBAEvB"}
|