supertokens-node
Version:
NodeJS driver for SuperTokens core
25 lines (24 loc) • 1.42 kB
JavaScript
;
/* Copyright (c) 2021, VRAI Labs and/or its affiliates. All rights reserved.
*
* This software is licensed under the Apache License, Version 2.0 (the
* "License") as published by the Apache Software Foundation.
*
* You may not use this file except in compliance with the License. You may
* obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations
* under the License.
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.DOES_PHONE_NUMBER_EXIST_API = exports.DOES_PHONE_NUMBER_EXIST_API_OLD = exports.DOES_EMAIL_EXIST_API = exports.DOES_EMAIL_EXIST_API_OLD = exports.CONSUME_CODE_API = exports.RESEND_CODE_API = exports.CREATE_CODE_API = void 0;
exports.CREATE_CODE_API = "/signinup/code";
exports.RESEND_CODE_API = "/signinup/code/resend";
exports.CONSUME_CODE_API = "/signinup/code/consume";
exports.DOES_EMAIL_EXIST_API_OLD = "/signup/email/exists";
exports.DOES_EMAIL_EXIST_API = "/passwordless/email/exists";
exports.DOES_PHONE_NUMBER_EXIST_API_OLD = "/signup/phonenumber/exists";
exports.DOES_PHONE_NUMBER_EXIST_API = "/passwordless/phonenumber/exists";