diff --git a/package-lock.json b/package-lock.json index 7fc1198f..05c5b8a2 100644 --- a/package-lock.json +++ b/package-lock.json @@ -13,7 +13,7 @@ "@dcl/ecs-scene-utils": "^1.7.5", "@dcl/linker-dapp": "^0.13.0", "@dcl/mini-comms": "1.0.0", - "@dcl/protocol": "^1.0.0-2569677750.commit-6ce832a", + "@dcl/protocol": "^1.0.0-9254639032.commit-05cd554", "@dcl/schemas": "^11.9.1", "@well-known-components/env-config-provider": "^1.1.2-20220801195549.commit-101c273", "@well-known-components/http-server": "^1.1.6-20220927190058.commit-2dfb235", @@ -795,11 +795,11 @@ "peer": true }, "node_modules/@dcl/protocol": { - "version": "1.0.0-5623934099.commit-07e0626", - "resolved": "https://registry.npmjs.org/@dcl/protocol/-/protocol-1.0.0-5623934099.commit-07e0626.tgz", - "integrity": "sha512-OTa7l4HwHIaj/GgMwvy2+u3fHhyq5EvyO8XRXBbaWOdQTTxa8QdNCINzoT4W36kWwZ3nidoyj0vODR/EyEu+RA==", + "version": "1.0.0-9254639032.commit-05cd554", + "resolved": "https://registry.npmjs.org/@dcl/protocol/-/protocol-1.0.0-9254639032.commit-05cd554.tgz", + "integrity": "sha512-wtEikKlb+7oWzYKK+54+OaH9ZlsgGZSsenfp6uY0uW9iPjK/1bQlA+q+jzDzKXKaWnr9rr1Qy1UvGYhms52WmA==", "dependencies": { - "@dcl/ts-proto": "1.153.0" + "@dcl/ts-proto": "1.154.0" } }, "node_modules/@dcl/rpc": { @@ -863,9 +863,9 @@ "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==" }, "node_modules/@dcl/ts-proto": { - "version": "1.153.0", - "resolved": "https://registry.npmjs.org/@dcl/ts-proto/-/ts-proto-1.153.0.tgz", - "integrity": "sha512-jmoK+/mxSyhxIswar1SRPcEp/N1/QYShbuAHc4FEPls843m0kbPUUKJYCwtFCd+Fwu3pT8j8O30cq9iJ80gaZQ==", + "version": "1.154.0", + "resolved": "https://registry.npmjs.org/@dcl/ts-proto/-/ts-proto-1.154.0.tgz", + "integrity": "sha512-2S5AKMMPVZrVfa/1WRy4/h0niikcbu3Yf6dCoudh7ScG7BsyKAPC3CMg6IJKHzrmWS593UZClq7YJof6Vt4O+w==", "dependencies": { "@types/object-hash": "^3.0.2", "case-anything": "^2.1.10", @@ -873,59 +873,12 @@ "object-hash": "^3.0.0", "protobufjs": "^7.2.4", "ts-poet": "^6.4.1", - "ts-proto-descriptors": "1.9.0" + "ts-proto-descriptors": "^1.15.0" }, "bin": { "protoc-gen-dcl_ts_proto": "protoc-gen-dcl_ts_proto" } }, - "node_modules/@dcl/ts-proto/node_modules/@types/object-hash": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/@types/object-hash/-/object-hash-3.0.2.tgz", - "integrity": "sha512-tfyXl1JPCf2hzIDK29gO7qGqJjThKBzg/Cn3bA68R9NmWdOx+f7k5mm4to/n43BHspCwcoUC6FU4NpUoK/h9bQ==" - }, - "node_modules/@dcl/ts-proto/node_modules/object-hash": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/object-hash/-/object-hash-3.0.0.tgz", - "integrity": "sha512-RSn9F68PjH9HqtltsSnqYC1XXoWe9Bju5+213R98cNGttag9q9yAOTzdbsqvIa7aNm5WffBZFpWYr2aWrklWAw==", - "engines": { - "node": ">= 6" - } - }, - "node_modules/@dcl/ts-proto/node_modules/ts-proto-descriptors": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/ts-proto-descriptors/-/ts-proto-descriptors-1.9.0.tgz", - "integrity": "sha512-Ui8zA5Q4Jnq6JIGRraUWvECrqixxtwwin8GkhIkvwCpR+JcSPsxWe8HfTj5eHfyruGYI6Zjf96XlC87hTakHfQ==", - "dependencies": { - "long": "^4.0.0", - "protobufjs": "^6.8.8" - } - }, - "node_modules/@dcl/ts-proto/node_modules/ts-proto-descriptors/node_modules/protobufjs": { - "version": "6.11.3", - "resolved": "https://registry.npmjs.org/protobufjs/-/protobufjs-6.11.3.tgz", - "integrity": "sha512-xL96WDdCZYdU7Slin569tFX712BxsxslWwAfAhCYjQKGTq7dAU91Lomy6nLLhh/dyGhk/YH4TwTSRxTzhuHyZg==", - "hasInstallScript": true, - "dependencies": { - "@protobufjs/aspromise": "^1.1.2", - "@protobufjs/base64": "^1.1.2", - "@protobufjs/codegen": "^2.0.4", - "@protobufjs/eventemitter": "^1.1.0", - "@protobufjs/fetch": "^1.1.0", - "@protobufjs/float": "^1.0.2", - "@protobufjs/inquire": "^1.1.0", - "@protobufjs/path": "^1.1.2", - "@protobufjs/pool": "^1.1.0", - "@protobufjs/utf8": "^1.1.0", - "@types/long": "^4.0.1", - "@types/node": ">=13.7.0", - "long": "^4.0.0" - }, - "bin": { - "pbjs": "bin/pbjs", - "pbts": "bin/pbts" - } - }, "node_modules/@dcl/unity-renderer": { "version": "1.0.31824-20220330201254.commit-c617627", "resolved": "https://registry.npmjs.org/@dcl/unity-renderer/-/unity-renderer-1.0.31824-20220330201254.commit-c617627.tgz", @@ -1541,11 +1494,6 @@ "@types/node": "*" } }, - "node_modules/@types/long": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/@types/long/-/long-4.0.2.tgz", - "integrity": "sha512-MqTGEo5bj5t157U6fA/BiDynNkn0YknVdh48CMPkTSpFTVmvao5UQmm7uEF6xBEo7qIMAlY/JSleYaE6VOdpaA==" - }, "node_modules/@types/mime": { "version": "2.0.1", "license": "MIT" @@ -1582,6 +1530,11 @@ "node": ">= 6" } }, + "node_modules/@types/object-hash": { + "version": "3.0.6", + "resolved": "https://registry.npmjs.org/@types/object-hash/-/object-hash-3.0.6.tgz", + "integrity": "sha512-fOBV8C1FIu2ELinoILQ+ApxcUKz4ngq+IWUYrxSGjXzzjUALijilampwkMgEtJ+h2njAW3pi853QpzNVCHB73w==" + }, "node_modules/@types/puppeteer": { "version": "1.19.1", "dev": true, @@ -6075,11 +6028,6 @@ "dev": true, "license": "BSD-3-Clause" }, - "node_modules/long": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/long/-/long-4.0.0.tgz", - "integrity": "sha512-XsP+KhQif4bjX1kbuSiySJFNAehNxgLb6hPRGJ9QsUr8ajHkuXGdrHmFUTUUXhDwVX2R5bY4JNZEwbUiMhV+MA==" - }, "node_modules/lowercase-keys": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/lowercase-keys/-/lowercase-keys-2.0.0.tgz", @@ -6441,6 +6389,14 @@ "node": ">=0.10.0" } }, + "node_modules/object-hash": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/object-hash/-/object-hash-3.0.0.tgz", + "integrity": "sha512-RSn9F68PjH9HqtltsSnqYC1XXoWe9Bju5+213R98cNGttag9q9yAOTzdbsqvIa7aNm5WffBZFpWYr2aWrklWAw==", + "engines": { + "node": ">= 6" + } + }, "node_modules/object-inspect": { "version": "1.12.0", "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.12.0.tgz", @@ -9235,11 +9191,11 @@ "peer": true }, "@dcl/protocol": { - "version": "1.0.0-5623934099.commit-07e0626", - "resolved": "https://registry.npmjs.org/@dcl/protocol/-/protocol-1.0.0-5623934099.commit-07e0626.tgz", - "integrity": "sha512-OTa7l4HwHIaj/GgMwvy2+u3fHhyq5EvyO8XRXBbaWOdQTTxa8QdNCINzoT4W36kWwZ3nidoyj0vODR/EyEu+RA==", + "version": "1.0.0-9254639032.commit-05cd554", + "resolved": "https://registry.npmjs.org/@dcl/protocol/-/protocol-1.0.0-9254639032.commit-05cd554.tgz", + "integrity": "sha512-wtEikKlb+7oWzYKK+54+OaH9ZlsgGZSsenfp6uY0uW9iPjK/1bQlA+q+jzDzKXKaWnr9rr1Qy1UvGYhms52WmA==", "requires": { - "@dcl/ts-proto": "1.153.0" + "@dcl/ts-proto": "1.154.0" } }, "@dcl/rpc": { @@ -9296,9 +9252,9 @@ } }, "@dcl/ts-proto": { - "version": "1.153.0", - "resolved": "https://registry.npmjs.org/@dcl/ts-proto/-/ts-proto-1.153.0.tgz", - "integrity": "sha512-jmoK+/mxSyhxIswar1SRPcEp/N1/QYShbuAHc4FEPls843m0kbPUUKJYCwtFCd+Fwu3pT8j8O30cq9iJ80gaZQ==", + "version": "1.154.0", + "resolved": "https://registry.npmjs.org/@dcl/ts-proto/-/ts-proto-1.154.0.tgz", + "integrity": "sha512-2S5AKMMPVZrVfa/1WRy4/h0niikcbu3Yf6dCoudh7ScG7BsyKAPC3CMg6IJKHzrmWS593UZClq7YJof6Vt4O+w==", "requires": { "@types/object-hash": "^3.0.2", "case-anything": "^2.1.10", @@ -9306,50 +9262,7 @@ "object-hash": "^3.0.0", "protobufjs": "^7.2.4", "ts-poet": "^6.4.1", - "ts-proto-descriptors": "1.9.0" - }, - "dependencies": { - "@types/object-hash": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/@types/object-hash/-/object-hash-3.0.2.tgz", - "integrity": "sha512-tfyXl1JPCf2hzIDK29gO7qGqJjThKBzg/Cn3bA68R9NmWdOx+f7k5mm4to/n43BHspCwcoUC6FU4NpUoK/h9bQ==" - }, - "object-hash": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/object-hash/-/object-hash-3.0.0.tgz", - "integrity": "sha512-RSn9F68PjH9HqtltsSnqYC1XXoWe9Bju5+213R98cNGttag9q9yAOTzdbsqvIa7aNm5WffBZFpWYr2aWrklWAw==" - }, - "ts-proto-descriptors": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/ts-proto-descriptors/-/ts-proto-descriptors-1.9.0.tgz", - "integrity": "sha512-Ui8zA5Q4Jnq6JIGRraUWvECrqixxtwwin8GkhIkvwCpR+JcSPsxWe8HfTj5eHfyruGYI6Zjf96XlC87hTakHfQ==", - "requires": { - "long": "^4.0.0", - "protobufjs": "^6.8.8" - }, - "dependencies": { - "protobufjs": { - "version": "6.11.3", - "resolved": "https://registry.npmjs.org/protobufjs/-/protobufjs-6.11.3.tgz", - "integrity": "sha512-xL96WDdCZYdU7Slin569tFX712BxsxslWwAfAhCYjQKGTq7dAU91Lomy6nLLhh/dyGhk/YH4TwTSRxTzhuHyZg==", - "requires": { - "@protobufjs/aspromise": "^1.1.2", - "@protobufjs/base64": "^1.1.2", - "@protobufjs/codegen": "^2.0.4", - "@protobufjs/eventemitter": "^1.1.0", - "@protobufjs/fetch": "^1.1.0", - "@protobufjs/float": "^1.0.2", - "@protobufjs/inquire": "^1.1.0", - "@protobufjs/path": "^1.1.2", - "@protobufjs/pool": "^1.1.0", - "@protobufjs/utf8": "^1.1.0", - "@types/long": "^4.0.1", - "@types/node": ">=13.7.0", - "long": "^4.0.0" - } - } - } - } + "ts-proto-descriptors": "^1.15.0" } }, "@dcl/unity-renderer": { @@ -9831,11 +9744,6 @@ "@types/node": "*" } }, - "@types/long": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/@types/long/-/long-4.0.2.tgz", - "integrity": "sha512-MqTGEo5bj5t157U6fA/BiDynNkn0YknVdh48CMPkTSpFTVmvao5UQmm7uEF6xBEo7qIMAlY/JSleYaE6VOdpaA==" - }, "@types/mime": { "version": "2.0.1" }, @@ -9869,6 +9777,11 @@ } } }, + "@types/object-hash": { + "version": "3.0.6", + "resolved": "https://registry.npmjs.org/@types/object-hash/-/object-hash-3.0.6.tgz", + "integrity": "sha512-fOBV8C1FIu2ELinoILQ+ApxcUKz4ngq+IWUYrxSGjXzzjUALijilampwkMgEtJ+h2njAW3pi853QpzNVCHB73w==" + }, "@types/puppeteer": { "version": "1.19.1", "dev": true, @@ -13059,11 +12972,6 @@ "version": "4.2.0", "dev": true }, - "long": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/long/-/long-4.0.0.tgz", - "integrity": "sha512-XsP+KhQif4bjX1kbuSiySJFNAehNxgLb6hPRGJ9QsUr8ajHkuXGdrHmFUTUUXhDwVX2R5bY4JNZEwbUiMhV+MA==" - }, "lowercase-keys": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/lowercase-keys/-/lowercase-keys-2.0.0.tgz", @@ -13312,6 +13220,11 @@ "object-assign": { "version": "4.1.1" }, + "object-hash": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/object-hash/-/object-hash-3.0.0.tgz", + "integrity": "sha512-RSn9F68PjH9HqtltsSnqYC1XXoWe9Bju5+213R98cNGttag9q9yAOTzdbsqvIa7aNm5WffBZFpWYr2aWrklWAw==" + }, "object-inspect": { "version": "1.12.0", "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.12.0.tgz", diff --git a/package.json b/package.json index eb57e077..2d54cbcb 100644 --- a/package.json +++ b/package.json @@ -67,7 +67,7 @@ "@dcl/ecs-scene-utils": "^1.7.5", "@dcl/linker-dapp": "^0.13.0", "@dcl/mini-comms": "1.0.0", - "@dcl/protocol": "^1.0.0-2569677750.commit-6ce832a", + "@dcl/protocol": "^1.0.0-9254639032.commit-05cd554", "@dcl/schemas": "^11.9.1", "@well-known-components/env-config-provider": "^1.1.2-20220801195549.commit-101c273", "@well-known-components/http-server": "^1.1.6-20220927190058.commit-2dfb235", diff --git a/src/lib/controllers/bff.ts b/src/lib/controllers/bff.ts index 75b1e03b..981a1548 100644 --- a/src/lib/controllers/bff.ts +++ b/src/lib/controllers/bff.ts @@ -1,6 +1,6 @@ import { handleSocketLinearProtocol } from '@dcl/mini-comms/dist/logic/handle-linear-protocol' import { PreviewComponents } from '../Preview' -import { AboutResponse } from '@dcl/protocol/out-ts/decentraland/bff/http_endpoints.gen' +import { AboutResponse } from '@dcl/protocol/out-ts/decentraland/realm/about.gen' import { WebSocket } from 'ws' import { Router } from '@well-known-components/http-server' import { upgradeWebSocketResponse } from '@well-known-components/http-server/dist/ws'