pxt-common-packages 12.0.2 → 12.0.3
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/built/common-sim.js +1 -1
- package/libs/base/sim/control.ts +1 -1
- package/package.json +2 -2
package/built/common-sim.js
CHANGED
|
@@ -428,7 +428,7 @@ var pxsim;
|
|
|
428
428
|
(function (pxtcore) {
|
|
429
429
|
// TODO: add in support for mode, as in CODAL
|
|
430
430
|
function registerWithDal(id, evid, handler, mode = 0) {
|
|
431
|
-
pxsim.board().bus.listen(id, evid, handler);
|
|
431
|
+
pxsim.board().bus.listen(id, evid, handler, mode);
|
|
432
432
|
}
|
|
433
433
|
pxtcore.registerWithDal = registerWithDal;
|
|
434
434
|
function deepSleep() {
|
package/libs/base/sim/control.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
namespace pxsim.pxtcore {
|
|
2
2
|
// TODO: add in support for mode, as in CODAL
|
|
3
3
|
export function registerWithDal(id: number, evid: number, handler: RefAction, mode: number = 0) {
|
|
4
|
-
board().bus.listen(id, evid, handler);
|
|
4
|
+
board().bus.listen(id, evid, handler, mode);
|
|
5
5
|
}
|
|
6
6
|
|
|
7
7
|
export function deepSleep() {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pxt-common-packages",
|
|
3
|
-
"version": "12.0.
|
|
3
|
+
"version": "12.0.3",
|
|
4
4
|
"description": "Microsoft MakeCode (PXT) common packages",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"MakeCode",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"libs/**/*"
|
|
25
25
|
],
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"pxt-core": "10.
|
|
27
|
+
"pxt-core": "10.2.3"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"typescript": "^4.2.3"
|