UNPKG

@atproto/jwk-jose

Version:

`jose` based implementation of @atproto/jwk Key's

10 lines 303 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.either = either; function either(a, b) { if (a != null && b != null && a !== b) { throw new TypeError(`Expected "${b}", got "${a}"`); } return a ?? b ?? undefined; } //# sourceMappingURL=util.js.map