freestyle-sandboxes 0.0.40 → 0.0.42

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": "freestyle-sandboxes",
3
- "version": "0.0.40",
3
+ "version": "0.0.42",
4
4
  "type": "module",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.mjs",
package/src/expo/index.ts CHANGED
@@ -8,7 +8,7 @@ import { serveStatic } from "hono/deno";
8
8
  export const freestyleExpoServer = ({
9
9
  CLIENT_BUILD_DIR = path.join(process.cwd(), "dist/client"),
10
10
  SERVER_BUILD_DIR = path.join(process.cwd(), "dist/server"),
11
- }) => {
11
+ } = {}) => {
12
12
  // // Expo handler
13
13
  const expoHandler = createRequestHandler(SERVER_BUILD_DIR);
14
14
 
package/src/index.ts CHANGED
@@ -9,7 +9,7 @@ import type {
9
9
  FreestyleCloudstateDeployRequest,
10
10
  FreestyleCloudstateDeploySuccessResponse,
11
11
  FreestyleDeployWebConfiguration,
12
- FreestyleDeployWebSuccessResponse,
12
+ FreestyleDeployWebSuccessResponseV2,
13
13
  FreestyleExecuteScriptParamsConfiguration,
14
14
  FreestyleExecuteScriptResultSuccess,
15
15
  GitIdentity,
@@ -39,7 +39,7 @@ export type {
39
39
  FreestyleCloudstateDeployRequest,
40
40
  FreestyleCloudstateDeploySuccessResponse,
41
41
  FreestyleDeployWebConfiguration,
42
- FreestyleDeployWebSuccessResponse,
42
+ FreestyleDeployWebSuccessResponseV2,
43
43
  FreestyleExecuteScriptParamsConfiguration,
44
44
  FreestyleExecuteScriptResultSuccess,
45
45
  GitIdentity,
@@ -135,7 +135,7 @@ export class FreestyleSandboxes {
135
135
  async deployWeb(
136
136
  source: sandbox_openapi.DeploymentSource,
137
137
  config?: FreestyleDeployWebConfiguration
138
- ): Promise<FreestyleDeployWebSuccessResponse> {
138
+ ): Promise<FreestyleDeployWebSuccessResponseV2> {
139
139
  const response = await sandbox_openapi.handleDeployWebV2({
140
140
  client: this.client,
141
141
  body: {