pxt-common-packages 13.1.2 → 13.1.4

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.
Files changed (44) hide show
  1. package/libs/accelerometer/built/debug/binary.js +9 -10
  2. package/libs/azureiot/built/debug/binary.js +462 -497
  3. package/libs/cable/_locales/cable-strings.json +1 -0
  4. package/libs/color/built/debug/binary.js +9 -10
  5. package/libs/color-sensor/built/debug/binary.js +9 -10
  6. package/libs/controller/built/debug/binary.js +7349 -7898
  7. package/libs/controller---none/built/debug/binary.js +7329 -7876
  8. package/libs/core/built/debug/binary.js +1 -2
  9. package/libs/core---samd/built/debug/binary.js +9 -10
  10. package/libs/datalogger/built/debug/binary.js +64 -72
  11. package/libs/edge-connector/built/debug/binary.js +9 -10
  12. package/libs/esp32/built/debug/binary.js +463 -498
  13. package/libs/game/_locales/game-strings.json +8 -0
  14. package/libs/game/built/debug/binary.js +7268 -7812
  15. package/libs/gamepad/built/debug/binary.js +9 -10
  16. package/libs/infrared/_locales/infrared-strings.json +1 -0
  17. package/libs/keyboard/built/debug/binary.js +9 -10
  18. package/libs/lcd/built/debug/binary.js +9 -10
  19. package/libs/light/built/debug/binary.js +9 -10
  20. package/libs/light-spectrum-sensor/built/debug/binary.js +9 -10
  21. package/libs/lora/built/debug/binary.js +9 -10
  22. package/libs/matrix-keypad/built/debug/binary.js +9 -10
  23. package/libs/microphone/built/debug/binary.js +9 -10
  24. package/libs/mouse/built/debug/binary.js +9 -10
  25. package/libs/mqtt/built/debug/binary.js +177 -193
  26. package/libs/music/built/debug/binary.js +9 -10
  27. package/libs/net/built/debug/binary.js +177 -193
  28. package/libs/net-game/built/debug/binary.js +8985 -9642
  29. package/libs/palette/built/debug/binary.js +7263 -7807
  30. package/libs/pixel/built/debug/binary.js +9 -10
  31. package/libs/power/built/debug/binary.js +9 -10
  32. package/libs/proximity/built/debug/binary.js +9 -10
  33. package/libs/pulse/built/debug/binary.js +9 -10
  34. package/libs/radio/_locales/radio-strings.json +5 -0
  35. package/libs/radio/built/debug/binary.js +9 -10
  36. package/libs/radio-broadcast/built/debug/binary.js +9 -10
  37. package/libs/rotary-encoder/built/debug/binary.js +9 -10
  38. package/libs/screen/built/debug/binary.js +51 -58
  39. package/libs/servo/built/debug/binary.js +9 -10
  40. package/libs/sprite-scaling/built/debug/binary.js +7267 -7811
  41. package/libs/storyboard/built/debug/binary.js +7267 -7811
  42. package/libs/tests/built/debug/binary.js +16 -17
  43. package/libs/thermometer/built/debug/binary.js +9 -10
  44. package/package.json +4 -4
