Skip to content

Commit

Permalink
feat: state Worlds conversions (#193)
Browse files Browse the repository at this point in the history
  • Loading branch information
aleortega authored Jan 24, 2025
1 parent 95a9c94 commit c6d0306
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion consumer-server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"dependencies": {
"@aws-sdk/client-sns": "^3.699.0",
"@dcl/cdn-uploader": "^1.4.1-20230208155013.commit-f75a6ee",
"@dcl/schemas": "^15.5.0",
"@dcl/schemas": "^15.7.0",
"@sentry/node": "^8.27.0",
"@well-known-components/env-config-provider": "^1.2.0",
"@well-known-components/http-server": "^2.1.0",
Expand Down
4 changes: 4 additions & 0 deletions consumer-server/src/service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,10 @@ export async function main(program: Lifecycle.EntryPointParameters<AppComponents
platform: platform,
entityId: job.entity.entityId,
isLods: !!job.lods,
isWorld:
!!job.contentServerUrls &&
job.contentServerUrls.length > 1 &&
job.contentServerUrls[0].includes('worlds-content-server'),
statusCode
}
}
Expand Down
8 changes: 4 additions & 4 deletions consumer-server/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -751,10 +751,10 @@
eslint-plugin-prettier "^5.1.3"
prettier "^3.3.2"

"@dcl/schemas@^15.5.0":
version "15.5.0"
resolved "https://registry.yarnpkg.com/@dcl/schemas/-/schemas-15.5.0.tgz#4d13a6a3bea8174324dd9030d7afad4949b038e4"
integrity sha512-I3q+z4UoztrhdZ7z1CINhtmRt7u7jsye/M50y5LqxfhL87WNpePXuqjuaB37dtlLO19O+88TYeeKcp5aSymRvA==
"@dcl/schemas@^15.7.0":
version "15.7.0"
resolved "https://registry.yarnpkg.com/@dcl/schemas/-/schemas-15.7.0.tgz#865fdf51ace0c1741fe326b74efac454c03f09bd"
integrity sha512-TOlLPFh56JrmyRmRHnMSbMnQpHqXWZ/LRiM8y5lw+gRPMPJvEXL8C0lKbH1Seqsz9Q5K8hF0FTqoTMKBtRiKKg==
dependencies:
ajv "^8.11.0"
ajv-errors "^3.0.0"
Expand Down

0 comments on commit c6d0306

Please sign in to comment.