@salesforce/lds-runtime-mobile 1.332.0-dev2 → 1.332.0-dev21
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/main.js +188 -18
- package/dist/types/drafts/quickActions/QuickActionExecutionRepresentationHandler.d.ts +10 -4
- package/dist/types/priming/ConflictPool.d.ts +1 -1
- package/dist/types/priming/PrimingSession.d.ts +5 -0
- package/package.json +14 -14
- package/sfdc/main.js +188 -18
- package/sfdc/types/drafts/quickActions/QuickActionExecutionRepresentationHandler.d.ts +10 -4
- package/sfdc/types/priming/ConflictPool.d.ts +1 -1
- package/sfdc/types/priming/PrimingSession.d.ts +5 -0
|
@@ -36,6 +36,9 @@ export interface PrimingEvents {
|
|
|
36
36
|
errors: string[];
|
|
37
37
|
duration: number;
|
|
38
38
|
};
|
|
39
|
+
'retry-limit-reached': {
|
|
40
|
+
ids: string[];
|
|
41
|
+
};
|
|
39
42
|
}
|
|
40
43
|
interface EventErrorPayload {
|
|
41
44
|
ids: string[];
|
|
@@ -56,12 +59,14 @@ export declare class PrimingSession extends EventEmitter<PrimingEvents> {
|
|
|
56
59
|
private networkWorkerPool;
|
|
57
60
|
private conflictPool;
|
|
58
61
|
private ldsRecordRefresher;
|
|
62
|
+
private retryTracker;
|
|
59
63
|
constructor(config: PrimingSessionConfig);
|
|
60
64
|
enqueue(work: PrimingWork): Promise<void>;
|
|
61
65
|
cancel(): void;
|
|
62
66
|
private enqueueBatches;
|
|
63
67
|
private processFetchedRecords;
|
|
64
68
|
private handleWriteConflicts;
|
|
69
|
+
private applyRetryLimits;
|
|
65
70
|
private fetchMetadata;
|
|
66
71
|
}
|
|
67
72
|
export {};
|