@truebit/cli 1.149.1-rc.1.sha-e266f9da0 → 1.149.1-rc.3.sha-5d3e671f7

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.
Files changed (2) hide show
  1. package/build/index.mjs +1 -1
  2. package/package.json +2 -2
package/build/index.mjs CHANGED
@@ -524,7 +524,7 @@ ${n.data.payload.instrumentedTaskId}`);else throw"Malformed instrumentation serv
524
524
  Opening Truebit Web UI...`)),console.log(Yh.white("URL: ")+Yh.yellow(d)),await Sha(d)?console.log(Yh.green(`
525
525
  Browser opened successfully.`)):(console.log(Yh.yellow(`
526
526
  Could not open browser automatically.`)),console.log(Yh.white("Copy and paste the URL above into your browser."))),console.log(Yh.gray(`
527
- This login expires in 30 days.
527
+ This login expires in 24 hours.
528
528
  `))}function wha(e){switch(e){case"local":case"testnet":return"http://localhost:5173";case"staging":return"https://dashboard-staging.truebit.network";case"pre-release":return"https://dashboard-pre-release.truebit.network";default:return"https://dashboard.truebit.network"}}function Sha(e){return new Promise(t=>{let n;switch(Eha()){case"darwin":n=`open "${e}"`;break;case"win32":n=`start "" "${e}"`;break;default:n=`xdg-open "${e}"`;break}xha(n,r=>{t(!r)})})}qs();async function NBt(e){try{console.log("Fetching execution status...");let n=await(await Cu()).get(`api/execution/${e}`).catch(b0);if(n.data.message)throw n.data.message;console.log("Task execution status: ",n.data.status),n.data.output&&console.log("Task execution output: ",n.data.output)}catch(t){throw`Couldn't fetch execution status for executionId ${e}: ${t}`}}import Bya from"axios";import fSe from"chalk";import{ethers as jya}from"ethers";qs();import*as au from"crypto";import Dya from"axios";import eT from"chalk";var D0=class extends Error{constructor(t){super(t),this.name=new.target.name}},Ga=class extends D0{},wd=class extends D0{},J8=class extends D0{},w6=class extends D0{},zS=class extends D0{};var DBt=`-----BEGIN CERTIFICATE-----
529
529
  MIICETCCAZagAwIBAgIRAPkxdWgbkK/hHUbMtOTn+FYwCgYIKoZIzj0EAwMwSTEL
530
530
  MAkGA1UEBhMCVVMxDzANBgNVBAoMBkFtYXpvbjEMMAoGA1UECwwDQVdTMRswGQYD
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@truebit/cli",
3
- "version": "1.149.1-rc.1.sha-e266f9da0",
3
+ "version": "1.149.1-rc.3.sha-5d3e671f7",
4
4
  "private": false,
5
5
  "description": "truebit-cli is a basic command line that allows interaction between users and truebit nextgen node.",
6
6
  "author": {
@@ -56,5 +56,5 @@
56
56
  "engines": {
57
57
  "node": ">=22.13.0"
58
58
  },
59
- "gitHead": "e266f9da033aa62f68004dc20018fcd8c1d8e934"
59
+ "gitHead": "5d3e671f7e756b2738e43d4f54b439010e69bcc3"
60
60
  }