UNPKG

@0xpolygonid/js-sdk

Version:
16 lines (15 loc) 375 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.keyPath = void 0; /** * builds key path * * @param {KmsKeyType} keyType - key type * @param {string} keyID - key id * @returns string path */ function keyPath(keyType, keyID) { const basePath = ''; return basePath + String(keyType) + ':' + keyID; } exports.keyPath = keyPath;