shipthis 0.1.36 → 0.1.37

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 (98) hide show
  1. package/README.md +17 -9
  2. package/assets/markdown/confirm-delete-android-keystore.md.ejs +22 -0
  3. package/assets/markdown/confirm-delete-android-serviceaccountkey.md.ejs +24 -0
  4. package/assets/markdown/confirm-delete-apple-credential.md.ejs +29 -0
  5. package/dist/{AppleBundleIdDetails-pEVOUXTQ.js → AppleBundleIdDetails-KMzyex1H.js} +3 -3
  6. package/dist/{Command-DhAVAdiI.js → Command-CHh8RDXK.js} +1 -1
  7. package/dist/{CommandGame-C-oV-hb4.js → CommandGame-Rvmsa7b0.js} +2 -2
  8. package/dist/{Create-Dg9ZlwEd.js → Create-DInZ_pw-.js} +1 -1
  9. package/dist/{GameStatus-Dm9TqFfW.js → GameStatus-D7ID10tS.js} +1 -1
  10. package/dist/{Import-BFNNkN-I.js → Import-BmO8EYKj.js} +2 -2
  11. package/dist/{JobLogTail-RTNIiAUk.js → JobLogTail-CYdceTKL.js} +2 -2
  12. package/dist/{JobProgress-dFWcT0CQ.js → JobProgress-DBCYbWrO.js} +2 -2
  13. package/dist/{JobStatusTable-BlvMuWF7.js → JobStatusTable-DhnhY1_i.js} +2 -2
  14. package/dist/{ProjectCredentialsTable-CMBnYLou.js → ProjectCredentialsTable-BDYVYqAq.js} +5 -3
  15. package/dist/{UserCredentialsTable-oxE3mDmE.js → UserCredentialsTable-cDPvjF-F.js} +4 -2
  16. package/dist/{baseAppleCommand-cnLvBz95.js → baseAppleCommand-CQ5dOna7.js} +1 -1
  17. package/dist/{baseGameAndroidCommand-DUDYisYm.js → baseGameAndroidCommand-D4ryZS6A.js} +1 -1
  18. package/dist/commands/apiKey/create.js +3 -2
  19. package/dist/commands/apiKey/list.js +3 -2
  20. package/dist/commands/apiKey/revoke.js +3 -2
  21. package/dist/commands/apple/apiKey/create.js +7 -6
  22. package/dist/commands/apple/apiKey/delete.js +118 -0
  23. package/dist/commands/apple/apiKey/export.js +6 -5
  24. package/dist/commands/apple/apiKey/import.js +6 -5
  25. package/dist/commands/apple/apiKey/status.js +4 -3
  26. package/dist/commands/apple/certificate/create.js +7 -6
  27. package/dist/commands/apple/certificate/delete.js +127 -0
  28. package/dist/commands/apple/certificate/export.js +6 -5
  29. package/dist/commands/apple/certificate/import.js +6 -5
  30. package/dist/commands/apple/certificate/status.js +4 -3
  31. package/dist/commands/apple/login.js +12 -3
  32. package/dist/commands/apple/status.js +3 -2
  33. package/dist/commands/dashboard.js +2 -1
  34. package/dist/commands/game/android/apiKey/connect.js +8 -7
  35. package/dist/commands/game/android/apiKey/create.js +10 -9
  36. package/dist/commands/game/android/apiKey/delete.js +100 -0
  37. package/dist/commands/game/android/apiKey/export.js +6 -5
  38. package/dist/commands/game/android/apiKey/import.js +6 -5
  39. package/dist/commands/game/android/apiKey/invite.js +3 -2
  40. package/dist/commands/game/android/apiKey/policy.js +3 -2
  41. package/dist/commands/game/android/apiKey/status.js +6 -5
  42. package/dist/commands/game/android/keyStore/create.js +7 -6
  43. package/dist/commands/game/android/keyStore/delete.js +100 -0
  44. package/dist/commands/game/android/keyStore/export.js +5 -4
  45. package/dist/commands/game/android/keyStore/import.js +8 -7
  46. package/dist/commands/game/android/keyStore/status.js +5 -4
  47. package/dist/commands/game/android/status.js +2 -1
  48. package/dist/commands/game/build/download.js +3 -2
  49. package/dist/commands/game/build/list.js +4 -3
  50. package/dist/commands/game/create.js +2 -1
  51. package/dist/commands/game/details.js +3 -2
  52. package/dist/commands/game/export.js +2 -1
  53. package/dist/commands/game/ios/app/addTester.js +4 -3
  54. package/dist/commands/game/ios/app/create.js +3 -2
  55. package/dist/commands/game/ios/app/status.js +6 -5
  56. package/dist/commands/game/ios/app/sync.js +4 -3
  57. package/dist/commands/game/ios/profile/create.js +6 -5
  58. package/dist/commands/game/ios/profile/delete.js +123 -0
  59. package/dist/commands/game/ios/profile/export.js +5 -4
  60. package/dist/commands/game/ios/profile/import.js +5 -4
  61. package/dist/commands/game/ios/profile/status.js +8 -47
  62. package/dist/commands/game/ios/status.js +8 -7
  63. package/dist/commands/game/ios/wizard.js +2 -2
  64. package/dist/commands/game/job/list.js +3 -2
  65. package/dist/commands/game/job/status.js +6 -5
  66. package/dist/commands/game/list.js +3 -2
  67. package/dist/commands/game/ship.js +8 -7
  68. package/dist/commands/game/status.js +5 -4
  69. package/dist/commands/game/wizard.js +14 -13
  70. package/dist/commands/internal/fastlane.js +2 -1
  71. package/dist/commands/internal/readme.js +2 -1
  72. package/dist/commands/login.js +2 -1
  73. package/dist/commands/status.js +2 -2
  74. package/dist/{export-Bd552LBe.js → export-DujIwhJw.js} +1 -1
  75. package/dist/{import-D-EL9sQJ.js → import-DGCqCAcC.js} +1 -1
  76. package/dist/{index-DCN43FhY.js → index-9LxGafAo.js} +3 -3
  77. package/dist/{index-DwATmUTQ.js → index-BPh_qt7t.js} +4 -4
  78. package/dist/index-CNsmEDXi.js +48 -0
  79. package/dist/{index-BtPf4vzY.js → index-CmuXyPed.js} +4 -2
  80. package/dist/{upload-Dm38PqhN.js → upload-D4x4yCia.js} +1 -1
  81. package/dist/{useAppleApp-BKPntZPm.js → useAppleApp-taaewPSf.js} +1 -1
  82. package/dist/{useAppleBundleId-DvQKEEy4.js → useAppleBundleId-BeGViMe7.js} +1 -1
  83. package/dist/useAppleProfiles-1TtO0aO6.js +63 -0
  84. package/dist/{useGoogleStatus-D9jjGa--.js → useGoogleStatus-CSsxEvX7.js} +1 -1
  85. package/dist/{useProjectCredentials-BjsS28hP.js → useProjectCredentials-Cm50WMZU.js} +1 -1
  86. package/dist/{useWebSocket-CIeyHqxG.js → useWebSocket-BVfn36be.js} +1 -1
  87. package/docs/apple/apiKey/delete.md +25 -0
  88. package/docs/apple/apiKey.md +26 -0
  89. package/docs/apple/certificate/delete.md +25 -0
  90. package/docs/apple/certificate.md +26 -0
  91. package/docs/game/android/apiKey/delete.md +25 -0
  92. package/docs/game/android/apiKey.md +26 -0
  93. package/docs/game/android/keyStore/delete.md +25 -0
  94. package/docs/game/android/keyStore.md +26 -0
  95. package/docs/game/ios/profile/delete.md +26 -0
  96. package/docs/game/ios/profile.md +27 -0
  97. package/package.json +6 -1
  98. package/dist/index-1H48f5j2.js +0 -24
