@gamelearn/arcade-components 2.8.0 → 2.8.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.
@@ -134,7 +134,7 @@ var ConversationProViewer = function ConversationProViewer(_ref) {
134
134
  return edge.toId === lastNodeId;
135
135
  });
136
136
  var lastLine = lines.find(function (line) {
137
- return line.id === lastEdge.fromId;
137
+ return line.id === (lastEdge === null || lastEdge === void 0 ? void 0 : lastEdge.fromId);
138
138
  });
139
139
  return lastLine;
140
140
  }, [edges, lines, lastNodeId]);
@@ -207,7 +207,7 @@ var DialogComponent = function DialogComponent(_ref) {
207
207
  return edge.toId === lastNodeId;
208
208
  });
209
209
  var lastL = lines.find(function (l) {
210
- return l.id === lastEdge.fromId;
210
+ return l.id === (lastEdge === null || lastEdge === void 0 ? void 0 : lastEdge.fromId);
211
211
  });
212
212
  return lastL;
213
213
  }, [edges, lines, lastNodeId]);
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@gamelearn/arcade-components",
3
3
  "author": "Gamelearn",
4
4
  "license": "unlicense",
5
- "version": "2.8.0",
5
+ "version": "2.8.2",
6
6
  "main": "dist/index.js",
7
7
  "files": [
8
8
  "dist",
@@ -14,7 +14,7 @@
14
14
  },
15
15
  "dependencies": {
16
16
  "@babel/runtime": "^7.18.6",
17
- "@gamelearn/arcade-styles": "2.8.1",
17
+ "@gamelearn/arcade-styles": "2.8.2",
18
18
  "@gamelearn/arcade-three-core": "1.17.2",
19
19
  "@react-three/drei": "9.4.3",
20
20
  "@react-three/fiber": "8.0.17",