@webority/mobile-core 0.168.0 → 0.169.1
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/README.md +6 -1
- package/lib/commonjs/api/contractCaller.js +1 -1
- package/lib/commonjs/appLock/index.js +1 -1
- package/lib/commonjs/errors/extractApiError.js +1 -1
- package/lib/commonjs/formatters/house.js +1 -1
- package/lib/commonjs/idle/idleTimeout.js +1 -0
- package/lib/commonjs/idle/index.js +1 -0
- package/lib/commonjs/index.js +1 -1
- package/lib/commonjs/india/fieldRules.js +1 -0
- package/lib/commonjs/india/index.js +1 -1
- package/lib/commonjs/outbox/backgroundUpload.js +1 -0
- package/lib/commonjs/outbox/files.js +1 -1
- package/lib/commonjs/outbox/index.js +1 -1
- package/lib/commonjs/outbox/outbox.js +1 -1
- package/lib/commonjs/outbox/progress.js +1 -0
- package/lib/commonjs/outbox/resumable.js +1 -0
- package/lib/commonjs/outbox/useOutboxProgress.js +1 -0
- package/lib/commonjs/query/apiBaseQuery.js +1 -1
- package/lib/commonjs/query/contractQuery.js +1 -1
- package/lib/commonjs/validators/fieldRules.js +1 -1
- package/lib/commonjs/validators/index.js +1 -1
- package/lib/module/api/contractCaller.js +1 -1
- package/lib/module/appLock/index.js +1 -1
- package/lib/module/errors/extractApiError.js +1 -1
- package/lib/module/formatters/house.js +1 -1
- package/lib/module/idle/idleTimeout.js +1 -0
- package/lib/module/idle/index.js +1 -0
- package/lib/module/index.js +1 -1
- package/lib/module/india/fieldRules.js +1 -0
- package/lib/module/india/index.js +1 -1
- package/lib/module/outbox/backgroundUpload.js +1 -0
- package/lib/module/outbox/files.js +1 -1
- package/lib/module/outbox/index.js +1 -1
- package/lib/module/outbox/outbox.js +1 -1
- package/lib/module/outbox/progress.js +1 -0
- package/lib/module/outbox/resumable.js +1 -0
- package/lib/module/outbox/useOutboxProgress.js +1 -0
- package/lib/module/query/apiBaseQuery.js +1 -1
- package/lib/module/query/contractQuery.js +1 -1
- package/lib/module/validators/fieldRules.js +1 -1
- package/lib/module/validators/index.js +1 -1
- package/lib/typescript/commonjs/appLock/index.d.ts +4 -0
- package/lib/typescript/commonjs/auth/authStore.d.ts +2 -1
- package/lib/typescript/commonjs/idle/idleTimeout.d.ts +29 -0
- package/lib/typescript/commonjs/idle/index.d.ts +3 -0
- package/lib/typescript/commonjs/index.d.ts +4 -2
- package/lib/typescript/commonjs/india/fieldRules.d.ts +10 -0
- package/lib/typescript/commonjs/india/index.d.ts +1 -0
- package/lib/typescript/commonjs/outbox/backgroundUpload.d.ts +18 -0
- package/lib/typescript/commonjs/outbox/index.d.ts +2 -0
- package/lib/typescript/commonjs/outbox/progress.d.ts +11 -0
- package/lib/typescript/commonjs/outbox/resumable.d.ts +27 -0
- package/lib/typescript/commonjs/outbox/types.d.ts +22 -1
- package/lib/typescript/commonjs/outbox/useOutboxProgress.d.ts +3 -0
- package/lib/typescript/commonjs/query/apiBaseQuery.d.ts +7 -2
- package/lib/typescript/commonjs/query/contractQuery.d.ts +1 -1
- package/lib/typescript/commonjs/query/entityVersion.d.ts +1 -1
- package/lib/typescript/commonjs/validators/fieldRules.d.ts +3 -0
- package/lib/typescript/module/appLock/index.d.ts +4 -0
- package/lib/typescript/module/auth/authStore.d.ts +2 -1
- package/lib/typescript/module/idle/idleTimeout.d.ts +29 -0
- package/lib/typescript/module/idle/index.d.ts +3 -0
- package/lib/typescript/module/index.d.ts +4 -2
- package/lib/typescript/module/india/fieldRules.d.ts +10 -0
- package/lib/typescript/module/india/index.d.ts +1 -0
- package/lib/typescript/module/outbox/backgroundUpload.d.ts +18 -0
- package/lib/typescript/module/outbox/index.d.ts +2 -0
- package/lib/typescript/module/outbox/progress.d.ts +11 -0
- package/lib/typescript/module/outbox/resumable.d.ts +27 -0
- package/lib/typescript/module/outbox/types.d.ts +22 -1
- package/lib/typescript/module/outbox/useOutboxProgress.d.ts +3 -0
- package/lib/typescript/module/query/apiBaseQuery.d.ts +7 -2
- package/lib/typescript/module/query/contractQuery.d.ts +1 -1
- package/lib/typescript/module/query/entityVersion.d.ts +1 -1
- package/lib/typescript/module/validators/fieldRules.d.ts +3 -0
- package/package.json +2 -2
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
export declare const IDLE_LAST_ACTIVITY_KEY = "webority.idle.lastActivityAt";
|
|
2
|
+
export type IdlePhase = "active" | "warning" | "timedOut";
|
|
3
|
+
export interface IdleTimeoutOptions {
|
|
4
|
+
/** No activity for this long ends the session. A whole number of milliseconds, at least 60 000. */
|
|
5
|
+
timeoutMs: number;
|
|
6
|
+
/** The warning phase starts this long before the end. 0 gives no warning. Less than `timeoutMs`. */
|
|
7
|
+
warningMs: number;
|
|
8
|
+
/** True while a person is signed in. False watches nothing and clears the saved activity time. */
|
|
9
|
+
active: boolean;
|
|
10
|
+
/** Runs once when the time is up. Default: end the session with reason "idle". */
|
|
11
|
+
onTimeout?: (() => void | Promise<void>) | undefined;
|
|
12
|
+
}
|
|
13
|
+
export interface IdleTouchProps {
|
|
14
|
+
onStartShouldSetResponderCapture: () => false;
|
|
15
|
+
onMoveShouldSetResponderCapture: () => false;
|
|
16
|
+
}
|
|
17
|
+
export interface IdleTimeoutState {
|
|
18
|
+
phase: IdlePhase;
|
|
19
|
+
/** Time left before the end. Updates once a second in the warning phase; `timeoutMs` in the active phase; 0 once timed out. */
|
|
20
|
+
remainingMs: number;
|
|
21
|
+
/** The answer to the warning: counts as activity and returns to the active phase. */
|
|
22
|
+
stayActive: () => void;
|
|
23
|
+
/** Spread on the app's root View: every touch below it counts as activity, and no touch is taken from a child. */
|
|
24
|
+
touchProps: IdleTouchProps;
|
|
25
|
+
}
|
|
26
|
+
/** Counts as activity for a mounted useIdleTimeout. For input the root View cannot see, such as keys on the system keyboard. */
|
|
27
|
+
export declare function reportIdleActivity(): void;
|
|
28
|
+
export declare function useIdleTimeout({ timeoutMs, warningMs, active, onTimeout }: IdleTimeoutOptions): IdleTimeoutState;
|
|
29
|
+
//# sourceMappingURL=idleTimeout.d.ts.map
|
|
@@ -36,8 +36,8 @@
|
|
|
36
36
|
* client reads the bearer token. It needs no optional peer: the backend is
|
|
37
37
|
* expo-secure-store, and `expo` is required anyway.
|
|
38
38
|
*/
|
|
39
|
-
export type { ContractFullReply, ContractListQueryInput } from "@webority/api-contract/call";
|
|
40
|
-
export { listQuery } from "@webority/api-contract/call";
|
|
39
|
+
export type { ContractFullReply, ContractListQueryInput, OperationTable } from "@webority/api-contract/call";
|
|
40
|
+
export { listQuery, mergeContracts, withBaseUrl } from "@webority/api-contract/call";
|
|
41
41
|
export type { AxiosError, AxiosInstance, AxiosRequestConfig, AxiosResponse } from "axios";
|
|
42
42
|
export type { AccountIdProvider, ClientKind } from "./api/clientHeaders.js";
|
|
43
43
|
export { ACCOUNT_ID_HEADER, CLIENT_BUILD_HEADER, CLIENT_KIND, CLIENT_KIND_HEADER, getClientBuild, } from "./api/clientHeaders.js";
|
|
@@ -70,6 +70,8 @@ export type { ApiError, ResponseSchema } from "./errors/index.js";
|
|
|
70
70
|
export { apiErrorMessage, CONTRACT_ERROR_CODE, extractApiError, isApiError, isNoResponse, NETWORK_CODE, OFFLINE_CODE, OFFLINE_MESSAGE, parseResponse, REQUEST_CANCELED_CODE, SERVER_FAILURE_MESSAGE, TIMEOUT_CODE, TIMEOUT_MESSAGE, toFieldPath, UNEXPECTED_MESSAGE, UNREACHABLE_MESSAGE, } from "./errors/index.js";
|
|
71
71
|
export type { DateInput, DateOrder, DateStyle, DateValue, FormatCurrencyOptions, FormatDateOptions, FormatDateTimeOptions, FormatMinorOptions, FormatNumberOptions, FormatPercentOptions, FormatPhoneOptions, FormatRelativeOptions, FormatTimeOptions, FormatterConfig, NumberGrouping, NumberStyle, PhoneCountry, PhoneCountryEntry, PhoneNumber, PhoneNumberType, PhoneParts, PhoneValidationKind, TimeStyle, ZoneMode, ZoneOption, } from "./formatters/index.js";
|
|
72
72
|
export { AsYouType, addDays, clampNationalNumber, configureFormatters, countryFlagEmoji, detectPhoneCountry, diffMs, formatCompactNumber, formatCurrency, formatDate, formatDateDDMMMYYYY, formatDateISO, formatDatePattern, formatDateTime, formatMinor, formatNumber, formatPercent, formatPhone, formatPhoneAsTyped, formatRelative, formatRelativeTime, formatTime, formatTime12h, formatTimeInWindowsZone, formatTimeInZone, getCountries, getCountryCallingCode, getFormatterConfig, getInitials, getPhoneCountries, groupingForLocale, isDateAfter, isDateBefore, isSameDay, isSupportedCountry, isValidNationalNumber, isValidPhoneNumber, maxNationalNumberLength, normalizePhone, parsePhoneNumber, parsePhoneNumberFromString, splitPhoneNumber, startOfDay, validatePhoneNumberLength, } from "./formatters/index.js";
|
|
73
|
+
export type { IdlePhase, IdleTimeoutOptions, IdleTimeoutState, IdleTouchProps } from "./idle/index.js";
|
|
74
|
+
export { IDLE_LAST_ACTIVITY_KEY, reportIdleActivity, useIdleTimeout } from "./idle/index.js";
|
|
73
75
|
export type { InitConfig } from "./initSDK.js";
|
|
74
76
|
export { initWebority } from "./initSDK.js";
|
|
75
77
|
export type { TokenRefreshConfig, TokenRefreshResult, UserAuthOptions } from "./initUserAuth.js";
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { FieldRule } from "../validators/fieldRules.js";
|
|
2
|
+
export declare const INDIA_FIELD_RULE_MESSAGES: Readonly<{
|
|
3
|
+
mobile: string;
|
|
4
|
+
pincode: string;
|
|
5
|
+
}>;
|
|
6
|
+
export declare const indiaFieldRules: Readonly<{
|
|
7
|
+
mobile: (message?: string) => FieldRule;
|
|
8
|
+
pincode: (message?: string) => FieldRule;
|
|
9
|
+
}>;
|
|
10
|
+
//# sourceMappingURL=fieldRules.d.ts.map
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export { aadhaarLastFour, isAadhaar, maskAadhaar, normalizeAadhaar } from "./aadhaar.js";
|
|
2
|
+
export { INDIA_FIELD_RULE_MESSAGES, indiaFieldRules } from "./fieldRules.js";
|
|
2
3
|
export type { FinancialYear } from "./financialYear.js";
|
|
3
4
|
export { currentFinancialYear, financialYearLabel, financialYearOf, parseFinancialYear, recentFinancialYears } from "./financialYear.js";
|
|
4
5
|
export type { GstinProblem } from "./gstin.js";
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { OutboxRequest } from "./types.js";
|
|
2
|
+
export interface BackgroundUploadResult {
|
|
3
|
+
status: number;
|
|
4
|
+
data: unknown;
|
|
5
|
+
}
|
|
6
|
+
export interface BackgroundUploadInput {
|
|
7
|
+
request: OutboxRequest;
|
|
8
|
+
/** Absolute URL; see resolveUploadUrl. */
|
|
9
|
+
url: string;
|
|
10
|
+
/** The final header set; the caller adds Authorization and Account-Id. */
|
|
11
|
+
headers: Record<string, string>;
|
|
12
|
+
onProgress?: ((bytesSent: number, totalBytes: number) => void) | undefined;
|
|
13
|
+
signal?: AbortSignal | undefined;
|
|
14
|
+
}
|
|
15
|
+
export declare const isBackgroundEligible: (request: OutboxRequest) => boolean;
|
|
16
|
+
export declare const resolveUploadUrl: (url: string, baseUrl: string | null) => string;
|
|
17
|
+
export declare const uploadInBackground: (input: BackgroundUploadInput) => Promise<BackgroundUploadResult>;
|
|
18
|
+
//# sourceMappingURL=backgroundUpload.d.ts.map
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
export { OutboxFullError, OutboxMissingKeyError, OutboxSignedOutError } from "./errors.js";
|
|
2
2
|
export { createOutbox } from "./outbox.js";
|
|
3
|
+
export { createProgressReporter } from "./progress.js";
|
|
3
4
|
export type * from "./types.js";
|
|
5
|
+
export { useOutboxProgress } from "./useOutboxProgress.js";
|
|
4
6
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { OutboxProgress } from "./types.js";
|
|
2
|
+
export declare const PROGRESS_INTERVAL_MS = 100;
|
|
3
|
+
export declare const PROGRESS_MIN_STEP = 0.01;
|
|
4
|
+
export declare const createProgressReporter: (entry: {
|
|
5
|
+
id: string;
|
|
6
|
+
queue: string;
|
|
7
|
+
}, emit: (progress: OutboxProgress) => void) => (event: {
|
|
8
|
+
loaded: number;
|
|
9
|
+
total?: number | undefined;
|
|
10
|
+
}) => void;
|
|
11
|
+
//# sourceMappingURL=progress.d.ts.map
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import type { OutboxHttpClient } from "./types.js";
|
|
2
|
+
export interface ResumableUploadState {
|
|
3
|
+
sessionUrl: string;
|
|
4
|
+
offset: number;
|
|
5
|
+
size: number;
|
|
6
|
+
}
|
|
7
|
+
type ResumableUploadInput = {
|
|
8
|
+
http: OutboxHttpClient;
|
|
9
|
+
createUrl: string;
|
|
10
|
+
headers: Record<string, string>;
|
|
11
|
+
metadata: Record<string, string>;
|
|
12
|
+
fileUri: string;
|
|
13
|
+
chunkBytes: number;
|
|
14
|
+
/** Applies to each request (create, offset read, one chunk), never to the whole upload. */
|
|
15
|
+
timeoutMs: number;
|
|
16
|
+
state: ResumableUploadState | null;
|
|
17
|
+
onState: (state: ResumableUploadState) => Promise<void>;
|
|
18
|
+
onProgress: (sentBytes: number, totalBytes: number) => void;
|
|
19
|
+
};
|
|
20
|
+
type ResumableUploadResult = {
|
|
21
|
+
httpStatus: number;
|
|
22
|
+
data: unknown;
|
|
23
|
+
};
|
|
24
|
+
/** Sends the file to a tus 1.0.0 upload session in chunks, continuing from the offset the server reports. */
|
|
25
|
+
export declare const uploadResumable: (input: ResumableUploadInput) => Promise<ResumableUploadResult>;
|
|
26
|
+
export {};
|
|
27
|
+
//# sourceMappingURL=resumable.d.ts.map
|
|
@@ -18,10 +18,16 @@ export type OutboxBody = {
|
|
|
18
18
|
} | {
|
|
19
19
|
kind: "multipart";
|
|
20
20
|
fields: OutboxFormField[];
|
|
21
|
+
}
|
|
22
|
+
/** The file goes to the tus 1.0.0 session that the request's url creates with POST. */
|
|
23
|
+
| {
|
|
24
|
+
kind: "resumable";
|
|
25
|
+
file: OutboxFilePart;
|
|
26
|
+
metadata: Record<string, string>;
|
|
21
27
|
};
|
|
22
28
|
export interface OutboxRequest {
|
|
23
29
|
method: OutboxMethod;
|
|
24
|
-
/** As the http client takes it (relative to its base URL). */
|
|
30
|
+
/** As the http client takes it (relative to its base URL); for a resumable body, the session creation endpoint. */
|
|
25
31
|
url: string;
|
|
26
32
|
/** Must carry Idempotency-Key (a uuid); Authorization and Account-Id are refused, the outbox sets the workspace itself. */
|
|
27
33
|
headers: Record<string, string>;
|
|
@@ -60,6 +66,16 @@ export type OutboxSendResult = {
|
|
|
60
66
|
entry: OutboxEntry;
|
|
61
67
|
failure: OutboxFailure;
|
|
62
68
|
};
|
|
69
|
+
export interface OutboxProgress {
|
|
70
|
+
entryId: string;
|
|
71
|
+
queue: string;
|
|
72
|
+
/** Bytes sent so far, counted from the start of the body. */
|
|
73
|
+
loaded: number;
|
|
74
|
+
/** Bytes in the whole body; null when the platform cannot tell. */
|
|
75
|
+
total: number | null;
|
|
76
|
+
/** loaded / total clamped to 0-1; null when total is null or 0. */
|
|
77
|
+
fraction: number | null;
|
|
78
|
+
}
|
|
63
79
|
export type OutboxEvent = {
|
|
64
80
|
type: "changed";
|
|
65
81
|
queue: string;
|
|
@@ -71,6 +87,9 @@ export type OutboxEvent = {
|
|
|
71
87
|
} | {
|
|
72
88
|
type: "failed";
|
|
73
89
|
entry: OutboxEntry;
|
|
90
|
+
} | {
|
|
91
|
+
type: "progress";
|
|
92
|
+
progress: OutboxProgress;
|
|
74
93
|
};
|
|
75
94
|
export type OutboxListener = (event: OutboxEvent) => void;
|
|
76
95
|
/** The slice of the app's signed-in axios instance (mobile-core's userClient) the outbox sends through. */
|
|
@@ -83,6 +102,8 @@ export interface OutboxOptions {
|
|
|
83
102
|
maxEntriesPerOwner?: number | undefined;
|
|
84
103
|
/** Default 14; older entries are deleted with their files. */
|
|
85
104
|
keepDays?: number | undefined;
|
|
105
|
+
/** A resumable body is sent in chunks of this size. Default 1_048_576. */
|
|
106
|
+
chunkBytes?: number | undefined;
|
|
86
107
|
}
|
|
87
108
|
export interface Outbox {
|
|
88
109
|
/** Stores the entry (files copied first), then tries it once. Definitive refusal on this first try deletes the entry and returns Failed. */
|
|
@@ -16,6 +16,8 @@ import { type ApiError } from "../errors/index.js";
|
|
|
16
16
|
export type ParamsFormat = "repeat" | "brackets" | "comma";
|
|
17
17
|
export interface ApiRequest {
|
|
18
18
|
url: string;
|
|
19
|
+
/** The base address of the API that serves the call; absent means the client's own base address. */
|
|
20
|
+
baseUrl?: string | undefined;
|
|
19
21
|
method?: Method | undefined;
|
|
20
22
|
/** The request body. FormData is sent as multipart by the client. */
|
|
21
23
|
data?: unknown;
|
|
@@ -47,8 +49,11 @@ export interface ApiExtraOptions {
|
|
|
47
49
|
maxRetries?: number | undefined;
|
|
48
50
|
}
|
|
49
51
|
export declare const strongEntityTag: (value: unknown) => string | undefined;
|
|
50
|
-
/**
|
|
51
|
-
|
|
52
|
+
/**
|
|
53
|
+
* The `If-Match` header value for a version: the version in quotes, as an ETag is sent. A missing or blank
|
|
54
|
+
* version throws here, before any request is sent, so a write never goes out with no version to guard it.
|
|
55
|
+
*/
|
|
56
|
+
export declare const ifMatchValue: (version: string | null | undefined) => string;
|
|
52
57
|
/**
|
|
53
58
|
* Returned as the base query's `meta`, which RTK Query copies onto the
|
|
54
59
|
* fulfilled and rejected actions as `action.meta.baseQueryMeta`. The toast
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type OperationEntry, type OperationShape } from "@webority/api-contract/call";
|
|
2
2
|
import type { ApiRequest } from "./apiBaseQuery.js";
|
|
3
3
|
/** Base query options a contract call keeps: every ApiRequest field the contract does not decide. */
|
|
4
|
-
export type ContractQueryOptions = Omit<ApiRequest, "url" | "method" | "data" | "headers" | "responseType" | "params" | "paramsFormat">;
|
|
4
|
+
export type ContractQueryOptions = Omit<ApiRequest, "url" | "method" | "baseUrl" | "data" | "headers" | "responseType" | "params" | "paramsFormat">;
|
|
5
5
|
/** The reply type of one contract operation, for an endpoint's result type. */
|
|
6
6
|
export type ContractResponse<TOperations extends {
|
|
7
7
|
readonly [K in keyof TOperations]: OperationShape;
|
|
@@ -6,7 +6,7 @@ import { type ApiError } from "../errors/index.js";
|
|
|
6
6
|
*/
|
|
7
7
|
export declare const versionOf: (record: unknown, entityTag?: string | undefined) => string | undefined;
|
|
8
8
|
/** A copy of `cfg` that sends `version` as `If-Match`, replacing an `If-Match` under any casing; `cfg` itself is not changed. */
|
|
9
|
-
export declare const withIfMatch: (version: string, cfg?: AxiosRequestConfig) => AxiosRequestConfig;
|
|
9
|
+
export declare const withIfMatch: (version: string | null | undefined, cfg?: AxiosRequestConfig) => AxiosRequestConfig;
|
|
10
10
|
/** The strong ETag of a response's `etag` header, without quotes; undefined when there is none or it is weak. */
|
|
11
11
|
export declare const entityTagOf: (response: {
|
|
12
12
|
headers: unknown;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { PasswordRules } from "./index.js";
|
|
1
2
|
/** Checks one value: the message when it fails, undefined when it passes. Fits react-hook-form's `rules.validate` as it stands. */
|
|
2
3
|
export type FieldRule = (value: unknown) => string | undefined;
|
|
3
4
|
/** Field name to its rule. */
|
|
@@ -11,6 +12,7 @@ export declare const FIELD_RULE_MESSAGES: Readonly<{
|
|
|
11
12
|
url: string;
|
|
12
13
|
integer: string;
|
|
13
14
|
between: (min: number, max: number) => string;
|
|
15
|
+
strongPassword: string;
|
|
14
16
|
}>;
|
|
15
17
|
/** Every rule but `required` passes an empty value (null, undefined, or a string of spaces). */
|
|
16
18
|
export declare const fieldRules: Readonly<{
|
|
@@ -23,6 +25,7 @@ export declare const fieldRules: Readonly<{
|
|
|
23
25
|
url: (message?: string) => FieldRule;
|
|
24
26
|
integer: (message?: string) => FieldRule;
|
|
25
27
|
between: (min: number, max: number, message?: string) => FieldRule;
|
|
28
|
+
strongPassword: (rules?: PasswordRules, message?: string) => FieldRule;
|
|
26
29
|
/** The first failing rule's message. */
|
|
27
30
|
all: (...rules: readonly FieldRule[]) => FieldRule;
|
|
28
31
|
}>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webority/mobile-core",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.169.1",
|
|
4
4
|
"description": "Platform layer for Webority React Native apps: HTTP clients, auth/token storage, config, logging, formatters, validators, network status, permissions, storage, version checks and over-the-air updates. No UI.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react-native",
|
|
@@ -399,7 +399,7 @@
|
|
|
399
399
|
}
|
|
400
400
|
},
|
|
401
401
|
"dependencies": {
|
|
402
|
-
"@webority/api-contract": "0.
|
|
402
|
+
"@webority/api-contract": "0.169.1",
|
|
403
403
|
"axios": "^1.19.0",
|
|
404
404
|
"libphonenumber-js": "^1.12.41"
|
|
405
405
|
},
|