@blocklet/constant 1.16.13 → 1.16.14-beta-0c29907f
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.js +11 -4
- package/package.json +2 -2
package/index.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* eslint-disable prettier/prettier */
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
exports.CHAIN_PROP_MAP = exports.RESTORE_PROGRESS_STATUS = exports.CHAIN_INFO_CONFIG = exports.BLOCKLET_APP_SPACE_ENDPOINTS = exports.BLOCKLET_CONFIGURABLE_KEY = exports.BLOCKLET_LATEST_REQUIREMENT_ABTNODE = exports.BLOCKLET_LATEST_REQUIREMENT_SERVER = exports.BLOCKLET_LATEST_SPEC_VERSION = exports.BLOCKLET_UPLOADS_DIR = exports.BLOCKLET_DEFAULT_VERSION = exports.BLOCKLET_PREFERENCE_PREFIX = exports.BLOCKLET_PREFERENCE_FILE = exports.BLOCKLET_META_FILE_ALT = exports.BLOCKLET_META_FILE = exports.BLOCKLET_ENTRY_FILE = exports.BLOCKLET_BUNDLE_FILE = exports.BLOCKLET_BUNDLE_FOLDER = exports.BLOCKLET_RELEASE_FILE = exports.BLOCKLET_RELEASE_FOLDER = exports.BLOCKLET_DEFAULT_PATH_REWRITE = exports.BLOCKLET_DEFAULT_PORT_NAME = exports.BLOCKLET_DYNAMIC_PATH_PREFIX = exports.BLOCKLET_INTERFACE_PROTOCOLS = exports.BLOCKLET_INTERFACE_PROTOCOL_UDP = exports.BLOCKLET_INTERFACE_PROTOCOL_TCP = exports.BLOCKLET_INTERFACE_PROTOCOL_HTTP = exports.BLOCKLET_STANDARD_INTERFACES = exports.BLOCKLET_UI_INTERFACES = exports.BLOCKLET_INTERFACE_WELLKNOWN = exports.BLOCKLET_INTERFACE_PUBLIC = exports.BLOCKLET_INTERFACE_TYPES = exports.BLOCKLET_INTERFACE_TYPE_WELLKNOWN = exports.BLOCKLET_INTERFACE_TYPE_SERVICE = exports.BLOCKLET_INTERFACE_TYPE_WEB = exports.BLOCKLET_FACTORY_SHARES = exports.BLOCKLET_MODES = exports.BLOCKLET_ARCHITECTURES = exports.BLOCKLET_PLATFORMS = exports.BlockletInternalEvents = exports.BlockletEvents = exports.BLOCKLET_GROUPS = exports.BlockletGroup = exports.toBlockletSource = exports.fromBlockletSource = exports.BlockletSource = exports.toBlockletStatus = exports.fromBlockletStatus = exports.SUSPENDED_REASON = exports.BLOCKLET_CONTROLLER_STATUS = exports.BlockletStatus = void 0;
|
|
5
|
-
exports.SUPPORTED_LANGUAGES = exports.CHAIN_PROP_MAP_REVERSE = void 0;
|
|
5
|
+
exports.LOGIN_PROVIDER = exports.SUPPORTED_LANGUAGES = exports.CHAIN_PROP_MAP_REVERSE = void 0;
|
|
6
6
|
const fromEntry = (entries) => (v) => {
|
|
7
7
|
const match = Object.entries(entries).find((x) => x[1] === Number(v));
|
|
8
8
|
return match ? match[0] : 'unknown';
|
|
@@ -72,9 +72,6 @@ exports.BlockletEvents = Object.freeze({
|
|
|
72
72
|
installed: 'blocklet.installed',
|
|
73
73
|
installFailed: 'blocklet.installFailed',
|
|
74
74
|
upgraded: 'blocklet.upgraded',
|
|
75
|
-
upgradeFailed: 'blocklet.upgradedFailed',
|
|
76
|
-
downgraded: 'blocklet.downgraded',
|
|
77
|
-
downgradeFailed: 'blocklet.downgradedFailed',
|
|
78
75
|
removed: 'blocklet.removed',
|
|
79
76
|
started: 'blocklet.started',
|
|
80
77
|
startFailed: 'blocklet.startFailed',
|
|
@@ -82,6 +79,11 @@ exports.BlockletEvents = Object.freeze({
|
|
|
82
79
|
reloaded: 'blocklet.reloaded',
|
|
83
80
|
statusChange: 'blocklet.statusChange',
|
|
84
81
|
dataCleaned: 'blocklet.dataCleaned',
|
|
82
|
+
componentInstalled: 'blocklet.componentInstalled',
|
|
83
|
+
componentInstallFailed: 'blocklet.componentInstallFailed',
|
|
84
|
+
componentUpgraded: 'blocklet.componentUpgraded',
|
|
85
|
+
componentUpgradeFailed: 'blocklet.componentUpgradeFailed',
|
|
86
|
+
componentRemoved: 'blocklet.componentRemoved',
|
|
85
87
|
// 备份还原进度
|
|
86
88
|
backupProgress: 'blocklet.backupProgress',
|
|
87
89
|
restoreProgress: 'blocklet.restoreProgress',
|
|
@@ -275,3 +277,8 @@ exports.SUPPORTED_LANGUAGES = {
|
|
|
275
277
|
nativeName: 'Монгол хэл',
|
|
276
278
|
},
|
|
277
279
|
};
|
|
280
|
+
exports.LOGIN_PROVIDER = {
|
|
281
|
+
AUTH0: 'auth0',
|
|
282
|
+
WALLET: 'wallet',
|
|
283
|
+
FEDERATED: 'federated',
|
|
284
|
+
};
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
|
-
"version": "1.16.
|
|
6
|
+
"version": "1.16.14-beta-0c29907f",
|
|
7
7
|
"description": "Blocklet constants",
|
|
8
8
|
"main": "index.js",
|
|
9
9
|
"files": [
|
|
@@ -31,5 +31,5 @@
|
|
|
31
31
|
"ts-jest": "^27.1.5",
|
|
32
32
|
"typescript": "^5.0.4"
|
|
33
33
|
},
|
|
34
|
-
"gitHead": "
|
|
34
|
+
"gitHead": "1f02851a71861dbf09bfedfa9df6d9fc6d2355a3"
|
|
35
35
|
}
|