@gamelearn/arcade-components 2.41.0 → 2.41.1

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.
@@ -167,8 +167,9 @@ var DragItemPuzzleComponent = function DragItemPuzzleComponent(_ref) {
167
167
  }, [emitEvent, handleFinish, solution.right.rewards]);
168
168
  var handleFail = (0, _react.useCallback)(function () {
169
169
  emitEvent({
170
- type: 'closeUI',
171
- ui: 'inventory'
170
+ type: 'openUI',
171
+ ui: 'inventory',
172
+ onFinish: function onFinish() {}
172
173
  });
173
174
  setResolveClass('');
174
175
  emitEvent({
@@ -243,7 +244,8 @@ var DragItemPuzzleComponent = function DragItemPuzzleComponent(_ref) {
243
244
  if (!inventoryAutoOpen) {
244
245
  emitEvent({
245
246
  type: 'openUI',
246
- ui: 'inventory'
247
+ ui: 'inventory',
248
+ onFinish: function onFinish() {}
247
249
  });
248
250
  setInventoryAutoOpen(true);
249
251
  }
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.41.0",
5
+ "version": "2.41.1",
6
6
  "main": "dist/index.js",
7
7
  "files": [
8
8
  "dist",