@blocklet/constant 1.16.15-beta-d8e7b6c0 → 1.16.15-beta-9318a201
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 +7 -1
- package/index.js +7 -1
- package/package.json +2 -2
package/index.d.ts
CHANGED
|
@@ -53,9 +53,15 @@ export declare const BlockletEvents: Readonly<{
|
|
|
53
53
|
nftConsumed: "blocklet.nftConsumed";
|
|
54
54
|
}>;
|
|
55
55
|
export declare const BlockletInternalEvents: Readonly<{
|
|
56
|
-
componentsUpdated: "blocklet.componentsUpdated";
|
|
57
56
|
appConfigChanged: "blocklet.appConfigChanged";
|
|
58
57
|
appSettingChanged: "blocklet.appSettingChanged";
|
|
58
|
+
componentInstalled: "blocklet._componentInstalled";
|
|
59
|
+
componentUpgraded: "blocklet._componentUpgraded";
|
|
60
|
+
componentUpdated: "blocklet._componentUpdated";
|
|
61
|
+
componentStarted: "blocklet._componentStarted";
|
|
62
|
+
componentStopped: "blocklet._componentStopped";
|
|
63
|
+
componentRemoved: "blocklet._componentRemoved";
|
|
64
|
+
componentsUpdated: "blocklet.componentsUpdated";
|
|
59
65
|
}>;
|
|
60
66
|
export declare const BLOCKLET_PLATFORMS: string[];
|
|
61
67
|
export declare const BLOCKLET_ARCHITECTURES: string[];
|
package/index.js
CHANGED
|
@@ -104,9 +104,15 @@ exports.BlockletEvents = Object.freeze({
|
|
|
104
104
|
nftConsumed: 'blocklet.nftConsumed',
|
|
105
105
|
});
|
|
106
106
|
exports.BlockletInternalEvents = Object.freeze({
|
|
107
|
-
componentsUpdated: 'blocklet.componentsUpdated',
|
|
108
107
|
appConfigChanged: 'blocklet.appConfigChanged',
|
|
109
108
|
appSettingChanged: 'blocklet.appSettingChanged',
|
|
109
|
+
componentInstalled: 'blocklet._componentInstalled',
|
|
110
|
+
componentUpgraded: 'blocklet._componentUpgraded',
|
|
111
|
+
componentUpdated: 'blocklet._componentUpdated',
|
|
112
|
+
componentStarted: 'blocklet._componentStarted',
|
|
113
|
+
componentStopped: 'blocklet._componentStopped',
|
|
114
|
+
componentRemoved: 'blocklet._componentRemoved',
|
|
115
|
+
componentsUpdated: 'blocklet.componentsUpdated', // deprecated, for backward compatibility
|
|
110
116
|
});
|
|
111
117
|
exports.BLOCKLET_PLATFORMS = ['aix', 'darwin', 'freebsd', 'linux', 'openbsd', 'sunos', 'win32'];
|
|
112
118
|
exports.BLOCKLET_ARCHITECTURES = [
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
|
-
"version": "1.16.15-beta-
|
|
6
|
+
"version": "1.16.15-beta-9318a201",
|
|
7
7
|
"description": "Blocklet constants",
|
|
8
8
|
"main": "index.js",
|
|
9
9
|
"files": [
|
|
@@ -32,5 +32,5 @@
|
|
|
32
32
|
"ts-jest": "^27.1.5",
|
|
33
33
|
"typescript": "^5.0.4"
|
|
34
34
|
},
|
|
35
|
-
"gitHead": "
|
|
35
|
+
"gitHead": "f3722cbd4fe10c5fa083cad7e859ecff6095060d"
|
|
36
36
|
}
|