sst 2.0.0-rc.34 → 2.0.0-rc.35

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sst",
3
- "version": "2.0.0-rc.34",
3
+ "version": "2.0.0-rc.35",
4
4
  "bin": {
5
5
  "sst": "cli/sst.js"
6
6
  },
package/runtime/iot.js CHANGED
@@ -11,4 +11,7 @@ export const useIOTBridge = Context.memo(async () => {
11
11
  bus.subscribe("function.error", async (evt) => {
12
12
  iot.publish(topic, "function.error", evt.properties);
13
13
  });
14
+ bus.subscribe("function.ack", async (evt) => {
15
+ iot.publish(topic, "function.ack", evt.properties);
16
+ });
14
17
  });
package/sst.mjs CHANGED
@@ -2133,6 +2133,9 @@ var init_iot2 = __esm({
2133
2133
  bus.subscribe("function.error", async (evt) => {
2134
2134
  iot2.publish(topic, "function.error", evt.properties);
2135
2135
  });
2136
+ bus.subscribe("function.ack", async (evt) => {
2137
+ iot2.publish(topic, "function.ack", evt.properties);
2138
+ });
2136
2139
  });
2137
2140
  }
2138
2141
  });