UNPKG

moleculer-api

Version:

A dynamic API Gateway for MoleculerJS which updates REST endpoints and aggregated GraphQL schema, access control policy for each action calls from metadata of remote services schema without restart or deployment.

15 lines 510 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.hashObject = void 0; const tslib_1 = require("tslib"); const object_hash_1 = tslib_1.__importDefault(require("object-hash")); function hashObject(v, respectArrayOrders = false) { return object_hash_1.default(v, { algorithm: "md5", unorderedArrays: !respectArrayOrders, unorderedObjects: true, unorderedSets: true, }); } exports.hashObject = hashObject; //# sourceMappingURL=hash.js.map