@0xpolygonid/js-sdk
Version:
SDK to work with Polygon ID
16 lines (15 loc) • 375 B
JavaScript
;
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;