@salesforce/lds-bindings 1.229.0-dev2 → 1.229.0-dev4

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.
@@ -108,15 +108,14 @@ function refreshData(data, dataToTuple, luvio) {
108
108
  });
109
109
  }
110
110
 
111
- const { freeze, keys } = Object;
112
- const { isArray } = Array;
113
- const { stringify } = JSON;
114
-
115
111
  function isPromise$1(value) {
116
112
  // check for Thenable due to test frameworks using custom Promise impls
117
113
  return value.then !== undefined;
118
114
  }
119
115
 
116
+ const { isArray } = Array;
117
+ const { stringify } = JSON;
118
+
120
119
  /**
121
120
  * (Re)throws an error after adding a prefix to the message.
122
121
  *
@@ -272,7 +271,7 @@ class LWCLuvioWireAdapter {
272
271
  // We should never broadcast an unfulfilled snapshot to a component
273
272
  if (isUnfulfilledSnapshot(snapshot)) {
274
273
  if (process.env.NODE_ENV !== 'production') {
275
- throw new Error(`Unfulfilled snapshot emitted to component from subscription, missingPaths: ${keys(snapshot.missingPaths)}`);
274
+ throw new Error(`Unfulfilled snapshot emitted to component from subscription, missingPaths: ${snapshot.missingPaths.keysAsArray()}`);
276
275
  }
277
276
  // Instrument as a failed request
278
277
  this.luvio.instrument(() => {
@@ -940,4 +939,4 @@ function createGraphQLWireAdapterConstructor(luvio, adapter, metadata, astResolv
940
939
  }
941
940
 
942
941
  export { ADAPTER_UNFULFILLED_ERROR, REFRESH_ADAPTER_EVENT, bindWireRefresh, createGraphQLImperativeAdapter, createGraphQLWireAdapterConstructor, createImperativeAdapter, createInfiniteScrollingWireAdapterConstructor, createInstrumentedAdapter, createLDSAdapter, createWireAdapterConstructor, instrument, refresh };
943
- // version: 1.229.0-dev2-e9832aaff
942
+ // version: 1.229.0-dev4-07d38781a
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-bindings",
3
- "version": "1.229.0-dev2",
3
+ "version": "1.229.0-dev4",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
5
  "description": "LDS Bindings for SFDC",
6
6
  "main": "dist/ldsBindings.js",
@@ -31,7 +31,7 @@
31
31
  "release:corejar": "yarn build && ../core-build/scripts/core.js --name=lds-bindings"
32
32
  },
33
33
  "dependencies": {
34
- "@salesforce/lds-graphql-parser": "1.229.0-dev2"
34
+ "@salesforce/lds-graphql-parser": "1.229.0-dev4"
35
35
  },
36
36
  "devDependencies": {
37
37
  "@lwc/engine-core": "2.42.0"