@blocklet/constant 1.16.26-beta-818ea1c5 → 1.16.26-beta-cca12425
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +12 -0
- package/index.js +14 -0
- package/package.json +2 -2
package/index.d.ts
CHANGED
|
@@ -950,9 +950,21 @@ export declare const CHAIN_PROP_MAP: {
|
|
|
950
950
|
export declare const CHAIN_PROP_MAP_REVERSE: {};
|
|
951
951
|
export declare const LOGIN_PROVIDER: {
|
|
952
952
|
AUTH0: string;
|
|
953
|
+
GOOGLE: string;
|
|
954
|
+
APPLE: string;
|
|
955
|
+
GITHUB: string;
|
|
953
956
|
WALLET: string;
|
|
954
957
|
NFT: string;
|
|
955
958
|
};
|
|
959
|
+
export declare const PROVIDER_NAME: {
|
|
960
|
+
auth0: string;
|
|
961
|
+
github: string;
|
|
962
|
+
google: string;
|
|
963
|
+
apple: string;
|
|
964
|
+
email: string;
|
|
965
|
+
wallet: string;
|
|
966
|
+
federated: string;
|
|
967
|
+
};
|
|
956
968
|
export declare const APP_CONFIG_DIR = "/.config";
|
|
957
969
|
export declare const APP_CONFIG_PUBLIC_DIR = "/.config/public";
|
|
958
970
|
export declare const APP_CONFIG_FILE_PATH = "/.config/config.json";
|
package/index.js
CHANGED
|
@@ -75,6 +75,7 @@ __export(lib_exports, {
|
|
|
75
75
|
LOGIN_PROVIDER: () => LOGIN_PROVIDER,
|
|
76
76
|
MAX_TITLE_LENGTH: () => MAX_TITLE_LENGTH,
|
|
77
77
|
PROJECT: () => PROJECT,
|
|
78
|
+
PROVIDER_NAME: () => PROVIDER_NAME,
|
|
78
79
|
RESTORE_PROGRESS_STATUS: () => RESTORE_PROGRESS_STATUS,
|
|
79
80
|
SUPPORTED_LANGUAGES: () => languages_default,
|
|
80
81
|
SUSPENDED_REASON: () => SUSPENDED_REASON,
|
|
@@ -1118,9 +1119,21 @@ var CHAIN_PROP_MAP_REVERSE = Object.keys(CHAIN_PROP_MAP).reduce((acc, key) => {
|
|
|
1118
1119
|
}, {});
|
|
1119
1120
|
var LOGIN_PROVIDER = {
|
|
1120
1121
|
AUTH0: "auth0",
|
|
1122
|
+
GOOGLE: "google",
|
|
1123
|
+
APPLE: "apple",
|
|
1124
|
+
GITHUB: "github",
|
|
1121
1125
|
WALLET: "wallet",
|
|
1122
1126
|
NFT: "nft"
|
|
1123
1127
|
};
|
|
1128
|
+
var PROVIDER_NAME = {
|
|
1129
|
+
auth0: "Auth0",
|
|
1130
|
+
github: "GitHub",
|
|
1131
|
+
google: "Google",
|
|
1132
|
+
apple: "Apple",
|
|
1133
|
+
email: "Email",
|
|
1134
|
+
wallet: "DID wallet",
|
|
1135
|
+
federated: "Federated"
|
|
1136
|
+
};
|
|
1124
1137
|
var APP_CONFIG_DIR = "/.config";
|
|
1125
1138
|
var APP_CONFIG_PUBLIC_DIR = "/.config/public";
|
|
1126
1139
|
var APP_CONFIG_FILE_PATH = "/.config/config.json";
|
|
@@ -1184,6 +1197,7 @@ var MAX_TITLE_LENGTH = 40;
|
|
|
1184
1197
|
LOGIN_PROVIDER,
|
|
1185
1198
|
MAX_TITLE_LENGTH,
|
|
1186
1199
|
PROJECT,
|
|
1200
|
+
PROVIDER_NAME,
|
|
1187
1201
|
RESTORE_PROGRESS_STATUS,
|
|
1188
1202
|
SUPPORTED_LANGUAGES,
|
|
1189
1203
|
SUSPENDED_REASON,
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
|
-
"version": "1.16.26-beta-
|
|
6
|
+
"version": "1.16.26-beta-cca12425",
|
|
7
7
|
"description": "Blocklet constants",
|
|
8
8
|
"main": "index.js",
|
|
9
9
|
"type": "commonjs",
|
|
@@ -36,5 +36,5 @@
|
|
|
36
36
|
"ts-jest": "^29.1.1",
|
|
37
37
|
"typescript": "^5.0.4"
|
|
38
38
|
},
|
|
39
|
-
"gitHead": "
|
|
39
|
+
"gitHead": "fc2804fa8010d4311f1c74e65fb98d117598df2a"
|
|
40
40
|
}
|