@sitepong/fastnode 0.2.0 → 0.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (71) hide show
  1. package/dist/actions/index.cjs +70 -24
  2. package/dist/actions/index.cjs.map +1 -1
  3. package/dist/actions/index.mjs +70 -24
  4. package/dist/actions/index.mjs.map +1 -1
  5. package/dist/cert/index.cjs +17822 -24
  6. package/dist/cert/index.cjs.map +1 -1
  7. package/dist/cert/index.d.cts +3 -3
  8. package/dist/cert/index.d.ts +3 -3
  9. package/dist/cert/index.mjs +17807 -6
  10. package/dist/cert/index.mjs.map +1 -1
  11. package/dist/{cert-DtYDJBjG.d.ts → cert-Ddl7FpFT.d.ts} +1 -1
  12. package/dist/{cert-6m1R8UeW.d.cts → cert-FehieKeb.d.cts} +1 -1
  13. package/dist/cli/index.cjs +70 -24
  14. package/dist/cli/index.cjs.map +1 -1
  15. package/dist/cli/index.d.cts +1 -1
  16. package/dist/cli/index.d.ts +1 -1
  17. package/dist/cli/index.mjs +70 -24
  18. package/dist/cli/index.mjs.map +1 -1
  19. package/dist/client/index.cjs +64 -6
  20. package/dist/client/index.cjs.map +1 -1
  21. package/dist/client/index.d.cts +1 -1
  22. package/dist/client/index.d.ts +1 -1
  23. package/dist/client/index.mjs +64 -6
  24. package/dist/client/index.mjs.map +1 -1
  25. package/dist/deliver/index.d.cts +2 -2
  26. package/dist/deliver/index.d.ts +2 -2
  27. package/dist/{index-CojSGJ7m.d.ts → index-B8FOfxOw.d.ts} +1 -1
  28. package/dist/{index-CdYdwxpQ.d.cts → index-B9QeTpQK.d.cts} +1 -1
  29. package/dist/{index-AD8QXY1T.d.cts → index-BICa8odo.d.cts} +1 -1
  30. package/dist/{index-CMH_GpN9.d.cts → index-BKUapQP2.d.cts} +30 -0
  31. package/dist/{index-Ce-WMV7c.d.cts → index-BZWmOTWE.d.cts} +1 -1
  32. package/dist/{index-BWK-T2-S.d.cts → index-Bk1Gd-qE.d.cts} +1 -1
  33. package/dist/{index-D2z7RiAM.d.ts → index-CCtYhPN9.d.ts} +30 -0
  34. package/dist/{index-CCs5irG7.d.cts → index-CNHf7I4v.d.cts} +1 -1
  35. package/dist/{index-CQKpbHZt.d.ts → index-CplRWSUc.d.ts} +1 -1
  36. package/dist/{index-BpiEBPVd.d.ts → index-CtPyeMLH.d.ts} +1 -1
  37. package/dist/{index-BW8wQUGC.d.cts → index-D13sn8DO.d.cts} +1 -1
  38. package/dist/{index-Kq3rbG0u.d.ts → index-DFni8oZt.d.ts} +1 -1
  39. package/dist/{index-D82CmjMP.d.ts → index-DI1ZHr-3.d.ts} +1 -1
  40. package/dist/{index-DZaPkUnC.d.ts → index-DZoPGCbE.d.ts} +3 -3
  41. package/dist/{index-KCB2q1-8.d.cts → index-OelCoOth.d.cts} +1 -1
  42. package/dist/{index-CLsvyTkh.d.ts → index-YcKz4aRS.d.ts} +1 -1
  43. package/dist/{index-CQd4bo3G.d.cts → index-oVyLLIEK.d.cts} +3 -3
  44. package/dist/{index-CsFIp7OO.d.ts → index-xykpq6Lz.d.ts} +1 -1
  45. package/dist/index.cjs +18237 -202
  46. package/dist/index.cjs.map +1 -1
  47. package/dist/index.d.cts +81 -21
  48. package/dist/index.d.ts +81 -21
  49. package/dist/index.mjs +18237 -201
  50. package/dist/index.mjs.map +1 -1
  51. package/dist/lane/index.cjs +70 -24
  52. package/dist/lane/index.cjs.map +1 -1
  53. package/dist/lane/index.mjs +70 -24
  54. package/dist/lane/index.mjs.map +1 -1
  55. package/dist/match/index.d.cts +4 -4
  56. package/dist/match/index.d.ts +4 -4
  57. package/dist/pem/index.d.cts +2 -2
  58. package/dist/pem/index.d.ts +2 -2
  59. package/dist/pilot/index.d.cts +2 -2
  60. package/dist/pilot/index.d.ts +2 -2
  61. package/dist/precheck/index.d.cts +2 -2
  62. package/dist/precheck/index.d.ts +2 -2
  63. package/dist/produce/index.cjs +6 -18
  64. package/dist/produce/index.cjs.map +1 -1
  65. package/dist/produce/index.d.cts +2 -2
  66. package/dist/produce/index.d.ts +2 -2
  67. package/dist/produce/index.mjs +6 -18
  68. package/dist/produce/index.mjs.map +1 -1
  69. package/dist/sigh/index.d.cts +2 -2
  70. package/dist/sigh/index.d.ts +2 -2
  71. package/package.json +1 -1
