@unifiedcommerce/core 0.2.4 → 0.2.5
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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"server.d.ts","sourceRoot":"","sources":["../../src/runtime/server.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAKhD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AAC9C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AACrD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAOzD,OAAO,EAAgB,KAAK,MAAM,EAAE,MAAM,aAAa,CAAC;AAExD,OAAO,EAAkB,KAAK,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAEtE,KAAK,SAAS,GAAG;IACf,SAAS,EAAE;QACT,IAAI,EAAE,YAAY,CAAC;QACnB,KAAK,EAAE,KAAK,GAAG,IAAI,CAAC;QACpB,SAAS,EAAE,MAAM,CAAC;QAClB,MAAM,EAAE,MAAM,CAAC;KAChB,CAAC;CACH,CAAC;AAEF;;;;;GAKG;AACH,wBAAsB,YAAY,CAAC,MAAM,EAAE,cAAc;;;;;
|
|
1
|
+
{"version":3,"file":"server.d.ts","sourceRoot":"","sources":["../../src/runtime/server.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAKhD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AAC9C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AACrD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAOzD,OAAO,EAAgB,KAAK,MAAM,EAAE,MAAM,aAAa,CAAC;AAExD,OAAO,EAAkB,KAAK,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAEtE,KAAK,SAAS,GAAG;IACf,SAAS,EAAE;QACT,IAAI,EAAE,YAAY,CAAC;QACnB,KAAK,EAAE,KAAK,GAAG,IAAI,CAAC;QACpB,SAAS,EAAE,MAAM,CAAC;QAClB,MAAM,EAAE,MAAM,CAAC;KAChB,CAAC;CACH,CAAC;AAEF;;;;;GAKG;AACH,wBAAsB,YAAY,CAAC,MAAM,EAAE,cAAc;;;;;GA4TxD"}
|
package/dist/runtime/server.js
CHANGED
|
@@ -18,8 +18,6 @@ export async function createServer(config) {
|
|
|
18
18
|
const commerce = await createCommerce(config);
|
|
19
19
|
const { kernel, auth, logger } = commerce;
|
|
20
20
|
const isProdEnv = process.env.NODE_ENV === "production";
|
|
21
|
-
console.log("config", config);
|
|
22
|
-
console.log("isProdEnv", isProdEnv);
|
|
23
21
|
const app = new OpenAPIHono({
|
|
24
22
|
defaultHook: (result, c) => {
|
|
25
23
|
if (!result.success) {
|
package/package.json
CHANGED
package/src/runtime/server.ts
CHANGED
|
@@ -37,10 +37,6 @@ export async function createServer(config: CommerceConfig) {
|
|
|
37
37
|
const { kernel, auth, logger } = commerce;
|
|
38
38
|
const isProdEnv = process.env.NODE_ENV === "production";
|
|
39
39
|
|
|
40
|
-
|
|
41
|
-
console.log("config", config);
|
|
42
|
-
console.log("isProdEnv", isProdEnv);
|
|
43
|
-
|
|
44
40
|
const app = new OpenAPIHono<ServerEnv>({
|
|
45
41
|
defaultHook: (result, c) => {
|
|
46
42
|
if (!result.success) {
|