@hellocoop/constants
Advanced tools
@@ -7,3 +7,4 @@ import { Auth, AuthResponseMode, AuthResponseType, Scope } from "@hellocoop/types"; | ||
| export declare const DEFAULT_PATH: string; | ||
| export declare const VALID_IDENTITY_CLAIMS: readonly ["name", "nickname", "preferred_username", "given_name", "family_name", "email", "phone", "picture", "ethereum", "discord", "twitter", "github", "gitlab"]; | ||
| export declare const VALID_IDENTITY_CLAIMS: readonly ["name", "nickname", "preferred_username", "given_name", "family_name", "email", "phone", "picture", "ethereum"]; | ||
| export declare const VALID_IDENTITY_ACCOUNT_CLAIMS: readonly ["discord", "twitter", "github", "gitlab"]; | ||
| export declare const VALID_SCOPES: readonly ["name", "nickname", "preferred_username", "given_name", "family_name", "email", "phone", "picture", "ethereum", "discord", "twitter", "github", "gitlab", "openid", "profile_update"]; | ||
@@ -10,0 +11,0 @@ export declare const VALID_RESPONSE_TYPE: readonly ["id_token", "code"]; |
| "use strict"; | ||
| Object.defineProperty(exports, "__esModule", { value: true }); | ||
| exports.NotLoggedIn = exports.Button = exports.VALID_PROVIDER_HINT = exports.VALID_RESPONSE_MODE = exports.VALID_RESPONSE_TYPE = exports.VALID_SCOPES = exports.VALID_IDENTITY_CLAIMS = exports.DEFAULT_PATH = exports.DEFAULT_RESPONSE_MODE = exports.DEFAULT_RESPONSE_TYPE = exports.DEFAULT_SCOPE = exports.PRODUCTION_WALLET = void 0; | ||
| exports.NotLoggedIn = exports.Button = exports.VALID_PROVIDER_HINT = exports.VALID_RESPONSE_MODE = exports.VALID_RESPONSE_TYPE = exports.VALID_SCOPES = exports.VALID_IDENTITY_ACCOUNT_CLAIMS = exports.VALID_IDENTITY_CLAIMS = exports.DEFAULT_PATH = exports.DEFAULT_RESPONSE_MODE = exports.DEFAULT_RESPONSE_TYPE = exports.DEFAULT_SCOPE = exports.PRODUCTION_WALLET = void 0; | ||
| exports.PRODUCTION_WALLET = 'https://wallet.hello.coop'; | ||
@@ -20,2 +20,4 @@ exports.DEFAULT_SCOPE = ['openid', 'name', 'email', 'picture']; | ||
| 'ethereum', | ||
| ]; | ||
| exports.VALID_IDENTITY_ACCOUNT_CLAIMS = [ | ||
| 'discord', | ||
@@ -28,2 +30,3 @@ 'twitter', | ||
| ...exports.VALID_IDENTITY_CLAIMS, | ||
| ...exports.VALID_IDENTITY_ACCOUNT_CLAIMS, | ||
| 'openid', | ||
@@ -30,0 +33,0 @@ // Hellō extensions -- non-standard scopes |
+1
-1
| { | ||
| "name": "@hellocoop/constants", | ||
| "version": "1.0.2", | ||
| "version": "1.0.3", | ||
| "description": "Constants for Hellō https://hello.dev", | ||
@@ -5,0 +5,0 @@ "repository": { |
6019
3.33%130
3.17%