@salesforce/lds-adapters-community-microbatching 1.260.0 → 1.262.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.
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
declare let ingestRecord: any;
|
|
2
|
-
export { ingestRecord
|
|
2
|
+
export { ingestRecord };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-community-microbatching",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.262.0",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
5
5
|
"description": "Microbatching requests",
|
|
6
6
|
"main": "dist/es/es2018/community-microbatching.js",
|
|
@@ -35,15 +35,14 @@
|
|
|
35
35
|
"release:core": "../../scripts/release/core.js --adapter=lds-adapters-community-microbatching",
|
|
36
36
|
"release:corejar": "yarn build && packages/core-build/scripts/core.js --adapter=lds-adapters-community-microbatching",
|
|
37
37
|
"start": "nx build:karma && karma start",
|
|
38
|
-
"test": "nx build:karma && karma start --single-run"
|
|
39
|
-
"test:compat": "nx build:karma && karma start --single-run --compat"
|
|
38
|
+
"test": "nx build:karma && karma start --single-run"
|
|
40
39
|
},
|
|
41
40
|
"dependencies": {
|
|
42
|
-
"@salesforce/lds-bindings": "^1.
|
|
41
|
+
"@salesforce/lds-bindings": "^1.262.0"
|
|
43
42
|
},
|
|
44
43
|
"devDependencies": {
|
|
45
|
-
"@salesforce/lds-compiler-plugins": "^1.
|
|
46
|
-
"@salesforce/lds-karma": "^1.
|
|
44
|
+
"@salesforce/lds-compiler-plugins": "^1.262.0",
|
|
45
|
+
"@salesforce/lds-karma": "^1.262.0"
|
|
47
46
|
},
|
|
48
47
|
"nx": {
|
|
49
48
|
"targets": {
|
package/sfdc/index.js
CHANGED
|
@@ -291,21 +291,22 @@ const ingestRecordAdapterFactory = (luvio) => {
|
|
|
291
291
|
};
|
|
292
292
|
|
|
293
293
|
let ingestRecord;
|
|
294
|
+
// Notify Update Available
|
|
294
295
|
function bindExportsTo(luvio) {
|
|
296
|
+
// LDS Adapters
|
|
295
297
|
function unwrapSnapshotData(factory) {
|
|
296
298
|
const adapter = factory(luvio);
|
|
297
|
-
return (config) => adapter(config).then(snapshot => snapshot.data);
|
|
299
|
+
return (config) => adapter(config).then((snapshot) => snapshot.data);
|
|
298
300
|
}
|
|
299
301
|
return {
|
|
300
302
|
ingestRecord: unwrapSnapshotData(ingestRecordAdapterFactory),
|
|
301
303
|
// Imperative GET Adapters
|
|
304
|
+
// Notify Update Availables
|
|
302
305
|
};
|
|
303
306
|
}
|
|
304
307
|
withDefaultLuvio((luvio) => {
|
|
305
|
-
({
|
|
306
|
-
ingestRecord,
|
|
307
|
-
} = bindExportsTo(luvio));
|
|
308
|
+
({ ingestRecord } = bindExportsTo(luvio));
|
|
308
309
|
});
|
|
309
310
|
|
|
310
311
|
export { ingestRecord };
|
|
311
|
-
// version: 1.
|
|
312
|
+
// version: 1.262.0-d3c071fdc
|