From 8356e376a1925aaa694bd4b1d19cb2041dedc1b7 Mon Sep 17 00:00:00 2001 From: menduz Date: Wed, 25 Jan 2023 13:04:23 -0300 Subject: [PATCH] update dcl/schemas (#866) * update dcl/schemas * fix build --- package-lock.json | 420 ++++++---------------------------- package.json | 5 +- scripts/fetchSceneContents.ts | 6 +- 3 files changed, 72 insertions(+), 359 deletions(-) diff --git a/package-lock.json b/package-lock.json index 874a30481..1be3e9a2c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -13,7 +13,7 @@ "license": "Apache-2.0", "dependencies": { "@dcl/catalyst-peer": "^1.0.14", - "@dcl/crypto": "^3.2.3", + "@dcl/crypto": "^3.3.1", "@dcl/ecs-math": "^1.0.1", "@dcl/ecs-quests": "^1.3.1", "@dcl/feature-flags": "^1.1.0", @@ -31,9 +31,8 @@ "@well-known-components/pushable-channel": "^1.0.3", "buffer": "^6.0.3", "crypto-browserify": "^3.12.0", - "dcl-catalyst-client": "^13.0.15", + "dcl-catalyst-client": "^14.0.9", "dcl-quests-client": "^2.10.0", - "dcl-scene-writer": "^1.1.2", "dcl-social-client": "1.21.0", "decentraland-ecs": "^6.0.4", "devtools-protocol": "0.0.615714", @@ -160,9 +159,9 @@ "integrity": "sha512-p3VT+cOEgxFsRRA9X4lkI1E+k2/CtnKtU4gcxyaCUreilL/vqI6CdZ3wxVUx3UOUg+gnUOQQcRI7BmSI656MYA==" }, "node_modules/@dcl/catalyst-contracts": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/@dcl/catalyst-contracts/-/catalyst-contracts-3.0.0.tgz", - "integrity": "sha512-rlb6XFxYJIeYYsx1K81RCIuB9SgESx21C1lF733TQd6wT4ixDeJgPAcMvWFgnmWoOUUgiMc2TPR7rvQJmPCYgw==", + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/@dcl/catalyst-contracts/-/catalyst-contracts-3.1.3.tgz", + "integrity": "sha512-Wq9naCp3WoxfZr/rXNlmKYhVx7uKDrztQ2x1EYDL54Fjj41FSO+McbfVgv4Coia3wjwx1e+wxfUdoBvD5KsYeA==", "dependencies": { "eth-connect": "^6.0.2" } @@ -207,64 +206,15 @@ } }, "node_modules/@dcl/crypto": { - "version": "3.2.3", - "resolved": "https://registry.npmjs.org/@dcl/crypto/-/crypto-3.2.3.tgz", - "integrity": "sha512-0fscXbo8FRjs3Fy3ekBWRNBmUB4McWncEpsa+VFmhBRvjYI7xK00W0E/MM5eiWoQxt92fewkIR68vEPTCaqLwA==", + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/@dcl/crypto/-/crypto-3.3.1.tgz", + "integrity": "sha512-eq/zeJod1bsxQJaNf1Ln/W7+5MT8NnuWLADZJeTBoIPcyQX4/V03M+TfAVB6dpRHynIBBTU1CaiPIkeUVxpyiA==", "dependencies": { - "@dcl/schemas": "^5.4.2", + "@dcl/schemas": "^6.4.2", "eth-connect": "^6.0.3", "ethereum-cryptography": "^1.0.3" } }, - "node_modules/@dcl/crypto/node_modules/@dcl/schemas": { - "version": "5.32.0", - "resolved": "https://registry.npmjs.org/@dcl/schemas/-/schemas-5.32.0.tgz", - "integrity": "sha512-irvdF66dQMqKfjYib9gINxgGTJWL3NAG2m8ujIctDiRnjpoPpzH2VCPjOj+IKpNjWbMth4XaGr1JO0sfJweseA==", - "dependencies": { - "ajv": "^8.11.0", - "ajv-errors": "^3.0.0", - "ajv-keywords": "^5.1.0" - } - }, - "node_modules/@dcl/crypto/node_modules/ajv": { - "version": "8.12.0", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.12.0.tgz", - "integrity": "sha512-sRu1kpcO9yLtYxBKvqfTeh9KzZEwO3STyX1HT+4CaDzC6HpTGYhIhPIzj9XuKU7KYDwnaeh5hcOwjy1QuJzBPA==", - "dependencies": { - "fast-deep-equal": "^3.1.1", - "json-schema-traverse": "^1.0.0", - "require-from-string": "^2.0.2", - "uri-js": "^4.2.2" - }, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/epoberezkin" - } - }, - "node_modules/@dcl/crypto/node_modules/ajv-errors": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/ajv-errors/-/ajv-errors-3.0.0.tgz", - "integrity": "sha512-V3wD15YHfHz6y0KdhYFjyy9vWtEVALT9UrxfN3zqlI6dMioHnJrqOYfyPKol3oqrnCM9uwkcdCwkJ0WUcbLMTQ==", - "peerDependencies": { - "ajv": "^8.0.1" - } - }, - "node_modules/@dcl/crypto/node_modules/ajv-keywords": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-5.1.0.tgz", - "integrity": "sha512-YCS/JNFAUyr5vAuhk1DWm1CBxRHW9LbJ2ozWeemrIqpbsqKjHVxYPyi5GC0rjZIT5JxJ3virVTS8wk4i/Z+krw==", - "dependencies": { - "fast-deep-equal": "^3.1.3" - }, - "peerDependencies": { - "ajv": "^8.8.2" - } - }, - "node_modules/@dcl/crypto/node_modules/json-schema-traverse": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", - "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==" - }, "node_modules/@dcl/ecs-math": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/@dcl/ecs-math/-/ecs-math-1.0.1.tgz", @@ -374,9 +324,9 @@ } }, "node_modules/@dcl/schemas/node_modules/ajv": { - "version": "8.11.2", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.11.2.tgz", - "integrity": "sha512-E4bfmKAhGiSTvMfL1Myyycaub+cUEU2/IvpylXkUu7CHBkBj1f/ikdzbD7YQ6FKUbixDxeYvB/xY4fvyroDlQg==", + "version": "8.12.0", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.12.0.tgz", + "integrity": "sha512-sRu1kpcO9yLtYxBKvqfTeh9KzZEwO3STyX1HT+4CaDzC6HpTGYhIhPIzj9XuKU7KYDwnaeh5hcOwjy1QuJzBPA==", "dependencies": { "fast-deep-equal": "^3.1.1", "json-schema-traverse": "^1.0.0", @@ -1484,7 +1434,7 @@ "node_modules/asynckit": { "version": "0.4.0", "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", - "integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k=" + "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==" }, "node_modules/available-typed-arrays": { "version": "1.0.5", @@ -2220,74 +2170,25 @@ "dev": true }, "node_modules/dcl-catalyst-client": { - "version": "13.0.15", - "resolved": "https://registry.npmjs.org/dcl-catalyst-client/-/dcl-catalyst-client-13.0.15.tgz", - "integrity": "sha512-FhtisMYFb34ZLCLRgSrfNUaJQZqBnTeTWpxRkg43QSEenQhvTzJ42KvjJCxtONosnsLVs02rve12F3G4pDWSjg==", + "version": "14.0.9", + "resolved": "https://registry.npmjs.org/dcl-catalyst-client/-/dcl-catalyst-client-14.0.9.tgz", + "integrity": "sha512-ljFYUve3c3LKbQUwTlM3N3BvWq18II5bRGQyXGnP7bF1y5U+YIl77q6V3HyJKMreeb5Zgh7lKppJ9jRnve70qw==", "dependencies": { "@dcl/catalyst-contracts": "^3.0.0", "@dcl/hashing": "^1.1.0", - "@dcl/schemas": "^5.5.0", + "@dcl/schemas": "^6.4.2", "@types/form-data": "^2.5.0", "cookie": "^0.5.0", "dcl-catalyst-commons": "^9.0.6", "form-data": "^4.0.0" } }, - "node_modules/dcl-catalyst-client/node_modules/@dcl/schemas": { - "version": "5.32.0", - "resolved": "https://registry.npmjs.org/@dcl/schemas/-/schemas-5.32.0.tgz", - "integrity": "sha512-irvdF66dQMqKfjYib9gINxgGTJWL3NAG2m8ujIctDiRnjpoPpzH2VCPjOj+IKpNjWbMth4XaGr1JO0sfJweseA==", - "dependencies": { - "ajv": "^8.11.0", - "ajv-errors": "^3.0.0", - "ajv-keywords": "^5.1.0" - } - }, - "node_modules/dcl-catalyst-client/node_modules/ajv": { - "version": "8.12.0", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.12.0.tgz", - "integrity": "sha512-sRu1kpcO9yLtYxBKvqfTeh9KzZEwO3STyX1HT+4CaDzC6HpTGYhIhPIzj9XuKU7KYDwnaeh5hcOwjy1QuJzBPA==", - "dependencies": { - "fast-deep-equal": "^3.1.1", - "json-schema-traverse": "^1.0.0", - "require-from-string": "^2.0.2", - "uri-js": "^4.2.2" - }, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/epoberezkin" - } - }, - "node_modules/dcl-catalyst-client/node_modules/ajv-errors": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/ajv-errors/-/ajv-errors-3.0.0.tgz", - "integrity": "sha512-V3wD15YHfHz6y0KdhYFjyy9vWtEVALT9UrxfN3zqlI6dMioHnJrqOYfyPKol3oqrnCM9uwkcdCwkJ0WUcbLMTQ==", - "peerDependencies": { - "ajv": "^8.0.1" - } - }, - "node_modules/dcl-catalyst-client/node_modules/ajv-keywords": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-5.1.0.tgz", - "integrity": "sha512-YCS/JNFAUyr5vAuhk1DWm1CBxRHW9LbJ2ozWeemrIqpbsqKjHVxYPyi5GC0rjZIT5JxJ3virVTS8wk4i/Z+krw==", - "dependencies": { - "fast-deep-equal": "^3.1.3" - }, - "peerDependencies": { - "ajv": "^8.8.2" - } - }, - "node_modules/dcl-catalyst-client/node_modules/json-schema-traverse": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", - "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==" - }, "node_modules/dcl-catalyst-commons": { - "version": "9.0.10", - "resolved": "https://registry.npmjs.org/dcl-catalyst-commons/-/dcl-catalyst-commons-9.0.10.tgz", - "integrity": "sha512-O5x9js02MkuV/6JMeM6Pzy7/UVZRfq/fk7SOGM1b/gNIMel9aXKxotR/0JV0WLXjDfLBxT+7dEbeu3hxgmVkKg==", + "version": "9.0.16", + "resolved": "https://registry.npmjs.org/dcl-catalyst-commons/-/dcl-catalyst-commons-9.0.16.tgz", + "integrity": "sha512-bfHUJCcaS0yX64A6CXF5t6Ld+LrYWMFF/wyM+5lPsbHaTgojo/fpLP0rfFg0GxVzglTo1jYOXhc0KuDcPeiMsg==", "dependencies": { - "@dcl/schemas": "^5.4.2", + "@dcl/schemas": "^6.4.2", "abort-controller": "^3.0.0", "cookie": "^0.4.1", "cross-fetch": "^3.1.4", @@ -2298,50 +2199,6 @@ "npm": ">=7.0.0" } }, - "node_modules/dcl-catalyst-commons/node_modules/@dcl/schemas": { - "version": "5.32.0", - "resolved": "https://registry.npmjs.org/@dcl/schemas/-/schemas-5.32.0.tgz", - "integrity": "sha512-irvdF66dQMqKfjYib9gINxgGTJWL3NAG2m8ujIctDiRnjpoPpzH2VCPjOj+IKpNjWbMth4XaGr1JO0sfJweseA==", - "dependencies": { - "ajv": "^8.11.0", - "ajv-errors": "^3.0.0", - "ajv-keywords": "^5.1.0" - } - }, - "node_modules/dcl-catalyst-commons/node_modules/ajv": { - "version": "8.12.0", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.12.0.tgz", - "integrity": "sha512-sRu1kpcO9yLtYxBKvqfTeh9KzZEwO3STyX1HT+4CaDzC6HpTGYhIhPIzj9XuKU7KYDwnaeh5hcOwjy1QuJzBPA==", - "dependencies": { - "fast-deep-equal": "^3.1.1", - "json-schema-traverse": "^1.0.0", - "require-from-string": "^2.0.2", - "uri-js": "^4.2.2" - }, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/epoberezkin" - } - }, - "node_modules/dcl-catalyst-commons/node_modules/ajv-errors": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/ajv-errors/-/ajv-errors-3.0.0.tgz", - "integrity": "sha512-V3wD15YHfHz6y0KdhYFjyy9vWtEVALT9UrxfN3zqlI6dMioHnJrqOYfyPKol3oqrnCM9uwkcdCwkJ0WUcbLMTQ==", - "peerDependencies": { - "ajv": "^8.0.1" - } - }, - "node_modules/dcl-catalyst-commons/node_modules/ajv-keywords": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-5.1.0.tgz", - "integrity": "sha512-YCS/JNFAUyr5vAuhk1DWm1CBxRHW9LbJ2ozWeemrIqpbsqKjHVxYPyi5GC0rjZIT5JxJ3virVTS8wk4i/Z+krw==", - "dependencies": { - "fast-deep-equal": "^3.1.3" - }, - "peerDependencies": { - "ajv": "^8.8.2" - } - }, "node_modules/dcl-catalyst-commons/node_modules/cookie": { "version": "0.4.2", "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.4.2.tgz", @@ -2350,24 +2207,11 @@ "node": ">= 0.6" } }, - "node_modules/dcl-catalyst-commons/node_modules/json-schema-traverse": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", - "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==" - }, "node_modules/dcl-quests-client": { "version": "2.10.0", "resolved": "https://registry.npmjs.org/dcl-quests-client/-/dcl-quests-client-2.10.0.tgz", "integrity": "sha512-apCywiRdjWJ6sFcfbMA9lSzTesFsZLcU5vVk1+jLAZWiW6pu1EAssR6szEdfGiNeofc6epRIpYg0THVvNdEn5w==" }, - "node_modules/dcl-scene-writer": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/dcl-scene-writer/-/dcl-scene-writer-1.1.2.tgz", - "integrity": "sha512-1GrnacmjHSNxhHwjbnAc3MzN8xZG3tFSFEZ9Tb/njHPuxKEmoYaawfVnlUcUehHaKsQsJdpRMGdOvH/QILNDlw==", - "peerDependencies": { - "decentraland-ecs": "6.0.4" - } - }, "node_modules/dcl-social-client": { "version": "1.21.0", "resolved": "https://registry.npmjs.org/dcl-social-client/-/dcl-social-client-1.21.0.tgz", @@ -2427,9 +2271,9 @@ } }, "node_modules/decode-uri-component": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/decode-uri-component/-/decode-uri-component-0.2.0.tgz", - "integrity": "sha1-6zkTMzRYd1y4TNGh+uBiEGu4dUU=", + "version": "0.2.2", + "resolved": "https://registry.npmjs.org/decode-uri-component/-/decode-uri-component-0.2.2.tgz", + "integrity": "sha512-FqUYQ+8o158GyGTrMFJms9qh3CqTKvAqgqsTnkLI8sKu0028orqBhxNMFkFen0zGyg6epACD32pjVk58ngIErQ==", "dev": true, "engines": { "node": ">=0.10" @@ -2479,7 +2323,7 @@ "node_modules/delayed-stream": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", - "integrity": "sha1-3zrhmayt+31ECqrgsp4icrJOxhk=", + "integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==", "engines": { "node": ">=0.4.0" } @@ -2613,9 +2457,9 @@ } }, "node_modules/detective-postcss": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/detective-postcss/-/detective-postcss-5.1.1.tgz", - "integrity": "sha512-YJMsvA0Y6/ST9abMNcQytl9iFQ2bfu4I7B74IUiAvyThfaI9Y666yipL+SrqfReoIekeIEwmGH72oeqX63mwUw==", + "version": "5.1.3", + "resolved": "https://registry.npmjs.org/detective-postcss/-/detective-postcss-5.1.3.tgz", + "integrity": "sha512-Wo7PUpF6wqeT1aRgajdyIdDRjFFJVxlXPRAlT1aankH/RVOgrJuEZFZ4ABxYXdzaRPO5Lkg8rHxsxpLnxdJIYA==", "dev": true, "dependencies": { "is-url": "^1.2.4", @@ -2623,7 +2467,7 @@ "postcss-values-parser": "^5.0.0" }, "engines": { - "node": "12.x || 14.x || 16.x" + "node": "^10 || ^12 || >=14" } }, "node_modules/detective-sass": { @@ -4748,9 +4592,9 @@ "integrity": "sha512-GKSNGeNAtw8IryjjkhZxuKB3JzlcLTwjtiQCHKvqQet81I93kXslhDQruGI/QsddO83mcDToBVy7GqGS/zYf/A==" }, "node_modules/livekit-client/node_modules/protobufjs": { - "version": "7.1.2", - "resolved": "https://registry.npmjs.org/protobufjs/-/protobufjs-7.1.2.tgz", - "integrity": "sha512-4ZPTPkXCdel3+L81yw3dG6+Kq3umdWKh7Dc7GW/CpNk4SX3hK58iPCWeCyhVTDrbkNeKrYNZ7EojM5WDaEWTLQ==", + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/protobufjs/-/protobufjs-7.2.0.tgz", + "integrity": "sha512-hYCqTDuII4iJ4stZqiuGCSU8xxWl5JeXYpwARGtn/tWcKCAro6h3WQz+xpsNbXW0UYqpmTQFEyFWO0G0Kjt64g==", "hasInstallScript": true, "dependencies": { "@protobufjs/aspromise": "^1.1.2", @@ -7810,9 +7654,9 @@ } }, "node_modules/ua-parser-js": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/ua-parser-js/-/ua-parser-js-1.0.2.tgz", - "integrity": "sha512-00y/AXhx0/SsnI51fTc0rLRmafiGOM4/O+ny10Ps7f+j/b8p/ZY11ytMgznXkOVo4GQ+KwQG5UQLkLGirsACRg==", + "version": "1.0.33", + "resolved": "https://registry.npmjs.org/ua-parser-js/-/ua-parser-js-1.0.33.tgz", + "integrity": "sha512-RqshF7TPTE0XLYAqmjlu5cLLuGdKrNu9O1KLA/qp39QtbZwuzwv1dT46DZSopoUMsYgXpB3Cv8a03FI8b74oFQ==", "funding": [ { "type": "opencollective", @@ -8352,9 +8196,9 @@ } }, "@dcl/catalyst-contracts": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/@dcl/catalyst-contracts/-/catalyst-contracts-3.0.0.tgz", - "integrity": "sha512-rlb6XFxYJIeYYsx1K81RCIuB9SgESx21C1lF733TQd6wT4ixDeJgPAcMvWFgnmWoOUUgiMc2TPR7rvQJmPCYgw==", + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/@dcl/catalyst-contracts/-/catalyst-contracts-3.1.3.tgz", + "integrity": "sha512-Wq9naCp3WoxfZr/rXNlmKYhVx7uKDrztQ2x1EYDL54Fjj41FSO+McbfVgv4Coia3wjwx1e+wxfUdoBvD5KsYeA==", "requires": { "eth-connect": "^6.0.2" } @@ -8387,55 +8231,13 @@ } }, "@dcl/crypto": { - "version": "3.2.3", - "resolved": "https://registry.npmjs.org/@dcl/crypto/-/crypto-3.2.3.tgz", - "integrity": "sha512-0fscXbo8FRjs3Fy3ekBWRNBmUB4McWncEpsa+VFmhBRvjYI7xK00W0E/MM5eiWoQxt92fewkIR68vEPTCaqLwA==", + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/@dcl/crypto/-/crypto-3.3.1.tgz", + "integrity": "sha512-eq/zeJod1bsxQJaNf1Ln/W7+5MT8NnuWLADZJeTBoIPcyQX4/V03M+TfAVB6dpRHynIBBTU1CaiPIkeUVxpyiA==", "requires": { - "@dcl/schemas": "^5.4.2", + "@dcl/schemas": "^6.4.2", "eth-connect": "^6.0.3", "ethereum-cryptography": "^1.0.3" - }, - "dependencies": { - "@dcl/schemas": { - "version": "5.32.0", - "resolved": "https://registry.npmjs.org/@dcl/schemas/-/schemas-5.32.0.tgz", - "integrity": "sha512-irvdF66dQMqKfjYib9gINxgGTJWL3NAG2m8ujIctDiRnjpoPpzH2VCPjOj+IKpNjWbMth4XaGr1JO0sfJweseA==", - "requires": { - "ajv": "^8.11.0", - "ajv-errors": "^3.0.0", - "ajv-keywords": "^5.1.0" - } - }, - "ajv": { - "version": "8.12.0", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.12.0.tgz", - "integrity": "sha512-sRu1kpcO9yLtYxBKvqfTeh9KzZEwO3STyX1HT+4CaDzC6HpTGYhIhPIzj9XuKU7KYDwnaeh5hcOwjy1QuJzBPA==", - "requires": { - "fast-deep-equal": "^3.1.1", - "json-schema-traverse": "^1.0.0", - "require-from-string": "^2.0.2", - "uri-js": "^4.2.2" - } - }, - "ajv-errors": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/ajv-errors/-/ajv-errors-3.0.0.tgz", - "integrity": "sha512-V3wD15YHfHz6y0KdhYFjyy9vWtEVALT9UrxfN3zqlI6dMioHnJrqOYfyPKol3oqrnCM9uwkcdCwkJ0WUcbLMTQ==", - "requires": {} - }, - "ajv-keywords": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-5.1.0.tgz", - "integrity": "sha512-YCS/JNFAUyr5vAuhk1DWm1CBxRHW9LbJ2ozWeemrIqpbsqKjHVxYPyi5GC0rjZIT5JxJ3virVTS8wk4i/Z+krw==", - "requires": { - "fast-deep-equal": "^3.1.3" - } - }, - "json-schema-traverse": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", - "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==" - } } }, "@dcl/ecs-math": { @@ -8549,9 +8351,9 @@ }, "dependencies": { "ajv": { - "version": "8.11.2", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.11.2.tgz", - "integrity": "sha512-E4bfmKAhGiSTvMfL1Myyycaub+cUEU2/IvpylXkUu7CHBkBj1f/ikdzbD7YQ6FKUbixDxeYvB/xY4fvyroDlQg==", + "version": "8.12.0", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.12.0.tgz", + "integrity": "sha512-sRu1kpcO9yLtYxBKvqfTeh9KzZEwO3STyX1HT+4CaDzC6HpTGYhIhPIzj9XuKU7KYDwnaeh5hcOwjy1QuJzBPA==", "requires": { "fast-deep-equal": "^3.1.1", "json-schema-traverse": "^1.0.0", @@ -9391,7 +9193,7 @@ "asynckit": { "version": "0.4.0", "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", - "integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k=" + "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==" }, "available-typed-arrays": { "version": "1.0.5", @@ -9986,117 +9788,35 @@ "dev": true }, "dcl-catalyst-client": { - "version": "13.0.15", - "resolved": "https://registry.npmjs.org/dcl-catalyst-client/-/dcl-catalyst-client-13.0.15.tgz", - "integrity": "sha512-FhtisMYFb34ZLCLRgSrfNUaJQZqBnTeTWpxRkg43QSEenQhvTzJ42KvjJCxtONosnsLVs02rve12F3G4pDWSjg==", + "version": "14.0.9", + "resolved": "https://registry.npmjs.org/dcl-catalyst-client/-/dcl-catalyst-client-14.0.9.tgz", + "integrity": "sha512-ljFYUve3c3LKbQUwTlM3N3BvWq18II5bRGQyXGnP7bF1y5U+YIl77q6V3HyJKMreeb5Zgh7lKppJ9jRnve70qw==", "requires": { "@dcl/catalyst-contracts": "^3.0.0", "@dcl/hashing": "^1.1.0", - "@dcl/schemas": "^5.5.0", + "@dcl/schemas": "^6.4.2", "@types/form-data": "^2.5.0", "cookie": "^0.5.0", "dcl-catalyst-commons": "^9.0.6", "form-data": "^4.0.0" - }, - "dependencies": { - "@dcl/schemas": { - "version": "5.32.0", - "resolved": "https://registry.npmjs.org/@dcl/schemas/-/schemas-5.32.0.tgz", - "integrity": "sha512-irvdF66dQMqKfjYib9gINxgGTJWL3NAG2m8ujIctDiRnjpoPpzH2VCPjOj+IKpNjWbMth4XaGr1JO0sfJweseA==", - "requires": { - "ajv": "^8.11.0", - "ajv-errors": "^3.0.0", - "ajv-keywords": "^5.1.0" - } - }, - "ajv": { - "version": "8.12.0", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.12.0.tgz", - "integrity": "sha512-sRu1kpcO9yLtYxBKvqfTeh9KzZEwO3STyX1HT+4CaDzC6HpTGYhIhPIzj9XuKU7KYDwnaeh5hcOwjy1QuJzBPA==", - "requires": { - "fast-deep-equal": "^3.1.1", - "json-schema-traverse": "^1.0.0", - "require-from-string": "^2.0.2", - "uri-js": "^4.2.2" - } - }, - "ajv-errors": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/ajv-errors/-/ajv-errors-3.0.0.tgz", - "integrity": "sha512-V3wD15YHfHz6y0KdhYFjyy9vWtEVALT9UrxfN3zqlI6dMioHnJrqOYfyPKol3oqrnCM9uwkcdCwkJ0WUcbLMTQ==", - "requires": {} - }, - "ajv-keywords": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-5.1.0.tgz", - "integrity": "sha512-YCS/JNFAUyr5vAuhk1DWm1CBxRHW9LbJ2ozWeemrIqpbsqKjHVxYPyi5GC0rjZIT5JxJ3virVTS8wk4i/Z+krw==", - "requires": { - "fast-deep-equal": "^3.1.3" - } - }, - "json-schema-traverse": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", - "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==" - } } }, "dcl-catalyst-commons": { - "version": "9.0.10", - "resolved": "https://registry.npmjs.org/dcl-catalyst-commons/-/dcl-catalyst-commons-9.0.10.tgz", - "integrity": "sha512-O5x9js02MkuV/6JMeM6Pzy7/UVZRfq/fk7SOGM1b/gNIMel9aXKxotR/0JV0WLXjDfLBxT+7dEbeu3hxgmVkKg==", + "version": "9.0.16", + "resolved": "https://registry.npmjs.org/dcl-catalyst-commons/-/dcl-catalyst-commons-9.0.16.tgz", + "integrity": "sha512-bfHUJCcaS0yX64A6CXF5t6Ld+LrYWMFF/wyM+5lPsbHaTgojo/fpLP0rfFg0GxVzglTo1jYOXhc0KuDcPeiMsg==", "requires": { - "@dcl/schemas": "^5.4.2", + "@dcl/schemas": "^6.4.2", "abort-controller": "^3.0.0", "cookie": "^0.4.1", "cross-fetch": "^3.1.4", "ms": "^2.1.2" }, "dependencies": { - "@dcl/schemas": { - "version": "5.32.0", - "resolved": "https://registry.npmjs.org/@dcl/schemas/-/schemas-5.32.0.tgz", - "integrity": "sha512-irvdF66dQMqKfjYib9gINxgGTJWL3NAG2m8ujIctDiRnjpoPpzH2VCPjOj+IKpNjWbMth4XaGr1JO0sfJweseA==", - "requires": { - "ajv": "^8.11.0", - "ajv-errors": "^3.0.0", - "ajv-keywords": "^5.1.0" - } - }, - "ajv": { - "version": "8.12.0", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.12.0.tgz", - "integrity": "sha512-sRu1kpcO9yLtYxBKvqfTeh9KzZEwO3STyX1HT+4CaDzC6HpTGYhIhPIzj9XuKU7KYDwnaeh5hcOwjy1QuJzBPA==", - "requires": { - "fast-deep-equal": "^3.1.1", - "json-schema-traverse": "^1.0.0", - "require-from-string": "^2.0.2", - "uri-js": "^4.2.2" - } - }, - "ajv-errors": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/ajv-errors/-/ajv-errors-3.0.0.tgz", - "integrity": "sha512-V3wD15YHfHz6y0KdhYFjyy9vWtEVALT9UrxfN3zqlI6dMioHnJrqOYfyPKol3oqrnCM9uwkcdCwkJ0WUcbLMTQ==", - "requires": {} - }, - "ajv-keywords": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-5.1.0.tgz", - "integrity": "sha512-YCS/JNFAUyr5vAuhk1DWm1CBxRHW9LbJ2ozWeemrIqpbsqKjHVxYPyi5GC0rjZIT5JxJ3virVTS8wk4i/Z+krw==", - "requires": { - "fast-deep-equal": "^3.1.3" - } - }, "cookie": { "version": "0.4.2", "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.4.2.tgz", "integrity": "sha512-aSWTXFzaKWkvHO1Ny/s+ePFpvKsPnjc551iI41v3ny/ow6tBG5Vd+FuqGNhh1LxOmVzOlGUriIlOaokOvhaStA==" - }, - "json-schema-traverse": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", - "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==" } } }, @@ -10105,12 +9825,6 @@ "resolved": "https://registry.npmjs.org/dcl-quests-client/-/dcl-quests-client-2.10.0.tgz", "integrity": "sha512-apCywiRdjWJ6sFcfbMA9lSzTesFsZLcU5vVk1+jLAZWiW6pu1EAssR6szEdfGiNeofc6epRIpYg0THVvNdEn5w==" }, - "dcl-scene-writer": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/dcl-scene-writer/-/dcl-scene-writer-1.1.2.tgz", - "integrity": "sha512-1GrnacmjHSNxhHwjbnAc3MzN8xZG3tFSFEZ9Tb/njHPuxKEmoYaawfVnlUcUehHaKsQsJdpRMGdOvH/QILNDlw==", - "requires": {} - }, "dcl-social-client": { "version": "1.21.0", "resolved": "https://registry.npmjs.org/dcl-social-client/-/dcl-social-client-1.21.0.tgz", @@ -10151,9 +9865,9 @@ } }, "decode-uri-component": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/decode-uri-component/-/decode-uri-component-0.2.0.tgz", - "integrity": "sha1-6zkTMzRYd1y4TNGh+uBiEGu4dUU=", + "version": "0.2.2", + "resolved": "https://registry.npmjs.org/decode-uri-component/-/decode-uri-component-0.2.2.tgz", + "integrity": "sha512-FqUYQ+8o158GyGTrMFJms9qh3CqTKvAqgqsTnkLI8sKu0028orqBhxNMFkFen0zGyg6epACD32pjVk58ngIErQ==", "dev": true }, "deep-diff": { @@ -10194,7 +9908,7 @@ "delayed-stream": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", - "integrity": "sha1-3zrhmayt+31ECqrgsp4icrJOxhk=" + "integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==" }, "depd": { "version": "2.0.0", @@ -10286,9 +10000,9 @@ } }, "detective-postcss": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/detective-postcss/-/detective-postcss-5.1.1.tgz", - "integrity": "sha512-YJMsvA0Y6/ST9abMNcQytl9iFQ2bfu4I7B74IUiAvyThfaI9Y666yipL+SrqfReoIekeIEwmGH72oeqX63mwUw==", + "version": "5.1.3", + "resolved": "https://registry.npmjs.org/detective-postcss/-/detective-postcss-5.1.3.tgz", + "integrity": "sha512-Wo7PUpF6wqeT1aRgajdyIdDRjFFJVxlXPRAlT1aankH/RVOgrJuEZFZ4ABxYXdzaRPO5Lkg8rHxsxpLnxdJIYA==", "dev": true, "requires": { "is-url": "^1.2.4", @@ -11920,9 +11634,9 @@ "integrity": "sha512-GKSNGeNAtw8IryjjkhZxuKB3JzlcLTwjtiQCHKvqQet81I93kXslhDQruGI/QsddO83mcDToBVy7GqGS/zYf/A==" }, "protobufjs": { - "version": "7.1.2", - "resolved": "https://registry.npmjs.org/protobufjs/-/protobufjs-7.1.2.tgz", - "integrity": "sha512-4ZPTPkXCdel3+L81yw3dG6+Kq3umdWKh7Dc7GW/CpNk4SX3hK58iPCWeCyhVTDrbkNeKrYNZ7EojM5WDaEWTLQ==", + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/protobufjs/-/protobufjs-7.2.0.tgz", + "integrity": "sha512-hYCqTDuII4iJ4stZqiuGCSU8xxWl5JeXYpwARGtn/tWcKCAro6h3WQz+xpsNbXW0UYqpmTQFEyFWO0G0Kjt64g==", "requires": { "@protobufjs/aspromise": "^1.1.2", "@protobufjs/base64": "^1.1.2", @@ -14226,9 +13940,9 @@ } }, "ua-parser-js": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/ua-parser-js/-/ua-parser-js-1.0.2.tgz", - "integrity": "sha512-00y/AXhx0/SsnI51fTc0rLRmafiGOM4/O+ny10Ps7f+j/b8p/ZY11ytMgznXkOVo4GQ+KwQG5UQLkLGirsACRg==" + "version": "1.0.33", + "resolved": "https://registry.npmjs.org/ua-parser-js/-/ua-parser-js-1.0.33.tgz", + "integrity": "sha512-RqshF7TPTE0XLYAqmjlu5cLLuGdKrNu9O1KLA/qp39QtbZwuzwv1dT46DZSopoUMsYgXpB3Cv8a03FI8b74oFQ==" }, "uglify-js": { "version": "3.16.0", diff --git a/package.json b/package.json index e945bcb6a..c939b1dff 100644 --- a/package.json +++ b/package.json @@ -58,7 +58,7 @@ }, "dependencies": { "@dcl/catalyst-peer": "^1.0.14", - "@dcl/crypto": "^3.2.3", + "@dcl/crypto": "^3.3.1", "@dcl/ecs-math": "^1.0.1", "@dcl/ecs-quests": "^1.3.1", "@dcl/feature-flags": "^1.1.0", @@ -76,9 +76,8 @@ "@well-known-components/pushable-channel": "^1.0.3", "buffer": "^6.0.3", "crypto-browserify": "^3.12.0", - "dcl-catalyst-client": "^13.0.15", + "dcl-catalyst-client": "^14.0.9", "dcl-quests-client": "^2.10.0", - "dcl-scene-writer": "^1.1.2", "dcl-social-client": "1.21.0", "decentraland-ecs": "^6.0.4", "devtools-protocol": "0.0.615714", diff --git a/scripts/fetchSceneContents.ts b/scripts/fetchSceneContents.ts index 923a8a09a..df0b20f9c 100644 --- a/scripts/fetchSceneContents.ts +++ b/scripts/fetchSceneContents.ts @@ -10,7 +10,7 @@ import { fetch } from 'undici' import { CatalystClient } from 'dcl-catalyst-client/dist/CatalystClient' import * as fs from 'fs' -import { ContentMapping, EntityType } from '@dcl/schemas' +import { ContentMapping } from '@dcl/schemas' const sceneId = process.env.SCENE_ID const parcel = process.env.PARCEL @@ -30,8 +30,8 @@ if (!sceneId && !parcel) { async function main() { const sceneData = sceneId - ? await client.fetchEntityById(EntityType.SCENE, sceneId) - : (await client.fetchEntitiesByPointers(EntityType.SCENE, [parcel]))[0] + ? await client.fetchEntityById(sceneId) + : (await client.fetchEntitiesByPointers([parcel]))[0] const pending: Record> = {} const queued: ContentMapping[] = []