@dcl/opscli 1.0.0-5519864237.commit-75a7b44 → 1.0.0-5547815194.commit-4c68caf
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/README.md
CHANGED
|
@@ -24,6 +24,15 @@ npx @dcl/opscli queue-ab-conversion \
|
|
|
24
24
|
[--content-server https://peer.decentraland.org/content]
|
|
25
25
|
```
|
|
26
26
|
|
|
27
|
+
### Schedule asset bundle conversion from custom about
|
|
28
|
+
|
|
29
|
+
```
|
|
30
|
+
npx @dcl/opscli queue-ab-conversion-about \
|
|
31
|
+
--token <ACCESS_TOKEN> \
|
|
32
|
+
--about-url https://sdk-team-cdn.decentraland.org/ipfs/goerli-plaza-main/about \
|
|
33
|
+
[--ab-server https://asset-bundle-converter.decentraland.org]
|
|
34
|
+
```
|
|
35
|
+
|
|
27
36
|
### Check status of conversion
|
|
28
37
|
|
|
29
38
|
```
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"queue-ab-conversion-about.d.ts","sourceRoot":"","sources":["../../src/commands/queue-ab-conversion-about.ts"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"queue-ab-conversion-about.d.ts","sourceRoot":"","sources":["../../src/commands/queue-ab-conversion-about.ts"],"names":[],"mappings":";AAQA,wBA2CC"}
|
|
@@ -14,14 +14,17 @@ exports.default = async () => {
|
|
|
14
14
|
const args = (0, arg_1.default)({
|
|
15
15
|
"--about-url": String,
|
|
16
16
|
"--ab-server": String,
|
|
17
|
-
"--token": String
|
|
17
|
+
"--token": String,
|
|
18
|
+
"--force": Boolean,
|
|
18
19
|
});
|
|
19
20
|
const aboutUrl = args["--about-url"];
|
|
20
21
|
const token = args["--token"];
|
|
21
22
|
const abServer = args["--ab-server"] || "https://asset-bundle-converter.decentraland.org";
|
|
23
|
+
const force = args["--force"] || false;
|
|
22
24
|
(0, assert_1.assert)(!!token, "--token is missing");
|
|
23
25
|
console.log(`> Parameters:`);
|
|
24
26
|
console.log(` Asset bundle server: ${abServer}`);
|
|
27
|
+
console.log(` Force rebuild: ${force}`);
|
|
25
28
|
const aboutReq = await (0, undici_1.fetch)(aboutUrl);
|
|
26
29
|
if (!aboutReq.ok)
|
|
27
30
|
throw new bin_1.CliError(`Invalid response from ${aboutUrl}`);
|
|
@@ -40,7 +43,8 @@ exports.default = async () => {
|
|
|
40
43
|
signature: ''
|
|
41
44
|
}
|
|
42
45
|
]
|
|
43
|
-
}, contentServerUrls: [parsed.baseUrl || "https://peer.decentraland.org/content"]
|
|
46
|
+
}, contentServerUrls: [parsed.baseUrl || "https://peer.decentraland.org/content"],
|
|
47
|
+
force
|
|
44
48
|
}, token);
|
|
45
49
|
console.log(` Result: ${JSON.stringify(result)}`);
|
|
46
50
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"queue-ab-conversion-about.js","sourceRoot":"","sources":["../../src/commands/queue-ab-conversion-about.ts"],"names":[],"mappings":";;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"queue-ab-conversion-about.js","sourceRoot":"","sources":["../../src/commands/queue-ab-conversion-about.ts"],"names":[],"mappings":";;;;;AAAA,0CAA2C;AAC3C,8CAAqB;AACrB,8CAA0C;AAC1C,4DAA0D;AAC1D,mCAA8B;AAC9B,gCAAiC;AACjC,8DAA0D;AAE1D,kBAAe,KAAK,IAAI,EAAE;IACxB,MAAM,IAAI,GAAG,IAAA,aAAG,EAAC;QACf,aAAa,EAAE,MAAM;QACrB,aAAa,EAAE,MAAM;QACrB,SAAS,EAAE,MAAM;QACjB,SAAS,EAAE,OAAO;KACnB,CAAC,CAAA;IAEF,MAAM,QAAQ,GAAG,IAAI,CAAC,aAAa,CAAE,CAAA;IACrC,MAAM,KAAK,GAAG,IAAI,CAAC,SAAS,CAAE,CAAA;IAC9B,MAAM,QAAQ,GAAG,IAAI,CAAC,aAAa,CAAC,IAAI,iDAAiD,CAAA;IACzF,MAAM,KAAK,GAAG,IAAI,CAAC,SAAS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M,CAAC,EAAE,CAAC,CAAA;KACnD;IAED,OAAO,CAAC,GAAG,CAAC,WAAW,CAAC,CAAA;AAC1B,CAAC,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dcl/opscli",
|
|
3
|
-
"version": "1.0.0-
|
|
3
|
+
"version": "1.0.0-5547815194.commit-4c68caf",
|
|
4
4
|
"description": "base component",
|
|
5
5
|
"bin": "dist/bin.js",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"@dcl/crypto": "^3.2.4",
|
|
37
|
-
"@dcl/schemas": "^
|
|
37
|
+
"@dcl/schemas": "^8.2.1-20230713143922.commit-b923191",
|
|
38
38
|
"arg": "^5.0.2",
|
|
39
39
|
"dcl-catalyst-client": "^14.0.6",
|
|
40
40
|
"eth-crypto": "^2.5.0",
|
|
@@ -44,5 +44,5 @@
|
|
|
44
44
|
"files": [
|
|
45
45
|
"dist"
|
|
46
46
|
],
|
|
47
|
-
"commit": "
|
|
47
|
+
"commit": "4c68cafd33a357dec2443ae602f7f15f4b4512ef"
|
|
48
48
|
}
|