@salesforce/lds-worker-api 1.112.2 → 1.113.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.
@@ -747,4 +747,4 @@ if (process.env.NODE_ENV !== 'production') {
747
747
  }
748
748
 
749
749
  export { createPrimingSession, draftManager, draftQueue, executeAdapter, executeMutatingAdapter, getImperativeAdapterNames, invokeAdapter, invokeAdapterWithDraftToReplace, invokeAdapterWithMetadata, nimbusDraftQueue, setMetadataTTL, setUiApiRecordTTL, subscribeToAdapter };
750
- // version: 1.112.2-9a4fdc6da
750
+ // version: 1.113.0-a8af103c9
@@ -3776,7 +3776,7 @@ function withDefaultLuvio(callback) {
3776
3776
  }
3777
3777
  callbacks.push(callback);
3778
3778
  }
3779
- // version: 1.112.2-9a4fdc6da
3779
+ // version: 1.113.0-a8af103c9
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.112.2-9a4fdc6da
15203
+ // version: 1.113.0-a8af103c9
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.112.2-9a4fdc6da
16116
+ // version: 1.113.0-a8af103c9
16117
16117
 
16118
16118
  /**
16119
16119
  * Copyright (c) 2022, Salesforce, Inc.,
@@ -44301,7 +44301,7 @@ withDefaultLuvio((luvio) => {
44301
44301
  dropFunction: instrumentation$2.notifyRecordUpdateAvailableDropped,
44302
44302
  });
44303
44303
  });
44304
- // version: 1.112.2-9a4fdc6da
44304
+ // version: 1.113.0-a8af103c9
44305
44305
 
44306
44306
  var caseSensitiveUserId = '005B0000000GR4OIAW';
44307
44307
 
@@ -59778,7 +59778,7 @@ register({
59778
59778
  id: '@salesforce/lds-network-adapter',
59779
59779
  instrument: instrument$1,
59780
59780
  });
59781
- // version: 1.112.2-9a4fdc6da
59781
+ // version: 1.113.0-a8af103c9
59782
59782
 
59783
59783
  const { create: create$2, keys: keys$2 } = Object;
59784
59784
  const { stringify: stringify$1, parse: parse$1 } = JSON;
@@ -77504,7 +77504,7 @@ register({
77504
77504
  configuration: { ...configurationForGraphQLAdapters },
77505
77505
  instrument,
77506
77506
  });
77507
- // version: 1.112.2-9a4fdc6da
77507
+ // version: 1.113.0-a8af103c9
77508
77508
 
77509
77509
  // On core the unstable adapters are re-exported with different names,
77510
77510
 
@@ -79633,7 +79633,7 @@ withDefaultLuvio((luvio) => {
79633
79633
  unstable_graphQL_imperative = createImperativeAdapter(luvio, createInstrumentedAdapter(ldsAdapter, adapterMetadata), adapterMetadata);
79634
79634
  graphQLImperative = ldsAdapter;
79635
79635
  });
79636
- // version: 1.112.2-9a4fdc6da
79636
+ // version: 1.113.0-a8af103c9
79637
79637
 
79638
79638
  var gqlApi = /*#__PURE__*/Object.freeze({
79639
79639
  __proto__: null,
@@ -80311,4 +80311,4 @@ const { luvio } = getRuntime();
80311
80311
  setDefaultLuvio({ luvio });
80312
80312
 
80313
80313
  export { createPrimingSession, draftManager, draftQueue, executeAdapter, executeMutatingAdapter, getImperativeAdapterNames, invokeAdapter, invokeAdapterWithDraftToReplace, invokeAdapterWithMetadata, nimbusDraftQueue, registerReportObserver, setMetadataTTL, setUiApiRecordTTL, subscribeToAdapter };
80314
- // version: 1.112.2-9a4fdc6da
80314
+ // version: 1.113.0-a8af103c9
@@ -3782,7 +3782,7 @@
3782
3782
  }
3783
3783
  callbacks.push(callback);
3784
3784
  }
3785
- // version: 1.112.2-9a4fdc6da
3785
+ // version: 1.113.0-a8af103c9
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.112.2-9a4fdc6da
15209
+ // version: 1.113.0-a8af103c9
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.112.2-9a4fdc6da
16122
+ // version: 1.113.0-a8af103c9
16123
16123
 
