@mikrojs/native 0.5.1 → 0.6.0-pr-70.gc88e298
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/CMakeLists.txt +3 -1
- package/include/mikrojs/private.h +3 -0
- package/package.json +4 -2
- package/prebuilds/darwin-arm64/mikrojs.napi.node +0 -0
- package/prebuilds/linux-arm64/mikrojs.napi.node +0 -0
- package/prebuilds/linux-x64/mikrojs.napi.node +0 -0
- package/runtime/ble/ble.ts +16 -8
- package/runtime/ble/types.ts +7 -14
- package/runtime/internal.d.ts +4 -0
- package/runtime/observable/native-observable.node-shim.ts +212 -0
- package/runtime/observable/observable.ts +1 -0
- package/runtime/observable/operators.ts +129 -0
- package/runtime/observable/types.ts +80 -0
- package/runtime/udp/types.ts +15 -2
- package/runtime/udp/udp.ts +45 -9
- package/runtime/wifi/types.ts +6 -15
- package/runtime/wifi/wifi.ts +24 -16
- package/src/mik_observable.cpp +882 -0
- package/src/mikrojs.cpp +1 -0
package/src/mikrojs.cpp
CHANGED
|
@@ -305,6 +305,7 @@ MIKRuntime* MIK_NewRuntimeInternal(MIKRunOptions* options) {
|
|
|
305
305
|
mik__result_init(ctx);
|
|
306
306
|
mik__cbor_init(ctx);
|
|
307
307
|
mik__udp_init(ctx);
|
|
308
|
+
mik__observable_init(ctx);
|
|
308
309
|
|
|
309
310
|
/* Native mikrojs modules (replace bytecode builtins) */
|
|
310
311
|
mik__inspect_register(ctx);
|