shipthis 0.0.1 → 0.0.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.
Files changed (50) hide show
  1. package/README.md +34 -34
  2. package/dist/{App-DFPMSEZF.js → App-CRcDsay7.js} +1 -1
  3. package/dist/{AppleBundleIdDetails-CuhAbVEp.js → AppleBundleIdDetails-UNAVT0U6.js} +3 -3
  4. package/dist/{UserCredentialsTable-DHeRI4h6.js → UserCredentialsTable-CPx_wwST.js} +2 -2
  5. package/dist/{baseAppleCommand-BXUu-026.js → baseAppleCommand-BUDjh10x.js} +1 -1
  6. package/dist/{baseGameCommand-xrD2WDDN.js → baseGameCommand-DvFilbRN.js} +37 -18
  7. package/dist/commands/apple/apiKey/create.js +4 -4
  8. package/dist/commands/apple/apiKey/export.js +3 -3
  9. package/dist/commands/apple/apiKey/import.js +3 -3
  10. package/dist/commands/apple/apiKey/status.js +4 -4
  11. package/dist/commands/apple/certificate/create.js +4 -4
  12. package/dist/commands/apple/certificate/export.js +3 -3
  13. package/dist/commands/apple/certificate/import.js +3 -3
  14. package/dist/commands/apple/certificate/status.js +4 -4
  15. package/dist/commands/apple/login.js +2 -2
  16. package/dist/commands/apple/status.js +3 -3
  17. package/dist/commands/dashboard.js +1 -1
  18. package/dist/commands/game/build/download.js +2 -2
  19. package/dist/commands/game/build/list.js +5 -5
  20. package/dist/commands/game/create.js +2 -2
  21. package/dist/commands/game/details.js +3 -3
  22. package/dist/commands/game/export.js +1 -1
  23. package/dist/commands/game/ios/app/addTester.js +4 -4
  24. package/dist/commands/game/ios/app/create.js +3 -3
  25. package/dist/commands/game/ios/app/status.js +5 -5
  26. package/dist/commands/game/ios/app/sync.js +3 -3
  27. package/dist/commands/game/ios/profile/create.js +4 -4
  28. package/dist/commands/game/ios/profile/export.js +3 -3
  29. package/dist/commands/game/ios/profile/import.js +3 -3
  30. package/dist/commands/game/ios/profile/status.js +3 -3
  31. package/dist/commands/game/ios/status.js +6 -6
  32. package/dist/commands/game/job/list.js +4 -4
  33. package/dist/commands/game/job/status.js +5 -5
  34. package/dist/commands/game/list.js +3 -3
  35. package/dist/commands/game/ship.js +2 -2
  36. package/dist/commands/game/status.js +3 -3
  37. package/dist/commands/game/wizard.js +1 -1
  38. package/dist/commands/login.js +12 -2
  39. package/dist/commands/status.js +6 -6
  40. package/dist/{export-CujqsTR_.js → export-DnCkwLrK.js} +1 -1
  41. package/dist/{import-Q-KO61ll.js → import-CMzGrYJE.js} +1 -1
  42. package/dist/{index-DKsVctbw.js → index-Bw_nDHi8.js} +1 -1
  43. package/dist/{upload-CUlWmNbS.js → upload-O-TtkVJK.js} +1 -1
  44. package/dist/{useAppleApp-BmwYu7qG.js → useAppleApp-aigGCahA.js} +1 -1
  45. package/dist/{useAppleBundleId-DCJnfNWr.js → useAppleBundleId-Csd5x81b.js} +1 -1
  46. package/dist/{useBuilds-Dh_PWwCf.js → useBuilds-v-UBnSnM.js} +3 -3
  47. package/dist/{useJob-CCkqCMvF.js → useJob-DJQrqUh2.js} +2 -2
  48. package/oclif.manifest.json +171 -171
  49. package/package.json +2 -2
  50. package/dist/run.js +0 -3
package/README.md CHANGED
@@ -54,7 +54,7 @@ $ npm install -g shipthis
54
54
  $ shipthis COMMAND
55
55
  running command...
56
56
  $ shipthis (--version)
57
- shipthis/0.0.1 linux-x64 node-v20.17.0
57
+ shipthis/0.0.3 linux-x64 node-v20.17.0
58
58
  $ shipthis --help [COMMAND]
59
59
  USAGE
60
60
  $ shipthis COMMAND
@@ -120,7 +120,7 @@ EXAMPLES
120
120
  $ shipthis apple apiKey create --force
121
121
  ```
122
122
 
123
- _See code: [src/commands/apple/apiKey/create.ts](https://github.com/oclif-cli/shipthis/blob/v0.0.1/src/commands/apple/apiKey/create.ts)_
123
+ _See code: [src/commands/apple/apiKey/create.ts](https://github.com/oclif-cli/shipthis/blob/v0.0.3/src/commands/apple/apiKey/create.ts)_
124
124
 
125
125
  ## `shipthis apple apiKey export FILE`
126
126
 
@@ -143,7 +143,7 @@ EXAMPLES
143
143
  $ shipthis apple apiKey export userApiKey.zip
144
144
  ```
145
145
 
