@expo/eas-json 7.1.0 → 7.1.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.
@@ -40,20 +40,22 @@ exports.UnresolvedIosSubmitProfileSchema = joi_1.default.object({
40
40
  exports.ResolvedIosSubmitProfileSchema = joi_1.default.object({
41
41
  ascApiKeyPath: joi_1.default.string(),
42
42
  ascApiKeyId: joi_1.default.string()
43
- .regex(/^[\dA-Z]{10}$/)
44
- .message('Invalid Apple App Store Connect API Key ID ("ascApiKeyId") was specified. It should consist of 10 uppercase letters or digits. Example: "AB32CDE81F". Learn more: https://expo.fyi/creating-asc-api-key.'),
43
+ .regex(/^[\dA-Z]+$/)
44
+ .message('Invalid Apple App Store Connect API Key ID ("ascApiKeyId") was specified. It should consist of uppercase letters or digits. Example: "AB32CZE81F". Learn more: https://expo.fyi/creating-asc-api-key.')
45
+ .max(30), // I didn't find any docs about it, but all of the ones I've seen are 10 characters long so 30 characters limit should be enough
45
46
  ascApiKeyIssuerId: joi_1.default.string()
46
- .uuid()
47
- .message('Invalid Apple App Store Connect API Key Issuer ID ("ascApiKeyIssuerId") was specified. It should be a valid UUID. Example: "b4d78f58-48c6-4f2c-96cb-94d8cd76970a". Learn more: https://expo.fyi/creating-asc-api-key.'),
47
+ .uuid() // All of the issuer IDs I've seen are UUIDs, but again, I didn't find any docs about it
48
+ .message('Invalid Apple App Store Connect API Key Issuer ID ("ascApiKeyIssuerId") was specified. It should be a valid UUID. Example: "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx". Learn more: https://expo.fyi/creating-asc-api-key.'),
48
49
  appleId: joi_1.default.string()
49
50
  .email()
50
51
  .message('Invalid Apple ID was specified. It should be a valid email address. Example: "name@example.com".'),
51
52
  ascAppId: joi_1.default.string()
52
- .regex(/^\d{10}$/)
53
- .message('Invalid Apple App Store Connect App ID ("ascAppId") was specified. It should consist of 10 digits. Example: "1234567891". Learn more: https://expo.fyi/asc-app-id.md.'),
53
+ .regex(/^\d+$/)
54
+ .message('Invalid Apple App Store Connect App ID ("ascAppId") was specified. It should consist only of digits. Example: "1234567891". Learn more: https://expo.fyi/asc-app-id.')
55
+ .max(30), // I didn't find any docs about it, but the longest app ID I've seen is 10 digits long so 30 characters limit should be enough
54
56
  appleTeamId: joi_1.default.string()
55
- .regex(/^[\dA-Z]{10}$/)
56
- .message('Invalid Apple Team ID was specified. It should consist of 10 uppercase letters or digits. Example: "AB32CDE81F".'),
57
+ .regex(/^[\dA-Z]{10}$/) // Apple says that it always has to be 10 characters long https://developer.apple.com/help/account/manage-your-team/locate-your-team-id/
58
+ .message('Invalid Apple Team ID was specified. It should consist of 10 uppercase letters or digits. Example: "AB32CZE81F".'),
57
59
  sku: joi_1.default.string(),
58
60
  language: joi_1.default.string().default('en-US'),
59
61
  companyName: joi_1.default.string(),
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@expo/eas-json",
3
3
  "description": "A library for interacting with eas.json",
4
- "version": "7.1.0",
4
+ "version": "7.1.2",
5
5
  "author": "Expo <support@expo.dev>",
6
6
  "bugs": "https://github.com/expo/eas-cli/issues",
7
7
  "dependencies": {
@@ -53,5 +53,5 @@
53
53
  "node": "20.11.0",
54
54
  "yarn": "1.22.21"
55
55
  },
56
- "gitHead": "bbf14e2ee8554929cea6262d60bce6395e4d9536"
56
+ "gitHead": "e8e5eb622cf6a433d62b03754d0db5f1e688de9c"
57
57
  }