@blocklet/constant 1.16.33-beta-20241024-064549-2c1ad302 → 1.16.33-beta-20241028-005826-60afb7c4
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 +6 -0
- package/index.js +9 -1
- package/package.json +3 -3
package/index.d.ts
CHANGED
|
@@ -810,6 +810,7 @@ export declare const BlockletEvents: Readonly<{
|
|
|
810
810
|
certIssued: "blocklet.certIssued";
|
|
811
811
|
spaceConnected: "blocklet.spaceConnected";
|
|
812
812
|
nftConsumed: "blocklet.nftConsumed";
|
|
813
|
+
securityConfigUpdated: "blocklet.securityConfigUpdated";
|
|
813
814
|
}>;
|
|
814
815
|
export declare const BlockletInternalEvents: Readonly<{
|
|
815
816
|
appConfigChanged: "blocklet.appConfigChanged";
|
|
@@ -982,5 +983,10 @@ export declare const COMPONENT_ENV_FILE_NAME = "env";
|
|
|
982
983
|
export declare const COMPONENT_DOCKER_ENV_FILE_NAME = "docker-env";
|
|
983
984
|
export declare const MAX_TITLE_LENGTH = 40;
|
|
984
985
|
export declare const BLOCKLET_OPENEMBED_PREFIX = "/.well-known/blocklet/openembed";
|
|
986
|
+
export declare const SIG_VERSION: {
|
|
987
|
+
V0: string;
|
|
988
|
+
V1: string;
|
|
989
|
+
DEFAULT: string;
|
|
990
|
+
};
|
|
985
991
|
|
|
986
992
|
export {};
|
package/index.js
CHANGED
|
@@ -86,6 +86,7 @@ __export(lib_exports, {
|
|
|
86
86
|
PROVIDER_NAME: () => PROVIDER_NAME,
|
|
87
87
|
RESOURCE_PATTERN: () => RESOURCE_PATTERN,
|
|
88
88
|
RESTORE_PROGRESS_STATUS: () => RESTORE_PROGRESS_STATUS,
|
|
89
|
+
SIG_VERSION: () => SIG_VERSION,
|
|
89
90
|
SUPPORTED_LANGUAGES: () => languages_default,
|
|
90
91
|
SUSPENDED_REASON: () => SUSPENDED_REASON,
|
|
91
92
|
TeamEvents: () => TeamEvents,
|
|
@@ -931,7 +932,8 @@ var BlockletEvents = Object.freeze({
|
|
|
931
932
|
certError: "blocklet.certError",
|
|
932
933
|
certIssued: "blocklet.certIssued",
|
|
933
934
|
spaceConnected: "blocklet.spaceConnected",
|
|
934
|
-
nftConsumed: "blocklet.nftConsumed"
|
|
935
|
+
nftConsumed: "blocklet.nftConsumed",
|
|
936
|
+
securityConfigUpdated: "blocklet.securityConfigUpdated"
|
|
935
937
|
});
|
|
936
938
|
var BlockletInternalEvents = Object.freeze({
|
|
937
939
|
appConfigChanged: "blocklet.appConfigChanged",
|
|
@@ -1125,6 +1127,11 @@ var COMPONENT_ENV_FILE_NAME = "env";
|
|
|
1125
1127
|
var COMPONENT_DOCKER_ENV_FILE_NAME = "docker-env";
|
|
1126
1128
|
var MAX_TITLE_LENGTH = 40;
|
|
1127
1129
|
var BLOCKLET_OPENEMBED_PREFIX = "/.well-known/blocklet/openembed";
|
|
1130
|
+
var SIG_VERSION = {
|
|
1131
|
+
V0: "0",
|
|
1132
|
+
V1: "1",
|
|
1133
|
+
DEFAULT: "1"
|
|
1134
|
+
};
|
|
1128
1135
|
// Annotate the CommonJS export names for ESM import in node:
|
|
1129
1136
|
0 && (module.exports = {
|
|
1130
1137
|
APP_CONFIG_DIR,
|
|
@@ -1194,6 +1201,7 @@ var BLOCKLET_OPENEMBED_PREFIX = "/.well-known/blocklet/openembed";
|
|
|
1194
1201
|
PROVIDER_NAME,
|
|
1195
1202
|
RESOURCE_PATTERN,
|
|
1196
1203
|
RESTORE_PROGRESS_STATUS,
|
|
1204
|
+
SIG_VERSION,
|
|
1197
1205
|
SUPPORTED_LANGUAGES,
|
|
1198
1206
|
SUSPENDED_REASON,
|
|
1199
1207
|
TeamEvents,
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
|
-
"version": "1.16.33-beta-
|
|
6
|
+
"version": "1.16.33-beta-20241028-005826-60afb7c4",
|
|
7
7
|
"description": "Blocklet constants",
|
|
8
8
|
"main": "index.js",
|
|
9
9
|
"type": "commonjs",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"author": "polunzh <polunzh@gmail.com> (http://github.com/polunzh)",
|
|
25
25
|
"license": "Apache-2.0",
|
|
26
26
|
"devDependencies": {
|
|
27
|
-
"@arcblock/eslint-config-ts": "^0.3.
|
|
27
|
+
"@arcblock/eslint-config-ts": "^0.3.3",
|
|
28
28
|
"@types/jest": "^29.5.13",
|
|
29
29
|
"@types/node": "^22.7.5",
|
|
30
30
|
"@typescript-eslint/eslint-plugin": "^5.42.0",
|
|
@@ -36,5 +36,5 @@
|
|
|
36
36
|
"ts-jest": "^29.2.5",
|
|
37
37
|
"typescript": "^5.6.3"
|
|
38
38
|
},
|
|
39
|
-
"gitHead": "
|
|
39
|
+
"gitHead": "12b595141a023fe3c3fdb2d7083b3f11624601e8"
|
|
40
40
|
}
|