sst 2.13.0 → 2.13.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.
@@ -355,7 +355,7 @@ export class EventBus extends Construct {
355
355
  subs = new Map();
356
356
  subscribe(type, target, props) {
357
357
  type = Array.isArray(type) ? type : [type];
358
- const joined = type.join("_");
358
+ const joined = type.length > 1 ? "multi" : type.join("_");
359
359
  const count = this.subs.get(joined) || 0 + 1;
360
360
  this.subs.set(joined, count);
361
361
  const name = `${joined.replaceAll(/[^a-zA-Z_]/g, "_")}_${count}`;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "sideEffects": false,
3
3
  "name": "sst",
4
- "version": "2.13.0",
4
+ "version": "2.13.1",
5
5
  "bin": {
6
6
  "sst": "cli/sst.js"
7
7
  },