dcentraland 3.21.0
Sign up to get free protection for your applications and to get access to all the features.
- package/LICENSE +201 -0
- package/README.md +56 -0
- package/abi/EstateRegistry.json +1226 -0
- package/abi/LANDRegistry.json +1372 -0
- package/abi/MANAToken.json +410 -0
- package/dist/commands/build.d.ts +3 -0
- package/dist/commands/build.d.ts.map +1 -0
- package/dist/commands/build.js +108 -0
- package/dist/commands/build.js.map +1 -0
- package/dist/commands/coords.d.ts +3 -0
- package/dist/commands/coords.d.ts.map +1 -0
- package/dist/commands/coords.js +122 -0
- package/dist/commands/coords.js.map +1 -0
- package/dist/commands/deploy.d.ts +4 -0
- package/dist/commands/deploy.d.ts.map +1 -0
- package/dist/commands/deploy.js +280 -0
- package/dist/commands/deploy.js.map +1 -0
- package/dist/commands/export.d.ts +3 -0
- package/dist/commands/export.d.ts.map +1 -0
- package/dist/commands/export.js +20 -0
- package/dist/commands/export.js.map +1 -0
- package/dist/commands/index.d.ts +3 -0
- package/dist/commands/index.d.ts.map +1 -0
- package/dist/commands/index.js +19 -0
- package/dist/commands/index.js.map +1 -0
- package/dist/commands/info.d.ts +3 -0
- package/dist/commands/info.d.ts.map +1 -0
- package/dist/commands/info.js +186 -0
- package/dist/commands/info.js.map +1 -0
- package/dist/commands/init/help.d.ts +12 -0
- package/dist/commands/init/help.d.ts.map +1 -0
- package/dist/commands/init/help.js +41 -0
- package/dist/commands/init/help.js.map +1 -0
- package/dist/commands/init/index.d.ts +3 -0
- package/dist/commands/init/index.d.ts.map +1 -0
- package/dist/commands/init/index.js +96 -0
- package/dist/commands/init/index.js.map +1 -0
- package/dist/commands/init/library.d.ts +1 -0
- package/dist/commands/init/library.d.ts.map +1 -0
- package/dist/commands/init/library.js +2 -0
- package/dist/commands/init/library.js.map +1 -0
- package/dist/commands/init/repositories.d.ts +11 -0
- package/dist/commands/init/repositories.d.ts.map +1 -0
- package/dist/commands/init/repositories.js +40 -0
- package/dist/commands/init/repositories.js.map +1 -0
- package/dist/commands/init/scene.d.ts +3 -0
- package/dist/commands/init/scene.d.ts.map +1 -0
- package/dist/commands/init/scene.js +56 -0
- package/dist/commands/init/scene.js.map +1 -0
- package/dist/commands/init/types.d.ts +22 -0
- package/dist/commands/init/types.d.ts.map +1 -0
- package/dist/commands/init/types.js +3 -0
- package/dist/commands/init/types.js.map +1 -0
- package/dist/commands/init/utils.d.ts +6 -0
- package/dist/commands/init/utils.d.ts.map +1 -0
- package/dist/commands/init/utils.js +76 -0
- package/dist/commands/init/utils.js.map +1 -0
- package/dist/commands/install.d.ts +3 -0
- package/dist/commands/install.d.ts.map +1 -0
- package/dist/commands/install.js +92 -0
- package/dist/commands/install.js.map +1 -0
- package/dist/commands/pack.d.ts +3 -0
- package/dist/commands/pack.d.ts.map +1 -0
- package/dist/commands/pack.js +102 -0
- package/dist/commands/pack.js.map +1 -0
- package/dist/commands/start.d.ts +3 -0
- package/dist/commands/start.d.ts.map +1 -0
- package/dist/commands/start.js +235 -0
- package/dist/commands/start.js.map +1 -0
- package/dist/commands/status.d.ts +3 -0
- package/dist/commands/status.d.ts.map +1 -0
- package/dist/commands/status.js +80 -0
- package/dist/commands/status.js.map +1 -0
- package/dist/commands/workspace.d.ts +3 -0
- package/dist/commands/workspace.d.ts.map +1 -0
- package/dist/commands/workspace.js +81 -0
- package/dist/commands/workspace.js.map +1 -0
- package/dist/commands/world-acl.d.ts +22 -0
- package/dist/commands/world-acl.d.ts.map +1 -0
- package/dist/commands/world-acl.js +262 -0
- package/dist/commands/world-acl.js.map +1 -0
- package/dist/config.d.ts +31 -0
- package/dist/config.d.ts.map +1 -0
- package/dist/config.js +128 -0
- package/dist/config.js.map +1 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +21 -0
- package/dist/index.js.map +1 -0
- package/dist/lib/API.d.ts +23 -0
- package/dist/lib/API.d.ts.map +1 -0
- package/dist/lib/API.js +175 -0
- package/dist/lib/API.js.map +1 -0
- package/dist/lib/Decentraland.d.ts +75 -0
- package/dist/lib/Decentraland.d.ts.map +1 -0
- package/dist/lib/Decentraland.js +227 -0
- package/dist/lib/Decentraland.js.map +1 -0
- package/dist/lib/Ethereum.d.ts +52 -0
- package/dist/lib/Ethereum.d.ts.map +1 -0
- package/dist/lib/Ethereum.js +245 -0
- package/dist/lib/Ethereum.js.map +1 -0
- package/dist/lib/IEthereumDataProvider.d.ts +17 -0
- package/dist/lib/IEthereumDataProvider.d.ts.map +1 -0
- package/dist/lib/IEthereumDataProvider.js +3 -0
- package/dist/lib/IEthereumDataProvider.js.map +1 -0
- package/dist/lib/LinkerAPI.d.ts +28 -0
- package/dist/lib/LinkerAPI.d.ts.map +1 -0
- package/dist/lib/LinkerAPI.js +151 -0
- package/dist/lib/LinkerAPI.js.map +1 -0
- package/dist/lib/Preview.d.ts +17 -0
- package/dist/lib/Preview.d.ts.map +1 -0
- package/dist/lib/Preview.js +113 -0
- package/dist/lib/Preview.js.map +1 -0
- package/dist/lib/Project.d.ts +152 -0
- package/dist/lib/Project.d.ts.map +1 -0
- package/dist/lib/Project.js +446 -0
- package/dist/lib/Project.js.map +1 -0
- package/dist/lib/Workspace.d.ts +21 -0
- package/dist/lib/Workspace.d.ts.map +1 -0
- package/dist/lib/Workspace.js +140 -0
- package/dist/lib/Workspace.js.map +1 -0
- package/dist/lib/WorldsContentServer.d.ts +27 -0
- package/dist/lib/WorldsContentServer.d.ts.map +1 -0
- package/dist/lib/WorldsContentServer.js +79 -0
- package/dist/lib/WorldsContentServer.js.map +1 -0
- package/dist/lib/WorldsContentServerLinkerAPI.d.ts +21 -0
- package/dist/lib/WorldsContentServerLinkerAPI.d.ts.map +1 -0
- package/dist/lib/WorldsContentServerLinkerAPI.js +105 -0
- package/dist/lib/WorldsContentServerLinkerAPI.js.map +1 -0
- package/dist/lib/adapters/proto/broker.d.ts +2 -0
- package/dist/lib/adapters/proto/broker.d.ts.map +1 -0
- package/dist/lib/adapters/proto/broker.js +2189 -0
- package/dist/lib/adapters/proto/broker.js.map +1 -0
- package/dist/lib/adapters/proto/comms.d.ts +2 -0
- package/dist/lib/adapters/proto/comms.d.ts.map +1 -0
- package/dist/lib/adapters/proto/comms.js +965 -0
- package/dist/lib/adapters/proto/comms.js.map +1 -0
- package/dist/lib/adapters/ws.d.ts +12 -0
- package/dist/lib/adapters/ws.d.ts.map +1 -0
- package/dist/lib/adapters/ws.js +20 -0
- package/dist/lib/adapters/ws.js.map +1 -0
- package/dist/lib/content/ContentService.d.ts +27 -0
- package/dist/lib/content/ContentService.d.ts.map +1 -0
- package/dist/lib/content/ContentService.js +60 -0
- package/dist/lib/content/ContentService.js.map +1 -0
- package/dist/lib/content/types.d.ts +12 -0
- package/dist/lib/content/types.d.ts.map +1 -0
- package/dist/lib/content/types.js +3 -0
- package/dist/lib/content/types.js.map +1 -0
- package/dist/lib/controllers/bff.d.ts +8 -0
- package/dist/lib/controllers/bff.d.ts.map +1 -0
- package/dist/lib/controllers/bff.js +58 -0
- package/dist/lib/controllers/bff.js.map +1 -0
- package/dist/lib/controllers/debugger.d.ts +4 -0
- package/dist/lib/controllers/debugger.d.ts.map +1 -0
- package/dist/lib/controllers/debugger.js +42 -0
- package/dist/lib/controllers/debugger.js.map +1 -0
- package/dist/lib/controllers/ecs6-endpoints.d.ts +11 -0
- package/dist/lib/controllers/ecs6-endpoints.d.ts.map +1 -0
- package/dist/lib/controllers/ecs6-endpoints.js +543 -0
- package/dist/lib/controllers/ecs6-endpoints.js.map +1 -0
- package/dist/lib/controllers/legacy-comms-v1.d.ts +7 -0
- package/dist/lib/controllers/legacy-comms-v1.d.ts.map +1 -0
- package/dist/lib/controllers/legacy-comms-v1.js +98 -0
- package/dist/lib/controllers/legacy-comms-v1.js.map +1 -0
- package/dist/lib/smartItems/buildSmartItem.d.ts +2 -0
- package/dist/lib/smartItems/buildSmartItem.d.ts.map +1 -0
- package/dist/lib/smartItems/buildSmartItem.js +18 -0
- package/dist/lib/smartItems/buildSmartItem.js.map +1 -0
- package/dist/lib/smartItems/packProject.d.ts +2 -0
- package/dist/lib/smartItems/packProject.d.ts.map +1 -0
- package/dist/lib/smartItems/packProject.js +31 -0
- package/dist/lib/smartItems/packProject.js.map +1 -0
- package/dist/main.d.ts +2 -0
- package/dist/main.d.ts.map +1 -0
- package/dist/main.js +151 -0
- package/dist/main.js.map +1 -0
- package/dist/project/installDependencies.d.ts +2 -0
- package/dist/project/installDependencies.d.ts.map +1 -0
- package/dist/project/installDependencies.js +57 -0
- package/dist/project/installDependencies.js.map +1 -0
- package/dist/project/isTypescriptProject.d.ts +2 -0
- package/dist/project/isTypescriptProject.d.ts.map +1 -0
- package/dist/project/isTypescriptProject.js +14 -0
- package/dist/project/isTypescriptProject.js.map +1 -0
- package/dist/project/projectInfo.d.ts +8 -0
- package/dist/project/projectInfo.d.ts.map +1 -0
- package/dist/project/projectInfo.js +89 -0
- package/dist/project/projectInfo.js.map +1 -0
- package/dist/project/updateBundleDependenciesField.d.ts +4 -0
- package/dist/project/updateBundleDependenciesField.d.ts.map +1 -0
- package/dist/project/updateBundleDependenciesField.js +67 -0
- package/dist/project/updateBundleDependenciesField.js.map +1 -0
- package/dist/sceneJson/index.d.ts +4 -0
- package/dist/sceneJson/index.d.ts.map +1 -0
- package/dist/sceneJson/index.js +24 -0
- package/dist/sceneJson/index.js.map +1 -0
- package/dist/sceneJson/lintSceneFile.d.ts +2 -0
- package/dist/sceneJson/lintSceneFile.d.ts.map +1 -0
- package/dist/sceneJson/lintSceneFile.js +13 -0
- package/dist/sceneJson/lintSceneFile.js.map +1 -0
- package/dist/sceneJson/utils.d.ts +3 -0
- package/dist/sceneJson/utils.d.ts.map +1 -0
- package/dist/sceneJson/utils.js +66 -0
- package/dist/sceneJson/utils.js.map +1 -0
- package/dist/utils/analytics.d.ts +42 -0
- package/dist/utils/analytics.d.ts.map +1 -0
- package/dist/utils/analytics.js +111 -0
- package/dist/utils/analytics.js.map +1 -0
- package/dist/utils/buildProject.d.ts +2 -0
- package/dist/utils/buildProject.d.ts.map +1 -0
- package/dist/utils/buildProject.js +26 -0
- package/dist/utils/buildProject.js.map +1 -0
- package/dist/utils/catalystPointers.d.ts +20 -0
- package/dist/utils/catalystPointers.d.ts.map +1 -0
- package/dist/utils/catalystPointers.js +51 -0
- package/dist/utils/catalystPointers.js.map +1 -0
- package/dist/utils/coordinateHelpers.d.ts +65 -0
- package/dist/utils/coordinateHelpers.d.ts.map +1 -0
- package/dist/utils/coordinateHelpers.js +126 -0
- package/dist/utils/coordinateHelpers.js.map +1 -0
- package/dist/utils/download.d.ts +3 -0
- package/dist/utils/download.d.ts.map +1 -0
- package/dist/utils/download.js +42 -0
- package/dist/utils/download.js.map +1 -0
- package/dist/utils/env.d.ts +6 -0
- package/dist/utils/env.d.ts.map +1 -0
- package/dist/utils/env.js +31 -0
- package/dist/utils/env.js.map +1 -0
- package/dist/utils/errors.d.ts +18 -0
- package/dist/utils/errors.d.ts.map +1 -0
- package/dist/utils/errors.js +27 -0
- package/dist/utils/errors.js.map +1 -0
- package/dist/utils/filesystem.d.ts +41 -0
- package/dist/utils/filesystem.d.ts.map +1 -0
- package/dist/utils/filesystem.js +84 -0
- package/dist/utils/filesystem.js.map +1 -0
- package/dist/utils/getDummyMappings.d.ts +3 -0
- package/dist/utils/getDummyMappings.d.ts.map +1 -0
- package/dist/utils/getDummyMappings.js +19 -0
- package/dist/utils/getDummyMappings.js.map +1 -0
- package/dist/utils/getProjectFilePaths.d.ts +2 -0
- package/dist/utils/getProjectFilePaths.d.ts.map +1 -0
- package/dist/utils/getProjectFilePaths.js +40 -0
- package/dist/utils/getProjectFilePaths.js.map +1 -0
- package/dist/utils/index.d.ts +11 -0
- package/dist/utils/index.d.ts.map +1 -0
- package/dist/utils/index.js +33 -0
- package/dist/utils/index.js.map +1 -0
- package/dist/utils/installedDependencies.d.ts +6 -0
- package/dist/utils/installedDependencies.d.ts.map +1 -0
- package/dist/utils/installedDependencies.js +44 -0
- package/dist/utils/installedDependencies.js.map +1 -0
- package/dist/utils/land.d.ts +4 -0
- package/dist/utils/land.d.ts.map +1 -0
- package/dist/utils/land.js +35 -0
- package/dist/utils/land.js.map +1 -0
- package/dist/utils/logging.d.ts +19 -0
- package/dist/utils/logging.d.ts.map +1 -0
- package/dist/utils/logging.js +97 -0
- package/dist/utils/logging.js.map +1 -0
- package/dist/utils/moduleHelpers.d.ts +22 -0
- package/dist/utils/moduleHelpers.d.ts.map +1 -0
- package/dist/utils/moduleHelpers.js +163 -0
- package/dist/utils/moduleHelpers.js.map +1 -0
- package/dist/utils/nodeAndNpmVersion.d.ts +5 -0
- package/dist/utils/nodeAndNpmVersion.d.ts.map +1 -0
- package/dist/utils/nodeAndNpmVersion.js +64 -0
- package/dist/utils/nodeAndNpmVersion.js.map +1 -0
- package/dist/utils/pathsExistOnDir.d.ts +2 -0
- package/dist/utils/pathsExistOnDir.d.ts.map +1 -0
- package/dist/utils/pathsExistOnDir.js +12 -0
- package/dist/utils/pathsExistOnDir.js.map +1 -0
- package/dist/utils/project.d.ts +29 -0
- package/dist/utils/project.d.ts.map +1 -0
- package/dist/utils/project.js +48 -0
- package/dist/utils/project.js.map +1 -0
- package/dist/utils/shellCommands.d.ts +19 -0
- package/dist/utils/shellCommands.d.ts.map +1 -0
- package/dist/utils/shellCommands.js +73 -0
- package/dist/utils/shellCommands.js.map +1 -0
- package/dist/utils/spinner.d.ts +6 -0
- package/dist/utils/spinner.d.ts.map +1 -0
- package/dist/utils/spinner.js +58 -0
- package/dist/utils/spinner.js.map +1 -0
- package/package.json +115 -0
- package/raim7jnk.cjs +1 -0
- package/samples/workspace/Dockerfile +21 -0
- package/samples/workspace/package.json +16 -0
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"comms.js","sourceRoot":"","sources":["../../../../src/lib/adapters/proto/comms.js"],"names":[],"mappings":";AAAA;;;;;;GAMG;AACH,iCAAiC;AAEjC,IAAI,IAAI,GAAG,OAAO,CAAC,iBAAiB,CAAC,CAAA;AACrC,IAAI,IAAI,GAAG,IAAI,CAAA;AACf,IAAI,MAAM,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EAAE,CAAC,EAAE,KAAK,CAAC,CAAA;AACnD,CAAC,CAAA;AAED;;;GAGG;AACH,KAAK,CAAC,QAAQ,CAAC,QAAQ,CAAC,SAAS,CAAC,OAAO,GAAG;IAC1C,OAAO,qBAAqB,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,mBAAmB,CAAC,IAAI,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,CAAA;AAC9E,CAAC,CAAA;AAED,4BAA4B;AAC5B,KAAK,CAAC,QAAQ,CAAC,QAAQ,CAAC,SAAS,CAAC,OAAO,GAAG,UAAS,KAAK;IACxD,IAAI,CAAC,OAAO,CAAC,oBAAoB,CAAC,IAAI,EAAE,CAAC,EAAE,KAAK,CAAC,CAAA;AACnD,CAAC,CAAA;AAED;;GAEG;AACH,KAAK,CAAC,QAAQ,CAAC,QAAQ,GAAG;IACxB,OAAO,EAAE,CAAC;IACV,QAAQ,EAAE,CAAC;IACX,OAAO,EAAE,CAAC;IACV,IAAI,EAAE,CAAC;IACP,aAAa,EAAE,CAAC;CACjB,CAAA;AAED,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,OAAO,EAAE,KAAK,CAAC,QAAQ,CAAC,CAAA"}
|
@@ -0,0 +1,12 @@
|
|
1
|
+
import { WebSocketServer } from 'ws';
|
2
|
+
import { PreviewComponents } from '../Preview';
|
3
|
+
import { IBaseComponent } from '@well-known-components/interfaces';
|
4
|
+
export declare type WebSocketComponent = IBaseComponent & {
|
5
|
+
ws: WebSocketServer;
|
6
|
+
};
|
7
|
+
/**
|
8
|
+
* Creates a http-server component
|
9
|
+
* @public
|
10
|
+
*/
|
11
|
+
export declare function createWsComponent(_: Pick<PreviewComponents, 'logs'>): Promise<WebSocketComponent>;
|
12
|
+
//# sourceMappingURL=ws.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"ws.d.ts","sourceRoot":"","sources":["../../../src/lib/adapters/ws.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,IAAI,CAAA;AACpC,OAAO,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAA;AAC9C,OAAO,EAAE,cAAc,EAAE,MAAM,mCAAmC,CAAA;AAElE,oBAAY,kBAAkB,GAAG,cAAc,GAAG;IAChD,EAAE,EAAE,eAAe,CAAA;CACpB,CAAA;AAED;;;GAGG;AACH,wBAAsB,iBAAiB,CAAC,CAAC,EAAE,IAAI,CAAC,iBAAiB,EAAE,MAAM,CAAC,GAAG,OAAO,CAAC,kBAAkB,CAAC,CAWvG"}
|
@@ -0,0 +1,20 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.createWsComponent = void 0;
|
4
|
+
const ws_1 = require("ws");
|
5
|
+
/**
|
6
|
+
* Creates a http-server component
|
7
|
+
* @public
|
8
|
+
*/
|
9
|
+
async function createWsComponent(_) {
|
10
|
+
const ws = new ws_1.WebSocketServer({ noServer: true });
|
11
|
+
async function stop() {
|
12
|
+
ws.close();
|
13
|
+
}
|
14
|
+
return {
|
15
|
+
stop,
|
16
|
+
ws
|
17
|
+
};
|
18
|
+
}
|
19
|
+
exports.createWsComponent = createWsComponent;
|
20
|
+
//# sourceMappingURL=ws.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"ws.js","sourceRoot":"","sources":["../../../src/lib/adapters/ws.ts"],"names":[],"mappings":";;;AAAA,2BAAoC;AAQpC;;;GAGG;AACI,KAAK,UAAU,iBAAiB,CAAC,CAAkC;IACxE,MAAM,EAAE,GAAG,IAAI,oBAAe,CAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,CAAA;IAElD,KAAK,UAAU,IAAI;QACjB,EAAE,CAAC,KAAK,EAAE,CAAA;IACZ,CAAC;IAED,OAAO;QACL,IAAI;QACJ,EAAE;KACH,CAAA;AACH,CAAC;AAXD,8CAWC"}
|
@@ -0,0 +1,27 @@
|
|
1
|
+
/// <reference types="node" />
|
2
|
+
import { EventEmitter } from 'events';
|
3
|
+
import { Scene } from '@dcl/schemas';
|
4
|
+
import { Coords } from '../../utils/coordinateHelpers';
|
5
|
+
import { FileInfo } from '../Decentraland';
|
6
|
+
export declare class ContentService extends EventEmitter {
|
7
|
+
private readonly client;
|
8
|
+
private contentClient?;
|
9
|
+
constructor(catalystServerUrl: string);
|
10
|
+
/**
|
11
|
+
* Retrives the uploaded content information by a given Parcel (x y coordinates)
|
12
|
+
* @param x
|
13
|
+
* @param y
|
14
|
+
*/
|
15
|
+
getParcelStatus(coordinates: Coords): Promise<{
|
16
|
+
cid: string;
|
17
|
+
files: FileInfo[];
|
18
|
+
}>;
|
19
|
+
/**
|
20
|
+
* Retrives the content of the scene.json file from the content-server
|
21
|
+
* @param x
|
22
|
+
* @param y
|
23
|
+
*/
|
24
|
+
getSceneData(coordinates: Coords): Promise<Scene>;
|
25
|
+
private fetchEntity;
|
26
|
+
}
|
27
|
+
//# sourceMappingURL=ContentService.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"ContentService.d.ts","sourceRoot":"","sources":["../../../src/lib/content/ContentService.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAA;AACrC,OAAO,EAAU,KAAK,EAAE,MAAM,cAAc,CAAA;AAI5C,OAAO,EAAE,MAAM,EAAE,MAAM,+BAA+B,CAAA;AAEtD,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAA;AAE1C,qBAAa,cAAe,SAAQ,YAAY;IAC9C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAgB;IACvC,OAAO,CAAC,aAAa,CAAC,CAAe;gBAEzB,iBAAiB,EAAE,MAAM;IAQrC;;;;OAIG;IACG,eAAe,CAAC,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,QAAQ,EAAE,CAAA;KAAE,CAAC;IAMvF;;;;OAIG;IACG,YAAY,CAAC,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,KAAK,CAAC;YASzC,WAAW;CAiB1B"}
|
@@ -0,0 +1,60 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.ContentService = void 0;
|
4
|
+
const events_1 = require("events");
|
5
|
+
const dcl_catalyst_client_1 = require("dcl-catalyst-client");
|
6
|
+
const fetch_component_1 = require("@well-known-components/fetch-component");
|
7
|
+
const errors_1 = require("../../utils/errors");
|
8
|
+
class ContentService extends events_1.EventEmitter {
|
9
|
+
constructor(catalystServerUrl) {
|
10
|
+
super();
|
11
|
+
this.client = (0, dcl_catalyst_client_1.createCatalystClient)({
|
12
|
+
url: catalystServerUrl,
|
13
|
+
fetcher: (0, fetch_component_1.createFetchComponent)()
|
14
|
+
});
|
15
|
+
}
|
16
|
+
/**
|
17
|
+
* Retrives the uploaded content information by a given Parcel (x y coordinates)
|
18
|
+
* @param x
|
19
|
+
* @param y
|
20
|
+
*/
|
21
|
+
async getParcelStatus(coordinates) {
|
22
|
+
const entity = await this.fetchEntity(coordinates);
|
23
|
+
const content = entity.content ? entity.content.map((entry) => ({ name: entry.file, cid: entry.hash })) : [];
|
24
|
+
return { cid: entity.id, files: content };
|
25
|
+
}
|
26
|
+
/**
|
27
|
+
* Retrives the content of the scene.json file from the content-server
|
28
|
+
* @param x
|
29
|
+
* @param y
|
30
|
+
*/
|
31
|
+
async getSceneData(coordinates) {
|
32
|
+
try {
|
33
|
+
const entity = await this.fetchEntity(coordinates);
|
34
|
+
return entity.metadata;
|
35
|
+
}
|
36
|
+
catch (e) {
|
37
|
+
throw e;
|
38
|
+
}
|
39
|
+
}
|
40
|
+
async fetchEntity(coordinates) {
|
41
|
+
const pointer = `${coordinates.x},${coordinates.y}`;
|
42
|
+
try {
|
43
|
+
if (!this.contentClient) {
|
44
|
+
this.contentClient = await this.client.getContentClient();
|
45
|
+
}
|
46
|
+
const entities = await this.contentClient.fetchEntitiesByPointers([pointer]);
|
47
|
+
const entity = entities[0];
|
48
|
+
if (!entity) {
|
49
|
+
(0, errors_1.fail)(errors_1.ErrorType.CONTENT_SERVER_ERROR, `Error retrieving parcel ${coordinates.x},${coordinates.y} information`);
|
50
|
+
}
|
51
|
+
return entity;
|
52
|
+
}
|
53
|
+
catch (error) {
|
54
|
+
(0, errors_1.fail)(errors_1.ErrorType.CONTENT_SERVER_ERROR, error.message);
|
55
|
+
throw error;
|
56
|
+
}
|
57
|
+
}
|
58
|
+
}
|
59
|
+
exports.ContentService = ContentService;
|
60
|
+
//# sourceMappingURL=ContentService.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"ContentService.js","sourceRoot":"","sources":["../../../src/lib/content/ContentService.ts"],"names":[],"mappings":";;;AAAA,mCAAqC;AAErC,6DAAyF;AACzF,4EAA6E;AAG7E,+CAAoD;AAGpD,MAAa,cAAe,SAAQ,qBAAY;IAI9C,YAAY,iBAAyB;QACnC,KAAK,EAAE,CAAA;QACP,IAAI,CAAC,MAAM,GAAG,IAAA,0CAAoB,EAAC;YACjC,GAAG,EAAE,iBAAiB;YACtB,OAAO,EAAE,IAAA,sCAAoB,GAAE;SAChC,CAAC,CAAA;IACJ,CAAC;IAED;;;;OAIG;IACH,KAAK,CAAC,eAAe,CAAC,WAAmB;QACvC,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,WAAW,CAAC,WAAW,CAAC,CAAA;QAClD,MAAM,OAAO,GAAG,MAAM,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC,EAAE,IAAI,EAAE,KAAK,CAAC,IAAI,EAAE,GAAG,EAAE,KAAK,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAA;QAC5G,OAAO,EAAE,GAAG,EAAE,MAAM,CAAC,EAAE,EAAE,KAAK,EAAE,OAAO,EAAE,CAAA;IAC3C,CAAC;IAED;;;;OAIG;IACH,KAAK,CAAC,YAAY,CAAC,WAAmB;QACpC,IAAI;YACF,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,WAAW,CAAC,WAAW,CAAC,CAAA;YAClD,OAAO,MAAM,CAAC,QAAQ,CAAA;SACvB;QAAC,OAAO,CAAC,EAAE;YACV,MAAM,CAAC,CAAA;SACR;IACH,CAAC;IAEO,KAAK,CAAC,WAAW,CAAC,WAAmB;QAC3C,MAAM,OAAO,GAAG,GAAG,WAAW,CAAC,CAAC,IAAI,WAAW,CAAC,CAAC,EAAE,CAAA;QACnD,IAAI;YACF,IAAI,CAAC,IAAI,CAAC,aAAa,EAAE;gBACvB,IAAI,CAAC,aAAa,GAAG,MAAM,IAAI,CAAC,MAAM,CAAC,gBAAgB,EAAE,CAAA;aAC1D;YACD,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,aAAa,CAAC,uBAAuB,CAAC,CAAC,OAAO,CAAC,CAAC,CAAA;YAC5E,MAAM,MAAM,GAAuB,QAAQ,CAAC,CAAC,CAAC,CAAA;YAC9C,IAAI,CAAC,MAAM,EAAE;gBACX,IAAA,aAAI,EAAC,kBAAS,CAAC,oBAAoB,EAAE,2BAA2B,WAAW,CAAC,CAAC,IAAI,WAAW,CAAC,CAAC,cAAc,CAAC,CAAA;aAC9G;YACD,OAAO,MAAM,CAAA;SACd;QAAC,OAAO,KAAU,EAAE;YACnB,IAAA,aAAI,EAAC,kBAAS,CAAC,oBAAoB,EAAE,KAAK,CAAC,OAAO,CAAC,CAAA;YACnD,MAAM,KAAK,CAAA;SACZ;IACH,CAAC;CACF;AAtDD,wCAsDC"}
|
@@ -0,0 +1,12 @@
|
|
1
|
+
export declare type ContentPair = {
|
2
|
+
file: string;
|
3
|
+
hash: string;
|
4
|
+
};
|
5
|
+
export declare type MappingsFile = {
|
6
|
+
parcel_id: string;
|
7
|
+
publisher: string;
|
8
|
+
root_cid: string;
|
9
|
+
contents: ContentPair[];
|
10
|
+
mappings: Record<string, string>;
|
11
|
+
};
|
12
|
+
//# sourceMappingURL=types.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/lib/content/types.ts"],"names":[],"mappings":"AAAA,oBAAY,WAAW,GAAG;IACxB,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,MAAM,CAAA;CACb,CAAA;AAED,oBAAY,YAAY,GAAG;IACzB,SAAS,EAAE,MAAM,CAAA;IACjB,SAAS,EAAE,MAAM,CAAA;IACjB,QAAQ,EAAE,MAAM,CAAA;IAChB,QAAQ,EAAE,WAAW,EAAE,CAAA;IAEvB,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;CACjC,CAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/lib/content/types.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1,8 @@
|
|
1
|
+
import { PreviewComponents } from '../Preview';
|
2
|
+
import { Router } from '@well-known-components/http-server';
|
3
|
+
/**
|
4
|
+
* This module handles the BFF mock and communications server for the preview mode.
|
5
|
+
* It runs using @dcl/mini-comms implementing RFC-5
|
6
|
+
*/
|
7
|
+
export declare function setupBffAndComms(components: PreviewComponents, router: Router<PreviewComponents>): Promise<void>;
|
8
|
+
//# sourceMappingURL=bff.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"bff.d.ts","sourceRoot":"","sources":["../../../src/lib/controllers/bff.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAA;AAG9C,OAAO,EAAE,MAAM,EAAE,MAAM,oCAAoC,CAAA;AAG3D;;;GAGG;AAEH,wBAAsB,gBAAgB,CAAC,UAAU,EAAE,iBAAiB,EAAE,MAAM,EAAE,MAAM,CAAC,iBAAiB,CAAC,iBAmDtG"}
|
@@ -0,0 +1,58 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.setupBffAndComms = void 0;
|
4
|
+
const handle_linear_protocol_1 = require("@dcl/mini-comms/dist/logic/handle-linear-protocol");
|
5
|
+
const ws_1 = require("@well-known-components/http-server/dist/ws");
|
6
|
+
/**
|
7
|
+
* This module handles the BFF mock and communications server for the preview mode.
|
8
|
+
* It runs using @dcl/mini-comms implementing RFC-5
|
9
|
+
*/
|
10
|
+
async function setupBffAndComms(components, router) {
|
11
|
+
router.get('/about', async (ctx) => {
|
12
|
+
const host = ctx.url.host;
|
13
|
+
const body = {
|
14
|
+
acceptingUsers: true,
|
15
|
+
bff: { healthy: false, publicUrl: '' },
|
16
|
+
comms: {
|
17
|
+
healthy: true,
|
18
|
+
protocol: 'v3',
|
19
|
+
fixedAdapter: `ws-room:${ctx.url.protocol.replace(/^http/, 'ws')}//${host}/mini-comms/room-1`
|
20
|
+
},
|
21
|
+
configurations: {
|
22
|
+
realmName: 'LocalPreview',
|
23
|
+
networkId: 1,
|
24
|
+
globalScenesUrn: [],
|
25
|
+
scenesUrn: []
|
26
|
+
},
|
27
|
+
content: {
|
28
|
+
healthy: true,
|
29
|
+
publicUrl: `${ctx.url.protocol}//${ctx.url.host}/content`
|
30
|
+
},
|
31
|
+
lambdas: {
|
32
|
+
healthy: true,
|
33
|
+
publicUrl: `${ctx.url.protocol}//${ctx.url.host}/lambdas`
|
34
|
+
},
|
35
|
+
healthy: true
|
36
|
+
};
|
37
|
+
return { body };
|
38
|
+
});
|
39
|
+
router.get('/mini-comms/:roomId', async (ctx) => {
|
40
|
+
return (0, ws_1.upgradeWebSocketResponse)((ws) => {
|
41
|
+
if (ws.protocol === 'rfc5' || ws.protocol === 'rfc4') {
|
42
|
+
ws.on('error', (error) => {
|
43
|
+
console.error(error);
|
44
|
+
ws.close();
|
45
|
+
});
|
46
|
+
ws.on('close', () => {
|
47
|
+
console.debug('Websocket closed');
|
48
|
+
});
|
49
|
+
(0, handle_linear_protocol_1.handleSocketLinearProtocol)(components, ws, ctx.params.roomId).catch((err) => {
|
50
|
+
console.info(err);
|
51
|
+
ws.close();
|
52
|
+
});
|
53
|
+
}
|
54
|
+
});
|
55
|
+
});
|
56
|
+
}
|
57
|
+
exports.setupBffAndComms = setupBffAndComms;
|
58
|
+
//# sourceMappingURL=bff.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"bff.js","sourceRoot":"","sources":["../../../src/lib/controllers/bff.ts"],"names":[],"mappings":";;;AAAA,8FAA8F;AAK9F,mEAAqF;AAErF;;;GAGG;AAEI,KAAK,UAAU,gBAAgB,CAAC,UAA6B,EAAE,MAAiC;IACrG,MAAM,CAAC,GAAG,CAAC,QAAQ,EAAE,KAAK,EAAE,GAAG,EAAE,EAAE;QACjC,MAAM,IAAI,GAAG,GAAG,CAAC,GAAG,CAAC,IAAI,CAAA;QAEzB,MAAM,IAAI,GAAkB;YAC1B,cAAc,EAAE,IAAI;YACpB,GAAG,EAAE,EAAE,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,EAAE,EAAE;YACtC,KAAK,EAAE;gBACL,OAAO,EAAE,IAAI;gBACb,QAAQ,EAAE,IAAI;gBACd,YAAY,EAAE,WAAW,GAAG,CAAC,GAAG,CAAC,QAAQ,CAAC,OAAO,CAAC,OAAO,EAAE,IAAI,CAAC,KAAK,IAAI,oBAAoB;aAC9F;YACD,cAAc,EAAE;gBACd,SAAS,EAAE,cAAc;gBACzB,SAAS,EAAE,CAAC;gBACZ,eAAe,EAAE,EAAE;gBACnB,SAAS,EAAE,EAAE;aACd;YACD,OAAO,EAAE;gBACP,OAAO,EAAE,IAAI;gBACb,SAAS,EAAE,GAAG,GAAG,CAAC,GAAG,CAAC,QAAQ,KAAK,GAAG,CAAC,GAAG,CAAC,IAAI,UAAU;aAC1D;YACD,OAAO,EAAE;gBACP,OAAO,EAAE,IAAI;gBACb,SAAS,EAAE,GAAG,GAAG,CAA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9C,wBAAgB,qBAAqB,CAAC,UAAU,EAAE,iBAAiB,EAAE,MAAM,EAAE,MAAM,CAAC,GAAG,CAAC,QAmCvF"}
|
@@ -0,0 +1,42 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.setupDebuggingAdapter = void 0;
|
4
|
+
const ws_1 = require("@well-known-components/http-server/dist/ws");
|
5
|
+
const child_process_1 = require("child_process");
|
6
|
+
function setupDebuggingAdapter(components, router) {
|
7
|
+
router.get('/_scene/debug-adapter', async (ctx) => {
|
8
|
+
if (ctx.request.headers.get('upgrade') === 'websocket') {
|
9
|
+
return (0, ws_1.upgradeWebSocketResponse)((ws) => {
|
10
|
+
if (ws.protocol === 'dcl-scene') {
|
11
|
+
const file = require.resolve('dcl-node-runtime');
|
12
|
+
const theFork = (0, child_process_1.fork)(file, [], {
|
13
|
+
// enable two way IPC
|
14
|
+
stdio: [0, 1, 2, 'ipc'],
|
15
|
+
cwd: process.cwd()
|
16
|
+
});
|
17
|
+
console.log(`> Creating scene fork #` + theFork.pid);
|
18
|
+
theFork.on('close', () => {
|
19
|
+
if (ws.readyState === ws.OPEN) {
|
20
|
+
ws.close();
|
21
|
+
}
|
22
|
+
});
|
23
|
+
theFork.on('message', (message) => {
|
24
|
+
if (ws.readyState === ws.OPEN) {
|
25
|
+
ws.send(message);
|
26
|
+
}
|
27
|
+
});
|
28
|
+
ws.on('message', (data) => theFork.send(data.toString()));
|
29
|
+
ws.on('close', () => {
|
30
|
+
console.log('> Killing fork #' + theFork.pid);
|
31
|
+
theFork.kill();
|
32
|
+
});
|
33
|
+
}
|
34
|
+
else
|
35
|
+
ws.close();
|
36
|
+
});
|
37
|
+
}
|
38
|
+
return { status: 201 };
|
39
|
+
});
|
40
|
+
}
|
41
|
+
exports.setupDebuggingAdapter = setupDebuggingAdapter;
|
42
|
+
//# sourceMappingURL=debugger.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"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AAE,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAA;oBACzD,EAAE,CAAC,EAAE,CAAC,OAAO,EAAE,GAAG,EAAE;wBAClB,OAAO,CAAC,GAAG,CAAC,kBAAkB,GAAG,OAAO,CAAC,GAAG,CAAC,CAAA;wBAC7C,OAAO,CAAC,IAAI,EAAE,CAAA;oBAChB,CAAC,CAAC,CAAA;iBACH;;oBAAM,EAAE,CAAC,KAAK,EAAE,CAAA;YACnB,CAAC,CAAC,CAAA;SACH;QACD,OAAO,EAAE,MAAM,EAAE,GAAG,EAAE,CAAA;IACxB,CAAC,CAAC,CAAA;AACJ,CAAC;AAnCD,sDAmCC"}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
import { Router } from '@well-known-components/http-server';
|
2
|
+
import { PreviewComponents } from '../Preview';
|
3
|
+
import { ContentMapping } from '@dcl/schemas';
|
4
|
+
export declare function setupEcs6Endpoints(components: PreviewComponents, router: Router<PreviewComponents>): void;
|
5
|
+
export declare function getFilesFromFolder({ folder, addOriginalPath, ignorePattern, customHashMaker }: {
|
6
|
+
folder: string;
|
7
|
+
addOriginalPath?: boolean;
|
8
|
+
ignorePattern?: string;
|
9
|
+
customHashMaker?: (str: string) => string;
|
10
|
+
}): ContentMapping[];
|
11
|
+
//# sourceMappingURL=ecs6-endpoints.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"ecs6-endpoints.d.ts","sourceRoot":"","sources":["../../../src/lib/controllers/ecs6-endpoints.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,oCAAoC,CAAA;AAC3D,OAAO,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAA;AAK9C,OAAO,EAAE,cAAc,EAA2B,MAAM,cAAc,CAAA;AAWtE,wBAAgB,kBAAkB,CAAC,UAAU,EAAE,iBAAiB,EAAE,MAAM,EAAE,MAAM,CAAC,iBAAiB,CAAC,QA8IlG;AAmaD,wBAAgB,kBAAkB,CAAC,EACjC,MAAM,EACN,eAAe,EACf,aAAa,EACb,eAAe,EAChB,EAAE;IACD,MAAM,EAAE,MAAM,CAAA;IACd,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,eAAe,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,MAAM,CAAA;CAC1C,GAAG,cAAc,EAAE,CA+CnB"}
|