@expo/apple-utils 0.0.0-alpha.30 → 0.0.0-alpha.33
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.33",
|
|
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",
|
|
@@ -443,7 +443,7 @@ declare module "network/AxiosLogger" {
|
|
|
443
443
|
export function applyLoggingMiddleware({ interceptors }: AxiosInstance): void;
|
|
444
444
|
}
|
|
445
445
|
declare module "network/Request" {
|
|
446
|
-
import { AxiosRequestConfig, AxiosResponse } from 'axios';
|
|
446
|
+
import { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';
|
|
447
447
|
import { CookieJar } from 'tough-cookie';
|
|
448
448
|
import { Token } from "connect/Token";
|
|
449
449
|
export type RequestContext = {
|
|
@@ -478,7 +478,12 @@ declare module "network/Request" {
|
|
|
478
478
|
autoPaginate?: boolean;
|
|
479
479
|
shouldRetryRequest?: (error: any) => boolean;
|
|
480
480
|
}
|
|
481
|
-
const axios:
|
|
481
|
+
const axios: AxiosInstance;
|
|
482
|
+
/**
|
|
483
|
+
* The Axios instance is exposed to allow `eas-cli` attach analytics and debug loggers.
|
|
484
|
+
* The instance itself is singleton, but externally attaching a new request interceptor allows for added functionality.
|
|
485
|
+
*/
|
|
486
|
+
export function getRequestClient(): AxiosInstance;
|
|
482
487
|
export function getSupportedContext(context: RequestContext, supportedAuthType?: AuthType): RequestContext | null;
|
|
483
488
|
export function setCookieJar(cookieJar?: CookieJar | string): void;
|
|
484
489
|
export function getCookieJar(): CookieJar;
|
|
@@ -1781,8 +1786,8 @@ declare module "connect/models/BundleIdCapability" {
|
|
|
1781
1786
|
APP_GROUP = "APP_GROUPS",
|
|
1782
1787
|
APPLE_PAY = "APPLE_PAY",
|
|
1783
1788
|
ASSOCIATED_DOMAINS = "ASSOCIATED_DOMAINS",
|
|
1784
|
-
CLASS_KIT = "CLASSKIT",
|
|
1785
1789
|
AUTO_FILL_CREDENTIAL = "AUTOFILL_CREDENTIAL_PROVIDER",
|
|
1790
|
+
CLASS_KIT = "CLASSKIT",
|
|
1786
1791
|
DATA_PROTECTION = "DATA_PROTECTION",
|
|
1787
1792
|
FAMILY_CONTROLS = "FAMILY_CONTROLS",
|
|
1788
1793
|
GAME_CENTER = "GAME_CENTER",
|
|
@@ -1816,7 +1821,9 @@ declare module "connect/models/BundleIdCapability" {
|
|
|
1816
1821
|
FONT_INSTALLATION = "FONT_INSTALLATION",
|
|
1817
1822
|
EXTENDED_VIRTUAL_ADDRESSING = "EXTENDED_VIRTUAL_ADDRESSING",
|
|
1818
1823
|
ENABLED_FOR_MAC = "ENABLED_FOR_MAC",
|
|
1819
|
-
MARZIPAN = "MARZIPAN"
|
|
1824
|
+
MARZIPAN = "MARZIPAN",
|
|
1825
|
+
MUSIC_KIT = "MUSIC_KIT",
|
|
1826
|
+
SHAZAM_KIT = "SHAZAM_KIT"
|
|
1820
1827
|
}
|
|
1821
1828
|
export enum CapabilityTypeOption {
|
|
1822
1829
|
ON = "ON",
|
|
@@ -1890,6 +1897,8 @@ declare module "connect/models/BundleIdCapability" {
|
|
|
1890
1897
|
[CapabilityType.MAPS]: CapabilityTypeOption;
|
|
1891
1898
|
[CapabilityType.MARZIPAN]: CapabilityTypeOption;
|
|
1892
1899
|
[CapabilityType.USER_MANAGEMENT]: CapabilityTypeOption;
|
|
1900
|
+
[CapabilityType.MUSIC_KIT]: CapabilityTypeOption;
|
|
1901
|
+
[CapabilityType.SHAZAM_KIT]: CapabilityTypeOption;
|
|
1893
1902
|
}
|
|
1894
1903
|
enum CapabilitySettingKey {
|
|
1895
1904
|
ICLOUD_VERSION = "ICLOUD_VERSION",
|
|
@@ -3868,7 +3877,7 @@ declare module "AppStoreConnect" {
|
|
|
3868
3877
|
import * as JsonFileCache from "utils/json-file-cache";
|
|
3869
3878
|
export { ITunesConnectError, GatewayTimeoutError, IdmsaServiceError, NetworkError, InternalServerError, AuthError, InvalidUserCredentialsError, SessionExpiredError, ServiceError, UnauthorizedAccessError, AppleTimeoutError, TimeoutError, BadGatewayError, AccessForbiddenError, InsufficientPermissions, UnexpectedResponse, } from "utils/error";
|
|
3870
3879
|
export { getValidName } from "portal/PortalAPI";
|
|
3871
|
-
export { RequestContext } from "network/Request";
|
|
3880
|
+
export { RequestContext, getRequestClient } from "network/Request";
|
|
3872
3881
|
export { Token, TokenProps } from "connect/Token";
|
|
3873
3882
|
export { Auth, ITCAgreements, CookieFileCache, JsonFileCache, Keys, Teams, Session };
|
|
3874
3883
|
export * from "connect/index";
|