@blocklet/constant 1.16.11-next-a232f5fb → 1.16.11-next-3d2b39f7
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 +5 -1
- package/package.json +2 -2
package/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/* eslint-disable prettier/prettier */
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.CHAIN_PROP_MAP_REVERSE = 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.BlockletEvents = exports.BLOCKLET_GROUPS = exports.BlockletGroup = exports.toBlockletSource = exports.fromBlockletSource = exports.BlockletSource = exports.toBlockletStatus = exports.fromBlockletStatus = exports.BlockletStatus = void 0;
|
|
4
|
+
exports.CHAIN_PROP_MAP_REVERSE = 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.BlockletStatus = void 0;
|
|
5
5
|
const fromEntry = (entries) => (v) => {
|
|
6
6
|
const match = Object.entries(entries).find((x) => x[1] === Number(v));
|
|
7
7
|
return match ? match[0] : 'unknown';
|
|
@@ -93,6 +93,10 @@ exports.BlockletEvents = Object.freeze({
|
|
|
93
93
|
// install by nft
|
|
94
94
|
nftConsumed: 'blocklet.nftConsumed',
|
|
95
95
|
});
|
|
96
|
+
exports.BlockletInternalEvents = Object.freeze({
|
|
97
|
+
componentsUpdated: 'blocklet.componentsUpdated',
|
|
98
|
+
appConfigChanged: 'blocklet.appConfigChanged',
|
|
99
|
+
});
|
|
96
100
|
exports.BLOCKLET_PLATFORMS = ['aix', 'darwin', 'freebsd', 'linux', 'openbsd', 'sunos', 'win32'];
|
|
97
101
|
exports.BLOCKLET_ARCHITECTURES = [
|
|
98
102
|
'arm',
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
|
-
"version": "1.16.11-next-
|
|
6
|
+
"version": "1.16.11-next-3d2b39f7",
|
|
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": "d0142bd2d1e49b94dcb5542d78e294a7b2258faa"
|
|
35
35
|
}
|