@salesforce/lds-ads-bridge 1.266.0-dev5 → 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.
- package/dist/ads-bridge-perf.js +16 -12
- package/dist/adsBridge.js +1 -1
- package/package.json +3 -3
package/dist/ads-bridge-perf.js
CHANGED
|
@@ -383,6 +383,7 @@ function ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normal
|
|
|
383
383
|
namespace,
|
|
384
384
|
version,
|
|
385
385
|
representationName,
|
|
386
|
+
ingestionTimestamp: timestamp,
|
|
386
387
|
};
|
|
387
388
|
luvio.publishStoreMetadata(key, storeMetadataParams);
|
|
388
389
|
}
|
|
@@ -430,7 +431,7 @@ function createResourceParamsImpl(config, configMetadata) {
|
|
|
430
431
|
}
|
|
431
432
|
return resourceParams;
|
|
432
433
|
}
|
|
433
|
-
// engine version: 0.154.
|
|
434
|
+
// engine version: 0.154.7-dev4-96466e64
|
|
434
435
|
|
|
435
436
|
/**
|
|
436
437
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -478,7 +479,7 @@ const callbacks$1 = [];
|
|
|
478
479
|
function register(r) {
|
|
479
480
|
callbacks$1.forEach((callback) => callback(r));
|
|
480
481
|
}
|
|
481
|
-
// version: 1.266.0-
|
|
482
|
+
// version: 1.266.0-dev7-c30e261b4
|
|
482
483
|
|
|
483
484
|
/**
|
|
484
485
|
* Returns true if the value acts like a Promise, i.e. has a "then" function,
|
|
@@ -8200,6 +8201,7 @@ const createRecordIngest = (fieldsTrie, optionalFieldsTrie, recordConflictMap) =
|
|
|
8200
8201
|
representationName: RepresentationType$X,
|
|
8201
8202
|
namespace: keyPrefix,
|
|
8202
8203
|
version: VERSION$2g,
|
|
8204
|
+
ingestionTimestamp: timestamp,
|
|
8203
8205
|
});
|
|
8204
8206
|
return createLink$1(key);
|
|
8205
8207
|
};
|
|
@@ -8394,17 +8396,19 @@ function onResourceError(luvio, config, key, err) {
|
|
|
8394
8396
|
function buildNetworkSnapshot$18(luvio, config, serverRequestCount = 0, options) {
|
|
8395
8397
|
const { request, key, allTrackedFields, resourceParams } = prepareRequest$6(luvio, config);
|
|
8396
8398
|
return luvio.dispatchResourceRequest(request, options).then((response) => {
|
|
8399
|
+
// W-11964675 - Condition to dedupe a very specific set of requests for
|
|
8400
|
+
// Komaci - a batch record request with a single record followed by a single
|
|
8401
|
+
// record request. The fulfill logic sends the same network response, so
|
|
8402
|
+
// there is some TypeScript massaging to extract the RecordRepresentation
|
|
8403
|
+
//
|
|
8404
|
+
// W-14381091 - Ensure hoisting the response body happens prior to
|
|
8405
|
+
// calling `luvio.handleSuccessResponse`, since both arguments capture
|
|
8406
|
+
// the response.
|
|
8407
|
+
if (isSingleBatchRecordResponse(response.body)) {
|
|
8408
|
+
response.body = response.body.results[0]
|
|
8409
|
+
.result;
|
|
8410
|
+
}
|
|
8397
8411
|
return luvio.handleSuccessResponse(() => {
|
|
8398
|
-
// W-11964675 - Condition to dedupe a very specific set of requests for
|
|
8399
|
-
// Komaci - a batch record request with a single record followed by a single
|
|
8400
|
-
// record request. The fulfill logic sends the same network response, so
|
|
8401
|
-
// there is some TypeScript massaging to extract the RecordRepresentation
|
|
8402
|
-
if (isSingleBatchRecordResponse(response.body)) {
|
|
8403
|
-
let recordResponse = response;
|
|
8404
|
-
recordResponse.body = response.body.results[0]
|
|
8405
|
-
.result;
|
|
8406
|
-
return onResourceSuccess(luvio, config, key, allTrackedFields, recordResponse, serverRequestCount + 1);
|
|
8407
|
-
}
|
|
8408
8412
|
return onResourceSuccess(luvio, config, key, allTrackedFields, response, serverRequestCount + 1);
|
|
8409
8413
|
}, () => {
|
|
8410
8414
|
const cache = new StoreKeyMap();
|
package/dist/adsBridge.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-ads-bridge",
|
|
3
|
-
"version": "1.266.0-
|
|
3
|
+
"version": "1.266.0-dev7",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
5
5
|
"description": "Bridge to sync data between LDS and ADS",
|
|
6
6
|
"main": "dist/adsBridge.js",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"release:corejar": "yarn build && ../core-build/scripts/core.js --name=lds-ads-bridge"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
|
-
"@salesforce/lds-adapters-uiapi": "^1.266.0-
|
|
33
|
-
"@salesforce/lds-uiapi-record-utils": "^1.266.0-
|
|
32
|
+
"@salesforce/lds-adapters-uiapi": "^1.266.0-dev7",
|
|
33
|
+
"@salesforce/lds-uiapi-record-utils": "^1.266.0-dev7"
|
|
34
34
|
}
|
|
35
35
|
}
|