@salesforce/lds-adapters-apex 1.266.0-dev6 → 1.266.0-dev7

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.
@@ -127,7 +127,7 @@ const APEX_STORE_METADATA_PARAMS = {
127
127
  function apexResponseEquals(existing, incoming) {
128
128
  return stringify(incoming) === stringify(existing);
129
129
  }
130
- const apexResponseIngest = (input, path, luvio, store) => {
130
+ const apexResponseIngest = (input, path, luvio, store, timestamp) => {
131
131
  // skip validation and normalization, since input type is any
132
132
  const key = path.fullPath;
133
133
  const incomingRecord = input;
@@ -138,7 +138,10 @@ const apexResponseIngest = (input, path, luvio, store) => {
138
138
  apexResponseEquals(existingRecord, incomingRecord) === false) {
139
139
  luvio.storePublish(key, incomingRecord);
140
140
  }
141
- luvio.publishStoreMetadata(key, APEX_STORE_METADATA_PARAMS);
141
+ luvio.publishStoreMetadata(key, {
142
+ ...APEX_STORE_METADATA_PARAMS,
143
+ ingestionTimestamp: timestamp,
144
+ });
142
145
  return createLink(key);
143
146
  };
144
147
  function validateAdapterConfig(untrustedConfig) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-adapters-apex",
3
- "version": "1.266.0-dev6",
3
+ "version": "1.266.0-dev7",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
5
  "description": "Wire adapters for Apex",
6
6
  "main": "dist/es/es2018/apex-service.js",
@@ -30,12 +30,12 @@
30
30
  ]
31
31
  },
32
32
  "dependencies": {
33
- "@salesforce/lds-bindings": "^1.266.0-dev6",
34
- "@salesforce/lds-default-luvio": "^1.266.0-dev6"
33
+ "@salesforce/lds-bindings": "^1.266.0-dev7",
34
+ "@salesforce/lds-default-luvio": "^1.266.0-dev7"
35
35
  },
36
36
  "devDependencies": {
37
- "@salesforce/lds-compiler-plugins": "^1.266.0-dev6",
38
- "@salesforce/lds-karma": "^1.266.0-dev6"
37
+ "@salesforce/lds-compiler-plugins": "^1.266.0-dev7",
38
+ "@salesforce/lds-karma": "^1.266.0-dev7"
39
39
  },
40
40
  "nx": {
41
41
  "targets": {
package/sfdc/index.js CHANGED
@@ -137,7 +137,7 @@ const APEX_STORE_METADATA_PARAMS = {
137
137
  function apexResponseEquals(existing, incoming) {
138
138
  return stringify(incoming) === stringify(existing);
139
139
  }
140
- const apexResponseIngest = (input, path, luvio, store) => {
140
+ const apexResponseIngest = (input, path, luvio, store, timestamp) => {
141
141
  // skip validation and normalization, since input type is any
142
142
  const key = path.fullPath;
143
143
  const incomingRecord = input;
@@ -148,7 +148,10 @@ const apexResponseIngest = (input, path, luvio, store) => {
148
148
  apexResponseEquals(existingRecord, incomingRecord) === false) {
149
149
  luvio.storePublish(key, incomingRecord);
150
150
  }
151
- luvio.publishStoreMetadata(key, APEX_STORE_METADATA_PARAMS);
151
+ luvio.publishStoreMetadata(key, {
152
+ ...APEX_STORE_METADATA_PARAMS,
153
+ ingestionTimestamp: timestamp,
154
+ });
152
155
  return createLink(key);
153
156
  };
154
157
  function validateAdapterConfig(untrustedConfig) {
@@ -680,4 +683,4 @@ const getApexInvoker = function (namespace, classname, method, isContinuation, i
680
683
  };
681
684
 
682
685
  export { getApexInvoker, getApexInvoker_imperative, refreshApex };
683
- // version: 1.266.0-dev6-769774ed6
686
+ // version: 1.266.0-dev7-88d9ddf38