sst 2.26.1 → 3.0.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.
package/constructs/App.js CHANGED
@@ -225,7 +225,6 @@ export class App extends CDKApp {
225
225
  },
226
226
  });
227
227
  resource.node.addDependency(policy);
228
- sourcemaps.forEach((s) => s.func.node.addDependency(resource));
229
228
  }
230
229
  }
231
230
  // Set removal policy
@@ -7,7 +7,8 @@ import { useContextType } from "../../../context/handler.js";
7
7
  const SessionMemo = /* @__PURE__ */ Context.memo(() => {
8
8
  // Get the context type and hooks that match that type
9
9
  let token = "";
10
- const header = useHeader("authorization");
10
+ // Websockets don't lowercase headers
11
+ const header = useHeader("authorization") || useHeader("Authorization");
11
12
  if (header)
12
13
  token = header.substring(7);
13
14
  const ctxType = useContextType();
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "sideEffects": false,
3
3
  "name": "sst",
4
- "version": "2.26.1",
4
+ "version": "3.0.0",
5
5
  "bin": {
6
6
  "sst": "cli/sst.js"
7
7
  },