@@ -1,3 +1,3 @@
1
- import '../index-CMH_GpN9.cjs';
1
+ import '../index-BKUapQP2.cjs';
2
2
  import '../enums-B609j2rb.cjs';
3
- export { D as DeliverOptions, a as DeliverResult, L as LocalizedMetadata, M as MetadataSet, l as loadMetadata, s as submitForReview, b as uploadMetadata, c as uploadScreenshots, u as uploadToAppStore } from '../index-CdYdwxpQ.cjs';
3
+ export { D as DeliverOptions, a as DeliverResult, L as LocalizedMetadata, M as MetadataSet, l as loadMetadata, s as submitForReview, b as uploadMetadata, c as uploadScreenshots, u as uploadToAppStore } from '../index-B9QeTpQK.cjs';
@@ -1,3 +1,3 @@
1
- import '../index-D2z7RiAM.js';
1
+ import '../index-CCtYhPN9.js';
2
2
  import '../enums-B609j2rb.js';
3
- export { D as DeliverOptions, a as DeliverResult, L as LocalizedMetadata, M as MetadataSet, l as loadMetadata, s as submitForReview, b as uploadMetadata, c as uploadScreenshots, u as uploadToAppStore } from '../index-CsFIp7OO.js';
3
+ export { D as DeliverOptions, a as DeliverResult, L as LocalizedMetadata, M as MetadataSet, l as loadMetadata, s as submitForReview, b as uploadMetadata, c as uploadScreenshots, u as uploadToAppStore } from '../index-xykpq6Lz.js';
@@ -1,4 +1,4 @@
1
- import { a as AppStoreConnectClient, P as Profile } from './index-D2z7RiAM.js';
1
+ import { a as AppStoreConnectClient, P as Profile } from './index-CCtYhPN9.js';
2
2
  import { P as ProfileType } from './enums-B609j2rb.js';
3
3
 
