diff --git a/packages/api/package.json b/packages/api/package.json index 4691884..3a8dc9b 100644 --- a/packages/api/package.json +++ b/packages/api/package.json @@ -50,9 +50,9 @@ "@fastify/cors": "^10.0.1", "@fastify/middie": "9.0.2", "@fastify/static": "8.0.1", - "@modular-api/api": "^0.5.1", + "@modular-api/api": "^0.5.2", "@modular-api/fastify-cart": "^0.3.0", - "@modular-api/fastify-checkout": "^0.4.1", + "@modular-api/fastify-checkout": "^0.4.2", "@modular-api/fastify-oidc": "^0.6.0", "@mollie/api-client": "^4.0.0", "@slimfact/app": "^0.1.0", diff --git a/packages/api/src/setup.ts b/packages/api/src/setup.ts index d3d2c48..c08090c 100644 --- a/packages/api/src/setup.ts +++ b/packages/api/src/setup.ts @@ -288,7 +288,7 @@ export default async function (fastify: FastifyInstance) { } }) - fastify.register(appSsrPlugin, { + await fastify.register(appSsrPlugin, { host, onRendered: appOnRendered }) diff --git a/packages/app/package.json b/packages/app/package.json index 888e365..1cc57c9 100644 --- a/packages/app/package.json +++ b/packages/app/package.json @@ -43,7 +43,7 @@ }, "devDependencies": { "@modular-api/fastify-cart": "^0.3.0", - "@modular-api/fastify-checkout": "^0.4.1", + "@modular-api/fastify-checkout": "^0.4.2", "@modular-api/quasar-components": "^0.3.0", "@quasar/extras": "1.16.12", "@quasar/quasar-ui-qcalendar": "4.0.0-beta.16", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index a6a1194..c03a721 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -49,14 +49,14 @@ importers: specifier: 8.0.1 version: 8.0.1 '@modular-api/api': - specifier: ^0.5.1 - version: 0.5.1(bcrypt@5.1.1)(fastify@5.0.0)(handlebars@4.7.8)(kysely@0.27.4)(openid-client@5.7.0)(otplib@12.0.1)(typescript@5.6.2)(vue@3.5.8(typescript@5.6.2)) + specifier: ^0.5.2 + version: 0.5.2(bcrypt@5.1.1)(fastify@5.0.0)(handlebars@4.7.8)(kysely@0.27.4)(openid-client@5.7.0)(otplib@12.0.1)(typescript@5.6.2)(vue@3.5.8(typescript@5.6.2)) '@modular-api/fastify-cart': specifier: ^0.3.0 version: 0.3.0(kysely@0.27.4) '@modular-api/fastify-checkout': - specifier: ^0.4.1 - version: 0.4.1(kysely@0.27.4) + specifier: ^0.4.2 + version: 0.4.2(kysely@0.27.4) '@modular-api/fastify-oidc': specifier: ^0.6.0 version: 0.6.0(@fastify/static@8.0.1)(bcrypt@5.1.1)(fastify@5.0.0)(handlebars@4.7.8)(kysely@0.27.4)(otplib@12.0.1)(typescript@5.6.2) @@ -204,8 +204,8 @@ importers: specifier: ^0.3.0 version: 0.3.0(kysely@0.27.4) '@modular-api/fastify-checkout': - specifier: ^0.4.1 - version: 0.4.1(kysely@0.27.4) + specifier: ^0.4.2 + version: 0.4.2(kysely@0.27.4) '@modular-api/quasar-components': specifier: ^0.3.0 version: 0.3.0(quasar@2.17.0) @@ -1765,8 +1765,8 @@ packages: resolution: {integrity: sha512-Yhlar6v9WQgUp/He7BdgzOz8lqMQ8sU+jkCq7Wx8Myc5YFJLbEe7lgui/V7G1qB1DJykHSGwreceSaD60Y0PUQ==} hasBin: true - '@modular-api/api@0.5.1': - resolution: {integrity: sha512-mOj1xcvjoz5hkdsbqp0SoPQbn/XVXT1+wNrQB7uONqff1gOhuTGTAi52qW0XDUtS7tAui8kh8d94a7Zptq4SbQ==} + '@modular-api/api@0.5.2': + resolution: {integrity: sha512-ivRrtpDt/ZdL6q+O2YD2IoD0+Ql4gVeslhPu3W7K8NaIKx0E4/7Uak5SivBQ4/wqhL+h1G98i3/pOx/aGXqXyA==} peerDependencies: kysely: ^0.27.4 openid-client: ^5.6.5 @@ -1776,8 +1776,8 @@ packages: peerDependencies: kysely: ^0.27.4 - '@modular-api/fastify-checkout@0.4.1': - resolution: {integrity: sha512-RQrzeAdubYdiwgpYgYo2n2Ev2I8GGpnsBJ6Bh7dTIDT+/88JJjgBT9sDTB6VMOTgSIGf915+HEQvx46cIP0f3A==} + '@modular-api/fastify-checkout@0.4.2': + resolution: {integrity: sha512-AZ8NP3ROrtJYlNwdcNhYrhmlTp/sy83lnj3lYXNZ540DSAn63O+n1vQVYk+B+BY2epgaBnJmAYejCxoaq/WKGQ==} peerDependencies: kysely: ^0.27.4 @@ -7215,7 +7215,7 @@ snapshots: - encoding - supports-color - '@modular-api/api@0.5.1(bcrypt@5.1.1)(fastify@5.0.0)(handlebars@4.7.8)(kysely@0.27.4)(openid-client@5.7.0)(otplib@12.0.1)(typescript@5.6.2)(vue@3.5.8(typescript@5.6.2))': + '@modular-api/api@0.5.2(bcrypt@5.1.1)(fastify@5.0.0)(handlebars@4.7.8)(kysely@0.27.4)(openid-client@5.7.0)(otplib@12.0.1)(typescript@5.6.2)(vue@3.5.8(typescript@5.6.2))': dependencies: '@fastify/cookie': 10.0.1 '@fastify/cors': 10.0.1 @@ -7223,7 +7223,7 @@ snapshots: '@fastify/middie': 9.0.2 '@fastify/static': 8.0.1 '@modular-api/fastify-cart': 0.3.0(kysely@0.27.4) - '@modular-api/fastify-checkout': 0.4.1(kysely@0.27.4) + '@modular-api/fastify-checkout': 0.4.2(kysely@0.27.4) '@modular-api/fastify-oidc': 0.6.0(@fastify/static@8.0.1)(bcrypt@5.1.1)(fastify@5.0.0)(handlebars@4.7.8)(kysely@0.27.4)(otplib@12.0.1)(typescript@5.6.2) '@trpc/server': 10.45.2 '@types/compression': 1.7.5 @@ -7261,7 +7261,7 @@ snapshots: transitivePeerDependencies: - encoding - '@modular-api/fastify-checkout@0.4.1(kysely@0.27.4)': + '@modular-api/fastify-checkout@0.4.2(kysely@0.27.4)': dependencies: '@fastify/cookie': 10.0.1 '@fastify/middie': 9.0.2