@mikrojs/native 0.20.0 → 0.20.1
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mikrojs/native",
|
|
3
|
-
"version": "0.20.
|
|
3
|
+
"version": "0.20.1",
|
|
4
4
|
"description": "Mikro.js C++ runtime library and Node.js native addon",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"esp32",
|
|
@@ -87,15 +87,15 @@
|
|
|
87
87
|
"cmake-js": "^8.0.0",
|
|
88
88
|
"node-addon-api": "^8.7.0",
|
|
89
89
|
"node-gyp-build": "^4.8.4",
|
|
90
|
-
"@mikrojs/quickjs": "0.20.
|
|
90
|
+
"@mikrojs/quickjs": "0.20.1"
|
|
91
91
|
},
|
|
92
92
|
"devDependencies": {
|
|
93
93
|
"@swc/core": "^1.15.30",
|
|
94
94
|
"@types/node": "^24.12.2",
|
|
95
95
|
"esbuild": "^0.28.0",
|
|
96
96
|
"terser": "^5.46.2",
|
|
97
|
-
"@mikrojs/registry": "0.20.
|
|
98
|
-
"@mikrojs/schema": "0.20.
|
|
97
|
+
"@mikrojs/registry": "0.20.1",
|
|
98
|
+
"@mikrojs/schema": "0.20.1"
|
|
99
99
|
},
|
|
100
100
|
"engines": {
|
|
101
101
|
"node": ">=24.0.0"
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/src/mik_sys.cpp
CHANGED
|
@@ -192,7 +192,7 @@ static JSValue mik__sys_board(JSContext* ctx) {
|
|
|
192
192
|
* has it AND the stack behind it was compiled in. */
|
|
193
193
|
JSValue features = JS_NewArray(ctx);
|
|
194
194
|
uint32_t fi = 0;
|
|
195
|
-
#ifdef
|
|
195
|
+
#ifdef CONFIG_MIKROJS_WIFI
|
|
196
196
|
if (chip_info.features & CHIP_FEATURE_WIFI_BGN)
|
|
197
197
|
JS_SetPropertyUint32(ctx, features, fi++, JS_NewString(ctx, "wifi"));
|
|
198
198
|
#endif
|