@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.
- package/dist/actions/index.cjs +43 -18
- package/dist/actions/index.cjs.map +1 -1
- package/dist/actions/index.mjs +43 -18
- package/dist/actions/index.mjs.map +1 -1
- package/dist/cert/index.cjs +17822 -24
- package/dist/cert/index.cjs.map +1 -1
- package/dist/cert/index.d.cts +3 -3
- package/dist/cert/index.d.ts +3 -3
- package/dist/cert/index.mjs +17807 -6
- package/dist/cert/index.mjs.map +1 -1
- package/dist/{cert-e5GAgAPb.d.ts → cert-Ddl7FpFT.d.ts} +1 -1
- package/dist/{cert-uLLdb5a7.d.cts → cert-FehieKeb.d.cts} +1 -1
- package/dist/cli/index.cjs +43 -18
- package/dist/cli/index.cjs.map +1 -1
- package/dist/cli/index.d.cts +1 -1
- package/dist/cli/index.d.ts +1 -1
- package/dist/cli/index.mjs +43 -18
- package/dist/cli/index.mjs.map +1 -1
- package/dist/client/index.cjs +37 -0
- package/dist/client/index.cjs.map +1 -1
- package/dist/client/index.d.cts +1 -1
- package/dist/client/index.d.ts +1 -1
- package/dist/client/index.mjs +37 -0
- package/dist/client/index.mjs.map +1 -1
- package/dist/deliver/index.d.cts +2 -2
- package/dist/deliver/index.d.ts +2 -2
- package/dist/{index-CEldrbyz.d.ts → index-B8FOfxOw.d.ts} +1 -1
- package/dist/{index-XsMsVc3O.d.cts → index-B9QeTpQK.d.cts} +1 -1
- package/dist/{index-BgHagzj1.d.cts → index-BICa8odo.d.cts} +1 -1
- package/dist/{index-CdfgEZwh.d.cts → index-BKUapQP2.d.cts} +25 -0
- package/dist/{index-BN0iWhuw.d.cts → index-BZWmOTWE.d.cts} +1 -1
- package/dist/{index-DrCOh0Vh.d.cts → index-Bk1Gd-qE.d.cts} +1 -1
- package/dist/{index-BwwpAlk2.d.ts → index-CCtYhPN9.d.ts} +25 -0
- package/dist/{index-CtydPNxA.d.cts → index-CNHf7I4v.d.cts} +1 -1
- package/dist/{index-BNP7Bpu5.d.ts → index-CplRWSUc.d.ts} +1 -1
- package/dist/{index-EKU_G1G5.d.ts → index-CtPyeMLH.d.ts} +1 -1
- package/dist/{index-Clyf4-lu.d.cts → index-D13sn8DO.d.cts} +1 -1
- package/dist/{index-C2YLoFVl.d.ts → index-DFni8oZt.d.ts} +1 -1
- package/dist/{index-mddpvrRX.d.ts → index-DI1ZHr-3.d.ts} +1 -1
- package/dist/{index-Di4Ic0EE.d.ts → index-DZoPGCbE.d.ts} +3 -3
- package/dist/{index-BjkOUQcQ.d.cts → index-OelCoOth.d.cts} +1 -1
- package/dist/{index-jeI44Q5G.d.ts → index-YcKz4aRS.d.ts} +1 -1
- package/dist/{index-DHxi-QPC.d.cts → index-oVyLLIEK.d.cts} +3 -3
- package/dist/{index-BbY_H_f6.d.ts → index-xykpq6Lz.d.ts} +1 -1
- package/dist/index.cjs +18134 -238
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +52 -19
- package/dist/index.d.ts +52 -19
- package/dist/index.mjs +18134 -237
- package/dist/index.mjs.map +1 -1
- package/dist/lane/index.cjs +43 -18
- package/dist/lane/index.cjs.map +1 -1
- package/dist/lane/index.mjs +43 -18
- package/dist/lane/index.mjs.map +1 -1
- package/dist/match/index.d.cts +4 -4
- package/dist/match/index.d.ts +4 -4
- package/dist/pem/index.d.cts +2 -2
- package/dist/pem/index.d.ts +2 -2
- package/dist/pilot/index.d.cts +2 -2
- package/dist/pilot/index.d.ts +2 -2
- package/dist/precheck/index.d.cts +2 -2
- package/dist/precheck/index.d.ts +2 -2
- package/dist/produce/index.cjs +6 -18
- package/dist/produce/index.cjs.map +1 -1
- package/dist/produce/index.d.cts +2 -2
- package/dist/produce/index.d.ts +2 -2
- package/dist/produce/index.mjs +6 -18
- package/dist/produce/index.mjs.map +1 -1
- package/dist/sigh/index.d.cts +2 -2
- package/dist/sigh/index.d.ts +2 -2
- package/package.json +1 -1
package/dist/actions/index.mjs
CHANGED
|
@@ -3066,25 +3066,13 @@ async function createApp(options) {
|
|
|
3066
3066
|
});
|
|
3067
3067
|
}
|
|
3068
3068
|
}
|
|
3069
|
-
|
|
3070
|
-
|
|
3071
|
-
|
|
3072
|
-
|
|
3073
|
-
|
|
3074
|
-
|
|
3075
|
-
bundleId: options.bundleIdentifier,
|
|
3076
|
-
name: options.appName,
|
|
3077
|
-
sku,
|
|
3078
|
-
primaryLocale
|
|
3079
|
-
},
|
|
3080
|
-
relationships: {
|
|
3081
|
-
bundleId: {
|
|
3082
|
-
data: { type: "bundleIds", id: bundleId.id }
|
|
3083
|
-
}
|
|
3084
|
-
}
|
|
3085
|
-
}
|
|
3069
|
+
return options.client.apps.create({
|
|
3070
|
+
bundleIdentifier: options.bundleIdentifier,
|
|
3071
|
+
bundleIdId: bundleId.id,
|
|
3072
|
+
appName: options.appName,
|
|
3073
|
+
sku: options.sku ?? `${options.bundleIdentifier}.${Date.now()}`,
|
|
3074
|
+
primaryLocale: options.primaryLocale
|
|
3086
3075
|
});
|
|
3087
|
-
return response.data;
|
|
3088
3076
|
}
|
|
3089
3077
|
var SERVICE_NAME_TO_CAPABILITY;
|
|
3090
3078
|
var init_produce = __esm({
|
|
@@ -4878,6 +4866,43 @@ var init_apps = __esm({
|
|
|
4878
4866
|
});
|
|
4879
4867
|
return results[0] ?? null;
|
|
4880
4868
|
}
|
|
4869
|
+
/**
|
|
4870
|
+
* Create an App Store Connect **app record** (the thing that shows up
|
|
4871
|
+
* under "My Apps" and that TestFlight / App Store uploads require).
|
|
4872
|
+
*
|
|
4873
|
+
* This is distinct from registering an App ID in the Developer Portal —
|
|
4874
|
+
* you need BOTH. The Developer Portal App ID unlocks provisioning
|
|
4875
|
+
* profiles and entitlements; the App Store Connect app record unlocks
|
|
4876
|
+
* uploads. `upload_to_testflight` fails with "Couldn't find app
|
|
4877
|
+
* 'com.foo.bar' on the account…" when this record is missing.
|
|
4878
|
+
*
|
|
4879
|
+
* `bundleIdId` is the REST API primary key of the bundle id resource
|
|
4880
|
+
* (not the identifier string) — fetch it via `bundleIds.find(identifier)`
|
|
4881
|
+
* or from the response of `bundleIds.create()`.
|
|
4882
|
+
*
|
|
4883
|
+
* `sku` is an arbitrary unique string Apple uses to identify the app in
|
|
4884
|
+
* their internal records. If you don't have a meaningful one, pass the
|
|
4885
|
+
* bundle identifier itself or append a timestamp for uniqueness.
|
|
4886
|
+
*/
|
|
4887
|
+
async create(params) {
|
|
4888
|
+
const response = await this.http.post("/v1/apps", {
|
|
4889
|
+
data: {
|
|
4890
|
+
type: "apps",
|
|
4891
|
+
attributes: {
|
|
4892
|
+
bundleId: params.bundleIdentifier,
|
|
4893
|
+
name: params.appName,
|
|
4894
|
+
sku: params.sku,
|
|
4895
|
+
primaryLocale: params.primaryLocale ?? "en-US"
|
|
4896
|
+
},
|
|
4897
|
+
relationships: {
|
|
4898
|
+
bundleId: {
|
|
4899
|
+
data: { type: "bundleIds", id: params.bundleIdId }
|
|
4900
|
+
}
|
|
4901
|
+
}
|
|
4902
|
+
}
|
|
4903
|
+
});
|
|
4904
|
+
return response.data;
|
|
4905
|
+
}
|
|
4881
4906
|
};
|
|
4882
4907
|
}
|
|
4883
4908
|
});
|