@devvit/ui-renderer 0.10.4-next-2023-08-28-61afa7321.0 → 0.10.4-next-2023-08-28-b061deec9.0

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.
@@ -82,7 +82,6 @@ let DevvitCustomPost = class DevvitCustomPost extends LitElement {
82
82
  });
83
83
  _DevvitCustomPost_renderRequest.set(this, (type, id, data = {}) => ({
84
84
  blocks: { type, id, data },
85
- state: __classPrivateFieldGet(this, _DevvitCustomPost_instances, "a", _DevvitCustomPost_state_get),
86
85
  }));
87
86
  }
88
87
  rerender() {
@@ -161,6 +160,7 @@ _DevvitCustomPost_appState = new WeakMap(), _DevvitCustomPost_lastRequest = new
161
160
  void __classPrivateFieldGet(this, _DevvitCustomPost_rpcQueue, "f").add(async () => {
162
161
  var _a, _b;
163
162
  let call;
163
+ req.state = __classPrivateFieldGet(this, _DevvitCustomPost_instances, "a", _DevvitCustomPost_state_get);
164
164
  try {
165
165
  if (circuitBreak) {
166
166
  throw new Error();
@@ -205,7 +205,7 @@ _DevvitCustomPost_appState = new WeakMap(), _DevvitCustomPost_lastRequest = new
205
205
  }
206
206
  },
207
207
  // Cut in line to re-render from server response immediately
208
- { priority: circuitBreak ? 100 : 0 });
208
+ circuitBreak ? { priority: 100 } : {});
209
209
  }, _DevvitCustomPost_handleEffects = async function _DevvitCustomPost_handleEffects(effects) {
210
210
  effects.forEach((effect) => {
211
211
  if (effect.type === EffectType.EFFECT_RERENDER_UI) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devvit/ui-renderer",
3
- "version": "0.10.4-next-2023-08-28-61afa7321.0",
3
+ "version": "0.10.4-next-2023-08-28-b061deec9.0",
4
4
  "license": "BSD-3-Clause",
5
5
  "repository": {
6
6
  "type": "git",
@@ -48,9 +48,9 @@
48
48
  },
49
49
  "types": "./index.d.ts",
50
50
  "dependencies": {
51
- "@devvit/protos": "0.10.4-next-2023-08-28-61afa7321.0",
52
- "@devvit/runtime-lite": "0.10.4-next-2023-08-28-61afa7321.0",
53
- "@devvit/runtimes": "0.10.4-next-2023-08-28-61afa7321.0",
51
+ "@devvit/protos": "0.10.4-next-2023-08-28-b061deec9.0",
52
+ "@devvit/runtime-lite": "0.10.4-next-2023-08-28-b061deec9.0",
53
+ "@devvit/runtimes": "0.10.4-next-2023-08-28-b061deec9.0",
54
54
  "@lottiefiles/lottie-player": "1.7.1",
55
55
  "p-queue": "7.3.4",
56
56
  "rxjs": "7.5.7"
@@ -77,7 +77,7 @@
77
77
  "devDependencies": {
78
78
  "@devvit/eslint-config": "0.10.3",
79
79
  "@devvit/repo-tools": "0.10.3",
80
- "@devvit/tsconfig": "0.10.4-next-2023-08-28-61afa7321.0",
80
+ "@devvit/tsconfig": "0.10.4-next-2023-08-28-b061deec9.0",
81
81
  "@lit/localize": "0.11.4",
82
82
  "@open-wc/testing-helpers": "2.3.0",
83
83
  "@reddit/baseplate": "0.14.0",
@@ -102,5 +102,5 @@
102
102
  "directory": "dist"
103
103
  },
104
104
  "source": "./src/index.ts",
105
- "gitHead": "c2b94d2d2caabc89eeb69db2cfccf701ac30ad0a"
105
+ "gitHead": "722224ea13c30637fbfe1b08a824e97e082aca79"
106
106
  }