@ornncompute/cli 0.1.1 → 0.1.3
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 +95 -39
- package/package.json +2 -3
- package/src/api-client.mjs +22 -6
- package/src/cli.mjs +3340 -595
- package/src/device-auth.mjs +1 -1
package/src/device-auth.mjs
CHANGED
|
@@ -121,7 +121,7 @@ export async function waitForDeviceApproval({
|
|
|
121
121
|
}
|
|
122
122
|
|
|
123
123
|
if (status === "expired") {
|
|
124
|
-
throw new DeviceAuthError("Device login expired. Run `
|
|
124
|
+
throw new DeviceAuthError("Device login expired. Run `ornn login` again.");
|
|
125
125
|
}
|
|
126
126
|
|
|
127
127
|
throw new DeviceAuthError(`Auth server returned unexpected status: ${status}`);
|