@xyd-js/ask-ai-edge 0.0.0-build-87e0566-20251013171826 → 0.0.0-build-6675456-20251014012658

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.
Files changed (2) hide show
  1. package/dist/index.js +2 -2
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -34943,9 +34943,9 @@ class wa {
34943
34943
  return console.error("Error:", { status: e3, message: t2 }), new Response(JSON.stringify({ error: t2 }), { status: e3, headers: { ...this.corsHeaders, "Content-Type": "application/json" } });
34944
34944
  }
34945
34945
  }
34946
- async function ba(e3) {
34946
+ function ba(e3) {
34947
34947
  if (e3 instanceof Request) {
34948
- return (await wa.New({ ...wa.defaultConfig() }))(e3);
34948
+ return wa.New({ ...wa.defaultConfig() })(e3);
34949
34949
  }
34950
34950
  return wa.New(e3);
34951
34951
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xyd-js/ask-ai-edge",
3
- "version": "0.0.0-build-87e0566-20251013171826",
3
+ "version": "0.0.0-build-6675456-20251014012658",
4
4
  "main": "dist/index.js",
5
5
  "type": "module",
6
6
  "exports": {
@@ -10,7 +10,7 @@
10
10
  "dist"
11
11
  ],
12
12
  "dependencies": {
13
- "@xyd-js/ask-ai": "0.0.0-build-87e0566-20251013171826"
13
+ "@xyd-js/ask-ai": "0.0.0-build-6675456-20251014012658"
14
14
  },
15
15
  "scripts": {
16
16
  "build": "bun build index.ts --outdir dist --target node --format esm"