146
- _See code: [src/commands/apple/apiKey/export.ts](https://github.com/oclif-cli/shipthis/blob/v0.0.1/src/commands/apple/apiKey/export.ts)_
146
+ _See code: [src/commands/apple/apiKey/export.ts](https://github.com/oclif-cli/shipthis/blob/v0.0.3/src/commands/apple/apiKey/export.ts)_
147
147
 
148
148
  ## `shipthis apple apiKey import FILE`
149
149
 
@@ -166,7 +166,7 @@ EXAMPLES
166
166
  $ shipthis apple apiKey import userApiKey.zip
167
167
  ```
168
168
 
169
- _See code: [src/commands/apple/apiKey/import.ts](https://github.com/oclif-cli/shipthis/blob/v0.0.1/src/commands/apple/apiKey/import.ts)_
169
+ _See code: [src/commands/apple/apiKey/import.ts](https://github.com/oclif-cli/shipthis/blob/v0.0.3/src/commands/apple/apiKey/import.ts)_
170
170
 
171
171
  ## `shipthis apple apiKey status`
172
172
 
@@ -189,7 +189,7 @@ EXAMPLES
189
189
  $ shipthis apple apiKey status --noAppleAuth
190
190
  ```
191
191
 
192
- _See code: [src/commands/apple/apiKey/status.ts](https://github.com/oclif-cli/shipthis/blob/v0.0.1/src/commands/apple/apiKey/status.ts)_
192
+ _See code: [src/commands/apple/apiKey/status.ts](https://github.com/oclif-cli/shipthis/blob/v0.0.3/src/commands/apple/apiKey/status.ts)_
193
193
 
194
194
  ## `shipthis apple certificate create`
195
195
 
@@ -213,7 +213,7 @@ EXAMPLES
213
213
  $ shipthis apple certificate create --force
214
214
  ```
215
215
 
216
- _See code: [src/commands/apple/certificate/create.ts](https://github.com/oclif-cli/shipthis/blob/v0.0.1/src/commands/apple/certificate/create.ts)_
216
+ _See code: [src/commands/apple/certificate/create.ts](https://github.com/oclif-cli/shipthis/blob/v0.0.3/src/commands/apple/certificate/create.ts)_
217
217
 
218
218
  ## `shipthis apple certificate export FILE`
219
219
 
@@ -236,7 +236,7 @@ EXAMPLES
236
236
  $ shipthis apple certificate export userCert.zip
237
237
  ```
238
238
 
239
- _See code: [src/commands/apple/certificate/export.ts](https://github.com/oclif-cli/shipthis/blob/v0.0.1/src/commands/apple/certificate/export.ts)_
239
+ _See code: [src/commands/apple/certificate/export.ts](https://github.com/oclif-cli/shipthis/blob/v0.0.3/src/commands/apple/certificate/export.ts)_
240
240
 
241
241
  ## `shipthis apple certificate import FILE`
242
242
 
@@ -259,7 +259,7 @@ EXAMPLES
259
259
  $ shipthis apple certificate import userCert.zip
260
260
  ```
261
261
 
262
- _See code: [src/commands/apple/certificate/import.ts](https://github.com/oclif-cli/shipthis/blob/v0.0.1/src/commands/apple/certificate/import.ts)_
262
+ _See code: [src/commands/apple/certificate/import.ts](https://github.com/oclif-cli/shipthis/blob/v0.0.3/src/commands/apple/certificate/import.ts)_
263
263
 
264
264
  ## `shipthis apple certificate status`
265
265
 
@@ -282,7 +282,7 @@ EXAMPLES
282
282
  $ shipthis apple certificate status --noAppleAuth
283
283
  ```
284
284
 
285
- _See code: [src/commands/apple/certificate/status.ts](https://github.com/oclif-cli/shipthis/blob/v0.0.1/src/commands/apple/certificate/status.ts)_
285
+ _See code: [src/commands/apple/certificate/status.ts](https://github.com/oclif-cli/shipthis/blob/v0.0.3/src/commands/apple/certificate/status.ts)_
286
286
 
287
287
  ## `shipthis apple login`
288
288
 
@@ -306,7 +306,7 @@ EXAMPLES
306
306
  $ shipthis apple login --force --appleEmail me@email.nowhere
307
307
  ```
308
308
 
309
- _See code: [src/commands/apple/login.ts](https://github.com/oclif-cli/shipthis/blob/v0.0.1/src/commands/apple/login.ts)_
309
+ _See code: [src/commands/apple/login.ts](https://github.com/oclif-cli/shipthis/blob/v0.0.3/src/commands/apple/login.ts)_
310
310
 
311
311
  ## `shipthis apple status`
312
312
 
@@ -323,7 +323,7 @@ EXAMPLES
323
323
  $ shipthis apple status
324
324
  ```
325
325
 
326
- _See code: [src/commands/apple/status.ts](https://github.com/oclif-cli/shipthis/blob/v0.0.1/src/commands/apple/status.ts)_
326
+ _See code: [src/commands/apple/status.ts](https://github.com/oclif-cli/shipthis/blob/v0.0.3/src/commands/apple/status.ts)_
327
327
 
328
328
  ## `shipthis dashboard`
329
329
 
@@ -340,7 +340,7 @@ EXAMPLES
340
340
  $ shipthis dashboard
341
341
  ```
342
342
 
343
- _See code: [src/commands/dashboard.ts](https://github.com/oclif-cli/shipthis/blob/v0.0.1/src/commands/dashboard.ts)_
343
+ _See code: [src/commands/dashboard.ts](https://github.com/oclif-cli/shipthis/blob/v0.0.3/src/commands/dashboard.ts)_
344
344
 
345
345
  ## `shipthis game build download BUILD_ID FILE`
346
346
 
@@ -367,7 +367,7 @@ EXAMPLES
367
367
  $ shipthis game build download --gameId 0c179fc4 e4b9a3d7 output.apk
368
368
  ```
369
369
 
370
- _See code: [src/commands/game/build/download.ts](https://github.com/oclif-cli/shipthis/blob/v0.0.1/src/commands/game/build/download.ts)_
370
+ _See code: [src/commands/game/build/download.ts](https://github.com/oclif-cli/shipthis/blob/v0.0.3/src/commands/game/build/download.ts)_
371
371
 
372
372
  ## `shipthis game build list`
373
373
 
@@ -397,7 +397,7 @@ EXAMPLES
397
397
  $ shipthis game build list --gameId 0c179fc4 --pageSize 20 --pageNumber 1
398
398
  ```
399
399
 
400
- _See code: [src/commands/game/build/list.ts](https://github.com/oclif-cli/shipthis/blob/v0.0.1/src/commands/game/build/list.ts)_
400
+ _See code: [src/commands/game/build/list.ts](https://github.com/oclif-cli/shipthis/blob/v0.0.3/src/commands/game/build/list.ts)_
401
401
 
402
402
  ## `shipthis game create`
403
403
 
@@ -419,7 +419,7 @@ EXAMPLES
419
419
  $ shipthis game create
420
420
  ```
421
421
 
422
- _See code: [src/commands/game/create.ts](https://github.com/oclif-cli/shipthis/blob/v0.0.1/src/commands/game/create.ts)_
422
+ _See code: [src/commands/game/create.ts](https://github.com/oclif-cli/shipthis/blob/v0.0.3/src/commands/game/create.ts)_
423
423
 
424
424
  ## `shipthis game details`
425
425
 
@@ -453,7 +453,7 @@ EXAMPLES
453
453
  $ shipthis game details --gameEngine godot --gameEngineVersion 4.2 --force
454
454
  ```
455
455
 
456
- _See code: [src/commands/game/details.ts](https://github.com/oclif-cli/shipthis/blob/v0.0.1/src/commands/game/details.ts)_
456
+ _See code: [src/commands/game/details.ts](https://github.com/oclif-cli/shipthis/blob/v0.0.3/src/commands/game/details.ts)_
457
457
 
458
458
  ## `shipthis game export GAME_ID`
459
459
 
@@ -478,7 +478,7 @@ EXAMPLES
478
478
  $ shipthis game export abcd1234 --force
479
479
  ```
480
480
 
481
- _See code: [src/commands/game/export.ts](https://github.com/oclif-cli/shipthis/blob/v0.0.1/src/commands/game/export.ts)_
481
+ _See code: [src/commands/game/export.ts](https://github.com/oclif-cli/shipthis/blob/v0.0.3/src/commands/game/export.ts)_
482
482
 
483
483
  ## `shipthis game ios app addTester`
484
484
 
@@ -501,7 +501,7 @@ EXAMPLES
501
501
  $ shipthis game ios app addTester
502
502
  ```
503
503
 
504
- _See code: [src/commands/game/ios/app/addTester.ts](https://github.com/oclif-cli/shipthis/blob/v0.0.1/src/commands/game/ios/app/addTester.ts)_
504
+ _See code: [src/commands/game/ios/app/addTester.ts](https://github.com/oclif-cli/shipthis/blob/v0.0.3/src/commands/game/ios/app/addTester.ts)_
505
505
 
506
506
  ## `shipthis game ios app create`
507
507
 
@@ -526,7 +526,7 @@ EXAMPLES
526
526
  $ shipthis game ios app create
527
527
  ```
528
528
 
529
- _See code: [src/commands/game/ios/app/create.ts](https://github.com/oclif-cli/shipthis/blob/v0.0.1/src/commands/game/ios/app/create.ts)_
529
+ _See code: [src/commands/game/ios/app/create.ts](https://github.com/oclif-cli/shipthis/blob/v0.0.3/src/commands/game/ios/app/create.ts)_
530
530
 
531
531
  ## `shipthis game ios app status`
532
532
 
@@ -546,7 +546,7 @@ EXAMPLES
546
546
  $ shipthis game ios app status
547
547
  ```
548
548
 
549
- _See code: [src/commands/game/ios/app/status.ts](https://github.com/oclif-cli/shipthis/blob/v0.0.1/src/commands/game/ios/app/status.ts)_
549
+ _See code: [src/commands/game/ios/app/status.ts](https://github.com/oclif-cli/shipthis/blob/v0.0.3/src/commands/game/ios/app/status.ts)_
550
550
 
551
551
  ## `shipthis game ios app sync`
552
552
 
@@ -569,7 +569,7 @@ EXAMPLES
569
569
  $ shipthis game ios app sync
570
570
  ```
571
571
 
572
- _See code: [src/commands/game/ios/app/sync.ts](https://github.com/oclif-cli/shipthis/blob/v0.0.1/src/commands/game/ios/app/sync.ts)_
572
+ _See code: [src/commands/game/ios/app/sync.ts](https://github.com/oclif-cli/shipthis/blob/v0.0.3/src/commands/game/ios/app/sync.ts)_
573
573
 
574
574
  ## `shipthis game ios profile create`
575
575
 
@@ -592,7 +592,7 @@ EXAMPLES
592
592
  $ shipthis game ios profile create
593
593
  ```
594
594
 
595
- _See code: [src/commands/game/ios/profile/create.ts](https://github.com/oclif-cli/shipthis/blob/v0.0.1/src/commands/game/ios/profile/create.ts)_
595
+ _See code: [src/commands/game/ios/profile/create.ts](https://github.com/oclif-cli/shipthis/blob/v0.0.3/src/commands/game/ios/profile/create.ts)_
596
596
 
597
597
  ## `shipthis game ios profile export FILE`
598
598
 
@@ -616,7 +616,7 @@ EXAMPLES
616
616
  $ shipthis game ios profile export userProfile.zip
617
617
  ```
618
618
 
619
- _See code: [src/commands/game/ios/profile/export.ts](https://github.com/oclif-cli/shipthis/blob/v0.0.1/src/commands/game/ios/profile/export.ts)_
619
+ _See code: [src/commands/game/ios/profile/export.ts](https://github.com/oclif-cli/shipthis/blob/v0.0.3/src/commands/game/ios/profile/export.ts)_
620
620
 
621
621
  ## `shipthis game ios profile import FILE`
622
622
 
@@ -640,7 +640,7 @@ EXAMPLES
640
640
  $ shipthis game ios profile import profile.zip
641
641
  ```
642
642
 
643
- _See code: [src/commands/game/ios/profile/import.ts](https://github.com/oclif-cli/shipthis/blob/v0.0.1/src/commands/game/ios/profile/import.ts)_
643
+ _See code: [src/commands/game/ios/profile/import.ts](https://github.com/oclif-cli/shipthis/blob/v0.0.3/src/commands/game/ios/profile/import.ts)_
644
644
 
645
645
  ## `shipthis game ios profile status`
646
646
 
@@ -662,7 +662,7 @@ EXAMPLES
662
662
  $ shipthis game ios profile status
663
663
  ```
664
664
 
665
- _See code: [src/commands/game/ios/profile/status.ts](https://github.com/oclif-cli/shipthis/blob/v0.0.1/src/commands/game/ios/profile/status.ts)_
665
+ _See code: [src/commands/game/ios/profile/status.ts](https://github.com/oclif-cli/shipthis/blob/v0.0.3/src/commands/game/ios/profile/status.ts)_
666
666
 
667
667
  ## `shipthis game ios status`
668
668
 
@@ -684,7 +684,7 @@ EXAMPLES
684
684
  $ shipthis game ios status --gameId 0c179fc4
685
685
  ```
686
686
 
687
- _See code: [src/commands/game/ios/status.ts](https://github.com/oclif-cli/shipthis/blob/v0.0.1/src/commands/game/ios/status.ts)_
687
+ _See code: [src/commands/game/ios/status.ts](https://github.com/oclif-cli/shipthis/blob/v0.0.3/src/commands/game/ios/status.ts)_
688
688
 
689
689
  ## `shipthis game job list`
690
690
 
@@ -712,7 +712,7 @@ EXAMPLES
712
712
  $ shipthis game job list --gameId 0c179fc4
713
713
  ```
714
714
 
715
- _See code: [src/commands/game/job/list.ts](https://github.com/oclif-cli/shipthis/blob/v0.0.1/src/commands/game/job/list.ts)_
715
+ _See code: [src/commands/game/job/list.ts](https://github.com/oclif-cli/shipthis/blob/v0.0.3/src/commands/game/job/list.ts)_
716
716
 
717
717
  ## `shipthis game job status JOB_ID`
718
718
 
@@ -741,7 +741,7 @@ EXAMPLES
741
741
  $ shipthis game job status --gameId 0c179fc4 --lines 20 --follow 4d32239e
742
742
  ```
743
743
 
744
- _See code: [src/commands/game/job/status.ts](https://github.com/oclif-cli/shipthis/blob/v0.0.1/src/commands/game/job/status.ts)_
744
+ _See code: [src/commands/game/job/status.ts](https://github.com/oclif-cli/shipthis/blob/v0.0.3/src/commands/game/job/status.ts)_
745
745
 
746
746
  ## `shipthis game list`
747
747
 
@@ -766,7 +766,7 @@ EXAMPLES
766
766
  $ shipthis game list
767
767
  ```
768
768
 
769
- _See code: [src/commands/game/list.ts](https://github.com/oclif-cli/shipthis/blob/v0.0.1/src/commands/game/list.ts)_
769
+ _See code: [src/commands/game/list.ts](https://github.com/oclif-cli/shipthis/blob/v0.0.3/src/commands/game/list.ts)_
770
770
 
771
771
  ## `shipthis game ship`
772
772
 
@@ -786,7 +786,7 @@ EXAMPLES
786
786
  $ shipthis game ship
787
787
  ```
788
788
 
789
- _See code: [src/commands/game/ship.ts](https://github.com/oclif-cli/shipthis/blob/v0.0.1/src/commands/game/ship.ts)_
789
+ _See code: [src/commands/game/ship.ts](https://github.com/oclif-cli/shipthis/blob/v0.0.3/src/commands/game/ship.ts)_
790
790
 
791
791
  ## `shipthis game status`
792
792
 
@@ -808,7 +808,7 @@ EXAMPLES
808
808
  $ shipthis game status --gameId 0c179fc4
809
809
  ```
810
810
 
811
- _See code: [src/commands/game/status.ts](https://github.com/oclif-cli/shipthis/blob/v0.0.1/src/commands/game/status.ts)_
811
+ _See code: [src/commands/game/status.ts](https://github.com/oclif-cli/shipthis/blob/v0.0.3/src/commands/game/status.ts)_
812
812
 
813
813
  ## `shipthis game wizard`
814
814
 
@@ -830,7 +830,7 @@ EXAMPLES
830
830
  $ shipthis game wizard
831
831
  ```
832
832
 
833
- _See code: [src/commands/game/wizard.ts](https://github.com/oclif-cli/shipthis/blob/v0.0.1/src/commands/game/wizard.ts)_
833
+ _See code: [src/commands/game/wizard.ts](https://github.com/oclif-cli/shipthis/blob/v0.0.3/src/commands/game/wizard.ts)_
834
834
 
835
835
  ## `shipthis help [COMMAND]`
836
836
 
@@ -873,7 +873,7 @@ EXAMPLES
873
873
  $ shipthis login --force --email me@email.nowhere
874
874
  ```
875
875
 
876
- _See code: [src/commands/login.ts](https://github.com/oclif-cli/shipthis/blob/v0.0.1/src/commands/login.ts)_
876
+ _See code: [src/commands/login.ts](https://github.com/oclif-cli/shipthis/blob/v0.0.3/src/commands/login.ts)_
877
877
 
878
878
  ## `shipthis status`
879
879
 
@@ -890,5 +890,5 @@ EXAMPLES
890
890
  $ shipthis status
891
891
  ```
892
892
 
893
- _See code: [src/commands/status.ts](https://github.com/oclif-cli/shipthis/blob/v0.0.1/src/commands/status.ts)_
893
+ _See code: [src/commands/status.ts](https://github.com/oclif-cli/shipthis/blob/v0.0.3/src/commands/status.ts)_
894
894
  <!-- commandsstop -->
@@ -1,7 +1,7 @@
1
1
  import { jsx } from 'react/jsx-runtime';
2
2
  import { Box } from 'ink';
3
3
  import { QueryClientProvider } from '@tanstack/react-query';
4
- import { Q as queryClient } from './baseGameCommand-xrD2WDDN.js';
4
+ import { Q as queryClient } from './baseGameCommand-DvFilbRN.js';
5
5
  import 'luxon';
6
6
  import '@expo/apple-utils/build/index.js';
7
7
  import 'crypto';
@@ -1,11 +1,11 @@
1
1
  import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
2
2
  import { Box, Text } from 'ink';
3
3
  import Spinner from 'ink-spinner';
4
- import './baseGameCommand-xrD2WDDN.js';
4
+ import './baseGameCommand-DvFilbRN.js';
5
5
  import 'luxon';
6
6
  import '@tanstack/react-query';
7
7
  import '@expo/apple-utils/build/index.js';
8
- import { u as useAppleApp } from './useAppleApp-BmwYu7qG.js';
8
+ import { u as useAppleApp } from './useAppleApp-aigGCahA.js';
9
9
  import 'crypto';
10
10
  import 'fs';
11
11
  import 'readline-sync';
@@ -16,7 +16,7 @@ import 'socket.io-client';
16
16
  import 'isomorphic-git';
17
17
  import { T as Title } from './Title-BCQtayg6.js';
18
18
  import { T as Table } from './Table-CvM6pccN.js';
19
- import { u as useAppleBundleId } from './useAppleBundleId-DCJnfNWr.js';
19
+ import { u as useAppleBundleId } from './useAppleBundleId-Csd5x81b.js';
20
20
 
21
21
  const AppleAppDetails = (props) => {
22
22
  const { data, isLoading } = useAppleApp(props);
@@ -8,12 +8,12 @@ import 'node:readline';
8
8
  import 'react';
9
9
  import axios from 'axios';
10
10
  import { useQuery } from '@tanstack/react-query';
11
- import { f as getShortDate, o as getAuthedHeaders, p as API_URL, I as castArrayObjectDates } from './baseGameCommand-xrD2WDDN.js';
11
+ import { f as getShortDate, o as getAuthedHeaders, p as API_URL, I as castArrayObjectDates } from './baseGameCommand-DvFilbRN.js';
12
12
  import 'luxon';
13
13
  import 'socket.io-client';
14
14
  import '@expo/apple-utils/build/index.js';
15
15
  import { c as cacheKeys } from './cacheKeys-CShA-ZjE.js';
16
- import { g as getShortUUID } from './index-DKsVctbw.js';
16
+ import { g as getShortUUID } from './index-Bw_nDHi8.js';
17
17
  import 'isomorphic-git';
18
18
  import { T as Table } from './Table-CvM6pccN.js';
19
19
  import { T as Title } from './Title-BCQtayg6.js';
@@ -1,4 +1,4 @@
1
- import { B as BaseAuthenticatedCommand } from './baseGameCommand-xrD2WDDN.js';
1
+ import { B as BaseAuthenticatedCommand } from './baseGameCommand-DvFilbRN.js';
2
2
 
3
3
  class BaseAppleCommand extends BaseAuthenticatedCommand {
4
4
  async init() {
@@ -34,23 +34,23 @@ const {
34
34
 
35
35
  const DEFAULT_SHIPPED_FILES_GLOBS = ["**/*"];
36
36
  const DEFAULT_IGNORED_FILES_GLOBS = [".git", ".gitignore", "shipthis.json", "shipthis-*.zip"];
37
- const BACKENDS = {
38
- dev: {
39
- apiUrl: "https://api.develop.shipthis.cc/api/1.0.0",
40
- wsUrl: "wss://ws.develop.shipthis.cc",
41
- webUrl: "https://develop.shipthis.cc/"
42
- },
43
- local: {
44
- apiUrl: "https://easy-reliably-gull.ngrok-free.app/api/1.0.0",
45
- wsUrl: "wss://easy-reliably-gull.ngrok-free.app",
46
- webUrl: "https://easy-reliably-gull.ngrok-free.app/"
47
- }
48
- };
49
- const BACKEND_ENV_VAR_NAME = "SHIPTHIS_BACKEND";
50
- const BACKEND_NAME = process.env[BACKEND_ENV_VAR_NAME] || "dev";
51
- const API_URL = BACKENDS[BACKEND_NAME].apiUrl;
52
- const WS_URL = BACKENDS[BACKEND_NAME].wsUrl;
53
- const WEB_URL = BACKENDS[BACKEND_NAME].webUrl;
37
+ const PRIMARY_DOMAIN = "shipthis.cc";
38
+ function getUrlsForDomain(domain) {
39
+ const isPublic = domain.includes(PRIMARY_DOMAIN);
40
+ const apiDomain = (isPublic ? `api.` : "") + domain;
41
+ const wsDomain = (isPublic ? `ws.` : "") + domain;
42
+ return {
43
+ api: `https://${apiDomain}/api/1.0.0`,
44
+ ws: `wss://${wsDomain}`,
45
+ web: `https://${domain}/`
46
+ };
47
+ }
48
+ const DOMAIN_ENV_VAR_NAME = "SHIPTHIS_DOMAIN";
49
+ const DOMAIN = process.env[DOMAIN_ENV_VAR_NAME] || PRIMARY_DOMAIN;
50
+ const BACKEND_URLS = getUrlsForDomain(DOMAIN);
51
+ const API_URL = BACKEND_URLS.api;
52
+ const WS_URL = BACKEND_URLS.ws;
53
+ const WEB_URL = BACKEND_URLS.web;
54
54
 
55
55
  const DEFAULT_LOCALE = "en-US";
56
56
  function castObjectDates(apiObject, keys = ["createdAt", "updatedAt"]) {
@@ -211,6 +211,18 @@ async function getBuild(projectId, buildId) {
211
211
  const { data } = await axios.get(`${API_URL}/projects/${projectId}/builds/${buildId}`, opt);
212
212
  return castObjectDates(data);
213
213
  }
214
+ async function getSelf() {
215
+ const headers = getAuthedHeaders();
216
+ const opt = { headers };
217
+ const { data } = await axios.get(`${API_URL}/me`, opt);
218
+ return castObjectDates(data);
219
+ }
220
+ async function acceptTerms() {
221
+ const headers = getAuthedHeaders();
222
+ const opt = { headers };
223
+ const { data } = await axios.post(`${API_URL}/me/acceptTerms`, {}, opt);
224
+ return castObjectDates(data);
225
+ }
214
226
 
215
227
  var Platform = /* @__PURE__ */ ((Platform2) => {
216
228
  Platform2["IOS"] = "IOS";
@@ -554,6 +566,13 @@ class BaseAuthenticatedCommand extends BaseCommand {
554
566
  if (!this.hasAuthConfig()) {
555
567
  this.error("No auth config found. Please run `shipthis login` to authenticate.", { exit: 1 });
556
568
  }
569
+ const self = await getSelf();
570
+ const accepted = !!self.details?.hasAcceptedTerms;
571
+ if (!accepted) {
572
+ this.error("You must accept the terms and conditions. Please run `shipthis login --force` to re-authenticate", {
573
+ exit: 1
574
+ });
575
+ }
557
576
  }
558
577
  }
559
578
 
@@ -596,4 +615,4 @@ class BaseGameCommand extends BaseAuthenticatedCommand {
596
615
  }
597
616
  }
598
617
 
599
- export { castObjectDates as $, ApiKey as A, BaseAuthenticatedCommand as B, CredentialsType as C, DEFAULT_SHIPPED_FILES_GLOBS as D, getGodotProjectName as E, getBuild as F, GODOT_CAPABILITIES as G, getShortDateTime as H, castArrayObjectDates as I, getProjectJobs as J, JobStatus as K, getShortTimeDelta as L, getJob as M, getNewUploadTicket as N, startJobsFromUpload as O, Platform as P, queryClient as Q, JobStage as R, LogLevel as S, getSingleUseUrl as T, UserRole as U, BaseCommand as V, Auth as W, BACKEND_NAME as X, WS_URL as Y, WEB_URL as Z, getAuthToken as _, ApiKeyType as a, castJobDates as a0, getShortTime as a1, getProject as b, DEFAULT_IGNORED_FILES_GLOBS as c, BaseGameCommand as d, getProjectPlatformProgress as e, getShortDate as f, getUserCredentials as g, CapabilityTypeOption as h, isCWDGodotGame as i, BetaGroup as j, App as k, getGodotAppleBundleIdentifier as l, BundleId as m, getProjectCredentials as n, getAuthedHeaders as o, API_URL as p, Certificate as q, CertificateType as r, Profile as s, ProfileType as t, getGodotProjectCapabilities as u, CapabilityType as v, getProjects as w, GameEngine as x, getGodotVersion as y, createProject as z };
618
+ export { getAuthToken as $, ApiKey as A, BaseAuthenticatedCommand as B, CredentialsType as C, DEFAULT_SHIPPED_FILES_GLOBS as D, getGodotProjectName as E, getBuild as F, GODOT_CAPABILITIES as G, getShortDateTime as H, castArrayObjectDates as I, getProjectJobs as J, JobStatus as K, getShortTimeDelta as L, getJob as M, getNewUploadTicket as N, startJobsFromUpload as O, Platform as P, queryClient as Q, JobStage as R, LogLevel as S, getSingleUseUrl as T, UserRole as U, BaseCommand as V, acceptTerms as W, Auth as X, DOMAIN as Y, WS_URL as Z, WEB_URL as _, ApiKeyType as a, castObjectDates as a0, castJobDates as a1, getShortTime as a2, getProject as b, DEFAULT_IGNORED_FILES_GLOBS as c, BaseGameCommand as d, getProjectPlatformProgress as e, getShortDate as f, getUserCredentials as g, CapabilityTypeOption as h, isCWDGodotGame as i, BetaGroup as j, App as k, getGodotAppleBundleIdentifier as l, BundleId as m, getProjectCredentials as n, getAuthedHeaders as o, API_URL as p, Certificate as q, CertificateType as r, Profile as s, ProfileType as t, getGodotProjectCapabilities as u, CapabilityType as v, getProjects as w, GameEngine as x, getGodotVersion as y, createProject as z };
@@ -3,7 +3,7 @@ import { Flags } from '@oclif/core';
3
3
  import { render } from 'ink';
4
4
  import 'path';
5
5
  import 'fs';
6
- import { g as getUserCredentials, P as Platform, C as CredentialsType, A as ApiKey, U as UserRole, a as ApiKeyType } from '../../../baseGameCommand-xrD2WDDN.js';
6
+ import { g as getUserCredentials, P as Platform, C as CredentialsType, A as ApiKey, U as UserRole, a as ApiKeyType } from '../../../baseGameCommand-DvFilbRN.js';
7
7
  import 'axios';
8
8
  import 'luxon';
9
9
  import 'crypto';
@@ -13,13 +13,13 @@ import 'react';
13
13
  import '@tanstack/react-query';
14
14
  import 'socket.io-client';
15
15
  import 'isomorphic-git';
16
- import { B as BaseAppleCommand } from '../../../baseAppleCommand-BXUu-026.js';
17
- import { A as App } from '../../../App-DFPMSEZF.js';
16
+ import { B as BaseAppleCommand } from '../../../baseAppleCommand-BUDjh10x.js';
17
+ import { A as App } from '../../../App-CRcDsay7.js';
18
18
  import 'ink-spinner';
19
19
  import 'string-length';
20
20
  import 'strip-ansi';
21
21
  import { R as RunWithSpinner } from '../../../RunWithSpinner-BVXNWGD3.js';
22
- import { u as uploadUserCredentials } from '../../../upload-CUlWmNbS.js';
22
+ import { u as uploadUserCredentials } from '../../../upload-O-TtkVJK.js';
23
23
  import '@expo/apple-utils/build/index.js';
24
24
  import 'ini';
25
25
  import 'deepmerge';
@@ -2,7 +2,7 @@ import { jsx } from 'react/jsx-runtime';
2
2
  import { Args, Flags } from '@oclif/core';
3
3
  import { render } from 'ink';
4
4
  import * as fs from 'fs';
5
- import { B as BaseAuthenticatedCommand, g as getUserCredentials, P as Platform, C as CredentialsType } from '../../../baseGameCommand-xrD2WDDN.js';
5
+ import { B as BaseAuthenticatedCommand, g as getUserCredentials, P as Platform, C as CredentialsType } from '../../../baseGameCommand-DvFilbRN.js';
6
6
  import 'path';
7
7
  import '@expo/apple-utils/build/index.js';
8
8
  import 'axios';
@@ -14,12 +14,12 @@ import 'react';
14
14
  import '@tanstack/react-query';
15
15
  import 'socket.io-client';
16
16
  import 'isomorphic-git';
17
- import { A as App } from '../../../App-DFPMSEZF.js';
17
+ import { A as App } from '../../../App-CRcDsay7.js';
18
18
  import 'ink-spinner';
19
19
  import 'string-length';
20
20
  import 'strip-ansi';
21
21
  import { R as RunWithSpinner } from '../../../RunWithSpinner-BVXNWGD3.js';
22
- import { e as exportCredential } from '../../../export-CujqsTR_.js';
22
+ import { e as exportCredential } from '../../../export-DnCkwLrK.js';
23
23
  import 'ini';
24
24
  import 'deepmerge';
25
25
 
@@ -2,7 +2,7 @@ import { jsx } from 'react/jsx-runtime';
2
2
  import { Args, Flags } from '@oclif/core';
3
3
  import { render } from 'ink';
4
4
  import * as fs from 'fs';
5
- import { B as BaseAuthenticatedCommand, g as getUserCredentials, P as Platform, C as CredentialsType } from '../../../baseGameCommand-xrD2WDDN.js';
5
+ import { B as BaseAuthenticatedCommand, g as getUserCredentials, P as Platform, C as CredentialsType } from '../../../baseGameCommand-DvFilbRN.js';
6
6
  import 'path';
7
7
  import '@expo/apple-utils/build/index.js';
8
8
  import 'axios';
@@ -14,12 +14,12 @@ import 'react';
14
14
  import '@tanstack/react-query';
15
15
  import 'socket.io-client';
16
16
  import 'isomorphic-git';
17
- import { A as App } from '../../../App-DFPMSEZF.js';
17
+ import { A as App } from '../../../App-CRcDsay7.js';
18
18
  import 'ink-spinner';
19
19
  import 'string-length';
20
20
  import 'strip-ansi';
21
21
  import { R as RunWithSpinner } from '../../../RunWithSpinner-BVXNWGD3.js';
22
- import { i as importCredential } from '../../../import-Q-KO61ll.js';
22
+ import { i as importCredential } from '../../../import-CMzGrYJE.js';
23
23
  import 'ini';
24
24
  import 'deepmerge';
25
25
 
@@ -1,7 +1,7 @@
1
1
  import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
2
2
  import { Flags } from '@oclif/core';
3
3
  import { Box, Text, render } from 'ink';
4
- import { f as getShortDate, A as ApiKey, P as Platform, C as CredentialsType, B as BaseAuthenticatedCommand } from '../../../baseGameCommand-xrD2WDDN.js';
4
+ import { f as getShortDate, A as ApiKey, P as Platform, C as CredentialsType, B as BaseAuthenticatedCommand } from '../../../baseGameCommand-DvFilbRN.js';
5
5
  import 'path';
6
6
  import 'fs';
7
7
  import '@expo/apple-utils/build/index.js';
@@ -14,9 +14,9 @@ import 'react';
14
14
  import { useQuery } from '@tanstack/react-query';
15
15
  import 'socket.io-client';
16
16
  import 'isomorphic-git';
17
- import { A as App } from '../../../App-DFPMSEZF.js';
17
+ import { A as App } from '../../../App-CRcDsay7.js';
18
18
  import Spinner from 'ink-spinner';
19
- import { u as useUserCredentials, U as UserCredentialsTable } from '../../../UserCredentialsTable-DHeRI4h6.js';
19
+ import { u as useUserCredentials, U as UserCredentialsTable } from '../../../UserCredentialsTable-CPx_wwST.js';
20
20
  import { T as Title } from '../../../Title-BCQtayg6.js';
21
21
  import { T as Table } from '../../../Table-CvM6pccN.js';
22
22
  import 'string-length';
@@ -25,7 +25,7 @@ import { N as NextSteps } from '../../../NextSteps-CK9zHOCt.js';
25
25
  import 'ini';
26
26
  import 'deepmerge';
27
27
  import '../../../cacheKeys-CShA-ZjE.js';
28
- import '../../../index-DKsVctbw.js';
28
+ import '../../../index-Bw_nDHi8.js';
29
29
 
30
30
  async function queryAppleApiKeys({ ctx }) {
31
31
  const keys = await ApiKey.getAsync(ctx);
@@ -5,7 +5,7 @@ import 'path';
5
5
  import 'fs';
6
6
  import '@expo/apple-utils/build/index.js';
7
7
  import 'axios';
8
- import { q as Certificate, r as CertificateType, g as getUserCredentials, P as Platform, C as CredentialsType } from '../../../baseGameCommand-xrD2WDDN.js';
8
+ import { q as Certificate, r as CertificateType, g as getUserCredentials, P as Platform, C as CredentialsType } from '../../../baseGameCommand-DvFilbRN.js';
9
9
  import 'luxon';
10
10
  import 'crypto';
11
11
  import 'readline-sync';
@@ -14,14 +14,14 @@ import 'react';
14
14
  import '@tanstack/react-query';
15
15
  import 'socket.io-client';
16
16
  import 'isomorphic-git';
17
- import { B as BaseAppleCommand } from '../../../baseAppleCommand-BXUu-026.js';
18
- import { A as App } from '../../../App-DFPMSEZF.js';
17
+ import { B as BaseAppleCommand } from '../../../baseAppleCommand-BUDjh10x.js';
18
+ import { A as App } from '../../../App-CRcDsay7.js';
19
19
  import 'ink-spinner';
20
20
  import 'string-length';
21
21
  import 'strip-ansi';
22
22
  import { R as RunWithSpinner } from '../../../RunWithSpinner-BVXNWGD3.js';
23
23
  import forge from 'node-forge';
24
- import { u as uploadUserCredentials } from '../../../upload-CUlWmNbS.js';
24
+ import { u as uploadUserCredentials } from '../../../upload-O-TtkVJK.js';
25
25
  import 'ini';
26
26
  import 'deepmerge';
27
27
 
@@ -2,7 +2,7 @@ import { jsx } from 'react/jsx-runtime';
2
2
  import { Args, Flags } from '@oclif/core';
3
3
  import { render } from 'ink';
4
4
  import * as fs from 'fs';
5
- import { B as BaseAuthenticatedCommand, g as getUserCredentials, P as Platform, C as CredentialsType } from '../../../baseGameCommand-xrD2WDDN.js';
5
+ import { B as BaseAuthenticatedCommand, g as getUserCredentials, P as Platform, C as CredentialsType } from '../../../baseGameCommand-DvFilbRN.js';
6
6
  import 'path';
7
7
  import '@expo/apple-utils/build/index.js';
8
8
  import 'axios';
@@ -14,12 +14,12 @@ import 'react';
14
14
  import '@tanstack/react-query';
15
15
  import 'socket.io-client';
16
16
  import 'isomorphic-git';
17
- import { A as App } from '../../../App-DFPMSEZF.js';
17
+ import { A as App } from '../../../App-CRcDsay7.js';
18
18
  import 'ink-spinner';
19
19
  import 'string-length';
20
20
  import 'strip-ansi';
21
21
  import { R as RunWithSpinner } from '../../../RunWithSpinner-BVXNWGD3.js';
22
- import { e as exportCredential } from '../../../export-CujqsTR_.js';
22
+ import { e as exportCredential } from '../../../export-DnCkwLrK.js';
23
23
  import 'ini';
24
24
  import 'deepmerge';
25
25
 
@@ -2,7 +2,7 @@ import { jsx } from 'react/jsx-runtime';
2
2
  import { Args, Flags } from '@oclif/core';
3
3
  import { render } from 'ink';
4
4
  import * as fs from 'fs';
5
- import { B as BaseAuthenticatedCommand, g as getUserCredentials, P as Platform, C as CredentialsType } from '../../../baseGameCommand-xrD2WDDN.js';
5
+ import { B as BaseAuthenticatedCommand, g as getUserCredentials, P as Platform, C as CredentialsType } from '../../../baseGameCommand-DvFilbRN.js';
6
6
  import 'path';
7
7
  import '@expo/apple-utils/build/index.js';
8
8
  import 'axios';
@@ -14,12 +14,12 @@ import 'react';
14
14
  import '@tanstack/react-query';
15
15
  import 'socket.io-client';
16
16
  import 'isomorphic-git';
17
- import { A as App } from '../../../App-DFPMSEZF.js';
17
+ import { A as App } from '../../../App-CRcDsay7.js';
18
18
  import 'ink-spinner';
19
19
  import 'string-length';
20
20
  import 'strip-ansi';
21
21
  import { R as RunWithSpinner } from '../../../RunWithSpinner-BVXNWGD3.js';
22
- import { i as importCredential } from '../../../import-Q-KO61ll.js';
22
+ import { i as importCredential } from '../../../import-CMzGrYJE.js';
23
23
  import 'ini';
24
24
  import 'deepmerge';
25
25
 
@@ -1,7 +1,7 @@
1
1
  import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
2
2
  import { Flags } from '@oclif/core';
3
3
  import { Box, Text, render } from 'ink';
4
- import { f as getShortDate, q as Certificate, r as CertificateType, P as Platform, C as CredentialsType, B as BaseAuthenticatedCommand } from '../../../baseGameCommand-xrD2WDDN.js';
4
+ import { f as getShortDate, q as Certificate, r as CertificateType, P as Platform, C as CredentialsType, B as BaseAuthenticatedCommand } from '../../../baseGameCommand-DvFilbRN.js';
5
5
  import 'path';
6
6
  import 'fs';
7
7
  import '@expo/apple-utils/build/index.js';
@@ -14,10 +14,10 @@ import 'react';
14
14
  import { useQuery } from '@tanstack/react-query';
15
15
  import 'socket.io-client';
16
16
  import 'isomorphic-git';
17
- import { A as App } from '../../../App-DFPMSEZF.js';
17
+ import { A as App } from '../../../App-CRcDsay7.js';
18
18
  import Spinner from 'ink-spinner';
19
- import { g as getShortUUID } from '../../../index-DKsVctbw.js';
20
- import { u as useUserCredentials, U as UserCredentialsTable } from '../../../UserCredentialsTable-DHeRI4h6.js';
19
+ import { g as getShortUUID } from '../../../index-Bw_nDHi8.js';
20
+ import { u as useUserCredentials, U as UserCredentialsTable } from '../../../UserCredentialsTable-CPx_wwST.js';
21
21
  import { T as Title } from '../../../Title-BCQtayg6.js';
22
22
  import { T as Table } from '../../../Table-CvM6pccN.js';
23
23
  import 'string-length';