@@ -1,5 +1,5 @@
1
1
  import { useQuery } from '@tanstack/react-query';
2
- import { j as App } from './index-BtPf4vzY.js';
2
+ import { l as App } from './index-CmuXyPed.js';
3
3
 
4
4
  const queryAppleApp = async ({ ctx, iosBundleId }) => {
5
5
  if (!iosBundleId) {
@@ -1,5 +1,5 @@
1
1
  import { useQuery } from '@tanstack/react-query';
2
- import { i as BundleId, u as getGodotProjectCapabilities, P as Platform, G as GODOT_CAPABILITIES, v as CapabilityType } from './index-BtPf4vzY.js';
2
+ import { k as BundleId, u as getGodotProjectCapabilities, P as Platform, G as GODOT_CAPABILITIES, v as CapabilityType } from './index-CmuXyPed.js';
3
3
 
4
4
  async function getBundleIdCapabilities(bundleId) {
5
5
  const current = await bundleId.getBundleIdCapabilitiesAsync();
@@ -0,0 +1,63 @@
1
+ import { useQuery } from '@tanstack/react-query';
2
+ import { DateTime } from 'luxon';
3
+ import { f as getShortDate, q as Profile, r as ProfileType } from './index-CmuXyPed.js';
4
+ import 'node:crypto';
5
+ import 'node:fs';
6
+ import 'node:path';
7
+ import 'node:readline';
8
+ import 'node:url';
9
+ import 'readline-sync';
10
+ import 'axios';
11
+ import 'isomorphic-git';
12
+ import '@oclif/core';
13
+ import 'react';
14
+ import 'crypto-js';
15
+ import 'uuid';
16
+ import 'fast-glob';
17
+ import 'yazl';
18
+ import 'socket.io-client';
19
+ import 'fullscreen-ink';
20
+ import 'ink';
21
+
22
+ async function queryAppleProfiles({ ctx }) {
23
+ const appleProfiles = await Profile.getAsync(ctx, {
24
+ query: {
25
+ filter: {
26
+ profileType: [ProfileType.IOS_APP_STORE]
27
+ }
28
+ }
29
+ });
30
+ return appleProfiles;
31
+ }
32
+ const canAppleProfileBeUsed = (appleProfile, project, projectCredentials) => {
33
+ try {
34
+ if (!appleProfile.isValid) return false;
35
+ const profileBundleId = appleProfile.attributes.bundleId?.attributes.identifier;
36
+ const profileCertificateSerialNumber = appleProfile.attributes.certificates?.[0]?.attributes.serialNumber;
37
+ if (profileBundleId !== project.details?.iosBundleId) return false;
38
+ return projectCredentials.some(
39
+ (credential) => credential.isActive && credential.serialNumber === profileCertificateSerialNumber
40
+ );
41
+ } catch (error) {
42
+ console.log(error);
43
+ return false;
44
+ }
45
+ };
46
+ function getAppleProfileSummary(appleProfile, project, projectCredentials) {
47
+ return {
48
+ canBeUsed: canAppleProfileBeUsed(appleProfile, project, projectCredentials),
49
+ expires: getShortDate(DateTime.fromISO(appleProfile.attributes.expirationDate)),
50
+ id: appleProfile.id,
51
+ name: appleProfile.attributes.name,
52
+ platform: appleProfile.attributes.platform
53
+ };
54
+ }
55
+ const useAppleProfiles = (props) => {
56
+ const queryResult = useQuery({
57
+ queryFn: () => queryAppleProfiles(props),
58
+ queryKey: ["appleProfiles"]
59
+ });
60
+ return queryResult;
61
+ };
62
+
63
+ export { canAppleProfileBeUsed as c, getAppleProfileSummary as g, queryAppleProfiles as q, useAppleProfiles as u };
@@ -1,5 +1,5 @@
1
1
  import { useQuery } from '@tanstack/react-query';
2
- import { a1 as cacheKeys, a2 as getGoogleStatus } from './index-BtPf4vzY.js';
2
+ import { a0 as cacheKeys, a2 as getGoogleStatus } from './index-CmuXyPed.js';
3
3
 
4
4
  const useGoogleStatus = () => useQuery({
5
5
  queryFn: getGoogleStatus,
@@ -1,6 +1,6 @@
1
1
  import { useQuery } from '@tanstack/react-query';
2
2
  import axios from 'axios';
3
- import { a1 as cacheKeys, b as getShortUUID, c as getShortDate, t as getAuthedHeaders, s as API_URL, X as castArrayObjectDates } from './index-BtPf4vzY.js';
3
+ import { a0 as cacheKeys, g as getShortUUID, f as getShortDate, t as getAuthedHeaders, s as API_URL, V as castArrayObjectDates } from './index-CmuXyPed.js';
4
4
 
5
5
  async function queryProjectCredentials({
6
6
  projectId,
@@ -1,6 +1,6 @@
1
1
  import { useEffect } from 'react';
2
2
  import { io } from 'socket.io-client';
3
- import { $ as WS_URL, a0 as getAuthToken } from './index-BtPf4vzY.js';
3
+ import { _ as WS_URL, $ as getAuthToken } from './index-CmuXyPed.js';
4
4
 
5
5
  function useWebSocket(listeners = []) {
6
6
  const log = () => {
@@ -0,0 +1,25 @@
1
+ # Command: `apple apiKey delete`
2
+
3
+ ## Description
4
+
5
+ Delete an Apple API Key from ShipThis and optionally from Apple
6
+
7
+ ## Help Output
8
+
9
+ ```help
10
+ USAGE
11
+ $ shipthis apple apiKey delete [-i] [-y] [-a]
12
+
13
+ FLAGS
14
+ -a, --revokeInApple Also revoke the API Key in Apple (cannot be undone)
15
+ -i, --immediate Remove from storage immediately (rather than waiting for automatic cleanup - cannot be undone)
16
+ -y, --iAmSure I am sure I want to do this - do not prompt me
17
+
18
+ DESCRIPTION
19
+ Delete an Apple API Key from ShipThis and optionally from Apple
20
+
21
+ EXAMPLES
22
+ $ shipthis apple apiKey delete
23
+
24
+ $ shipthis apple apiKey delete --immediate --revokeInApple --iAmSure
25
+ ```
@@ -55,6 +55,32 @@ EXAMPLES
55
55
  $ shipthis apple apiKey create --force
56
56
  ```
57
57
 
58
+ ### `apple apiKey delete`
59
+
60
+ #### Description
61
+
62
+ Delete an Apple API Key from ShipThis and optionally from Apple
63
+
64
+ #### Help Output
65
+
66
+ ```help
67
+ USAGE
68
+ $ shipthis apple apiKey delete [-i] [-y] [-a]
69
+
70
+ FLAGS
71
+ -a, --revokeInApple Also revoke the API Key in Apple (cannot be undone)
72
+ -i, --immediate Remove from storage immediately (rather than waiting for automatic cleanup - cannot be undone)
73
+ -y, --iAmSure I am sure I want to do this - do not prompt me
74
+
75
+ DESCRIPTION
76
+ Delete an Apple API Key from ShipThis and optionally from Apple
77
+
78
+ EXAMPLES
79
+ $ shipthis apple apiKey delete
80
+
81
+ $ shipthis apple apiKey delete --immediate --revokeInApple --iAmSure
82
+ ```
83
+
58
84
  ### `apple apiKey export`
59
85
 
60
86
  #### Description
@@ -0,0 +1,25 @@
1
+ # Command: `apple certificate delete`
2
+
3
+ ## Description
4
+
5
+ Delete an iOS Distribution Certificate from ShipThis and optionally from Apple
6
+
7
+ ## Help Output
8
+
9
+ ```help
10
+ USAGE
11
+ $ shipthis apple certificate delete [-i] [-y] [-a]
12
+
13
+ FLAGS
14
+ -a, --revokeInApple Also revoke the Certificate in Apple (cannot be undone)
15
+ -i, --immediate Remove from storage immediately (rather than waiting for automatic cleanup - cannot be undone)
16
+ -y, --iAmSure I am sure I want to do this - do not prompt me
17
+
18
+ DESCRIPTION
19
+ Delete an iOS Distribution Certificate from ShipThis and optionally from Apple
20
+
21
+ EXAMPLES
22
+ $ shipthis apple certificate delete
23
+
24
+ $ shipthis apple certificate delete --immediate --revokeInApple --iAmSure
25
+ ```
@@ -57,6 +57,32 @@ EXAMPLES
57
57
  $ shipthis apple certificate create --force
58
58
  ```
59
59
 
60
+ ### `apple certificate delete`
61
+
62
+ #### Description
63
+
64
+ Delete an iOS Distribution Certificate from ShipThis and optionally from Apple
65
+
66
+ #### Help Output
67
+
68
+ ```help
69
+ USAGE
70
+ $ shipthis apple certificate delete [-i] [-y] [-a]
71
+
72
+ FLAGS
73
+ -a, --revokeInApple Also revoke the Certificate in Apple (cannot be undone)
74
+ -i, --immediate Remove from storage immediately (rather than waiting for automatic cleanup - cannot be undone)
75
+ -y, --iAmSure I am sure I want to do this - do not prompt me
76
+
77
+ DESCRIPTION
78
+ Delete an iOS Distribution Certificate from ShipThis and optionally from Apple
79
+
80
+ EXAMPLES
81
+ $ shipthis apple certificate delete
82
+
83
+ $ shipthis apple certificate delete --immediate --revokeInApple --iAmSure
84
+ ```
85
+
60
86
  ### `apple certificate export`
61
87
 
62
88
  #### Description
@@ -0,0 +1,25 @@
1
+ # Command: `game android apiKey delete`
2
+
3
+ ## Description
4
+
5
+ Delete the active Android API Key from ShipThis
6
+
7
+ ## Help Output
8
+
9
+ ```help
10
+ USAGE
11
+ $ shipthis game android apiKey delete [-g <value>] [-i] [-y]
12
+
13
+ FLAGS
14
+ -g, --gameId=<value> The ID of the game
15
+ -i, --immediate Remove from storage immediately (rather than waiting for automatic cleanup - cannot be undone)
16
+ -y, --iAmSure I am sure I want to do this - do not prompt me
17
+
18
+ DESCRIPTION
19
+ Delete the active Android API Key from ShipThis
20
+
21
+ EXAMPLES
22
+ $ shipthis game android apiKey delete
23
+
24
+ $ shipthis game android apiKey delete --immediate --iAmSure
25
+ ```
@@ -60,6 +60,32 @@ EXAMPLES
60
60
  $ shipthis game android apiKey create --gameId 0c179fc4
61
61
  ```
62
62
 
63
+ ### `game android apiKey delete`
64
+
65
+ #### Description
66
+
67
+ Delete the active Android API Key from ShipThis
68
+
69
+ #### Help Output
70
+
71
+ ```help
72
+ USAGE
73
+ $ shipthis game android apiKey delete [-g <value>] [-i] [-y]
74
+
75
+ FLAGS
76
+ -g, --gameId=<value> The ID of the game
77
+ -i, --immediate Remove from storage immediately (rather than waiting for automatic cleanup - cannot be undone)
78
+ -y, --iAmSure I am sure I want to do this - do not prompt me
79
+
80
+ DESCRIPTION
81
+ Delete the active Android API Key from ShipThis
82
+
83
+ EXAMPLES
84
+ $ shipthis game android apiKey delete
85
+
86
+ $ shipthis game android apiKey delete --immediate --iAmSure
87
+ ```
88
+
63
89
  ### `game android apiKey export`
64
90
 
65
91
  #### Description
@@ -0,0 +1,25 @@
1
+ # Command: `game android keyStore delete`
2
+
3
+ ## Description
4
+
5
+ Delete the active Android KeyStore from ShipThis
6
+
7
+ ## Help Output
8
+
9
+ ```help
10
+ USAGE
11
+ $ shipthis game android keyStore delete [-g <value>] [-i] [-y]
12
+
13
+ FLAGS
14
+ -g, --gameId=<value> The ID of the game
15
+ -i, --immediate Remove from storage immediately (rather than waiting for automatic cleanup - cannot be undone)
16
+ -y, --iAmSure I am sure I want to do this - do not prompt me
17
+
18
+ DESCRIPTION
19
+ Delete the active Android KeyStore from ShipThis
20
+
21
+ EXAMPLES
22
+ $ shipthis game android keyStore delete
23
+
24
+ $ shipthis game android keyStore delete --immediate --iAmSure
25
+ ```
@@ -41,6 +41,32 @@ EXAMPLES
41
41
  $ shipthis game android keyStore create --gameId 0c179fc4
42
42
  ```
43
43
 
44
+ ### `game android keyStore delete`
45
+
46
+ #### Description
47
+
48
+ Delete the active Android KeyStore from ShipThis
49
+
50
+ #### Help Output
51
+
52
+ ```help
53
+ USAGE
54
+ $ shipthis game android keyStore delete [-g <value>] [-i] [-y]
55
+
56
+ FLAGS
57
+ -g, --gameId=<value> The ID of the game
58
+ -i, --immediate Remove from storage immediately (rather than waiting for automatic cleanup - cannot be undone)
59
+ -y, --iAmSure I am sure I want to do this - do not prompt me
60
+
61
+ DESCRIPTION
62
+ Delete the active Android KeyStore from ShipThis
63
+
64
+ EXAMPLES
65
+ $ shipthis game android keyStore delete
66
+
67
+ $ shipthis game android keyStore delete --immediate --iAmSure
68
+ ```
69
+
44
70
  ### `game android keyStore export`
45
71
 
46
72
  #### Description
@@ -0,0 +1,26 @@
1
+ # Command: `game ios profile delete`
2
+
3
+ ## Description
4
+
5
+ Delete an iOS Mobile Provisioning Profile from ShipThis and optionally from Apple
6
+
7
+ ## Help Output
8
+
9
+ ```help
10
+ USAGE
11
+ $ shipthis game ios profile delete [-g <value>] [-i] [-y] [-a]
12
+
13
+ FLAGS
14
+ -a, --revokeInApple Also revoke the Profile in Apple (cannot be undone)
15
+ -g, --gameId=<value> The ID of the game
16
+ -i, --immediate Remove from storage immediately (rather than waiting for automatic cleanup - cannot be undone)
17
+ -y, --iAmSure I am sure I want to do this - do not prompt me
18
+
19
+ DESCRIPTION
20
+ Delete an iOS Mobile Provisioning Profile from ShipThis and optionally from Apple
21
+
22
+ EXAMPLES
23
+ $ shipthis game ios profile delete
24
+
25
+ $ shipthis game ios profile delete --revokeInApple --immediate --iAmSure
26
+ ```
@@ -56,6 +56,33 @@ EXAMPLES
56
56
  $ shipthis game ios profile create
57
57
  ```
58
58
 
59
+ ### `game ios profile delete`
60
+
61
+ #### Description
62
+
63
+ Delete an iOS Mobile Provisioning Profile from ShipThis and optionally from Apple
64
+
65
+ #### Help Output
66
+
67
+ ```help
68
+ USAGE
69
+ $ shipthis game ios profile delete [-g <value>] [-i] [-y] [-a]
70
+
71
+ FLAGS
72
+ -a, --revokeInApple Also revoke the Profile in Apple (cannot be undone)
73
+ -g, --gameId=<value> The ID of the game
74
+ -i, --immediate Remove from storage immediately (rather than waiting for automatic cleanup - cannot be undone)
75
+ -y, --iAmSure I am sure I want to do this - do not prompt me
76
+
77
+ DESCRIPTION
78
+ Delete an iOS Mobile Provisioning Profile from ShipThis and optionally from Apple
79
+
80
+ EXAMPLES
81
+ $ shipthis game ios profile delete
82
+
83
+ $ shipthis game ios profile delete --revokeInApple --immediate --iAmSure
84
+ ```
85
+
59
86
  ### `game ios profile export`
60
87
 
61
88
  #### Description
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "shipthis",
3
3
  "description": "ShipThis manages building and uploading your Godot games to the App Store and Google Play.",
4
- "version": "0.1.36",
4
+ "version": "0.1.37",
5
5
  "author": "Hello Invent Ltd",
6
6
  "bin": {
7
7
  "shipthis": "./bin/run.js"
@@ -109,11 +109,13 @@
109
109
  "./dist/commands/apple/apiKey/export.js",
110
110
  "./dist/commands/apple/apiKey/create.js",
111
111
  "./dist/commands/apple/apiKey/status.js",
112
+ "./dist/commands/apple/apiKey/delete.js",
112
113
  "./dist/commands/apple/apiKey/import.js",
113
114
  "./dist/commands/apple/status.js",
114
115
  "./dist/commands/apple/certificate/export.js",
115
116
  "./dist/commands/apple/certificate/create.js",
116
117
  "./dist/commands/apple/certificate/status.js",
118
+ "./dist/commands/apple/certificate/delete.js",
117
119
  "./dist/commands/apple/certificate/import.js",
118
120
  "./dist/commands/apple/login.js",
119
121
  "./dist/commands/game/list.js",
@@ -127,6 +129,7 @@
127
129
  "./dist/commands/game/ios/profile/export.js",
128
130
  "./dist/commands/game/ios/profile/create.js",
129
131
  "./dist/commands/game/ios/profile/status.js",
132
+ "./dist/commands/game/ios/profile/delete.js",
130
133
  "./dist/commands/game/ios/profile/import.js",
131
134
  "./dist/commands/game/create.js",
132
135
  "./dist/commands/game/job/list.js",
@@ -138,11 +141,13 @@
138
141
  "./dist/commands/game/android/keyStore/export.js",
139
142
  "./dist/commands/game/android/keyStore/create.js",
140
143
  "./dist/commands/game/android/keyStore/status.js",
144
+ "./dist/commands/game/android/keyStore/delete.js",
141
145
  "./dist/commands/game/android/keyStore/import.js",
142
146
  "./dist/commands/game/android/apiKey/export.js",
143
147
  "./dist/commands/game/android/apiKey/create.js",
144
148
  "./dist/commands/game/android/apiKey/policy.js",
145
149
  "./dist/commands/game/android/apiKey/status.js",
150
+ "./dist/commands/game/android/apiKey/delete.js",
146
151
  "./dist/commands/game/android/apiKey/import.js",
147
152
  "./dist/commands/game/android/apiKey/invite.js",
148
153
  "./dist/commands/game/android/apiKey/connect.js",
@@ -1,24 +0,0 @@
1
- import axios from 'axios';
2
- import { s as API_URL, t as getAuthedHeaders, X as castArrayObjectDates } from './index-BtPf4vzY.js';
3
- import 'node:fs';
4
-
5
- async function getUserCredentials(pageSize = 100) {
6
- const headers = getAuthedHeaders();
7
- const { data } = await axios({
8
- headers,
9
- method: "get",
10
- url: `${API_URL}/credentials?pageSize=${pageSize}`
11
- });
12
- return castArrayObjectDates(data.data);
13
- }
14
- async function getProjectCredentials(projectId, pageSize = 100) {
15
- const headers = getAuthedHeaders();
16
- const { data } = await axios({
17
- headers,
18
- method: "get",
19
- url: `${API_URL}/projects/${projectId}/credentials?pageSize=${pageSize}`
20
- });
21
- return castArrayObjectDates(data.data);
22
- }
23
-
24
- export { getProjectCredentials as a, getUserCredentials as g };