@oyster-lib/cli 2.1.1 → 2.1.2
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/index.js +3 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -25722,8 +25722,8 @@ function openBrowser(url2) {
|
|
|
25722
25722
|
async function browserLogin(serverUrl) {
|
|
25723
25723
|
const deviceUrl = `${serverUrl}/api/v1/cli/auth/device`;
|
|
25724
25724
|
const deviceRes = await axios_default.post(deviceUrl);
|
|
25725
|
-
const { device_code, user_code,
|
|
25726
|
-
const authorizeUrl = `${
|
|
25725
|
+
const { device_code, user_code, expires_in, interval } = deviceRes.data;
|
|
25726
|
+
const authorizeUrl = `${serverUrl}/cli/authorize?user_code=${encodeURIComponent(user_code)}`;
|
|
25727
25727
|
console.log();
|
|
25728
25728
|
console.log(source_default.cyan("ブラウザで認証ページを開いています..."));
|
|
25729
25729
|
console.log();
|
|
@@ -26567,7 +26567,7 @@ function setMigrate(program2) {
|
|
|
26567
26567
|
}
|
|
26568
26568
|
|
|
26569
26569
|
// src/index.ts
|
|
26570
|
-
program.name("oyster").version("2.1.
|
|
26570
|
+
program.name("oyster").version("2.1.2").description("Oyster CLI v2 - deploy and manage your Oyster applications");
|
|
26571
26571
|
setLogin(program);
|
|
26572
26572
|
setInit(program);
|
|
26573
26573
|
setDeploy(program);
|