shipthis 0.1.34 → 0.1.35
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/assets/markdown/{android-success.md → android-success.md.ejs} +2 -2
- package/assets/markdown/{apikey-create.md → apikey-create.md.ejs} +4 -4
- package/assets/markdown/{create-google-play-game.md → create-google-play-game.md.ejs} +2 -2
- package/assets/markdown/{invite-service-account.md → invite-service-account.md.ejs} +1 -1
- package/assets/markdown/{ios-success.md → ios-success.md.ejs} +2 -2
- package/assets/markdown/{privacy-notification.md → privacy-notification.md.ejs} +1 -1
- package/assets/markdown/service-account-policy-wizard.md.ejs +26 -0
- package/assets/markdown/service-account-policy.md.ejs +30 -0
- package/assets/markdown/{ship-failure.md → ship-failure.md.ejs} +1 -1
- package/assets/markdown/{ship-success.md → ship-success.md.ejs} +2 -2
- package/dist/{AppleBundleIdDetails-By-sSGNl.js → AppleBundleIdDetails-N_j1wv6f.js} +5 -4
- package/dist/{Command-VWMnGslo.js → Command-DN1j3tjt.js} +2 -2
- package/dist/{CommandGame-BSVPZzNl.js → CommandGame-D2NqytWc.js} +2 -2
- package/dist/{Create-SR1Mq7BY.js → Create-BRdv5jXQ.js} +4 -3
- package/dist/{GameStatus-1ntFyxEx.js → GameStatus-joyHPy0f.js} +12 -17
- package/dist/{Import-cedOWPDz.js → Import-BNMHsJoM.js} +5 -4
- package/dist/{JobLogTail-C_W8UAMg.js → JobLogTail-D35FO5v-.js} +5 -5
- package/dist/{JobProgress-CI385G53.js → JobProgress-D-9KESaA.js} +6 -5
- package/dist/{JobStatusTable-CdbKtwJE.js → JobStatusTable-DIJ_h-gi.js} +4 -4
- package/dist/{ProjectCredentialsTable-ZnuIfcDB.js → ProjectCredentialsTable-BMKgv99h.js} +2 -2
- package/dist/{UserCredentialsTable-DRkAYgEA.js → UserCredentialsTable-CUrTDzTK.js} +10 -10
- package/dist/{baseAppleCommand-CsO-_Yzn.js → baseAppleCommand-Cs9a52e5.js} +1 -1
- package/dist/{baseGameAndroidCommand-CdjaAbNX.js → baseGameAndroidCommand-BCB1SMCf.js} +2 -2
- package/dist/commands/apiKey/create.js +19 -16
- package/dist/commands/apiKey/list.js +10 -7
- package/dist/commands/apiKey/revoke.js +11 -8
- package/dist/commands/apple/apiKey/create.js +11 -8
- package/dist/commands/apple/apiKey/export.js +10 -7
- package/dist/commands/apple/apiKey/import.js +10 -7
- package/dist/commands/apple/apiKey/status.js +16 -13
- package/dist/commands/apple/certificate/create.js +11 -8
- package/dist/commands/apple/certificate/export.js +10 -7
- package/dist/commands/apple/certificate/import.js +10 -7
- package/dist/commands/apple/certificate/status.js +16 -13
- package/dist/commands/apple/login.js +2 -2
- package/dist/commands/apple/status.js +8 -5
- package/dist/commands/dashboard.js +1 -1
- package/dist/commands/game/android/apiKey/connect.js +13 -9
- package/dist/commands/game/android/apiKey/create.js +15 -11
- package/dist/commands/game/android/apiKey/export.js +11 -8
- package/dist/commands/game/android/apiKey/import.js +11 -8
- package/dist/commands/game/android/apiKey/invite.js +4 -4
- package/dist/commands/game/android/apiKey/policy.js +87 -0
- package/dist/commands/game/android/apiKey/status.js +11 -8
- package/dist/commands/game/android/keyStore/create.js +12 -9
- package/dist/commands/game/android/keyStore/export.js +10 -7
- package/dist/commands/game/android/keyStore/import.js +13 -10
- package/dist/commands/game/android/keyStore/status.js +10 -7
- package/dist/commands/game/android/status.js +1 -1
- package/dist/commands/game/build/download.js +8 -5
- package/dist/commands/game/build/list.js +9 -6
- package/dist/commands/game/create.js +2 -2
- package/dist/commands/game/details.js +8 -5
- package/dist/commands/game/export.js +1 -1
- package/dist/commands/game/ios/app/addTester.js +15 -12
- package/dist/commands/game/ios/app/create.js +8 -5
- package/dist/commands/game/ios/app/status.js +11 -8
- package/dist/commands/game/ios/app/sync.js +9 -6
- package/dist/commands/game/ios/profile/create.js +11 -8
- package/dist/commands/game/ios/profile/export.js +10 -7
- package/dist/commands/game/ios/profile/import.js +10 -7
- package/dist/commands/game/ios/profile/status.js +10 -7
- package/dist/commands/game/ios/status.js +13 -10
- package/dist/commands/game/ios/wizard.js +9 -6
- package/dist/commands/game/job/list.js +8 -5
- package/dist/commands/game/job/status.js +11 -8
- package/dist/commands/game/list.js +15 -10
- package/dist/commands/game/ship.js +15 -12
- package/dist/commands/game/status.js +10 -7
- package/dist/commands/game/wizard.js +23 -19
- package/dist/commands/internal/fastlane.js +1 -1
- package/dist/commands/internal/readme.js +4 -715
- package/dist/commands/login.js +2 -2
- package/dist/commands/status.js +14 -14
- package/dist/ejs-DirFZbza.js +716 -0
- package/dist/{export-B5Yfd9vw.js → export-DFCZKNQk.js} +1 -1
- package/dist/{import-A2WcStHl.js → import-BpGyif-m.js} +1 -1
- package/dist/{index-BBLtvl1Y.js → index-BTXEUd8W.js} +59 -16
- package/dist/{index-CO_ssVFA.js → index-BwnzoldS.js} +14 -2
- package/dist/{index-CYjZ26If.js → index-CJWMt1s-.js} +1 -1
- package/dist/{index-Bz1qt_8T.js → index-DlE_SPt3.js} +7 -11
- package/dist/{index-CA6-uLMn.js → index-hoHfGrjg.js} +33 -33
- package/dist/{index-CgzANgJt.js → index-izrACZbC.js} +1 -1
- package/dist/{upload-BIsFZzBO.js → upload-D19OQsbn.js} +1 -1
- package/dist/{useAndroidServiceAccountTestResult-DueKynFy.js → useAndroidServiceAccountTestResult-CwKeW0ED.js} +1 -1
- package/dist/{useAppleApp-BZR94exU.js → useAppleApp-BZc_cNa-.js} +1 -1
- package/dist/{useAppleBundleId-Dg5DsItN.js → useAppleBundleId-DvMXAvWD.js} +1 -1
- package/dist/useGoogleStatus-Cx_QIsXa.js +10 -0
- package/dist/{useProjectCredentials-jQYGcDhT.js → useProjectCredentials-DxdwJCfU.js} +14 -11
- package/dist/{useWebSocket-CIxkPaYi.js → useWebSocket-cM5yOcDv.js} +1 -1
- package/docs/README.md +3 -2
- package/docs/apiKey.md +12 -2
- package/docs/game/android/apiKey/policy.md +28 -0
- package/docs/game/android/keyStore.md +14 -4
- package/docs/game/android/status.md +4 -0
- package/docs/game/android.md +9 -305
- package/docs/game/ship.md +43 -11
- package/docs/game.md +7 -1
- package/package.json +3 -1
- /package/assets/markdown/{create-or-import-keystore.md → create-or-import-keystore.md.ejs} +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx } from 'react/jsx-runtime';
|
|
2
2
|
import { Args, Flags } from '@oclif/core';
|
|
3
3
|
import { render } from 'ink';
|
|
4
|
-
import { B as BaseAuthenticatedCommand,
|
|
5
|
-
import { g as getShortUUID } from '../../index-CYjZ26If.js';
|
|
4
|
+
import { B as BaseAuthenticatedCommand, $ as revokeAPIKey } from '../../index-BwnzoldS.js';
|
|
6
5
|
import 'ink-spinner';
|
|
6
|
+
import { g as getShortUUID } from '../../index-CJWMt1s-.js';
|
|
7
7
|
import 'react';
|
|
8
8
|
import '@tanstack/react-query';
|
|
9
9
|
import 'axios';
|
|
@@ -19,12 +19,13 @@ import 'strip-ansi';
|
|
|
19
19
|
import 'open';
|
|
20
20
|
import '@inkjs/ui';
|
|
21
21
|
import 'node:path';
|
|
22
|
+
import '../../ejs-DirFZbza.js';
|
|
22
23
|
import 'marked';
|
|
23
24
|
import 'marked-terminal';
|
|
24
25
|
import 'qrcode';
|
|
25
26
|
import { R as RunWithSpinner } from '../../RunWithSpinner-DucRnFp6.js';
|
|
26
|
-
import '../../index-
|
|
27
|
-
import { C as Command } from '../../Command-
|
|
27
|
+
import '../../index-hoHfGrjg.js';
|
|
28
|
+
import { C as Command } from '../../Command-DN1j3tjt.js';
|
|
28
29
|
import 'crypto-js';
|
|
29
30
|
import '@expo/apple-utils/build/index.js';
|
|
30
31
|
import 'node:crypto';
|
|
@@ -34,7 +35,9 @@ import 'readline-sync';
|
|
|
34
35
|
import 'isomorphic-git';
|
|
35
36
|
import 'deepmerge';
|
|
36
37
|
import 'ini';
|
|
37
|
-
import '
|
|
38
|
+
import 'fs';
|
|
39
|
+
import 'path';
|
|
40
|
+
import '../../useAndroidServiceAccountTestResult-CwKeW0ED.js';
|
|
38
41
|
|
|
39
42
|
class ApiKeyRevoke extends BaseAuthenticatedCommand {
|
|
40
43
|
static args = {
|
|
@@ -51,13 +54,13 @@ class ApiKeyRevoke extends BaseAuthenticatedCommand {
|
|
|
51
54
|
static flags = {
|
|
52
55
|
quiet: Flags.boolean({
|
|
53
56
|
char: "q",
|
|
54
|
-
|
|
55
|
-
|
|
57
|
+
default: false,
|
|
58
|
+
description: "Suppress output except for errors"
|
|
56
59
|
})
|
|
57
60
|
};
|
|
58
61
|
async run() {
|
|
59
62
|
const revokeKey = async () => {
|
|
60
|
-
const apiKeyId = this.args
|
|
63
|
+
const { apiKeyId } = this.args;
|
|
61
64
|
await revokeAPIKey(apiKeyId);
|
|
62
65
|
console.log(`Revoked API key with ID: ${getShortUUID(apiKeyId)}`);
|
|
63
66
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx } from 'react/jsx-runtime';
|
|
2
2
|
import { Flags } from '@oclif/core';
|
|
3
3
|
import { render } from 'ink';
|
|
4
|
-
import { g as getUserCredentials } from '../../../index-
|
|
5
|
-
import { P as Platform, C as CredentialsType, A as ApiKey, U as UserRole, a as ApiKeyType } from '../../../index-
|
|
4
|
+
import { g as getUserCredentials } from '../../../index-izrACZbC.js';
|
|
5
|
+
import { P as Platform, C as CredentialsType, A as ApiKey, U as UserRole, a as ApiKeyType } from '../../../index-BwnzoldS.js';
|
|
6
6
|
import 'ink-spinner';
|
|
7
7
|
import 'node:crypto';
|
|
8
8
|
import 'node:fs';
|
|
@@ -25,19 +25,22 @@ import 'string-length';
|
|
|
25
25
|
import 'strip-ansi';
|
|
26
26
|
import 'open';
|
|
27
27
|
import '@inkjs/ui';
|
|
28
|
+
import '../../../ejs-DirFZbza.js';
|
|
28
29
|
import 'marked';
|
|
29
30
|
import 'marked-terminal';
|
|
30
31
|
import 'qrcode';
|
|
31
32
|
import { R as RunWithSpinner } from '../../../RunWithSpinner-DucRnFp6.js';
|
|
32
|
-
import '../../../index-
|
|
33
|
-
import { C as Command } from '../../../Command-
|
|
34
|
-
import { B as BaseAppleCommand } from '../../../baseAppleCommand-
|
|
35
|
-
import { u as uploadUserCredentials } from '../../../upload-
|
|
33
|
+
import '../../../index-hoHfGrjg.js';
|
|
34
|
+
import { C as Command } from '../../../Command-DN1j3tjt.js';
|
|
35
|
+
import { B as BaseAppleCommand } from '../../../baseAppleCommand-Cs9a52e5.js';
|
|
36
|
+
import { u as uploadUserCredentials } from '../../../upload-D19OQsbn.js';
|
|
36
37
|
import '@expo/apple-utils/build/index.js';
|
|
37
38
|
import 'deepmerge';
|
|
38
39
|
import 'ini';
|
|
39
|
-
import '
|
|
40
|
-
import '
|
|
40
|
+
import 'fs';
|
|
41
|
+
import 'path';
|
|
42
|
+
import '../../../index-CJWMt1s-.js';
|
|
43
|
+
import '../../../useAndroidServiceAccountTestResult-CwKeW0ED.js';
|
|
41
44
|
|
|
42
45
|
class AppleApiKeyCreate extends BaseAppleCommand {
|
|
43
46
|
static args = {};
|
|
@@ -2,8 +2,8 @@ import { jsx } from 'react/jsx-runtime';
|
|
|
2
2
|
import * as fs from 'node:fs';
|
|
3
3
|
import { Args, Flags } from '@oclif/core';
|
|
4
4
|
import { render } from 'ink';
|
|
5
|
-
import { g as getUserCredentials } from '../../../index-
|
|
6
|
-
import { B as BaseAuthenticatedCommand, P as Platform, C as CredentialsType } from '../../../index-
|
|
5
|
+
import { g as getUserCredentials } from '../../../index-izrACZbC.js';
|
|
6
|
+
import { B as BaseAuthenticatedCommand, P as Platform, C as CredentialsType } from '../../../index-BwnzoldS.js';
|
|
7
7
|
import 'ink-spinner';
|
|
8
8
|
import 'node:crypto';
|
|
9
9
|
import 'node:path';
|
|
@@ -25,18 +25,21 @@ import 'string-length';
|
|
|
25
25
|
import 'strip-ansi';
|
|
26
26
|
import 'open';
|
|
27
27
|
import '@inkjs/ui';
|
|
28
|
+
import '../../../ejs-DirFZbza.js';
|
|
28
29
|
import 'marked';
|
|
29
30
|
import 'marked-terminal';
|
|
30
31
|
import 'qrcode';
|
|
31
32
|
import { R as RunWithSpinner } from '../../../RunWithSpinner-DucRnFp6.js';
|
|
32
|
-
import '../../../index-
|
|
33
|
-
import { C as Command } from '../../../Command-
|
|
34
|
-
import { e as exportCredential } from '../../../export-
|
|
33
|
+
import '../../../index-hoHfGrjg.js';
|
|
34
|
+
import { C as Command } from '../../../Command-DN1j3tjt.js';
|
|
35
|
+
import { e as exportCredential } from '../../../export-DFCZKNQk.js';
|
|
35
36
|
import '@expo/apple-utils/build/index.js';
|
|
36
37
|
import 'deepmerge';
|
|
37
38
|
import 'ini';
|
|
38
|
-
import '
|
|
39
|
-
import '
|
|
39
|
+
import 'fs';
|
|
40
|
+
import 'path';
|
|
41
|
+
import '../../../index-CJWMt1s-.js';
|
|
42
|
+
import '../../../useAndroidServiceAccountTestResult-CwKeW0ED.js';
|
|
40
43
|
|
|
41
44
|
class AppleApiKeyExport extends BaseAuthenticatedCommand {
|
|
42
45
|
static args = {
|
|
@@ -2,8 +2,8 @@ import { jsx } from 'react/jsx-runtime';
|
|
|
2
2
|
import * as fs from 'node:fs';
|
|
3
3
|
import { Args, Flags } from '@oclif/core';
|
|
4
4
|
import { render } from 'ink';
|
|
5
|
-
import { g as getUserCredentials } from '../../../index-
|
|
6
|
-
import { B as BaseAuthenticatedCommand, P as Platform, C as CredentialsType } from '../../../index-
|
|
5
|
+
import { g as getUserCredentials } from '../../../index-izrACZbC.js';
|
|
6
|
+
import { B as BaseAuthenticatedCommand, P as Platform, C as CredentialsType } from '../../../index-BwnzoldS.js';
|
|
7
7
|
import 'ink-spinner';
|
|
8
8
|
import 'node:crypto';
|
|
9
9
|
import 'node:path';
|
|
@@ -25,18 +25,21 @@ import 'string-length';
|
|
|
25
25
|
import 'strip-ansi';
|
|
26
26
|
import 'open';
|
|
27
27
|
import '@inkjs/ui';
|
|
28
|
+
import '../../../ejs-DirFZbza.js';
|
|
28
29
|
import 'marked';
|
|
29
30
|
import 'marked-terminal';
|
|
30
31
|
import 'qrcode';
|
|
31
32
|
import { R as RunWithSpinner } from '../../../RunWithSpinner-DucRnFp6.js';
|
|
32
|
-
import '../../../index-
|
|
33
|
-
import { C as Command } from '../../../Command-
|
|
34
|
-
import { i as importCredential } from '../../../import-
|
|
33
|
+
import '../../../index-hoHfGrjg.js';
|
|
34
|
+
import { C as Command } from '../../../Command-DN1j3tjt.js';
|
|
35
|
+
import { i as importCredential } from '../../../import-BpGyif-m.js';
|
|
35
36
|
import '@expo/apple-utils/build/index.js';
|
|
36
37
|
import 'deepmerge';
|
|
37
38
|
import 'ini';
|
|
38
|
-
import '
|
|
39
|
-
import '
|
|
39
|
+
import 'fs';
|
|
40
|
+
import 'path';
|
|
41
|
+
import '../../../index-CJWMt1s-.js';
|
|
42
|
+
import '../../../useAndroidServiceAccountTestResult-CwKeW0ED.js';
|
|
40
43
|
|
|
41
44
|
class AppleApiKeyImport extends BaseAuthenticatedCommand {
|
|
42
45
|
static args = {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
|
|
2
2
|
import { Flags } from '@oclif/core';
|
|
3
3
|
import { Box, Text, render } from 'ink';
|
|
4
|
-
import { b as getShortDate, A as ApiKey, C as CredentialsType, P as Platform, B as BaseAuthenticatedCommand } from '../../../index-
|
|
4
|
+
import { b as getShortDate, A as ApiKey, C as CredentialsType, P as Platform, B as BaseAuthenticatedCommand } from '../../../index-BwnzoldS.js';
|
|
5
5
|
import Spinner from 'ink-spinner';
|
|
6
6
|
import 'node:crypto';
|
|
7
7
|
import 'node:fs';
|
|
@@ -23,21 +23,24 @@ import 'fullscreen-ink';
|
|
|
23
23
|
import 'string-length';
|
|
24
24
|
import 'strip-ansi';
|
|
25
25
|
import 'open';
|
|
26
|
-
import { u as useUserCredentials, U as UserCredentialsTable } from '../../../UserCredentialsTable-
|
|
26
|
+
import { u as useUserCredentials, U as UserCredentialsTable } from '../../../UserCredentialsTable-CUrTDzTK.js';
|
|
27
27
|
import '@inkjs/ui';
|
|
28
|
+
import '../../../ejs-DirFZbza.js';
|
|
28
29
|
import 'marked';
|
|
29
30
|
import 'marked-terminal';
|
|
30
31
|
import 'qrcode';
|
|
31
|
-
import '../../../index-
|
|
32
|
+
import '../../../index-hoHfGrjg.js';
|
|
32
33
|
import { T as Table } from '../../../Table-FaNgpyeq.js';
|
|
33
34
|
import { T as Title } from '../../../Title-BCQtayg6.js';
|
|
34
35
|
import { N as NextSteps } from '../../../NextSteps-DbJHmscQ.js';
|
|
35
|
-
import { C as Command } from '../../../Command-
|
|
36
|
+
import { C as Command } from '../../../Command-DN1j3tjt.js';
|
|
36
37
|
import '@expo/apple-utils/build/index.js';
|
|
37
38
|
import 'deepmerge';
|
|
38
39
|
import 'ini';
|
|
39
|
-
import '../../../useAndroidServiceAccountTestResult-
|
|
40
|
-
import '../../../index-
|
|
40
|
+
import '../../../useAndroidServiceAccountTestResult-CwKeW0ED.js';
|
|
41
|
+
import '../../../index-CJWMt1s-.js';
|
|
42
|
+
import 'fs';
|
|
43
|
+
import 'path';
|
|
41
44
|
|
|
42
45
|
async function queryAppleApiKeys({ ctx }) {
|
|
43
46
|
const keys = await ApiKey.getAsync(ctx);
|
|
@@ -49,13 +52,13 @@ const canAppleApiKeyBeUsed = (key, userCredentials) => {
|
|
|
49
52
|
return userCredentials.some((cred) => cred.isActive && cred.serialNumber === key.id);
|
|
50
53
|
};
|
|
51
54
|
function getAppleApiKeySummary(key, userCredentials) {
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
55
|
+
const summary = {};
|
|
56
|
+
summary.keyID = key.id;
|
|
57
|
+
summary.name = key.attributes.nickname;
|
|
58
|
+
summary.roles = key.attributes.roles?.join(", ");
|
|
59
|
+
summary.lastUsed = getShortDate(DateTime.fromISO(key.attributes.lastUsed));
|
|
60
|
+
summary.canBeUsed = canAppleApiKeyBeUsed(key, userCredentials);
|
|
61
|
+
return summary;
|
|
59
62
|
}
|
|
60
63
|
const useAppleApiKeys = (props) => {
|
|
61
64
|
const queryResult = useQuery({
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx } from 'react/jsx-runtime';
|
|
2
2
|
import { Flags } from '@oclif/core';
|
|
3
3
|
import { render } from 'ink';
|
|
4
|
-
import { g as getUserCredentials } from '../../../index-
|
|
4
|
+
import { g as getUserCredentials } from '../../../index-izrACZbC.js';
|
|
5
5
|
import forge from 'node-forge';
|
|
6
|
-
import { l as CertificateType, k as Certificate, P as Platform, C as CredentialsType } from '../../../index-
|
|
6
|
+
import { l as CertificateType, k as Certificate, P as Platform, C as CredentialsType } from '../../../index-BwnzoldS.js';
|
|
7
7
|
import 'ink-spinner';
|
|
8
8
|
import 'node:crypto';
|
|
9
9
|
import 'node:fs';
|
|
@@ -26,19 +26,22 @@ import 'string-length';
|
|
|
26
26
|
import 'strip-ansi';
|
|
27
27
|
import 'open';
|
|
28
28
|
import '@inkjs/ui';
|
|
29
|
+
import '../../../ejs-DirFZbza.js';
|
|
29
30
|
import 'marked';
|
|
30
31
|
import 'marked-terminal';
|
|
31
32
|
import 'qrcode';
|
|
32
33
|
import { R as RunWithSpinner } from '../../../RunWithSpinner-DucRnFp6.js';
|
|
33
|
-
import '../../../index-
|
|
34
|
-
import { C as Command } from '../../../Command-
|
|
35
|
-
import { B as BaseAppleCommand } from '../../../baseAppleCommand-
|
|
36
|
-
import { u as uploadUserCredentials } from '../../../upload-
|
|
34
|
+
import '../../../index-hoHfGrjg.js';
|
|
35
|
+
import { C as Command } from '../../../Command-DN1j3tjt.js';
|
|
36
|
+
import { B as BaseAppleCommand } from '../../../baseAppleCommand-Cs9a52e5.js';
|
|
37
|
+
import { u as uploadUserCredentials } from '../../../upload-D19OQsbn.js';
|
|
37
38
|
import '@expo/apple-utils/build/index.js';
|
|
38
39
|
import 'deepmerge';
|
|
39
40
|
import 'ini';
|
|
40
|
-
import '
|
|
41
|
-
import '
|
|
41
|
+
import 'fs';
|
|
42
|
+
import 'path';
|
|
43
|
+
import '../../../index-CJWMt1s-.js';
|
|
44
|
+
import '../../../useAndroidServiceAccountTestResult-CwKeW0ED.js';
|
|
42
45
|
|
|
43
46
|
function decodeCertificate(certificateContent) {
|
|
44
47
|
const decodedContent = forge.util.decode64(certificateContent);
|
|
@@ -2,8 +2,8 @@ import { jsx } from 'react/jsx-runtime';
|
|
|
2
2
|
import * as fs from 'node:fs';
|
|
3
3
|
import { Args, Flags } from '@oclif/core';
|
|
4
4
|
import { render } from 'ink';
|
|
5
|
-
import { g as getUserCredentials } from '../../../index-
|
|
6
|
-
import { B as BaseAuthenticatedCommand, P as Platform, C as CredentialsType } from '../../../index-
|
|
5
|
+
import { g as getUserCredentials } from '../../../index-izrACZbC.js';
|
|
6
|
+
import { B as BaseAuthenticatedCommand, P as Platform, C as CredentialsType } from '../../../index-BwnzoldS.js';
|
|
7
7
|
import 'ink-spinner';
|
|
8
8
|
import 'node:crypto';
|
|
9
9
|
import 'node:path';
|
|
@@ -25,18 +25,21 @@ import 'string-length';
|
|
|
25
25
|
import 'strip-ansi';
|
|
26
26
|
import 'open';
|
|
27
27
|
import '@inkjs/ui';
|
|
28
|
+
import '../../../ejs-DirFZbza.js';
|
|
28
29
|
import 'marked';
|
|
29
30
|
import 'marked-terminal';
|
|
30
31
|
import 'qrcode';
|
|
31
32
|
import { R as RunWithSpinner } from '../../../RunWithSpinner-DucRnFp6.js';
|
|
32
|
-
import '../../../index-
|
|
33
|
-
import { C as Command } from '../../../Command-
|
|
34
|
-
import { e as exportCredential } from '../../../export-
|
|
33
|
+
import '../../../index-hoHfGrjg.js';
|
|
34
|
+
import { C as Command } from '../../../Command-DN1j3tjt.js';
|
|
35
|
+
import { e as exportCredential } from '../../../export-DFCZKNQk.js';
|
|
35
36
|
import '@expo/apple-utils/build/index.js';
|
|
36
37
|
import 'deepmerge';
|
|
37
38
|
import 'ini';
|
|
38
|
-
import '
|
|
39
|
-
import '
|
|
39
|
+
import 'fs';
|
|
40
|
+
import 'path';
|
|
41
|
+
import '../../../index-CJWMt1s-.js';
|
|
42
|
+
import '../../../useAndroidServiceAccountTestResult-CwKeW0ED.js';
|
|
40
43
|
|
|
41
44
|
class AppleCertificateExport extends BaseAuthenticatedCommand {
|
|
42
45
|
static args = {
|
|
@@ -2,8 +2,8 @@ import { jsx } from 'react/jsx-runtime';
|
|
|
2
2
|
import * as fs from 'node:fs';
|
|
3
3
|
import { Args, Flags } from '@oclif/core';
|
|
4
4
|
import { render } from 'ink';
|
|
5
|
-
import { g as getUserCredentials } from '../../../index-
|
|
6
|
-
import { B as BaseAuthenticatedCommand, P as Platform, C as CredentialsType } from '../../../index-
|
|
5
|
+
import { g as getUserCredentials } from '../../../index-izrACZbC.js';
|
|
6
|
+
import { B as BaseAuthenticatedCommand, P as Platform, C as CredentialsType } from '../../../index-BwnzoldS.js';
|
|
7
7
|
import 'ink-spinner';
|
|
8
8
|
import 'node:crypto';
|
|
9
9
|
import 'node:path';
|
|
@@ -25,18 +25,21 @@ import 'string-length';
|
|
|
25
25
|
import 'strip-ansi';
|
|
26
26
|
import 'open';
|
|
27
27
|
import '@inkjs/ui';
|
|
28
|
+
import '../../../ejs-DirFZbza.js';
|
|
28
29
|
import 'marked';
|
|
29
30
|
import 'marked-terminal';
|
|
30
31
|
import 'qrcode';
|
|
31
32
|
import { R as RunWithSpinner } from '../../../RunWithSpinner-DucRnFp6.js';
|
|
32
|
-
import '../../../index-
|
|
33
|
-
import { C as Command } from '../../../Command-
|
|
34
|
-
import { i as importCredential } from '../../../import-
|
|
33
|
+
import '../../../index-hoHfGrjg.js';
|
|
34
|
+
import { C as Command } from '../../../Command-DN1j3tjt.js';
|
|
35
|
+
import { i as importCredential } from '../../../import-BpGyif-m.js';
|
|
35
36
|
import '@expo/apple-utils/build/index.js';
|
|
36
37
|
import 'deepmerge';
|
|
37
38
|
import 'ini';
|
|
38
|
-
import '
|
|
39
|
-
import '
|
|
39
|
+
import 'fs';
|
|
40
|
+
import 'path';
|
|
41
|
+
import '../../../index-CJWMt1s-.js';
|
|
42
|
+
import '../../../useAndroidServiceAccountTestResult-CwKeW0ED.js';
|
|
40
43
|
|
|
41
44
|
class AppleCertificateImport extends BaseAuthenticatedCommand {
|
|
42
45
|
static args = {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
|
|
2
2
|
import { Flags } from '@oclif/core';
|
|
3
3
|
import { Box, Text, render } from 'ink';
|
|
4
|
-
import { b as getShortDate, k as Certificate, l as CertificateType, P as Platform, C as CredentialsType, B as BaseAuthenticatedCommand } from '../../../index-
|
|
4
|
+
import { b as getShortDate, k as Certificate, l as CertificateType, P as Platform, C as CredentialsType, B as BaseAuthenticatedCommand } from '../../../index-BwnzoldS.js';
|
|
5
5
|
import Spinner from 'ink-spinner';
|
|
6
6
|
import 'node:crypto';
|
|
7
7
|
import 'node:fs';
|
|
@@ -23,21 +23,24 @@ import 'fullscreen-ink';
|
|
|
23
23
|
import 'string-length';
|
|
24
24
|
import 'strip-ansi';
|
|
25
25
|
import 'open';
|
|
26
|
-
import { u as useUserCredentials, U as UserCredentialsTable } from '../../../UserCredentialsTable-
|
|
26
|
+
import { u as useUserCredentials, U as UserCredentialsTable } from '../../../UserCredentialsTable-CUrTDzTK.js';
|
|
27
27
|
import '@inkjs/ui';
|
|
28
|
+
import '../../../ejs-DirFZbza.js';
|
|
28
29
|
import 'marked';
|
|
29
30
|
import 'marked-terminal';
|
|
30
31
|
import 'qrcode';
|
|
31
|
-
import '../../../index-
|
|
32
|
-
import { g as getShortUUID } from '../../../index-
|
|
32
|
+
import '../../../index-hoHfGrjg.js';
|
|
33
|
+
import { g as getShortUUID } from '../../../index-CJWMt1s-.js';
|
|
33
34
|
import { T as Table } from '../../../Table-FaNgpyeq.js';
|
|
34
35
|
import { T as Title } from '../../../Title-BCQtayg6.js';
|
|
35
36
|
import { N as NextSteps } from '../../../NextSteps-DbJHmscQ.js';
|
|
36
|
-
import { C as Command } from '../../../Command-
|
|
37
|
+
import { C as Command } from '../../../Command-DN1j3tjt.js';
|
|
37
38
|
import '@expo/apple-utils/build/index.js';
|
|
38
39
|
import 'deepmerge';
|
|
39
40
|
import 'ini';
|
|
40
|
-
import '../../../useAndroidServiceAccountTestResult-
|
|
41
|
+
import '../../../useAndroidServiceAccountTestResult-CwKeW0ED.js';
|
|
42
|
+
import 'fs';
|
|
43
|
+
import 'path';
|
|
41
44
|
|
|
42
45
|
async function queryAppleCertificates({ ctx }) {
|
|
43
46
|
const appleCerts = await Certificate.getAsync(ctx, {
|
|
@@ -54,13 +57,13 @@ const canAppleCertificateBeUsed = (cert, userCredentials) => {
|
|
|
54
57
|
return userCredentials.some((cred) => cred.isActive && cred.serialNumber === cert.attributes.serialNumber);
|
|
55
58
|
};
|
|
56
59
|
function getAppleCertificateSummary(cert, userCredentials) {
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
60
|
+
const summary = {};
|
|
61
|
+
summary.id = getShortUUID(cert.id);
|
|
62
|
+
summary.name = cert.attributes.name;
|
|
63
|
+
summary.serial = cert.attributes.serialNumber;
|
|
64
|
+
summary.expires = getShortDate(DateTime.fromISO(cert.attributes.expirationDate));
|
|
65
|
+
summary.canBeUsed = canAppleCertificateBeUsed(cert, userCredentials);
|
|
66
|
+
return summary;
|
|
64
67
|
}
|
|
65
68
|
const useAppleCertificates = (props) => {
|
|
66
69
|
const queryResult = useQuery({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Flags } from '@oclif/core';
|
|
2
|
-
import {
|
|
3
|
-
import { a as getInput, e as getMaskedInput } from '../../index-
|
|
2
|
+
import { a3 as Auth, B as BaseAuthenticatedCommand } from '../../index-BwnzoldS.js';
|
|
3
|
+
import { a as getInput, e as getMaskedInput } from '../../index-CJWMt1s-.js';
|
|
4
4
|
import 'node:fs';
|
|
5
5
|
import 'axios';
|
|
6
6
|
import 'crypto-js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
2
2
|
import { render } from 'ink';
|
|
3
|
-
import { B as BaseAuthenticatedCommand } from '../../index-
|
|
3
|
+
import { B as BaseAuthenticatedCommand } from '../../index-BwnzoldS.js';
|
|
4
4
|
import 'ink-spinner';
|
|
5
5
|
import 'node:crypto';
|
|
6
6
|
import 'node:fs';
|
|
@@ -25,18 +25,21 @@ import 'strip-ansi';
|
|
|
25
25
|
import { S as StatusTable } from '../../StatusTable-DzRWcMr4.js';
|
|
26
26
|
import 'open';
|
|
27
27
|
import '@inkjs/ui';
|
|
28
|
+
import '../../ejs-DirFZbza.js';
|
|
28
29
|
import 'marked';
|
|
29
30
|
import 'marked-terminal';
|
|
30
31
|
import { N as NextSteps } from '../../NextSteps-DbJHmscQ.js';
|
|
31
32
|
import 'qrcode';
|
|
32
|
-
import '../../index-
|
|
33
|
-
import { C as Command } from '../../Command-
|
|
33
|
+
import '../../index-hoHfGrjg.js';
|
|
34
|
+
import { C as Command } from '../../Command-DN1j3tjt.js';
|
|
34
35
|
import '@expo/apple-utils/build/index.js';
|
|
35
36
|
import 'deepmerge';
|
|
36
37
|
import 'ini';
|
|
37
38
|
import '../../Title-BCQtayg6.js';
|
|
38
|
-
import '
|
|
39
|
-
import '
|
|
39
|
+
import 'fs';
|
|
40
|
+
import 'path';
|
|
41
|
+
import '../../index-CJWMt1s-.js';
|
|
42
|
+
import '../../useAndroidServiceAccountTestResult-CwKeW0ED.js';
|
|
40
43
|
|
|
41
44
|
class AppleStatus extends BaseAuthenticatedCommand {
|
|
42
45
|
static args = {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import open from 'open';
|
|
2
|
-
import { B as BaseAuthenticatedCommand,
|
|
2
|
+
import { B as BaseAuthenticatedCommand, a0 as getSingleUseUrl } from '../index-BwnzoldS.js';
|
|
3
3
|
import 'node:fs';
|
|
4
4
|
import 'axios';
|
|
5
5
|
import 'crypto-js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx } from 'react/jsx-runtime';
|
|
2
2
|
import { Flags } from '@oclif/core';
|
|
3
3
|
import { render } from 'ink';
|
|
4
|
-
import { Q as getGoogleStatus,
|
|
4
|
+
import { Q as getGoogleStatus, X as disconnectGoogle } from '../../../../index-BwnzoldS.js';
|
|
5
5
|
import 'ink-spinner';
|
|
6
6
|
import 'node:crypto';
|
|
7
7
|
import 'node:fs';
|
|
@@ -22,22 +22,26 @@ import 'fullscreen-ink';
|
|
|
22
22
|
import 'string-length';
|
|
23
23
|
import 'strip-ansi';
|
|
24
24
|
import 'open';
|
|
25
|
-
import { C as ConnectGoogle } from '../../../../index-
|
|
26
|
-
import '../../../../index-
|
|
25
|
+
import { C as ConnectGoogle } from '../../../../index-DlE_SPt3.js';
|
|
26
|
+
import '../../../../index-hoHfGrjg.js';
|
|
27
27
|
import '@inkjs/ui';
|
|
28
|
+
import '../../../../ejs-DirFZbza.js';
|
|
28
29
|
import 'marked';
|
|
29
30
|
import 'marked-terminal';
|
|
30
31
|
import 'qrcode';
|
|
31
|
-
import { C as CommandGame } from '../../../../CommandGame-
|
|
32
|
-
import { B as BaseGameAndroidCommand } from '../../../../baseGameAndroidCommand-
|
|
32
|
+
import { C as CommandGame } from '../../../../CommandGame-D2NqytWc.js';
|
|
33
|
+
import { B as BaseGameAndroidCommand } from '../../../../baseGameAndroidCommand-BCB1SMCf.js';
|
|
33
34
|
import 'crypto-js';
|
|
34
35
|
import '@expo/apple-utils/build/index.js';
|
|
35
36
|
import 'deepmerge';
|
|
36
37
|
import 'ini';
|
|
37
|
-
import '../../../../
|
|
38
|
-
import '../../../../
|
|
39
|
-
import '../../../../
|
|
40
|
-
import '../../../../
|
|
38
|
+
import '../../../../useGoogleStatus-Cx_QIsXa.js';
|
|
39
|
+
import '../../../../useAndroidServiceAccountTestResult-CwKeW0ED.js';
|
|
40
|
+
import '../../../../useWebSocket-cM5yOcDv.js';
|
|
41
|
+
import '../../../../index-CJWMt1s-.js';
|
|
42
|
+
import 'fs';
|
|
43
|
+
import 'path';
|
|
44
|
+
import '../../../../Command-DN1j3tjt.js';
|
|
41
45
|
|
|
42
46
|
class GameAndroidApiKeyConnect extends BaseGameAndroidCommand {
|
|
43
47
|
static args = {};
|
|
@@ -5,9 +5,9 @@ import 'node:fs';
|
|
|
5
5
|
import 'axios';
|
|
6
6
|
import 'crypto-js';
|
|
7
7
|
import 'uuid';
|
|
8
|
-
import { P as Platform, C as CredentialsType } from '../../../../index-
|
|
8
|
+
import { P as Platform, C as CredentialsType } from '../../../../index-BwnzoldS.js';
|
|
9
9
|
import 'luxon';
|
|
10
|
-
import { a as getProjectCredentials } from '../../../../index-
|
|
10
|
+
import { a as getProjectCredentials } from '../../../../index-izrACZbC.js';
|
|
11
11
|
import 'ink-spinner';
|
|
12
12
|
import 'node:crypto';
|
|
13
13
|
import 'node:path';
|
|
@@ -25,22 +25,26 @@ import 'string-length';
|
|
|
25
25
|
import 'strip-ansi';
|
|
26
26
|
import 'open';
|
|
27
27
|
import '@inkjs/ui';
|
|
28
|
+
import '../../../../ejs-DirFZbza.js';
|
|
28
29
|
import 'marked';
|
|
29
30
|
import 'marked-terminal';
|
|
30
31
|
import 'qrcode';
|
|
31
|
-
import '../../../../index-
|
|
32
|
-
import { C as CreateServiceAccountKey } from '../../../../index-
|
|
33
|
-
import { C as CommandGame } from '../../../../CommandGame-
|
|
34
|
-
import { B as BaseGameAndroidCommand } from '../../../../baseGameAndroidCommand-
|
|
32
|
+
import '../../../../index-hoHfGrjg.js';
|
|
33
|
+
import { C as CreateServiceAccountKey } from '../../../../index-BTXEUd8W.js';
|
|
34
|
+
import { C as CommandGame } from '../../../../CommandGame-D2NqytWc.js';
|
|
35
|
+
import { B as BaseGameAndroidCommand } from '../../../../baseGameAndroidCommand-BCB1SMCf.js';
|
|
35
36
|
import '@expo/apple-utils/build/index.js';
|
|
36
37
|
import 'deepmerge';
|
|
37
38
|
import 'ini';
|
|
38
|
-
import '
|
|
39
|
-
import '
|
|
40
|
-
import '../../../../
|
|
41
|
-
import '../../../../
|
|
39
|
+
import 'fs';
|
|
40
|
+
import 'path';
|
|
41
|
+
import '../../../../index-CJWMt1s-.js';
|
|
42
|
+
import '../../../../useAndroidServiceAccountTestResult-CwKeW0ED.js';
|
|
43
|
+
import '../../../../useWebSocket-cM5yOcDv.js';
|
|
44
|
+
import '../../../../useProjectCredentials-DxdwJCfU.js';
|
|
45
|
+
import '../../../../useGoogleStatus-Cx_QIsXa.js';
|
|
42
46
|
import '../../../../ProgressSpinner-Um6ARKlk.js';
|
|
43
|
-
import '../../../../Command-
|
|
47
|
+
import '../../../../Command-DN1j3tjt.js';
|
|
44
48
|
|
|
45
49
|
class GameAndroidApiKeyCreate extends BaseGameAndroidCommand {
|
|
46
50
|
static args = {};
|
|
@@ -2,8 +2,8 @@ import { jsx } from 'react/jsx-runtime';
|
|
|
2
2
|
import * as fs from 'node:fs';
|
|
3
3
|
import { Args, Flags } from '@oclif/core';
|
|
4
4
|
import { render } from 'ink';
|
|
5
|
-
import { a as getProjectCredentials } from '../../../../index-
|
|
6
|
-
import { P as Platform, C as CredentialsType } from '../../../../index-
|
|
5
|
+
import { a as getProjectCredentials } from '../../../../index-izrACZbC.js';
|
|
6
|
+
import { P as Platform, C as CredentialsType } from '../../../../index-BwnzoldS.js';
|
|
7
7
|
import 'ink-spinner';
|
|
8
8
|
import 'node:crypto';
|
|
9
9
|
import 'node:path';
|
|
@@ -25,19 +25,22 @@ import 'string-length';
|
|
|
25
25
|
import 'strip-ansi';
|
|
26
26
|
import 'open';
|
|
27
27
|
import '@inkjs/ui';
|
|
28
|
+
import '../../../../ejs-DirFZbza.js';
|
|
28
29
|
import 'marked';
|
|
29
30
|
import 'marked-terminal';
|
|
30
31
|
import 'qrcode';
|
|
31
32
|
import { R as RunWithSpinner } from '../../../../RunWithSpinner-DucRnFp6.js';
|
|
32
|
-
import '../../../../index-
|
|
33
|
-
import { C as Command } from '../../../../Command-
|
|
34
|
-
import { B as BaseGameAndroidCommand } from '../../../../baseGameAndroidCommand-
|
|
35
|
-
import { e as exportCredential } from '../../../../export-
|
|
33
|
+
import '../../../../index-hoHfGrjg.js';
|
|
34
|
+
import { C as Command } from '../../../../Command-DN1j3tjt.js';
|
|
35
|
+
import { B as BaseGameAndroidCommand } from '../../../../baseGameAndroidCommand-BCB1SMCf.js';
|
|
36
|
+
import { e as exportCredential } from '../../../../export-DFCZKNQk.js';
|
|
36
37
|
import '@expo/apple-utils/build/index.js';
|
|
37
38
|
import 'deepmerge';
|
|
38
39
|
import 'ini';
|
|
39
|
-
import '
|
|
40
|
-
import '
|
|
40
|
+
import 'fs';
|
|
41
|
+
import 'path';
|
|
42
|
+
import '../../../../index-CJWMt1s-.js';
|
|
43
|
+
import '../../../../useAndroidServiceAccountTestResult-CwKeW0ED.js';
|
|
41
44
|
|
|
42
45
|
class GameAndroidApiKeyExport extends BaseGameAndroidCommand {
|
|
43
46
|
static args = {
|