sst 2.1.30 → 2.1.31

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.
@@ -1,9 +1,11 @@
1
1
  import * as trpc from "@trpc/server";
2
2
  import { DendriformPatch } from "dendriform-immer-patch-optimiser";
3
+ import { useProject } from "../../project.js";
3
4
  export type State = {
4
5
  app: string;
5
6
  stage: string;
6
7
  functions: Record<string, FunctionState>;
8
+ bootstrap: ReturnType<typeof useProject>["config"]["bootstrap"];
7
9
  live: boolean;
8
10
  stacks: {
9
11
  status: any;
@@ -29,6 +29,7 @@ export async function useLocalServer(opts) {
29
29
  let state = {
30
30
  app: project.config.name,
31
31
  stage: project.config.stage,
32
+ bootstrap: project.config.bootstrap,
32
33
  live: opts.live,
33
34
  stacks: {
34
35
  status: "idle",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sst",
3
- "version": "2.1.30",
3
+ "version": "2.1.31",
4
4
  "bin": {
5
5
  "sst": "cli/sst.js"
6
6
  },
package/sst.mjs CHANGED
@@ -1863,6 +1863,7 @@ async function useLocalServer(opts) {
1863
1863
  let state2 = {
1864
1864
  app: project.config.name,
1865
1865
  stage: project.config.stage,
1866
+ bootstrap: project.config.bootstrap,
1866
1867
  live: opts.live,
1867
1868
  stacks: {
1868
1869
  status: "idle"