@blocklet/constant 1.16.54-beta-20251030-092518-0e109845 → 1.17.0-beta-20251031-063309-13d088fe
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 +1 -0
- package/index.js +3 -1
- package/package.json +2 -4
package/index.d.ts
CHANGED
|
@@ -819,6 +819,7 @@ export declare const BlockletEvents: Readonly<{
|
|
|
819
819
|
configTheme: "blocklet.configTheme";
|
|
820
820
|
addUserSession: "blocklet.addUserSession";
|
|
821
821
|
updateUserSession: "blocklet.updateUserSession";
|
|
822
|
+
blurOrGreenStarted: "blocklet.blurOrGreenStarted";
|
|
822
823
|
}>;
|
|
823
824
|
export declare const BlockletInternalEvents: Readonly<{
|
|
824
825
|
appConfigChanged: "blocklet.appConfigChanged";
|
package/index.js
CHANGED
|
@@ -974,7 +974,9 @@ var BlockletEvents = Object.freeze({
|
|
|
974
974
|
configTheme: "blocklet.configTheme",
|
|
975
975
|
// user session
|
|
976
976
|
addUserSession: "blocklet.addUserSession",
|
|
977
|
-
updateUserSession: "blocklet.updateUserSession"
|
|
977
|
+
updateUserSession: "blocklet.updateUserSession",
|
|
978
|
+
// blue-green start
|
|
979
|
+
blurOrGreenStarted: "blocklet.blurOrGreenStarted"
|
|
978
980
|
});
|
|
979
981
|
var BlockletInternalEvents = Object.freeze({
|
|
980
982
|
appConfigChanged: "blocklet.appConfigChanged",
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
|
-
"version": "1.
|
|
6
|
+
"version": "1.17.0-beta-20251031-063309-13d088fe",
|
|
7
7
|
"description": "Blocklet constants",
|
|
8
8
|
"main": "index.js",
|
|
9
9
|
"type": "commonjs",
|
|
@@ -15,8 +15,6 @@
|
|
|
15
15
|
"scripts": {
|
|
16
16
|
"lint": "eslint tests lib",
|
|
17
17
|
"lint:fix": "npm run lint -- --fix",
|
|
18
|
-
"test": "bun test --bail --timeout 30000",
|
|
19
|
-
"coverage": "bun test --bail --timeout 30000 --coverage",
|
|
20
18
|
"clean": "rm -f index.d.ts index.js",
|
|
21
19
|
"build:blocklet-constant": "npm run build",
|
|
22
20
|
"build": "npm run clean && npx dts-bundle-generator -o index.d.ts lib/index.ts && npx esbuild lib/index.ts --bundle --outfile=index.js --platform=node --format=cjs"
|
|
@@ -33,5 +31,5 @@
|
|
|
33
31
|
"prettier": "^3.3.2",
|
|
34
32
|
"typescript": "^5.6.3"
|
|
35
33
|
},
|
|
36
|
-
"gitHead": "
|
|
34
|
+
"gitHead": "7de806845cd50863ea641abeba8b0be889e8fdd6"
|
|
37
35
|
}
|