rpi-io 1.2.1 → 1.2.2

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/esm/rio.mjs CHANGED
@@ -632,10 +632,16 @@ Rio.isSystemSupported = () => {
632
632
  * @function Rio.logCfg
633
633
  */
634
634
  Rio.logCfg = logCfg
635
+
635
636
  /** ------------------------------------------------------------------
636
637
  * @function Rio.log
637
638
  */
638
639
  Rio.log = log
640
+
641
+ /** ------------------------------------------------------------------
642
+ * @function Rio.trap
643
+ */
644
+ Rio.log = trap
639
645
  // -------------------------------------------------------------------
640
646
  // EoF
641
647
  // -------------------------------------------------------------------
package/history.md CHANGED
@@ -1,6 +1,7 @@
1
- 1.2.1 - Nov 10, 2025
1
+ 1.2.2 - Nov 10, 2025
2
2
  ===================
3
3
  * Change utility API function name from `Rio.log` to `Rio.logCfg`.
4
+ * Minor fixes
4
5
 
5
6
  1.2.0 - Nov 07, 2025
6
7
  ===================
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rpi-io",
3
- "version": "1.2.1",
3
+ "version": "1.2.2",
4
4
  "description": "Nodejs module to control Raspberry Pi GPIO",
5
5
  "keywords": [
6
6
  "raspberry",