@latticexyz/cli 1.4.1 → 1.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/commands/deploy.js
CHANGED
|
@@ -411,7 +411,7 @@ const deploy = (options) => __awaiter(void 0, void 0, void 0, function* () {
|
|
|
411
411
|
clientUrl = getCodespaceUrl(3000);
|
|
412
412
|
options.rpc = getCodespaceUrl(8545);
|
|
413
413
|
}
|
|
414
|
-
launcherUrl = `${clientUrl}?chainId=${options.chainId}&worldAddress=${ctx.worldAddress}&rpc=${options.rpc}&wsRpc=${options.wsRpc}&
|
|
414
|
+
launcherUrl = `${clientUrl}?chainId=${options.chainId}&worldAddress=${ctx.worldAddress}&rpc=${options.rpc}&wsRpc=${options.wsRpc}&initialBlockNumber=${ctx.initialBlockNumber}&dev=true&snapshot=&stream=&relay=&faucet=`;
|
|
415
415
|
// Launcher version:
|
|
416
416
|
// `https://play.lattice.xyz?worldAddress=${ctx.worldAddress || ""}&client=${
|
|
417
417
|
// clientUrl || ""
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@latticexyz/cli",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.5.0",
|
|
4
4
|
"description": "Command line interface for mud",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"license": "MIT",
|
|
@@ -36,9 +36,9 @@
|
|
|
36
36
|
"typescript": "^4.6.4"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@latticexyz/solecs": "^1.
|
|
40
|
-
"@latticexyz/std-contracts": "^1.
|
|
41
|
-
"@latticexyz/utils": "^1.
|
|
39
|
+
"@latticexyz/solecs": "^1.5.0",
|
|
40
|
+
"@latticexyz/std-contracts": "^1.5.0",
|
|
41
|
+
"@latticexyz/utils": "^1.5.0",
|
|
42
42
|
"chalk": "^5.0.1",
|
|
43
43
|
"clear": "^0.1.0",
|
|
44
44
|
"commander": "^9.2.0",
|
|
@@ -64,5 +64,5 @@
|
|
|
64
64
|
"pkg": {
|
|
65
65
|
"scripts": "build/**/*.js"
|
|
66
66
|
},
|
|
67
|
-
"gitHead": "
|
|
67
|
+
"gitHead": "b965b7c715cf28923d694d17dcffffa6e4bf615c"
|
|
68
68
|
}
|
package/src/commands/deploy.ts
CHANGED
|
@@ -451,7 +451,7 @@ export const deploy = async (options: Options) => {
|
|
|
451
451
|
options.rpc = getCodespaceUrl(8545);
|
|
452
452
|
}
|
|
453
453
|
|
|
454
|
-
launcherUrl = `${clientUrl}?chainId=${options.chainId}&worldAddress=${ctx.worldAddress}&rpc=${options.rpc}&wsRpc=${options.wsRpc}&
|
|
454
|
+
launcherUrl = `${clientUrl}?chainId=${options.chainId}&worldAddress=${ctx.worldAddress}&rpc=${options.rpc}&wsRpc=${options.wsRpc}&initialBlockNumber=${ctx.initialBlockNumber}&dev=true&snapshot=&stream=&relay=&faucet=`;
|
|
455
455
|
|
|
456
456
|
// Launcher version:
|
|
457
457
|
// `https://play.lattice.xyz?worldAddress=${ctx.worldAddress || ""}&client=${
|