@salesforce/lds-runtime-mobile 1.448.0 → 1.450.0

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.
@@ -24,6 +24,28 @@ export declare function reportDraftActionEvent(state: 'added' | 'uploading' | 'c
24
24
  * the action's targetId/tag or any request body/field values.
25
25
  */
26
26
  export declare function reportDraftActionUploadError(error: unknown, handlerId: string, attempt: number): void;
27
+ export type IdempotencyKeyRotationReason = 'idempotency-error' | 'backdating-collision' | 'merge-actions' | 'generic-400-killswitch';
28
+ /**
29
+ * Emits a single greppable Splunk log line (and an o11y counter) every time a draft's
30
+ * Idempotency-Key is rotated — i.e. replaced with a fresh uuid rather than reused on
31
+ * retry. This is the instrumentation for the WOLI duplicate-record investigation
32
+ * (@W-23428669): a rotation mid-flight is the mechanism by which an already-committed
33
+ * write can be re-sent under a new key and duplicated on the server, so recording every
34
+ * rotation lets us reconstruct, on a future reproduction, exactly where and how often a
35
+ * key changed for a given draft.
36
+ *
37
+ * The message is prefixed with a stable literal ("Idempotency key rotated") so it can be
38
+ * pulled out of Splunk with a substring match, and carries:
39
+ * - draftId: the local (client-synthesized) draft-action target id, so this event can be
40
+ * correlated with the other draft-queue events for the same draft. This is NOT a server
41
+ * record id or any field value — it is the same local id already surfaced by the queue's
42
+ * other lifecycle logs, so it introduces no new PII.
43
+ * - reason: which rotation call site fired, to disambiguate the distinct rotation paths.
44
+ *
45
+ * @param draftId the local draft-action target id whose key was rotated
46
+ * @param reason the rotation call site (see IdempotencyKeyRotationReason)
47
+ */
48
+ export declare function reportIdempotencyKeyRotated(draftId: string, reason: IdempotencyKeyRotationReason): void;
27
49
  export declare function reportDraftQueueState(state: 'started' | 'error' | 'waiting' | 'stopped', draftCount: number): void;
28
50
  export declare function reportDraftAwareContentDocumentVersionSynthesizeError(err: unknown): void;
29
51
  export declare function reportDraftAwareContentVersionSynthesizeCalls(mimeType: string): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-runtime-mobile",
3
- "version": "1.448.0",
3
+ "version": "1.450.0",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
5
  "description": "LDS runtime for mobile/hybrid environments.",
6
6
  "main": "dist/main.js",
@@ -32,43 +32,43 @@
32
32
  "release:corejar": "yarn build && ../core-build/scripts/core.js --name=lds-runtime-mobile"
33
33
  },
34
34
  "dependencies": {
35
- "@conduit-client/service-bindings-imperative": "3.25.0",
36
- "@conduit-client/service-bindings-lwc": "3.25.0",
37
- "@conduit-client/service-provisioner": "3.25.0",
38
- "@salesforce/lds-adapters-uiapi": "^1.448.0",
39
- "@salesforce/lds-bindings": "^1.448.0",
40
- "@salesforce/lds-instrumentation": "^1.448.0",
41
- "@salesforce/lds-luvio-service": "^1.448.0",
42
- "@salesforce/lds-luvio-uiapi-records-service": "^1.448.0",
35
+ "@conduit-client/service-bindings-imperative": "3.26.0",
36
+ "@conduit-client/service-bindings-lwc": "3.26.0",
37
+ "@conduit-client/service-provisioner": "3.26.0",
38
+ "@salesforce/lds-adapters-uiapi": "^1.450.0",
39
+ "@salesforce/lds-bindings": "^1.450.0",
40
+ "@salesforce/lds-instrumentation": "^1.450.0",
41
+ "@salesforce/lds-luvio-service": "^1.450.0",
42
+ "@salesforce/lds-luvio-uiapi-records-service": "^1.450.0",
43
43
  "@salesforce/user": "0.0.21",
44
44
  "o11y": "250.7.0",
45
45
  "o11y_schema": "256.126.0"
46
46
  },
47
47
  "devDependencies": {
48
- "@conduit-client/command-aura-network": "3.25.0",
49
- "@conduit-client/command-aura-normalized-cache-control": "3.25.0",
50
- "@conduit-client/command-fetch-network": "3.25.0",
51
- "@conduit-client/command-http-normalized-cache-control": "3.25.0",
52
- "@conduit-client/command-network": "3.25.0",
53
- "@conduit-client/service-cache": "3.25.0",
54
- "@conduit-client/service-cache-control": "3.25.0",
55
- "@conduit-client/service-cache-inclusion-policy": "3.25.0",
56
- "@conduit-client/service-fetch-network": "3.25.0",
57
- "@conduit-client/service-instrument-command": "3.25.0",
58
- "@conduit-client/service-instrumentation": "3.25.0",
59
- "@conduit-client/service-pubsub": "3.25.0",
60
- "@conduit-client/service-store": "3.25.0",
61
- "@conduit-client/utils": "3.25.0",
62
- "@salesforce/lds-adapters-graphql": "^1.448.0",
63
- "@salesforce/lds-drafts": "^1.448.0",
64
- "@salesforce/lds-durable-records": "^1.448.0",
65
- "@salesforce/lds-network-adapter": "^1.448.0",
66
- "@salesforce/lds-network-nimbus": "^1.448.0",
67
- "@salesforce/lds-store-binary": "^1.448.0",
68
- "@salesforce/lds-store-nimbus": "^1.448.0",
69
- "@salesforce/lds-store-sql": "^1.448.0",
70
- "@salesforce/lds-utils-adapters": "^1.448.0",
71
- "@salesforce/nimbus-plugin-lds": "^1.448.0",
48
+ "@conduit-client/command-aura-network": "3.26.0",
49
+ "@conduit-client/command-aura-normalized-cache-control": "3.26.0",
50
+ "@conduit-client/command-fetch-network": "3.26.0",
51
+ "@conduit-client/command-http-normalized-cache-control": "3.26.0",
52
+ "@conduit-client/command-network": "3.26.0",
53
+ "@conduit-client/service-cache": "3.26.0",
54
+ "@conduit-client/service-cache-control": "3.26.0",
55
+ "@conduit-client/service-cache-inclusion-policy": "3.26.0",
56
+ "@conduit-client/service-fetch-network": "3.26.0",
57
+ "@conduit-client/service-instrument-command": "3.26.0",
58
+ "@conduit-client/service-instrumentation": "3.26.0",
59
+ "@conduit-client/service-pubsub": "3.26.0",
60
+ "@conduit-client/service-store": "3.26.0",
61
+ "@conduit-client/utils": "3.26.0",
62
+ "@salesforce/lds-adapters-graphql": "^1.450.0",
63
+ "@salesforce/lds-drafts": "^1.450.0",
64
+ "@salesforce/lds-durable-records": "^1.450.0",
65
+ "@salesforce/lds-network-adapter": "^1.450.0",
66
+ "@salesforce/lds-network-nimbus": "^1.450.0",
67
+ "@salesforce/lds-store-binary": "^1.450.0",
68
+ "@salesforce/lds-store-nimbus": "^1.450.0",
69
+ "@salesforce/lds-store-sql": "^1.450.0",
70
+ "@salesforce/lds-utils-adapters": "^1.450.0",
71
+ "@salesforce/nimbus-plugin-lds": "^1.450.0",
72
72
  "babel-plugin-dynamic-import-node": "^2.3.3",
73
73
  "wait-for-expect": "^3.0.2"
74
74
  },