supertokens-node
Version:
NodeJS driver for SuperTokens core
15 lines (14 loc) • 444 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
class RecipeUserId {
constructor(recipeUserId) {
this.getAsString = () => {
return this.recipeUserId;
};
if (recipeUserId === undefined) {
throw new Error("recipeUserId cannot be undefined. Please check for bugs in code");
}
this.recipeUserId = recipeUserId;
}
}
exports.default = RecipeUserId;