@salesforce/lds-bindings
Advanced tools
Comparing version 1.308.0 to 1.309.0-dev8
@@ -420,2 +420,14 @@ /** | ||
} | ||
subscribe(snapshot) { | ||
var _a; | ||
super.subscribe(snapshot); | ||
// if the snapshot is refreshed we should stop using data from before the refresh | ||
if (this.connected && ((_a = snapshot.refresh) === null || _a === void 0 ? void 0 : _a.resolve)) { | ||
const originalResolve = snapshot.refresh.resolve; | ||
snapshot.refresh.resolve = (config) => { | ||
this.connectTimestamp = Date.now(); | ||
return originalResolve(config); | ||
}; | ||
} | ||
} | ||
} | ||
@@ -947,2 +959,2 @@ function createInfiniteScrollingWireAdapterConstructor$1(adapter, name, luvio) { | ||
export { ADAPTER_UNFULFILLED_ERROR, REFRESH_ADAPTER_EVENT, bindWireRefresh, createGraphQLImperativeAdapter, createGraphQLWireAdapterConstructor, createImperativeAdapter, createInfiniteScrollingWireAdapterConstructor, createInstrumentedAdapter, createLDSAdapter, createWireAdapterConstructor, instrument, refresh }; | ||
// version: 1.308.0-0a7e378822 | ||
// version: 1.309.0-dev8-ad7bd154aa |
{ | ||
"name": "@salesforce/lds-bindings", | ||
"version": "1.308.0", | ||
"version": "1.309.0-dev8", | ||
"license": "SEE LICENSE IN LICENSE.txt", | ||
@@ -34,3 +34,3 @@ "description": "LDS Bindings for SFDC", | ||
"dependencies": { | ||
"@salesforce/lds-graphql-parser": "^1.308.0" | ||
"@salesforce/lds-graphql-parser": "^1.309.0-dev8" | ||
}, | ||
@@ -37,0 +37,0 @@ "devDependencies": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
47591
1071
2