16124
16124
  /**
16125
16125
  * Copyright (c) 2022, Salesforce, Inc.,
@@ -44307,7 +44307,7 @@
44307
44307
  dropFunction: instrumentation$2.notifyRecordUpdateAvailableDropped,
44308
44308
  });
44309
44309
  });
44310
- // version: 1.112.2-9a4fdc6da
44310
+ // version: 1.113.0-a8af103c9
44311
44311
 
44312
44312
  var caseSensitiveUserId = '005B0000000GR4OIAW';
44313
44313
 
@@ -59784,7 +59784,7 @@
59784
59784
  id: '@salesforce/lds-network-adapter',
59785
59785
  instrument: instrument$1,
59786
59786
  });
59787
- // version: 1.112.2-9a4fdc6da
59787
+ // version: 1.113.0-a8af103c9
59788
59788
 
59789
59789
  const { create: create$2, keys: keys$2 } = Object;
59790
59790
  const { stringify: stringify$1, parse: parse$1 } = JSON;
@@ -77510,7 +77510,7 @@
77510
77510
  configuration: { ...configurationForGraphQLAdapters },
77511
77511
  instrument,
77512
77512
  });
77513
- // version: 1.112.2-9a4fdc6da
77513
+ // version: 1.113.0-a8af103c9
77514
77514
 
77515
77515
  // On core the unstable adapters are re-exported with different names,
77516
77516
 
@@ -79639,7 +79639,7 @@
79639
79639
  unstable_graphQL_imperative = createImperativeAdapter(luvio, createInstrumentedAdapter(ldsAdapter, adapterMetadata), adapterMetadata);
79640
79640
  graphQLImperative = ldsAdapter;
79641
79641
  });
79642
- // version: 1.112.2-9a4fdc6da
79642
+ // version: 1.113.0-a8af103c9
79643
79643
 
79644
79644
  var gqlApi = /*#__PURE__*/Object.freeze({
79645
79645
  __proto__: null,
@@ -80334,4 +80334,4 @@
80334
80334
  Object.defineProperty(exports, '__esModule', { value: true });
80335
80335
 
80336
80336
  }));
80337
- // version: 1.112.2-9a4fdc6da
80337
+ // version: 1.113.0-a8af103c9
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-worker-api",
3
- "version": "1.112.2",
3
+ "version": "1.113.0",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
5
  "description": "",
6
6
  "main": "dist/standalone/umd/lds-worker-api.js",
@@ -37,15 +37,15 @@
37
37
  "@luvio/engine": "0.137.1",
38
38
  "@luvio/environments": "0.137.1",
39
39
  "@oat-sa/rollup-plugin-wildcard-external": "^0.1.0",
40
- "@salesforce/lds-adapters-graphql": "^1.112.2",
41
- "@salesforce/lds-adapters-uiapi": "^1.112.2",
42
- "@salesforce/lds-default-luvio": "^1.112.2",
43
- "@salesforce/lds-drafts": "^1.112.2",
44
- "@salesforce/lds-graphql-parser": "^1.112.2",
45
- "@salesforce/lds-luvio-engine": "^1.112.2",
46
- "@salesforce/lds-priming": "^1.112.2",
47
- "@salesforce/lds-runtime-mobile": "^1.112.2",
48
- "@salesforce/nimbus-plugin-lds": "^1.112.2",
40
+ "@salesforce/lds-adapters-graphql": "^1.113.0",
41
+ "@salesforce/lds-adapters-uiapi": "^1.113.0",
42
+ "@salesforce/lds-default-luvio": "^1.113.0",
43
+ "@salesforce/lds-drafts": "^1.113.0",
44
+ "@salesforce/lds-graphql-parser": "^1.113.0",
45
+ "@salesforce/lds-luvio-engine": "^1.113.0",
46
+ "@salesforce/lds-priming": "^1.113.0",
47
+ "@salesforce/lds-runtime-mobile": "^1.113.0",
48
+ "@salesforce/nimbus-plugin-lds": "^1.113.0",
49
49
  "ajv": "^8.11.0",
50
50
  "glob": "^7.1.5",
51
51
  "nimbus-types": "^2.0.0-alpha1",
@@ -1,3 +1,5 @@
1
+ /*eslint-env es2020 */
2
+
1
3
  let rows = [];
2
4
  let workOrderRecordId;
3
5
  for (let i = 1; i <= 500; i++) {
@@ -234,7 +236,7 @@ for (let i = 1; i <= 500; i++) {
234
236
  ]);
235
237
  }
236
238
 
237
- global.__nimbus.plugins.LdsSqliteStore.batchOperations(
239
+ globalThis.__nimbus.plugins.LdsSqliteStore.batchOperations(
238
240
  [
239
241
  {
240
242
  type: 'upsert',