@gamelearn/arcade-components 0.21.9 → 0.21.11

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.
@@ -97,6 +97,7 @@ function Panel(_ref) {
97
97
  name: "char_".concat(character.uid),
98
98
  url: character.resource.url,
99
99
  animationUrl: emotion.url,
100
+ type: character.type,
100
101
  position: [0, 0, 0],
101
102
  onLoad: onLoadElement
102
103
  }) : null), /*#__PURE__*/_react.default.createElement(_drei.PerspectiveCamera, {
@@ -27,6 +27,7 @@ var mockProps = {
27
27
  emitEvent: emitEvent,
28
28
  soundActions: soundActions,
29
29
  disableExit: disableExit,
30
+ setResolveAction: function setResolveAction() {},
30
31
  image: {
31
32
  img: {
32
33
  url: 'https://min.int.gamelearn.io/cooked.gl-lms-storage/clients/58dccfba26561500117caf53/image/60508f84901f3e00123a0796/holamundo.jpg'
@@ -28,6 +28,9 @@ var mockProps = {
28
28
  }
29
29
  },
30
30
  info: {
31
+ resolve: {
32
+ rewards: []
33
+ },
31
34
  solution: {
32
35
  right: {
33
36
  desc: 'correctSolution',
@@ -16,11 +16,16 @@ var emitEvent = function emitEvent(_ref) {
16
16
 
17
17
  var mockProps = {
18
18
  emitEvent: emitEvent,
19
+ setResolveAction: function setResolveAction() {},
20
+ setShowPoints: function setShowPoints() {},
19
21
  soundActions: [function () {}, function () {}],
20
22
  user: 'pepe',
21
23
  password: '1234',
22
24
  login: true,
23
25
  info: {
26
+ resolve: {
27
+ rewards: []
28
+ },
24
29
  solution: {
25
30
  right: {
26
31
  rewards: []
@@ -17,6 +17,7 @@ var disableExit = function disableExit(p) {
17
17
  var mockProps = {
18
18
  emitEvent: emitEvent,
19
19
  disableExit: disableExit,
20
+ setResolveAction: function setResolveAction() {},
20
21
  soundActions: [function () {}, function () {}],
21
22
  items: [{
22
23
  children: [{
@@ -193,6 +193,7 @@ var TextClickPuzzleComponent = function TextClickPuzzleComponent(_ref) {
193
193
  setFeedbackData(function (prevState) {
194
194
  return _objectSpread(_objectSpread({}, prevState), {}, {
195
195
  show: true,
196
+ result: 'success',
196
197
  text: specificFeedback.desc,
197
198
  timeout: false
198
199
  });
@@ -24,6 +24,7 @@ var messages = {
24
24
  exports.messages = messages;
25
25
  var mockProps = {
26
26
  emitEvent: emitEvent,
27
+ setResolveAction: function setResolveAction() {},
27
28
  showFrames: true,
28
29
  soundActions: [function () {}, function () {}],
29
30
  styles: 'chalkboard',
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@gamelearn/arcade-components",
3
3
  "license": "Gamelearn",
4
- "version": "0.21.9",
4
+ "version": "0.21.11",
5
5
  "main": "dist/index.js",
6
6
  "files": [
7
7
  "dist",