@sitepong/fastnode 0.2.1 → 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 +43 -18
  2. package/dist/actions/index.cjs.map +1 -1
  3. package/dist/actions/index.mjs +43 -18
  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-e5GAgAPb.d.ts → cert-Ddl7FpFT.d.ts} +1 -1
  12. package/dist/{cert-uLLdb5a7.d.cts → cert-FehieKeb.d.cts} +1 -1
  13. package/dist/cli/index.cjs +43 -18
  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 +43 -18
  18. package/dist/cli/index.mjs.map +1 -1
  19. package/dist/client/index.cjs +37 -0
  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 +37 -0
  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-CEldrbyz.d.ts → index-B8FOfxOw.d.ts} +1 -1
  28. package/dist/{index-XsMsVc3O.d.cts → index-B9QeTpQK.d.cts} +1 -1
  29. package/dist/{index-BgHagzj1.d.cts → index-BICa8odo.d.cts} +1 -1
  30. package/dist/{index-CdfgEZwh.d.cts → index-BKUapQP2.d.cts} +25 -0
  31. package/dist/{index-BN0iWhuw.d.cts → index-BZWmOTWE.d.cts} +1 -1
  32. package/dist/{index-DrCOh0Vh.d.cts → index-Bk1Gd-qE.d.cts} +1 -1
  33. package/dist/{index-BwwpAlk2.d.ts → index-CCtYhPN9.d.ts} +25 -0
  34. package/dist/{index-CtydPNxA.d.cts → index-CNHf7I4v.d.cts} +1 -1
  35. package/dist/{index-BNP7Bpu5.d.ts → index-CplRWSUc.d.ts} +1 -1
  36. package/dist/{index-EKU_G1G5.d.ts → index-CtPyeMLH.d.ts} +1 -1
  37. package/dist/{index-Clyf4-lu.d.cts → index-D13sn8DO.d.cts} +1 -1
  38. package/dist/{index-C2YLoFVl.d.ts → index-DFni8oZt.d.ts} +1 -1
  39. package/dist/{index-mddpvrRX.d.ts → index-DI1ZHr-3.d.ts} +1 -1
  40. package/dist/{index-Di4Ic0EE.d.ts → index-DZoPGCbE.d.ts} +3 -3
  41. package/dist/{index-BjkOUQcQ.d.cts → index-OelCoOth.d.cts} +1 -1
  42. package/dist/{index-jeI44Q5G.d.ts → index-YcKz4aRS.d.ts} +1 -1
  43. package/dist/{index-DHxi-QPC.d.cts → index-oVyLLIEK.d.cts} +3 -3
  44. package/dist/{index-BbY_H_f6.d.ts → index-xykpq6Lz.d.ts} +1 -1
  45. package/dist/index.cjs +18134 -238
  46. package/dist/index.cjs.map +1 -1
  47. package/dist/index.d.cts +52 -19
  48. package/dist/index.d.ts +52 -19
  49. package/dist/index.mjs +18134 -237
  50. package/dist/index.mjs.map +1 -1
  51. package/dist/lane/index.cjs +43 -18
  52. package/dist/lane/index.cjs.map +1 -1
  53. package/dist/lane/index.mjs +43 -18
  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,4 +1,4 @@
1
- import { a as AppStoreConnectClient, C as Certificate } from './index-BwwpAlk2.js';
1
+ import { a as AppStoreConnectClient, C as Certificate } from './index-CCtYhPN9.js';
2
2
  import { C as CertificateType } from './enums-B609j2rb.js';
3
3
 
4
4
  interface CertOptions {
@@ -1,4 +1,4 @@
1
- import { a as AppStoreConnectClient, C as Certificate } from './index-CdfgEZwh.cjs';
1
+ import { a as AppStoreConnectClient, C as Certificate } from './index-BKUapQP2.cjs';
2
2
  import { C as CertificateType } from './enums-B609j2rb.cjs';
3
3
 
4
4
  interface CertOptions {
@@ -3122,25 +3122,13 @@ async function createApp(options) {
3122
3122
  });
3123
3123
  }
3124
3124
  }
3125
- const sku = options.sku ?? `${options.bundleIdentifier}.${Date.now()}`;
3126
- const primaryLocale = options.primaryLocale ?? "en-US";
3127
- const response = await options.client.http.post("/v1/apps", {
3128
- data: {
3129
- type: "apps",
3130
- attributes: {
3131
- bundleId: options.bundleIdentifier,
3132
- name: options.appName,
3133
- sku,
3134
- primaryLocale
3135
- },
3136
- relationships: {
3137
- bundleId: {
3138
- data: { type: "bundleIds", id: bundleId.id }
3139
- }
3140
- }
3141
- }
3125
+ return options.client.apps.create({
3126
+ bundleIdentifier: options.bundleIdentifier,
3127
+ bundleIdId: bundleId.id,
3128
+ appName: options.appName,
3129
+ sku: options.sku ?? `${options.bundleIdentifier}.${Date.now()}`,
3130
+ primaryLocale: options.primaryLocale
3142
3131
  });
3143
- return response.data;
3144
3132
  }
3145
3133
  var SERVICE_NAME_TO_CAPABILITY;
3146
3134
  var init_produce = __esm({
@@ -4934,6 +4922,43 @@ var init_apps = __esm({
4934
4922
  });
4935
4923
  return results[0] ?? null;
4936
4924
  }
4925
+ /**
4926
+ * Create an App Store Connect **app record** (the thing that shows up
4927
+ * under "My Apps" and that TestFlight / App Store uploads require).
4928
+ *
4929
+ * This is distinct from registering an App ID in the Developer Portal —
4930
+ * you need BOTH. The Developer Portal App ID unlocks provisioning
4931
+ * profiles and entitlements; the App Store Connect app record unlocks
4932
+ * uploads. `upload_to_testflight` fails with "Couldn't find app
4933
+ * 'com.foo.bar' on the account…" when this record is missing.
4934
+ *
4935
+ * `bundleIdId` is the REST API primary key of the bundle id resource
4936
+ * (not the identifier string) — fetch it via `bundleIds.find(identifier)`
4937
+ * or from the response of `bundleIds.create()`.
4938
+ *
4939
+ * `sku` is an arbitrary unique string Apple uses to identify the app in
4940
+ * their internal records. If you don't have a meaningful one, pass the
4941
+ * bundle identifier itself or append a timestamp for uniqueness.
4942
+ */
4943
+ async create(params) {
4944
+ const response = await this.http.post("/v1/apps", {
4945
+ data: {
4946
+ type: "apps",
4947
+ attributes: {
4948
+ bundleId: params.bundleIdentifier,
4949
+ name: params.appName,
4950
+ sku: params.sku,
4951
+ primaryLocale: params.primaryLocale ?? "en-US"
4952
+ },
4953
+ relationships: {
4954
+ bundleId: {
4955
+ data: { type: "bundleIds", id: params.bundleIdId }
4956
+ }
4957
+ }
4958
+ }
4959
+ });
4960
+ return response.data;
4961
+ }
4937
4962
  };
4938
4963
  }
4939
4964
  });