diff --git a/workshops/introduction_to_event_sourcing/package-lock.json b/workshops/introduction_to_event_sourcing/package-lock.json index 43b569e..85e43dc 100644 --- a/workshops/introduction_to_event_sourcing/package-lock.json +++ b/workshops/introduction_to_event_sourcing/package-lock.json @@ -9,12 +9,12 @@ "version": "1.0.0", "license": "MIT", "dependencies": { - "@event-driven-io/emmett": "0.23.0-alpha.3", - "@event-driven-io/emmett-esdb": "0.23.0-alpha.3", - "@event-driven-io/emmett-expressjs": "0.23.0-alpha.3", - "@event-driven-io/emmett-mongodb": "0.23.0-alpha.3", - "@event-driven-io/emmett-postgresql": "0.23.0-alpha.3", - "@event-driven-io/emmett-testcontainers": "0.23.0-alpha.3", + "@event-driven-io/emmett": "0.23.0-alpha.5", + "@event-driven-io/emmett-esdb": "0.23.0-alpha.5", + "@event-driven-io/emmett-expressjs": "0.23.0-alpha.5", + "@event-driven-io/emmett-mongodb": "0.23.0-alpha.5", + "@event-driven-io/emmett-postgresql": "0.23.0-alpha.5", + "@event-driven-io/emmett-testcontainers": "0.23.0-alpha.5", "@eventstore/db-client": "6.2.1", "@faker-js/faker": "9.3.0", "@testcontainers/mongodb": "^10.13.2", @@ -894,9 +894,9 @@ } }, "node_modules/@event-driven-io/emmett": { - "version": "0.23.0-alpha.3", - "resolved": "https://registry.npmjs.org/@event-driven-io/emmett/-/emmett-0.23.0-alpha.3.tgz", - "integrity": "sha512-+FBtGv9XAAcWkauysLXrzqSKobItW91/MytUVMw92qih7mTvwp7ZJApVeAdLDT2GeAJPDM9wIhQouOEIkulA6w==", + "version": "0.23.0-alpha.5", + "resolved": "https://registry.npmjs.org/@event-driven-io/emmett/-/emmett-0.23.0-alpha.5.tgz", + "integrity": "sha512-aCD6Qy617Q2TPeDaXthnnMwl63ZXC7rA+pPR3frao+xbHf5ojR6XSOWFGBckP0UFsdrNRsZwVfypHXklYeYPLw==", "bin": { "emmett": "dist/cli.js" }, @@ -911,20 +911,20 @@ } }, "node_modules/@event-driven-io/emmett-esdb": { - "version": "0.23.0-alpha.3", - "resolved": "https://registry.npmjs.org/@event-driven-io/emmett-esdb/-/emmett-esdb-0.23.0-alpha.3.tgz", - "integrity": "sha512-vTPGpizEVZrtc4SG3ESc7+tAnWonA22Febw/uKBsjbNEJJowI9bO2WKq6khbUxWSmyLFeQOPdKBT8j/Hg7vEiw==", + "version": "0.23.0-alpha.5", + "resolved": "https://registry.npmjs.org/@event-driven-io/emmett-esdb/-/emmett-esdb-0.23.0-alpha.5.tgz", + "integrity": "sha512-RpC+IwBZRKdOL4L+Isrszwzzn4o8wL5V3VJdCaaWH2OUGRRGTY6/RshX8LkFS+aJqApiYNWnHKGv7f8xkMB1/w==", "peerDependencies": { - "@event-driven-io/emmett": "0.23.0-alpha.3", + "@event-driven-io/emmett": "0.23.0-alpha.5", "@eventstore/db-client": "^6.2.1" } }, "node_modules/@event-driven-io/emmett-expressjs": { - "version": "0.23.0-alpha.3", - "resolved": "https://registry.npmjs.org/@event-driven-io/emmett-expressjs/-/emmett-expressjs-0.23.0-alpha.3.tgz", - "integrity": "sha512-UQTanm6ARHctnXk0Xs6ZPwXRRfPoLPKadiaHCkJW5UnKCtj2aYPmsoortWKoQYwOiArEcdbMyHOoUkZPUIS9UQ==", + "version": "0.23.0-alpha.5", + "resolved": "https://registry.npmjs.org/@event-driven-io/emmett-expressjs/-/emmett-expressjs-0.23.0-alpha.5.tgz", + "integrity": "sha512-OZUSg2Z9NPxNdWxnpnVP8Lh8PpqU+aT1jbg1DZflfbarmyVhp7ddZxFCJHZ3Q/8NLxSnOGxqzCoMwhq2s/wtkg==", "peerDependencies": { - "@event-driven-io/emmett": "0.23.0-alpha.3", + "@event-driven-io/emmett": "0.23.0-alpha.5", "@types/express": "^4.17.21", "@types/supertest": "^6.0.2", "express": "^4.19.2", @@ -934,29 +934,29 @@ } }, "node_modules/@event-driven-io/emmett-mongodb": { - "version": "0.23.0-alpha.3", - "resolved": "https://registry.npmjs.org/@event-driven-io/emmett-mongodb/-/emmett-mongodb-0.23.0-alpha.3.tgz", - "integrity": "sha512-VyHfmfTG0cF3MQ81cStZYufEwm5pKK2d8B47wb9nUdTwe+25c/pfAu+HEd36L+Q+AGqH+kNeE9OSnEnflDJ32A==", + "version": "0.23.0-alpha.5", + "resolved": "https://registry.npmjs.org/@event-driven-io/emmett-mongodb/-/emmett-mongodb-0.23.0-alpha.5.tgz", + "integrity": "sha512-y32pfUkDttrQ4VOBBL7B4StVlRUmGgTHXd7/1XOf+u16t1U7omaUvrBp6ROLJNTPRq+VmUY5QXMa8VUphHRDQw==", "peerDependencies": { - "@event-driven-io/emmett": "0.23.0-alpha.3", + "@event-driven-io/emmett": "0.23.0-alpha.5", "mongodb": "^6.10.0" } }, "node_modules/@event-driven-io/emmett-postgresql": { - "version": "0.23.0-alpha.3", - "resolved": "https://registry.npmjs.org/@event-driven-io/emmett-postgresql/-/emmett-postgresql-0.23.0-alpha.3.tgz", - "integrity": "sha512-nuRCvGQk0DNhUg0EGOPvaN0PFAYzHv9tKTfpfEDXg7Mw+BFPMyQv6thlusFUx+L65p3mhm5wJFT3pc4028PIZA==", + "version": "0.23.0-alpha.5", + "resolved": "https://registry.npmjs.org/@event-driven-io/emmett-postgresql/-/emmett-postgresql-0.23.0-alpha.5.tgz", + "integrity": "sha512-DHQGmWhSYp7PnJcRaU6lZw98rROjJULE71ZkyhHjPNE2uHf6J0c/VIsrdwKONHGs0vP0kT4g8oaTmp96+gZoEA==", "peerDependencies": { - "@event-driven-io/emmett": "0.23.0-alpha.3", + "@event-driven-io/emmett": "0.23.0-alpha.5", "@event-driven-io/pongo": "0.16.4" } }, "node_modules/@event-driven-io/emmett-testcontainers": { - "version": "0.23.0-alpha.3", - "resolved": "https://registry.npmjs.org/@event-driven-io/emmett-testcontainers/-/emmett-testcontainers-0.23.0-alpha.3.tgz", - "integrity": "sha512-I2h+GrVVBnF7HhIdBpC/L9hKLf2Zkcwk94eqgGekGJzYy5tTyfmra06OjhrsBklGUbyH68BnOv3wNQH1r0eLjw==", + "version": "0.23.0-alpha.5", + "resolved": "https://registry.npmjs.org/@event-driven-io/emmett-testcontainers/-/emmett-testcontainers-0.23.0-alpha.5.tgz", + "integrity": "sha512-beq4yBqO7FY2vlozlM44SD1g7Zkz6AQ+pdOWXSwvgUL0Tqxxxbe+3y8VE9BCtz0pvJUBiaSd//1kHbyiJCe5aA==", "dependencies": { - "@event-driven-io/emmett": "0.23.0-alpha.3", + "@event-driven-io/emmett": "0.23.0-alpha.5", "testcontainers": "^10.12.0" } }, diff --git a/workshops/introduction_to_event_sourcing/package.json b/workshops/introduction_to_event_sourcing/package.json index 01cf6a6..5388bfa 100644 --- a/workshops/introduction_to_event_sourcing/package.json +++ b/workshops/introduction_to_event_sourcing/package.json @@ -43,12 +43,12 @@ "dotenv-cli": "7.4.4", "express": "4.21.1", "express-async-errors": "3.1.1", - "@event-driven-io/emmett": "0.23.0-alpha.3", - "@event-driven-io/emmett-esdb": "0.23.0-alpha.3", - "@event-driven-io/emmett-postgresql": "0.23.0-alpha.3", - "@event-driven-io/emmett-mongodb": "0.23.0-alpha.3", - "@event-driven-io/emmett-expressjs": "0.23.0-alpha.3", - "@event-driven-io/emmett-testcontainers": "0.23.0-alpha.3", + "@event-driven-io/emmett": "0.23.0-alpha.5", + "@event-driven-io/emmett-esdb": "0.23.0-alpha.5", + "@event-driven-io/emmett-postgresql": "0.23.0-alpha.5", + "@event-driven-io/emmett-mongodb": "0.23.0-alpha.5", + "@event-driven-io/emmett-expressjs": "0.23.0-alpha.5", + "@event-driven-io/emmett-testcontainers": "0.23.0-alpha.5", "@testcontainers/postgresql": "^10.10.3", "@testcontainers/mongodb": "^10.13.2", "http-problem-details": "0.1.5", diff --git a/workshops/introduction_to_event_sourcing/src/solved/14_projections_single_stream_emmett/mongodb/projections.solved.test.ts b/workshops/introduction_to_event_sourcing/src/solved/14_projections_single_stream_emmett/mongodb/projections.solved.test.ts index 68310d8..b80ab39 100644 --- a/workshops/introduction_to_event_sourcing/src/solved/14_projections_single_stream_emmett/mongodb/projections.solved.test.ts +++ b/workshops/introduction_to_event_sourcing/src/solved/14_projections_single_stream_emmett/mongodb/projections.solved.test.ts @@ -476,7 +476,7 @@ describe('Getting state from events', () => { _metadata: { name: 'short_info', schemaVersion: 1, - streamPosition: 3, + streamPosition: 1, }, }); });