@@ -1,4 +1,4 @@
1
- // total=2900 new=27.17% cached=0.00% other=72.83%
1
+ // total=2899 new=27.15% cached=0.00% other=72.85%
2
2
  (function (ectx) {
3
3
  'use strict';
4
4
  const runtime = ectx.runtime;
@@ -56,7 +56,7 @@ const pxsim_pxtrt = pxsim.pxtrt;
56
56
  const pxsim_numops = pxsim.numops;
57
57
 
58
58
 
59
- function _main___P24453(s) {
59
+ function _main___P24467(s) {
60
60
  let r0 = s.r0, step = s.pc;
61
61
  s.pc = -1;
62
62
 
@@ -66,27 +66,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re
66
66
  switch (step) {
67
67
  case 0:
68
68
 
69
- globals._intervals___24697 = (undefined);
70
- globals._pollEventQueue___24710 = (undefined);
69
+ globals._intervals___24711 = (undefined);
70
+ globals._pollEventQueue___24724 = (undefined);
71
71
  r0 = undefined;
72
72
  return leave(s, r0)
73
73
  default: oops()
74
74
  } } }
75
- _main___P24453.info = {"start":0,"length":0,"line":0,"column":0,"endLine":0,"endColumn":0,"fileName":"gamepad.ts","functionName":"<main>","argumentNames":[]}
76
- _main___P24453.continuations = [ ]
75
+ _main___P24467.info = {"start":0,"length":0,"line":0,"column":0,"endLine":0,"endColumn":0,"fileName":"gamepad.ts","functionName":"<main>","argumentNames":[]}
76
+ _main___P24467.continuations = [ ]
77
77
 
78
- function _main___P24453_mk(s) {
78
+ function _main___P24467_mk(s) {
79
79
  checkStack(s.depth);
80
80
  return {
81
- parent: s, fn: _main___P24453, depth: s.depth + 1,
81
+ parent: s, fn: _main___P24467, depth: s.depth + 1,
82
82
  pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null,
83
83
  } }
84
84
 
85
85
 
86
86
 
87
87
 
88
-
89
88
  const breakpoints = setupDebugger(1, [])
90
89
 
91
- return _main___P24453
90
+ return _main___P24467
92
91
  })
@@ -2,6 +2,7 @@
2
2
  "network.infraredSendNumber|block": "infrared send number %value",
3
3
  "network.onInfraredPacketReceived|block": "on infrared received",
4
4
  "network.onInfraredReceivedNumber|block": "on infrared received",
5
+ "network.onInfraredReceivedNumber|handlerParam|num": "num",
5
6
  "network|block": "network",
6
7
  "{id:category}InfraredPacket": "InfraredPacket",
7
8
  "{id:category}Network": "Network",
@@ -1,4 +1,4 @@
1
- // total=2902 new=27.19% cached=0.00% other=72.81%
1
+ // total=2901 new=27.16% cached=0.00% other=72.84%
2
2
  (function (ectx) {
3
3
  'use strict';
4
4
  const runtime = ectx.runtime;
@@ -56,7 +56,7 @@ const pxsim_pxtrt = pxsim.pxtrt;
56
56
  const pxsim_numops = pxsim.numops;
57
57
 
58
58
 
59
- function _main___P29742(s) {
59
+ function _main___P29759(s) {
60
60
  let r0 = s.r0, step = s.pc;
61
61
  s.pc = -1;
62
62
 
@@ -66,27 +66,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re
66
66
  switch (step) {
67
67
  case 0:
68
68
 
69
- globals._intervals___29986 = (undefined);
70
- globals._pollEventQueue___29999 = (undefined);
69
+ globals._intervals___30003 = (undefined);
70
+ globals._pollEventQueue___30016 = (undefined);
71
71
  r0 = undefined;
72
72
  return leave(s, r0)
73
73
  default: oops()
74
74
  } } }
75
- _main___P29742.info = {"start":0,"length":0,"line":0,"column":0,"endLine":0,"endColumn":0,"fileName":"keyboard.ts","functionName":"<main>","argumentNames":[]}
76
- _main___P29742.continuations = [ ]
75
+ _main___P29759.info = {"start":0,"length":0,"line":0,"column":0,"endLine":0,"endColumn":0,"fileName":"keyboard.ts","functionName":"<main>","argumentNames":[]}
76
+ _main___P29759.continuations = [ ]
77
77
 
78
- function _main___P29742_mk(s) {
78
+ function _main___P29759_mk(s) {
79
79
  checkStack(s.depth);
80
80
  return {
81
- parent: s, fn: _main___P29742, depth: s.depth + 1,
81
+ parent: s, fn: _main___P29759, depth: s.depth + 1,
82
82
  pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null,
83
83
  } }
84
84
 
85
85
 
86
86
 
87
87
 
88
-
89
88
  const breakpoints = setupDebugger(1, [])
90
89
 
91
- return _main___P29742
90
+ return _main___P29759
92
91
  })
@@ -1,4 +1,4 @@
1
- // total=2901 new=27.34% cached=0.00% other=72.66%
1
+ // total=2900 new=27.31% cached=0.00% other=72.69%
2
2
  (function (ectx) {
3
3
  'use strict';
4
4
  const runtime = ectx.runtime;
@@ -56,7 +56,7 @@ const pxsim_pxtrt = pxsim.pxtrt;
56
56
  const pxsim_numops = pxsim.numops;
57
57
 
58
58
 
59
- function _main___P49508(s) {
59
+ function _main___P49528(s) {
60
60
  let r0 = s.r0, step = s.pc;
61
61
  s.pc = -1;
62
62
 
@@ -66,27 +66,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re
66
66
  switch (step) {
67
67
  case 0:
68
68
 
69
- globals._intervals___49752 = (undefined);
70
- globals._pollEventQueue___49765 = (undefined);
69
+ globals._intervals___49772 = (undefined);
70
+ globals._pollEventQueue___49785 = (undefined);
71
71
  r0 = undefined;
72
72
  return leave(s, r0)
73
73
  default: oops()
74
74
  } } }
75
- _main___P49508.info = {"start":0,"length":0,"line":0,"column":0,"endLine":0,"endColumn":0,"fileName":"characterlcd.ts","functionName":"<main>","argumentNames":[]}
76
- _main___P49508.continuations = [ ]
75
+ _main___P49528.info = {"start":0,"length":0,"line":0,"column":0,"endLine":0,"endColumn":0,"fileName":"characterlcd.ts","functionName":"<main>","argumentNames":[]}
76
+ _main___P49528.continuations = [ ]
77
77
 
78
- function _main___P49508_mk(s) {
78
+ function _main___P49528_mk(s) {
79
79
  checkStack(s.depth);
80
80
  return {
81
- parent: s, fn: _main___P49508, depth: s.depth + 1,
81
+ parent: s, fn: _main___P49528, depth: s.depth + 1,
82
82
  pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null,
83
83
  } }
84
84
 
85
85
 
86
86
 
87
87
 
88
-
89
88
  const breakpoints = setupDebugger(1, [])
90
89
 
91
- return _main___P49508
90
+ return _main___P49528
92
91
  })
@@ -1,4 +1,4 @@
1
- // total=2898 new=27.23% cached=0.00% other=72.77%
1
+ // total=2897 new=27.20% cached=0.00% other=72.80%
2
2
  (function (ectx) {
3
3
  'use strict';
4
4
  const runtime = ectx.runtime;
@@ -56,7 +56,7 @@ const pxsim_pxtrt = pxsim.pxtrt;
56
56
  const pxsim_numops = pxsim.numops;
57
57
 
58
58
 
59
- function _main___P5353(s) {
59
+ function _main___P5356(s) {
60
60
  let r0 = s.r0, step = s.pc;
61
61
  s.pc = -1;
62
62
 
@@ -66,27 +66,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re
66
66
  switch (step) {
67
67
  case 0:
68
68
 
69
- globals._intervals___5597 = (undefined);
70
- globals._pollEventQueue___5610 = (undefined);
69
+ globals._intervals___5600 = (undefined);
70
+ globals._pollEventQueue___5613 = (undefined);
71
71
  r0 = undefined;
72
72
  return leave(s, r0)
73
73
  default: oops()
74
74
  } } }
75
- _main___P5353.info = {"start":0,"length":0,"line":0,"column":0,"endLine":0,"endColumn":0,"fileName":"targetoverrides.ts","functionName":"<main>","argumentNames":[]}
76
- _main___P5353.continuations = [ ]
75
+ _main___P5356.info = {"start":0,"length":0,"line":0,"column":0,"endLine":0,"endColumn":0,"fileName":"targetoverrides.ts","functionName":"<main>","argumentNames":[]}
76
+ _main___P5356.continuations = [ ]
77
77
 
78
- function _main___P5353_mk(s) {
78
+ function _main___P5356_mk(s) {
79
79
  checkStack(s.depth);
80
80
  return {
81
- parent: s, fn: _main___P5353, depth: s.depth + 1,
81
+ parent: s, fn: _main___P5356, depth: s.depth + 1,
82
82
  pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null,
83
83
  } }
84
84
 
85
85
 
86
86
 
87
87
 
88
-
89
88
  const breakpoints = setupDebugger(1, [])
90
89
 
91
- return _main___P5353
90
+ return _main___P5356
92
91
  })
@@ -1,4 +1,4 @@
1
- // total=2922 new=27.21% cached=0.00% other=72.79%
1
+ // total=2921 new=27.18% cached=0.00% other=72.82%
2
2
  (function (ectx) {
3
3
  'use strict';
4
4
  const runtime = ectx.runtime;
@@ -56,7 +56,7 @@ const pxsim_pxtrt = pxsim.pxtrt;
56
56
  const pxsim_numops = pxsim.numops;
57
57
 
58
58
 
59
- function _main___P100844(s) {
59
+ function _main___P100875(s) {
60
60
  let r0 = s.r0, step = s.pc;
61
61
  s.pc = -1;
62
62
 
@@ -66,27 +66,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re
66
66
  switch (step) {
67
67
  case 0:
68
68
 
69
- globals._intervals___101088 = (undefined);
70
- globals._pollEventQueue___101101 = (undefined);
69
+ globals._intervals___101119 = (undefined);
70
+ globals._pollEventQueue___101132 = (undefined);
71
71
  r0 = undefined;
72
72
  return leave(s, r0)
73
73
  default: oops()
74
74
  } } }
75
- _main___P100844.info = {"start":0,"length":0,"line":0,"column":0,"endLine":0,"endColumn":0,"fileName":"tsl2591.ts","functionName":"<main>","argumentNames":[]}
76
- _main___P100844.continuations = [ ]
75
+ _main___P100875.info = {"start":0,"length":0,"line":0,"column":0,"endLine":0,"endColumn":0,"fileName":"tsl2591.ts","functionName":"<main>","argumentNames":[]}
76
+ _main___P100875.continuations = [ ]
77
77
 
78
- function _main___P100844_mk(s) {
78
+ function _main___P100875_mk(s) {
79
79
  checkStack(s.depth);
80
80
  return {
81
- parent: s, fn: _main___P100844, depth: s.depth + 1,
81
+ parent: s, fn: _main___P100875, depth: s.depth + 1,
82
82
  pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null,
83
83
  } }
84
84
 
85
85
 
86
86
 
87
87
 
88
-
89
88
  const breakpoints = setupDebugger(1, [])
90
89
 
91
- return _main___P100844
90
+ return _main___P100875
92
91
  })
@@ -1,4 +1,4 @@
1
- // total=2894 new=27.13% cached=0.00% other=72.87%
1
+ // total=2893 new=27.10% cached=0.00% other=72.90%
2
2
  (function (ectx) {
3
3
  'use strict';
4
4
  const runtime = ectx.runtime;
@@ -56,7 +56,7 @@ const pxsim_pxtrt = pxsim.pxtrt;
56
56
  const pxsim_numops = pxsim.numops;
57
57
 
58
58
 
59
- function _main___P60833(s) {
59
+ function _main___P60859(s) {
60
60
  let r0 = s.r0, step = s.pc;
61
61
  s.pc = -1;
62
62
 
@@ -66,27 +66,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re
66
66
  switch (step) {
67
67
  case 0:
68
68
 
69
- globals._intervals___61077 = (undefined);
70
- globals._pollEventQueue___61090 = (undefined);
69
+ globals._intervals___61103 = (undefined);
70
+ globals._pollEventQueue___61116 = (undefined);
71
71
  r0 = undefined;
72
72
  return leave(s, r0)
73
73
  default: oops()
74
74
  } } }
75
- _main___P60833.info = {"start":0,"length":0,"line":0,"column":0,"endLine":0,"endColumn":0,"fileName":"lora.ts","functionName":"<main>","argumentNames":[]}
76
- _main___P60833.continuations = [ ]
75
+ _main___P60859.info = {"start":0,"length":0,"line":0,"column":0,"endLine":0,"endColumn":0,"fileName":"lora.ts","functionName":"<main>","argumentNames":[]}
76
+ _main___P60859.continuations = [ ]
77
77
 
78
- function _main___P60833_mk(s) {
78
+ function _main___P60859_mk(s) {
79
79
  checkStack(s.depth);
80
80
  return {
81
- parent: s, fn: _main___P60833, depth: s.depth + 1,
81
+ parent: s, fn: _main___P60859, depth: s.depth + 1,
82
82
  pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null,
83
83
  } }
84
84
 
85
85
 
86
86
 
87
87
 
88
-
89
88
  const breakpoints = setupDebugger(1, [])
90
89
 
91
- return _main___P60833
90
+ return _main___P60859
92
91
  })
@@ -1,4 +1,4 @@
1
- // total=2909 new=27.29% cached=0.00% other=72.71%
1
+ // total=2908 new=27.27% cached=0.00% other=72.73%
2
2
  (function (ectx) {
3
3
  'use strict';
4
4
  const runtime = ectx.runtime;
@@ -56,7 +56,7 @@ const pxsim_pxtrt = pxsim.pxtrt;
56
56
  const pxsim_numops = pxsim.numops;
57
57
 
58
58
 
59
- function _main___P197310(s) {
59
+ function _main___P197357(s) {
60
60
  let r0 = s.r0, step = s.pc;
61
61
  s.pc = -1;
62
62
 
@@ -66,27 +66,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re
66
66
  switch (step) {
67
67
  case 0:
68
68
 
69
- globals._intervals___197554 = (undefined);
70
- globals._pollEventQueue___197567 = (undefined);
69
+ globals._intervals___197601 = (undefined);
70
+ globals._pollEventQueue___197614 = (undefined);
71
71
  r0 = undefined;
72
72
  return leave(s, r0)
73
73
  default: oops()
74
74
  } } }
75
- _main___P197310.info = {"start":0,"length":0,"line":0,"column":0,"endLine":0,"endColumn":0,"fileName":"keypad.ts","functionName":"<main>","argumentNames":[]}
76
- _main___P197310.continuations = [ ]
75
+ _main___P197357.info = {"start":0,"length":0,"line":0,"column":0,"endLine":0,"endColumn":0,"fileName":"keypad.ts","functionName":"<main>","argumentNames":[]}
76
+ _main___P197357.continuations = [ ]
77
77
 
78
- function _main___P197310_mk(s) {
78
+ function _main___P197357_mk(s) {
79
79
  checkStack(s.depth);
80
80
  return {
81
- parent: s, fn: _main___P197310, depth: s.depth + 1,
81
+ parent: s, fn: _main___P197357, depth: s.depth + 1,
82
82
  pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null,
83
83
  } }
84
84
 
85
85
 
86
86
 
87
87
 
88
-
89
88
  const breakpoints = setupDebugger(1, [])
90
89
 
91
- return _main___P197310
90
+ return _main___P197357
92
91
  })
@@ -1,4 +1,4 @@
1
- // total=2903 new=27.18% cached=0.00% other=72.82%
1
+ // total=2902 new=27.15% cached=0.00% other=72.85%
2
2
  (function (ectx) {
3
3
  'use strict';
4
4
  const runtime = ectx.runtime;
@@ -56,7 +56,7 @@ const pxsim_pxtrt = pxsim.pxtrt;
56
56
  const pxsim_numops = pxsim.numops;
57
57
 
58
58
 
59
- function _main___P9199(s) {
59
+ function _main___P9204(s) {
60
60
  let r0 = s.r0, step = s.pc;
61
61
  s.pc = -1;
62
62
 
@@ -66,27 +66,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re
66
66
  switch (step) {
67
67
  case 0:
68
68
 
69
- globals._intervals___9443 = (undefined);
70
- globals._pollEventQueue___9456 = (undefined);
69
+ globals._intervals___9448 = (undefined);
70
+ globals._pollEventQueue___9461 = (undefined);
71
71
  r0 = undefined;
72
72
  return leave(s, r0)
73
73
  default: oops()
74
74
  } } }
75
- _main___P9199.info = {"start":0,"length":0,"line":0,"column":0,"endLine":0,"endColumn":0,"fileName":"targetoverrides.ts","functionName":"<main>","argumentNames":[]}
76
- _main___P9199.continuations = [ ]
75
+ _main___P9204.info = {"start":0,"length":0,"line":0,"column":0,"endLine":0,"endColumn":0,"fileName":"targetoverrides.ts","functionName":"<main>","argumentNames":[]}
76
+ _main___P9204.continuations = [ ]
77
77
 
78
- function _main___P9199_mk(s) {
78
+ function _main___P9204_mk(s) {
79
79
  checkStack(s.depth);
80
80
  return {
81
- parent: s, fn: _main___P9199, depth: s.depth + 1,
81
+ parent: s, fn: _main___P9204, depth: s.depth + 1,
82
82
  pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null,
83
83
  } }
84
84
 
85
85
 
86
86
 
87
87
 
88
-
89
88
  const breakpoints = setupDebugger(1, [])
90
89
 
91
- return _main___P9199
90
+ return _main___P9204
92
91
  })
@@ -1,4 +1,4 @@
1
- // total=2896 new=27.14% cached=0.00% other=72.86%
1
+ // total=2895 new=27.12% cached=0.00% other=72.88%
2
2
  (function (ectx) {
3
3
  'use strict';
4
4
  const runtime = ectx.runtime;
@@ -56,7 +56,7 @@ const pxsim_pxtrt = pxsim.pxtrt;
56
56
  const pxsim_numops = pxsim.numops;
57
57
 
58
58
 
59
- function _main___P27986(s) {
59
+ function _main___P28002(s) {
60
60
  let r0 = s.r0, step = s.pc;
61
61
  s.pc = -1;
62
62
 
@@ -66,27 +66,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re
66
66
  switch (step) {
67
67
  case 0:
68
68
 
69
- globals._intervals___28230 = (undefined);
70
- globals._pollEventQueue___28243 = (undefined);
69
+ globals._intervals___28246 = (undefined);
70
+ globals._pollEventQueue___28259 = (undefined);
71
71
  r0 = undefined;
72
72
  return leave(s, r0)
73
73
  default: oops()
74
74
  } } }
75
- _main___P27986.info = {"start":0,"length":0,"line":0,"column":0,"endLine":0,"endColumn":0,"fileName":"mouse.ts","functionName":"<main>","argumentNames":[]}
76
- _main___P27986.continuations = [ ]
75
+ _main___P28002.info = {"start":0,"length":0,"line":0,"column":0,"endLine":0,"endColumn":0,"fileName":"mouse.ts","functionName":"<main>","argumentNames":[]}
76
+ _main___P28002.continuations = [ ]
77
77
 
78
- function _main___P27986_mk(s) {
78
+ function _main___P28002_mk(s) {
79
79
  checkStack(s.depth);
80
80
  return {
81
- parent: s, fn: _main___P27986, depth: s.depth + 1,
81
+ parent: s, fn: _main___P28002, depth: s.depth + 1,
82
82
  pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null,
83
83
  } }
84
84
 
85
85
 
86
86
 
87
87
 
88
-
89
88
  const breakpoints = setupDebugger(1, [])
90
89
 
91
- return _main___P27986
90
+ return _main___P28002
92
91
  })