@investorid/claim-topics
Version:
Standard claim topics for InvestorID blockchain Identities.
15 lines • 733 B
JavaScript
;
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const lodash_1 = __importDefault(require("lodash"));
const claim_topics_json_1 = __importDefault(require("./claim_topics.json"));
exports.ClaimTopicsById = claim_topics_json_1.default;
const ClaimTopicsByName = lodash_1.default.fromPairs(Object.entries(claim_topics_json_1.default).map(([id, claimTopic]) => [claimTopic.name, claimTopic]));
exports.ClaimTopicsByName = ClaimTopicsByName;
exports.default = {
ClaimTopicsById: claim_topics_json_1.default,
ClaimTopicsByName,
};
//# sourceMappingURL=index.js.map