@expo/apple-utils 0.0.0-alpha.29 → 0.0.0-alpha.31
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/package.json
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@expo/apple-utils",
|
|
3
|
-
"version": "0.0.0-alpha.
|
|
3
|
+
"version": "0.0.0-alpha.31",
|
|
4
4
|
"main": "build",
|
|
5
|
+
"license": "MIT",
|
|
5
6
|
"scripts": {
|
|
6
7
|
"prepare": "yarn run clean && yarn run typegen && yarn run build:prod && yarn run append-types",
|
|
7
8
|
"lint": "eslint . --ext .ts",
|
|
@@ -398,8 +398,9 @@ declare module "utils/error" {
|
|
|
398
398
|
}
|
|
399
399
|
export class UnexpectedResponse extends Error {
|
|
400
400
|
errorInfo: string | Record<string, any>;
|
|
401
|
+
data?: any;
|
|
401
402
|
readonly name = "UnexpectedAppleResponse";
|
|
402
|
-
constructor(errorInfo: string | Record<string, any
|
|
403
|
+
constructor(errorInfo: string | Record<string, any>, data?: any);
|
|
403
404
|
preferredErrorInfo(): string | null;
|
|
404
405
|
}
|
|
405
406
|
export function sanitizeResultStringErrors(errorInfo: any): null | string;
|
|
@@ -2080,7 +2081,7 @@ declare module "connect/models/Certificate" {
|
|
|
2080
2081
|
/**
|
|
2081
2082
|
* @example 'Issued'
|
|
2082
2083
|
*/
|
|
2083
|
-
status: 'Issued' | string;
|
|
2084
|
+
status: 'Issued' | 'Revoked' | string;
|
|
2084
2085
|
/**
|
|
2085
2086
|
* @example 'Evan Bacon'
|
|
2086
2087
|
*/
|
|
@@ -2331,6 +2332,7 @@ declare module "connect/models/Profile" {
|
|
|
2331
2332
|
static deleteAsync: (context: RequestContext, props: {
|
|
2332
2333
|
id: string;
|
|
2333
2334
|
}) => Promise<void>;
|
|
2335
|
+
deleteAsync(): Promise<void>;
|
|
2334
2336
|
isValid(): boolean;
|
|
2335
2337
|
getDevicesAsync({ query, }?: {
|
|
2336
2338
|
query?: Pick<ConnectQueryParams<object>, 'limit'>;
|
|
@@ -2341,11 +2343,23 @@ declare module "connect/models/Profile" {
|
|
|
2341
2343
|
getBundleIdAsync({ query, }?: {
|
|
2342
2344
|
query?: Pick<ConnectQueryParams<object>, 'limit'>;
|
|
2343
2345
|
}): Promise<BundleId>;
|
|
2346
|
+
/** Devices cannot be added to App Store profiles, whereas AdHoc profiles must have devices. */
|
|
2347
|
+
isDeviceProvisioningSupported(): boolean;
|
|
2348
|
+
/**
|
|
2349
|
+
* Emulates profile repairing by deleting a the current profile, and regenerating a new profile with the same info.
|
|
2350
|
+
*/
|
|
2351
|
+
regenerateManuallyAsync({ retry }?: {
|
|
2352
|
+
retry?: boolean;
|
|
2353
|
+
}): Promise<Profile>;
|
|
2344
2354
|
/**
|
|
2345
2355
|
* A super dangerous method that uses the old API to repair a provisioning profile.
|
|
2356
|
+
* @returns
|
|
2346
2357
|
*/
|
|
2347
2358
|
regenerateAsync(): Promise<Profile>;
|
|
2348
2359
|
}
|
|
2360
|
+
export function isNameCollisionError(error: {
|
|
2361
|
+
detail?: string;
|
|
2362
|
+
}): boolean;
|
|
2349
2363
|
}
|
|
2350
2364
|
declare module "connect/models/BundleId" {
|
|
2351
2365
|
import { RequestContext } from "network/Request";
|