x-block-lib 0.9.22 → 0.9.23

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.
Files changed (2) hide show
  1. package/dist/index.js +2 -2
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -3651,7 +3651,7 @@ ${E}${y}return __outputs__;
3651
3651
  }
3652
3652
  }, javascriptGenerator.forBlock.get_app_state_v1 = function(e) {
3653
3653
  let y = javascriptGenerator.quote_;
3654
- return [`__getStateV1__(${y(e.state.id)})`, Order.ATOMIC];
3654
+ return [`await __getStateV1__(${y(e.state.id)})`, Order.ATOMIC];
3655
3655
  }, Blocks.set_app_state_v1 = {
3656
3656
  init: function() {
3657
3657
  this.state = {
@@ -3713,7 +3713,7 @@ ${E}${y}return __outputs__;
3713
3713
  }
3714
3714
  }, javascriptGenerator.forBlock.set_app_state_v1 = function(e) {
3715
3715
  let y = javascriptGenerator.quote_, b = e, x = javascriptGenerator.valueToCode(b, "VALUE", Order.NONE);
3716
- return `__setStateV1__(${y(b.state.id)}, ${x});\n`;
3716
+ return `await __setStateV1__(${y(b.state.id)}, ${x});\n`;
3717
3717
  }, defineBlocksWithJsonArray([{
3718
3718
  type: "color_blend_v1",
3719
3719
  message0: "%{BKY_COLOR_V1_BLEND_TITLE}",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "x-block-lib",
3
3
  "private": false,
4
- "version": "0.9.22",
4
+ "version": "0.9.23",
5
5
  "type": "module",
6
6
  "module": "dist/index.js",
7
7
  "types": "dist/index.d.ts",
@@ -41,7 +41,7 @@
41
41
  },
42
42
  "peerDependencies": {
43
43
  "x-essential-lib": "^0.9.24",
44
- "x-runtime-lib": "^0.8.196",
44
+ "x-runtime-lib": "^0.8.197",
45
45
  "x-state-lib": "^0.3.38"
46
46
  },
47
47
  "devDependencies": {