@salesforce/lds-worker-api 1.129.0 → 1.129.1

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.
@@ -761,4 +761,4 @@ if (process.env.NODE_ENV !== 'production') {
761
761
  }
762
762
 
763
763
  export { createPrimingSession, draftManager, draftQueue, executeAdapter, executeMutatingAdapter, getImperativeAdapterNames, invokeAdapter, invokeAdapterWithDraftToReplace, invokeAdapterWithMetadata, nimbusDraftQueue, setMetadataTTL, setUiApiRecordTTL, subscribeToAdapter };
764
- // version: 1.129.0-caa83ed0e
764
+ // version: 1.129.1-eb59a8867
@@ -3776,7 +3776,7 @@ function withDefaultLuvio(callback) {
3776
3776
  }
3777
3777
  callbacks.push(callback);
3778
3778
  }
3779
- // version: 1.129.0-caa83ed0e
3779
+ // version: 1.129.1-eb59a8867
3780
3780
 
3781
3781
  // TODO [TD-0081508]: once that TD is fulfilled we can probably change this file
3782
3782
  function instrumentAdapter$1(createFunction, _metadata) {
@@ -15200,7 +15200,7 @@ function parseAndVisit(source) {
15200
15200
  updateReferenceMapWithKnownKey(ast, luvioDocumentNode);
15201
15201
  return luvioDocumentNode;
15202
15202
  }
15203
- // version: 1.129.0-caa83ed0e
15203
+ // version: 1.129.1-eb59a8867
15204
15204
 
15205
15205
  function unwrap(data) {
15206
15206
  // The lwc-luvio bindings import a function from lwc called "unwrap".
@@ -16113,7 +16113,7 @@ function createGraphQLWireAdapterConstructor(luvio, adapter, metadata, astResolv
16113
16113
  const { apiFamily, name } = metadata;
16114
16114
  return createGraphQLWireAdapterConstructor$1(adapter, `${apiFamily}.${name}`, luvio, astResolver);
16115
16115
  }
16116
- // version: 1.129.0-caa83ed0e
16116
+ // version: 1.129.1-eb59a8867
16117
16117
 
16118
16118
  /**
16119
16119
  * Copyright (c) 2022, Salesforce, Inc.,
@@ -44412,7 +44412,7 @@ withDefaultLuvio((luvio) => {
44412
44412
  dropFunction: instrumentation$2.notifyRecordUpdateAvailableDropped,
44413
44413
  });
44414
44414
  });
44415
- // version: 1.129.0-e6ee02f30
44415
+ // version: 1.129.1-e413ee547
44416
44416
 
44417
44417
  var caseSensitiveUserId = '005B0000000GR4OIAW';
44418
44418
 
@@ -51298,9 +51298,18 @@ function filterToPredicates(where, recordType, alias, objectInfoMap, joins, draf
51298
51298
  const makePredicate = fieldInfo.dataType === 'MultiPicklist'
51299
51299
  ? createMultiPicklistPredicate
51300
51300
  : createSinglePredicate;
51301
- predicates.push(makePredicate(idProcessingNeeded
51302
- ? sanitizePredicateIDValue(value, draftFunctions)
51303
- : value, operator, fieldInfo, alias));
51301
+ const predicate = makePredicate(idProcessingNeeded ? sanitizePredicateIDValue(value, draftFunctions) : value, operator, fieldInfo, alias);
51302
+ // for the case where we have a not equals predicate that's value is not null
51303
+ // we need to compound into an or statement to also inlcude the null values for that field
51304
+ if (operator === '!=' && typeof value === 'string') {
51305
+ // create a is null predicate
51306
+ const isNullPredicate = createSinglePredicate(null, '=', fieldInfo, alias);
51307
+ // compound the predicates into an or predicate
51308
+ predicates.push(transformCompoundPredicate('or', [predicate, isNullPredicate]));
51309
+ }
51310
+ else {
51311
+ predicates.push(predicate);
51312
+ }
51304
51313
  }
51305
51314
  }
51306
51315
  }
@@ -59925,7 +59934,7 @@ register({
59925
59934
  id: '@salesforce/lds-network-adapter',
59926
59935
  instrument: instrument$1,
59927
59936
  });
59928
- // version: 1.129.0-caa83ed0e
59937
+ // version: 1.129.1-eb59a8867
59929
59938
 
59930
59939
  const { create: create$2, keys: keys$2 } = Object;
59931
59940
  const { stringify: stringify$1, parse: parse$1 } = JSON;
@@ -74194,7 +74203,7 @@ register({
74194
74203
  configuration: { ...configurationForGraphQLAdapters },
74195
74204
  instrument,
74196
74205
  });
74197
- // version: 1.129.0-e6ee02f30
74206
+ // version: 1.129.1-e413ee547
74198
74207
 
74199
74208
  // On core the unstable adapters are re-exported with different names,
74200
74209
 
@@ -76323,7 +76332,7 @@ withDefaultLuvio((luvio) => {
76323
76332
  unstable_graphQL_imperative = createImperativeAdapter(luvio, createInstrumentedAdapter(ldsAdapter, adapterMetadata), adapterMetadata);
76324
76333
  graphQLImperative = ldsAdapter;
76325
76334
  });
76326
- // version: 1.129.0-e6ee02f30
76335
+ // version: 1.129.1-e413ee547
76327
76336
 
76328
76337
  var gqlApi = /*#__PURE__*/Object.freeze({
76329
76338
  __proto__: null,
@@ -77015,4 +77024,4 @@ const { luvio } = getRuntime();
77015
77024
  setDefaultLuvio({ luvio });
77016
77025
 
77017
77026
  export { createPrimingSession, draftManager, draftQueue, executeAdapter, executeMutatingAdapter, getImperativeAdapterNames, invokeAdapter, invokeAdapterWithDraftToReplace, invokeAdapterWithMetadata, nimbusDraftQueue, registerReportObserver, setMetadataTTL, setUiApiRecordTTL, subscribeToAdapter };
77018
- // version: 1.129.0-caa83ed0e
77027
+ // version: 1.129.1-eb59a8867
@@ -3782,7 +3782,7 @@
3782
3782
  }
3783
3783
  callbacks.push(callback);
3784
3784
  }
3785
- // version: 1.129.0-caa83ed0e
3785
+ // version: 1.129.1-eb59a8867
3786
3786
 
3787
3787
  // TODO [TD-0081508]: once that TD is fulfilled we can probably change this file
3788
3788
  function instrumentAdapter$1(createFunction, _metadata) {
@@ -15206,7 +15206,7 @@
15206
15206
  updateReferenceMapWithKnownKey(ast, luvioDocumentNode);
15207
15207
  return luvioDocumentNode;
15208
15208
  }
15209
- // version: 1.129.0-caa83ed0e
15209
+ // version: 1.129.1-eb59a8867
15210
15210
 
15211
15211
  function unwrap(data) {
15212
15212
  // The lwc-luvio bindings import a function from lwc called "unwrap".
@@ -16119,7 +16119,7 @@
16119
16119
  const { apiFamily, name } = metadata;
16120
16120
  return createGraphQLWireAdapterConstructor$1(adapter, `${apiFamily}.${name}`, luvio, astResolver);
16121
16121
  }
16122
- // version: 1.129.0-caa83ed0e
16122
+ // version: 1.129.1-eb59a8867
16123
16123
 
16124
16124
  /**
16125
16125
  * Copyright (c) 2022, Salesforce, Inc.,
@@ -44418,7 +44418,7 @@
44418
44418
  dropFunction: instrumentation$2.notifyRecordUpdateAvailableDropped,
44419
44419
  });
44420
44420
  });
44421
- // version: 1.129.0-e6ee02f30
44421
+ // version: 1.129.1-e413ee547
44422
44422
 
44423
44423
  var caseSensitiveUserId = '005B0000000GR4OIAW';
44424
44424
 
@@ -51304,9 +51304,18 @@
51304
51304
  const makePredicate = fieldInfo.dataType === 'MultiPicklist'
51305
51305
  ? createMultiPicklistPredicate
51306
51306
  : createSinglePredicate;
51307
- predicates.push(makePredicate(idProcessingNeeded
51308
- ? sanitizePredicateIDValue(value, draftFunctions)
51309
- : value, operator, fieldInfo, alias));
51307
+ const predicate = makePredicate(idProcessingNeeded ? sanitizePredicateIDValue(value, draftFunctions) : value, operator, fieldInfo, alias);
51308
+ // for the case where we have a not equals predicate that's value is not null
51309
+ // we need to compound into an or statement to also inlcude the null values for that field
51310
+ if (operator === '!=' && typeof value === 'string') {
51311
+ // create a is null predicate
51312
+ const isNullPredicate = createSinglePredicate(null, '=', fieldInfo, alias);
51313
+ // compound the predicates into an or predicate
51314
+ predicates.push(transformCompoundPredicate('or', [predicate, isNullPredicate]));
51315
+ }
51316
+ else {
51317
+ predicates.push(predicate);
51318
+ }
51310
51319
  }
51311
51320
  }
51312
51321
  }
@@ -59931,7 +59940,7 @@
59931
59940
  id: '@salesforce/lds-network-adapter',
59932
59941
  instrument: instrument$1,
59933
59942
  });
59934
- // version: 1.129.0-caa83ed0e
59943
+ // version: 1.129.1-eb59a8867
59935
59944
 
59936
59945
  const { create: create$2, keys: keys$2 } = Object;
59937
59946
  const { stringify: stringify$1, parse: parse$1 } = JSON;
@@ -74200,7 +74209,7 @@
74200
74209
  configuration: { ...configurationForGraphQLAdapters },
74201
74210
  instrument,
74202
74211
  });
74203
- // version: 1.129.0-e6ee02f30
74212
+ // version: 1.129.1-e413ee547
74204
74213
 
74205
74214
  // On core the unstable adapters are re-exported with different names,
74206
74215
 
@@ -76329,7 +76338,7 @@
76329
76338
  unstable_graphQL_imperative = createImperativeAdapter(luvio, createInstrumentedAdapter(ldsAdapter, adapterMetadata), adapterMetadata);
76330
76339
  graphQLImperative = ldsAdapter;
76331
76340
  });
76332
- // version: 1.129.0-e6ee02f30
76341
+ // version: 1.129.1-e413ee547
76333
76342
 
76334
76343
  var gqlApi = /*#__PURE__*/Object.freeze({
76335
76344
  __proto__: null,
@@ -77038,4 +77047,4 @@
77038
77047
  Object.defineProperty(exports, '__esModule', { value: true });
77039
77048
 
77040
77049
  }));
77041
- // version: 1.129.0-caa83ed0e
77050
+ // version: 1.129.1-eb59a8867
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-worker-api",
3
- "version": "1.129.0",
3
+ "version": "1.129.1",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
5
  "description": "",
6
6
  "main": "dist/standalone/es/lds-worker-api.js",