4
4
  interface SighOptions {
@@ -1,4 +1,4 @@
1
- import { a as AppStoreConnectClient } from './index-CMH_GpN9.cjs';
1
+ import { a as AppStoreConnectClient } from './index-BKUapQP2.cjs';
2
2
  import { b as Platform, R as ReleaseType } from './enums-B609j2rb.cjs';
3
3
 
4
4
  interface LocalizedMetadata {
@@ -1,4 +1,4 @@
1
- import { a as AppStoreConnectClient, k as Build } from './index-CMH_GpN9.cjs';
1
+ import { a as AppStoreConnectClient, k as Build } from './index-BKUapQP2.cjs';
2
2
 
3
3
  /**
4
4
  * Shared types for the pilot module's upload backends.
@@ -434,6 +434,31 @@ declare class AppsResource {
434
434
  include?: string;
435
435
  }): Promise<App>;
436
436
  findByBundleId(bundleId: string): Promise<App | null>;
437
+ /**
438
+ * Create an App Store Connect **app record** (the thing that shows up
439
+ * under "My Apps" and that TestFlight / App Store uploads require).
440
+ *
441
+ * This is distinct from registering an App ID in the Developer Portal —
442
+ * you need BOTH. The Developer Portal App ID unlocks provisioning
443
+ * profiles and entitlements; the App Store Connect app record unlocks
444
+ * uploads. `upload_to_testflight` fails with "Couldn't find app
445
+ * 'com.foo.bar' on the account…" when this record is missing.
446
+ *
447
+ * `bundleIdId` is the REST API primary key of the bundle id resource
448
+ * (not the identifier string) — fetch it via `bundleIds.find(identifier)`
449
+ * or from the response of `bundleIds.create()`.
450
+ *
451
+ * `sku` is an arbitrary unique string Apple uses to identify the app in
452
+ * their internal records. If you don't have a meaningful one, pass the
453
+ * bundle identifier itself or append a timestamp for uniqueness.
454
+ */
455
+ create(params: {
456
+ bundleIdentifier: string;
457
+ bundleIdId: string;
458
+ appName: string;
459
+ sku: string;
460
+ primaryLocale?: string;
461
+ }): Promise<App>;
437
462
  }
438
463
 
439
464
  interface Build {
@@ -1571,6 +1596,11 @@ declare class PortalClient {
1571
1596
  * The exact body comes from @expo/apple-utils v2.1.21 — both fields
1572
1597
  * are produced by separate functions (`d` for the map, `h` for the
1573
1598
  * array) and merged into the create payload.
1599
+ *
1600
+ * Apple also rejects duplicate key names ("Another key with same
1601
+ * name exists") — we dedupe by listing existing keys first and
1602
+ * appending " (N)" until we find a free slot, mirroring the
1603
+ * provisioning profile dedup.
1574
1604
  */
1575
1605
  createApnsAuthKey(rawName: string): Promise<{
1576
1606
  keyId: string;
@@ -1,4 +1,4 @@
1
- import { a as AppStoreConnectClient, P as Profile } from './index-CMH_GpN9.cjs';
1
+ import { a as AppStoreConnectClient, P as Profile } from './index-BKUapQP2.cjs';
2
2
  import { P as ProfileType } from './enums-B609j2rb.cjs';
3
3
 
4
4
  interface SighOptions {
@@ -1,4 +1,4 @@
1
- import { a as AppStoreConnectClient } from './index-CMH_GpN9.cjs';
1
+ import { a as AppStoreConnectClient } from './index-BKUapQP2.cjs';
2
2
  import { C as CertificateType } from './enums-B609j2rb.cjs';
3
3
 
4
4
  type PushCertKind = "development" | "production" | "website" | "voip" | "passbook";
@@ -434,6 +434,31 @@ declare class AppsResource {
434
434
  include?: string;
435
435
  }): Promise<App>;
436
436
  findByBundleId(bundleId: string): Promise<App | null>;
437
+ /**
438
+ * Create an App Store Connect **app record** (the thing that shows up
439
+ * under "My Apps" and that TestFlight / App Store uploads require).
440
+ *
441
+ * This is distinct from registering an App ID in the Developer Portal —
442
+ * you need BOTH. The Developer Portal App ID unlocks provisioning
443
+ * profiles and entitlements; the App Store Connect app record unlocks
444
+ * uploads. `upload_to_testflight` fails with "Couldn't find app
445
+ * 'com.foo.bar' on the account…" when this record is missing.
446
+ *
447
+ * `bundleIdId` is the REST API primary key of the bundle id resource
448
+ * (not the identifier string) — fetch it via `bundleIds.find(identifier)`
449
+ * or from the response of `bundleIds.create()`.
450
+ *
451
+ * `sku` is an arbitrary unique string Apple uses to identify the app in
452
+ * their internal records. If you don't have a meaningful one, pass the
453
+ * bundle identifier itself or append a timestamp for uniqueness.
454
+ */
455
+ create(params: {
456
+ bundleIdentifier: string;
457
+ bundleIdId: string;
458
+ appName: string;
459
+ sku: string;
460
+ primaryLocale?: string;
461
+ }): Promise<App>;
437
462
  }
438
463
 
439
464
  interface Build {
@@ -1571,6 +1596,11 @@ declare class PortalClient {
1571
1596
  * The exact body comes from @expo/apple-utils v2.1.21 — both fields
1572
1597
  * are produced by separate functions (`d` for the map, `h` for the
1573
1598
  * array) and merged into the create payload.
1599
+ *
1600
+ * Apple also rejects duplicate key names ("Another key with same
1601
+ * name exists") — we dedupe by listing existing keys first and
1602
+ * appending " (N)" until we find a free slot, mirroring the
1603
+ * provisioning profile dedup.
1574
1604
  */
1575
1605
  createApnsAuthKey(rawName: string): Promise<{
1576
1606
  keyId: string;
@@ -1,4 +1,4 @@
1
- import { C as CertOptions, a as CertResult, c as createCertificate, d as downloadCertificate, f as findValidCertificates, r as revokeCertificate, b as revokeExpiredCertificates } from './cert-6m1R8UeW.cjs';
1
+ import { C as CertOptions, a as CertResult, c as createCertificate, d as downloadCertificate, f as findValidCertificates, r as revokeCertificate, b as revokeExpiredCertificates } from './cert-FehieKeb.cjs';
2
2
 
3
3
  /**
4
4
  * Generate EC P-256 CSR — used by App Store Connect API (JWT auth).
@@ -1,4 +1,4 @@
1
- import { C as CertOptions, a as CertResult, c as createCertificate, d as downloadCertificate, f as findValidCertificates, r as revokeCertificate, b as revokeExpiredCertificates } from './cert-DtYDJBjG.js';
1
+ import { C as CertOptions, a as CertResult, c as createCertificate, d as downloadCertificate, f as findValidCertificates, r as revokeCertificate, b as revokeExpiredCertificates } from './cert-Ddl7FpFT.js';
2
2
 
3
3
  /**
4
4
  * Generate EC P-256 CSR — used by App Store Connect API (JWT auth).
@@ -1,4 +1,4 @@
1
- import { a as AppStoreConnectClient, q as CapabilitySettingInput, B as BundleId, p as BundleIdCapability, j as App } from './index-D2z7RiAM.js';
1
+ import { a as AppStoreConnectClient, q as CapabilitySettingInput, B as BundleId, p as BundleIdCapability, j as App } from './index-CCtYhPN9.js';
2
2
  import { B as BundleIdPlatform, d as CapabilityType } from './enums-B609j2rb.js';
3
3
 
4
4
  interface ProduceOptions {
@@ -1,4 +1,4 @@
1
- import { a as AppStoreConnectClient } from './index-CMH_GpN9.cjs';
1
+ import { a as AppStoreConnectClient } from './index-BKUapQP2.cjs';
2
2
 
3
3
  interface RuleResult {
4
4
  passed: boolean;
@@ -1,4 +1,4 @@
1
- import { a as AppStoreConnectClient } from './index-D2z7RiAM.js';
1
+ import { a as AppStoreConnectClient } from './index-CCtYhPN9.js';
2
2
  import { C as CertificateType } from './enums-B609j2rb.js';
3
3
 
4
4
  type PushCertKind = "development" | "production" | "website" | "voip" | "passbook";
@@ -1,4 +1,4 @@
1
- import { a as AppStoreConnectClient, k as Build } from './index-D2z7RiAM.js';
1
+ import { a as AppStoreConnectClient, k as Build } from './index-CCtYhPN9.js';
2
2
 
3
3
  /**
4
4
  * Shared types for the pilot module's upload backends.
@@ -1,6 +1,6 @@
1
- import { a as AppStoreConnectClient } from './index-D2z7RiAM.js';
2
- import { a as CertResult } from './cert-DtYDJBjG.js';
3
- import { S as SighResult } from './index-CojSGJ7m.js';
1
+ import { a as AppStoreConnectClient } from './index-CCtYhPN9.js';
2
+ import { a as CertResult } from './cert-Ddl7FpFT.js';
3
+ import { S as SighResult } from './index-B8FOfxOw.js';
4
4
 
5
5
  type StorageMode = "git" | "s3" | "local";
6
6
 
@@ -1,4 +1,4 @@
1
- import { a as AppStoreConnectClient, q as CapabilitySettingInput, B as BundleId, p as BundleIdCapability, j as App } from './index-CMH_GpN9.cjs';
1
+ import { a as AppStoreConnectClient, q as CapabilitySettingInput, B as BundleId, p as BundleIdCapability, j as App } from './index-BKUapQP2.cjs';
2
2
  import { B as BundleIdPlatform, d as CapabilityType } from './enums-B609j2rb.cjs';
3
3
 
4
4
  interface ProduceOptions {
@@ -1,4 +1,4 @@
1
- import { a as AppStoreConnectClient } from './index-D2z7RiAM.js';
1
+ import { a as AppStoreConnectClient } from './index-CCtYhPN9.js';
2
2
 
3
3
  interface RuleResult {
4
4
  passed: boolean;
@@ -1,6 +1,6 @@
1
- import { a as AppStoreConnectClient } from './index-CMH_GpN9.cjs';
2
- import { a as CertResult } from './cert-6m1R8UeW.cjs';
3
- import { S as SighResult } from './index-Ce-WMV7c.cjs';
1
+ import { a as AppStoreConnectClient } from './index-BKUapQP2.cjs';
2
+ import { a as CertResult } from './cert-FehieKeb.cjs';
3
+ import { S as SighResult } from './index-BZWmOTWE.cjs';
4
4
 
5
5
  type StorageMode = "git" | "s3" | "local";
6
6
 
@@ -1,4 +1,4 @@
1
- import { a as AppStoreConnectClient } from './index-D2z7RiAM.js';
1
+ import { a as AppStoreConnectClient } from './index-CCtYhPN9.js';
2
2
  import { b as Platform, R as ReleaseType } from './enums-B609j2rb.js';
3
3
 
4
4
  interface LocalizedMetadata {