@aaqu/fromcubes-react 0.2.1 → 0.2.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.
@@ -381,6 +381,7 @@ module.exports = function (RED) {
381
381
  quickCheckSyntax,
382
382
  serveableHash,
383
383
  hasFreshBuild,
384
+ getHttpRouter,
384
385
  removeRoute,
385
386
  isSafeName,
386
387
  validateSubPath,
@@ -539,7 +540,7 @@ module.exports = function (RED) {
539
540
  deleteCacheFiles(oldSt.jsxHash);
540
541
  }
541
542
  delete pageState[prevEndpoint];
542
- removeRoute(RED.httpNode._router, prevEndpoint);
543
+ removeRoute(getHttpRouter(RED.httpNode), prevEndpoint);
543
544
  delete registeredRoutes[prevEndpoint];
544
545
  if (endpointOwners[prevEndpoint] === nodeId) {
545
546
  delete endpointOwners[prevEndpoint];
@@ -1596,7 +1597,7 @@ module.exports = function (RED) {
1596
1597
  deleteCacheFiles(lastJsxHash);
1597
1598
  }
1598
1599
  delete pageState[endpoint];
1599
- removeRoute(RED.httpNode._router, endpoint);
1600
+ removeRoute(getHttpRouter(RED.httpNode), endpoint);
1600
1601
  delete registeredRoutes[endpoint];
1601
1602
  }
1602
1603
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aaqu/fromcubes-react",
3
- "version": "0.2.1",
3
+ "version": "0.2.3",
4
4
  "description": "Fromcubes React - React portals for Node-RED, built at deploy, with live WebSocket data binding",
5
5
  "type": "commonjs",
6
6
  "keywords": [
@@ -9,7 +9,6 @@
9
9
  "portal",
10
10
  "jsx",
11
11
  "react",
12
- "tailwind",
13
12
  "websocket",
14
13
  "fromcubes"
15
14
  ],