@salesforce/lds-worker-api 1.380.0-dev13 → 1.380.0-dev15

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.
@@ -1371,4 +1371,4 @@ if (process.env.NODE_ENV !== 'production') {
1371
1371
  }
1372
1372
 
1373
1373
  export { createPrimingSession, draftManager, draftQueue, evictCacheRecordsByIds, evictExpiredCacheEntries, executeAdapter, executeMutatingAdapter, getImperativeAdapterNames, importLuvioAdapterModule, importOneStoreAdapterModule, invokeAdapter, invokeAdapterWithDraftToMerge, invokeAdapterWithDraftToReplace, invokeAdapterWithMetadata, nimbusDraftQueue, setMetadataTTL, setUiApiRecordTTL, stopEviction, subscribeToAdapter };
1374
- // version: 1.380.0-dev13-385bea3656
1374
+ // version: 1.380.0-dev15-3f052d1051
@@ -4274,7 +4274,7 @@ function withDefaultLuvio(callback) {
4274
4274
  }
4275
4275
  callbacks.push(callback);
4276
4276
  }
4277
- // version: 1.380.0-dev13-385bea3656
4277
+ // version: 1.380.0-dev15-3f052d1051
4278
4278
 
4279
4279
  // TODO [TD-0081508]: once that TD is fulfilled we can probably change this file
4280
4280
  function instrumentAdapter$1(createFunction, _metadata) {
@@ -5318,7 +5318,7 @@ function createGraphQLWireAdapterConstructor(luvio, adapter, metadata, astResolv
5318
5318
  const { apiFamily, name } = metadata;
5319
5319
  return createGraphQLWireAdapterConstructor$1(adapter, `${apiFamily}.${name}`, luvio, astResolver);
5320
5320
  }
5321
- // version: 1.380.0-dev13-385bea3656
5321
+ // version: 1.380.0-dev15-3f052d1051
5322
5322
 
5323
5323
  /**
5324
5324
  * Copyright (c) 2022, Salesforce, Inc.,
@@ -34154,7 +34154,7 @@ withDefaultLuvio((luvio) => {
34154
34154
  throttle(60, 60000, setupNotifyAllListRecordUpdateAvailable(luvio));
34155
34155
  throttle(60, 60000, setupNotifyAllListInfoSummaryUpdateAvailable(luvio));
34156
34156
  });
34157
- // version: 1.380.0-dev13-6622e6f116
34157
+ // version: 1.380.0-dev15-0abe79ad34
34158
34158
 
34159
34159
  function requestIdleDetectedCallback(_callback) { }
34160
34160
  function declareNotifierTaskSingle(_name) {
@@ -95494,11 +95494,11 @@ class CacheController {
95494
95494
  yield* this.services.cacheInclusionPolicy.findAndModify(query, cacheUpdate);
95495
95495
  }
95496
95496
  }
95497
- function buildServiceDescriptor$a(cache, cacheInclusionPolicy) {
95497
+ function buildServiceDescriptor$a(cache, cacheInclusionPolicy, instrumentation) {
95498
95498
  return {
95499
95499
  type: "cacheController",
95500
95500
  version: "1.0",
95501
- service: new CacheController({ cache, cacheInclusionPolicy })
95501
+ service: new CacheController({ cache, cacheInclusionPolicy, instrumentation })
95502
95502
  };
95503
95503
  }
95504
95504
 
@@ -95994,7 +95994,7 @@ function buildServiceDescriptor$5(luvio) {
95994
95994
  },
95995
95995
  };
95996
95996
  }
95997
- // version: 1.380.0-dev13-6622e6f116
95997
+ // version: 1.380.0-dev15-0abe79ad34
95998
95998
 
95999
95999
  /**
96000
96000
  * Copyright (c) 2022, Salesforce, Inc.,
@@ -96020,7 +96020,7 @@ function buildServiceDescriptor$4(notifyRecordUpdateAvailable, getNormalizedLuvi
96020
96020
  },
96021
96021
  };
96022
96022
  }
96023
- // version: 1.380.0-dev13-6622e6f116
96023
+ // version: 1.380.0-dev15-0abe79ad34
96024
96024
 
96025
96025
  /*!
96026
96026
  * Copyright (c) 2022, Salesforce, Inc.,
@@ -97947,7 +97947,7 @@ function initializeOneStore(sqliteStore) {
97947
97947
  buildServiceDescriptor$g(),
97948
97948
  buildServiceDescriptor$f(),
97949
97949
  buildServiceDescriptor$e(),
97950
- buildServiceDescriptor$a(cacheServiceDescriptor.service, nimbusSqliteOneStoreCacheServiceDescriptor.service),
97950
+ buildServiceDescriptor$a(cacheServiceDescriptor.service, nimbusSqliteOneStoreCacheServiceDescriptor.service, instrumentationServiceDescriptor.service),
97951
97951
  buildServiceDescriptor$d(),
97952
97952
  buildServiceDescriptor$h(),
97953
97953
  buildServiceDescriptor$c(),
@@ -98168,7 +98168,7 @@ register$1({
98168
98168
  id: '@salesforce/lds-network-adapter',
98169
98169
  instrument: instrument$2,
98170
98170
  });
98171
- // version: 1.380.0-dev13-385bea3656
98171
+ // version: 1.380.0-dev15-3f052d1051
98172
98172
 
98173
98173
  const { create: create$3, keys: keys$3 } = Object;
98174
98174
  const { stringify: stringify$1, parse } = JSON;
@@ -101015,7 +101015,7 @@ function handleEmit(res, callback) {
101015
101015
  }
101016
101016
  callback(consumerEmittedData);
101017
101017
  }
101018
- // version: 1.380.0-dev13-6622e6f116
101018
+ // version: 1.380.0-dev15-0abe79ad34
101019
101019
 
101020
101020
  class Analytics__AnalyticsBrowseRepository extends UnidentifiableGraphQLTypeRepository {
101021
101021
  constructor(services, typeRegistry) {
@@ -104630,7 +104630,7 @@ function buildCommandClass(baseClass) {
104630
104630
  this.endpoint = 'RecordUiController.executeGraphQL';
104631
104631
  }
104632
104632
  get url() {
104633
- return '/graphql';
104633
+ return '/services/data/v65.0/graphql';
104634
104634
  }
104635
104635
  get cacheControlStrategyConfig() {
104636
104636
  return {
@@ -104889,6 +104889,16 @@ function buildAsyncGraphQLImperativeLegacyInvokerV1Import(getCommand) {
104889
104889
  return { invoke, subscribe };
104890
104890
  }
104891
104891
 
104892
+ function createLockerCompatibleWireConstructor(DelegateCtor) {
104893
+ function Constructor(callback, sourceContext, options) {
104894
+ const delegate = new DelegateCtor(callback, sourceContext, options);
104895
+ this.connect = () => delegate.connect();
104896
+ this.disconnect = () => delegate.disconnect();
104897
+ this.update = (config, context) => delegate.update(config, context);
104898
+ }
104899
+ return Constructor;
104900
+ }
104901
+
104892
104902
  let graphql$1;
104893
104903
  let graphql_v1_import;
104894
104904
  let graphql_imperative$1;
@@ -104946,7 +104956,7 @@ getServices(serviceRequirements).then((services) => {
104946
104956
  const graphqlTypeRegistry = new CustomGraphQLTypeRegistry(services);
104947
104957
  const documentRootType = graphqlTypeRegistry.Query;
104948
104958
  const graphql_ctor = services.instrumentCommand(buildCommandClass(services.auraGraphQLNormalizedCacheControlCommand), 'graphql');
104949
- graphql$1 = class extends GraphQLCommandWireAdapterConstructor {
104959
+ graphql$1 = createLockerCompatibleWireConstructor(class extends GraphQLCommandWireAdapterConstructor {
104950
104960
  constructor() {
104951
104961
  super(...arguments);
104952
104962
  this.configSchema = CONFIG_SCHEMA;
@@ -104955,7 +104965,7 @@ getServices(serviceRequirements).then((services) => {
104955
104965
  getCommand() {
104956
104966
  return new graphql_ctor(this.config, documentRootType, services);
104957
104967
  }
104958
- };
104968
+ });
104959
104969
  graphql_v1_import = class extends GraphQLCommandWireAdapterConstructorV1Import {
104960
104970
  constructor() {
104961
104971
  super(...arguments);
@@ -104997,7 +105007,7 @@ function registerCallback(cb) {
104997
105007
  cb(graphql_v1_import, graphql_imperative$1, graphql_imperative_legacy_v1_import, useOneStoreGraphQL);
104998
105008
  }
104999
105009
  }
105000
- // version: 1.380.0-dev13-6622e6f116
105010
+ // version: 1.380.0-dev15-0abe79ad34
105001
105011
 
105002
105012
  function createFragmentMap(documentNode) {
105003
105013
  const fragments = {};
@@ -131705,7 +131715,7 @@ function refreshGraphQL(data) {
131705
131715
  }
131706
131716
  return refresh$3(data, 'refreshUiApi');
131707
131717
  }
131708
- // version: 1.380.0-dev13-6622e6f116
131718
+ // version: 1.380.0-dev15-0abe79ad34
131709
131719
 
131710
131720
  // On core the unstable adapters are re-exported with different names,
131711
131721
  // we want to match them here.
@@ -131857,7 +131867,7 @@ withDefaultLuvio((luvio) => {
131857
131867
  unstable_graphQL_imperative = createImperativeAdapter(luvio, createInstrumentedAdapter(ldsAdapter, adapterMetadata), adapterMetadata);
131858
131868
  graphQLImperative = ldsAdapter;
131859
131869
  });
131860
- // version: 1.380.0-dev13-6622e6f116
131870
+ // version: 1.380.0-dev15-0abe79ad34
131861
131871
 
131862
131872
  var gqlApi = /*#__PURE__*/Object.freeze({
131863
131873
  __proto__: null,
@@ -132656,7 +132666,7 @@ const callbacks$1 = [];
132656
132666
  function register(r) {
132657
132667
  callbacks$1.forEach((callback) => callback(r));
132658
132668
  }
132659
- // version: 1.380.0-dev13-385bea3656
132669
+ // version: 1.380.0-dev15-3f052d1051
132660
132670
 
132661
132671
  /**
132662
132672
  * Copyright (c) 2022, Salesforce, Inc.,
@@ -133972,4 +133982,4 @@ const { luvio } = getRuntime();
133972
133982
  setDefaultLuvio({ luvio });
133973
133983
 
133974
133984
  export { createPrimingSession, draftManager, draftQueue, evictCacheRecordsByIds, evictExpiredCacheEntries, executeAdapter, executeMutatingAdapter, getImperativeAdapterNames, importLuvioAdapterModule, importOneStoreAdapterModule, invokeAdapter, invokeAdapterWithDraftToMerge, invokeAdapterWithDraftToReplace, invokeAdapterWithMetadata, nimbusDraftQueue, registerReportObserver, setMetadataTTL, setUiApiRecordTTL, stopEviction, subscribeToAdapter };
133975
- // version: 1.380.0-dev13-385bea3656
133985
+ // version: 1.380.0-dev15-3f052d1051
@@ -4280,7 +4280,7 @@
4280
4280
  }
4281
4281
  callbacks.push(callback);
4282
4282
  }
4283
- // version: 1.380.0-dev13-385bea3656
4283
+ // version: 1.380.0-dev15-3f052d1051
4284
4284
 
4285
4285
  // TODO [TD-0081508]: once that TD is fulfilled we can probably change this file
4286
4286
  function instrumentAdapter$1(createFunction, _metadata) {
@@ -5324,7 +5324,7 @@
5324
5324
  const { apiFamily, name } = metadata;
5325
5325
  return createGraphQLWireAdapterConstructor$1(adapter, `${apiFamily}.${name}`, luvio, astResolver);
5326
5326
  }
5327
- // version: 1.380.0-dev13-385bea3656
5327
+ // version: 1.380.0-dev15-3f052d1051
5328
5328
 
5329
5329
  /**
5330
5330
  * Copyright (c) 2022, Salesforce, Inc.,
@@ -34160,7 +34160,7 @@
34160
34160
  throttle(60, 60000, setupNotifyAllListRecordUpdateAvailable(luvio));
34161
34161
  throttle(60, 60000, setupNotifyAllListInfoSummaryUpdateAvailable(luvio));
34162
34162
  });
34163
- // version: 1.380.0-dev13-6622e6f116
34163
+ // version: 1.380.0-dev15-0abe79ad34
34164
34164
 
34165
34165
  function requestIdleDetectedCallback(_callback) { }
34166
34166
  function declareNotifierTaskSingle(_name) {
@@ -95500,11 +95500,11 @@
95500
95500
  yield* this.services.cacheInclusionPolicy.findAndModify(query, cacheUpdate);
95501
95501
  }
95502
95502
  }
95503
- function buildServiceDescriptor$a(cache, cacheInclusionPolicy) {
95503
+ function buildServiceDescriptor$a(cache, cacheInclusionPolicy, instrumentation) {
95504
95504
  return {
95505
95505
  type: "cacheController",
95506
95506
  version: "1.0",
95507
- service: new CacheController({ cache, cacheInclusionPolicy })
95507
+ service: new CacheController({ cache, cacheInclusionPolicy, instrumentation })
95508
95508
  };
95509
95509
  }
95510
95510
 
@@ -96000,7 +96000,7 @@
96000
96000
  },
96001
96001
  };
96002
96002
  }
96003
- // version: 1.380.0-dev13-6622e6f116
96003
+ // version: 1.380.0-dev15-0abe79ad34
96004
96004
 
96005
96005
  /**
96006
96006
  * Copyright (c) 2022, Salesforce, Inc.,
@@ -96026,7 +96026,7 @@
96026
96026
  },
96027
96027
  };
96028
96028
  }
96029
- // version: 1.380.0-dev13-6622e6f116
96029
+ // version: 1.380.0-dev15-0abe79ad34
96030
96030
 
96031
96031
  /*!
96032
96032
  * Copyright (c) 2022, Salesforce, Inc.,
@@ -97953,7 +97953,7 @@
97953
97953
  buildServiceDescriptor$g(),
97954
97954
  buildServiceDescriptor$f(),
97955
97955
  buildServiceDescriptor$e(),
97956
- buildServiceDescriptor$a(cacheServiceDescriptor.service, nimbusSqliteOneStoreCacheServiceDescriptor.service),
97956
+ buildServiceDescriptor$a(cacheServiceDescriptor.service, nimbusSqliteOneStoreCacheServiceDescriptor.service, instrumentationServiceDescriptor.service),
97957
97957
  buildServiceDescriptor$d(),
97958
97958
  buildServiceDescriptor$h(),
97959
97959
  buildServiceDescriptor$c(),
@@ -98174,7 +98174,7 @@
98174
98174
  id: '@salesforce/lds-network-adapter',
98175
98175
  instrument: instrument$2,
98176
98176
  });
98177
- // version: 1.380.0-dev13-385bea3656
98177
+ // version: 1.380.0-dev15-3f052d1051
98178
98178
 
98179
98179
  const { create: create$3, keys: keys$3 } = Object;
98180
98180
  const { stringify: stringify$1, parse } = JSON;
@@ -101021,7 +101021,7 @@
101021
101021
  }
101022
101022
  callback(consumerEmittedData);
101023
101023
  }
101024
- // version: 1.380.0-dev13-6622e6f116
101024
+ // version: 1.380.0-dev15-0abe79ad34
101025
101025
 
101026
101026
  class Analytics__AnalyticsBrowseRepository extends UnidentifiableGraphQLTypeRepository {
101027
101027
  constructor(services, typeRegistry) {
@@ -104636,7 +104636,7 @@
104636
104636
  this.endpoint = 'RecordUiController.executeGraphQL';
104637
104637
  }
104638
104638
  get url() {
104639
- return '/graphql';
104639
+ return '/services/data/v65.0/graphql';
104640
104640
  }
104641
104641
  get cacheControlStrategyConfig() {
104642
104642
  return {
@@ -104895,6 +104895,16 @@
104895
104895
  return { invoke, subscribe };
104896
104896
  }
104897
104897
 
104898
+ function createLockerCompatibleWireConstructor(DelegateCtor) {
104899
+ function Constructor(callback, sourceContext, options) {
104900
+ const delegate = new DelegateCtor(callback, sourceContext, options);
104901
+ this.connect = () => delegate.connect();
104902
+ this.disconnect = () => delegate.disconnect();
104903
+ this.update = (config, context) => delegate.update(config, context);
104904
+ }
104905
+ return Constructor;
104906
+ }
104907
+
104898
104908
  let graphql$1;
104899
104909
  let graphql_v1_import;
104900
104910
  let graphql_imperative$1;
@@ -104952,7 +104962,7 @@
104952
104962
  const graphqlTypeRegistry = new CustomGraphQLTypeRegistry(services);
104953
104963
  const documentRootType = graphqlTypeRegistry.Query;
104954
104964
  const graphql_ctor = services.instrumentCommand(buildCommandClass(services.auraGraphQLNormalizedCacheControlCommand), 'graphql');
104955
- graphql$1 = class extends GraphQLCommandWireAdapterConstructor {
104965
+ graphql$1 = createLockerCompatibleWireConstructor(class extends GraphQLCommandWireAdapterConstructor {
104956
104966
  constructor() {
104957
104967
  super(...arguments);
104958
104968
  this.configSchema = CONFIG_SCHEMA;
@@ -104961,7 +104971,7 @@
104961
104971
  getCommand() {
104962
104972
  return new graphql_ctor(this.config, documentRootType, services);
104963
104973
  }
104964
- };
104974
+ });
104965
104975
  graphql_v1_import = class extends GraphQLCommandWireAdapterConstructorV1Import {
104966
104976
  constructor() {
104967
104977
  super(...arguments);
@@ -105003,7 +105013,7 @@
105003
105013
  cb(graphql_v1_import, graphql_imperative$1, graphql_imperative_legacy_v1_import, useOneStoreGraphQL);
105004
105014
  }
105005
105015
  }
105006
- // version: 1.380.0-dev13-6622e6f116
105016
+ // version: 1.380.0-dev15-0abe79ad34
105007
105017
 
105008
105018
  function createFragmentMap(documentNode) {
105009
105019
  const fragments = {};
@@ -131711,7 +131721,7 @@
131711
131721
  }
131712
131722
  return refresh$3(data, 'refreshUiApi');
131713
131723
  }
131714
- // version: 1.380.0-dev13-6622e6f116
131724
+ // version: 1.380.0-dev15-0abe79ad34
131715
131725
 
131716
131726
  // On core the unstable adapters are re-exported with different names,
131717
131727
  // we want to match them here.
@@ -131863,7 +131873,7 @@
131863
131873
  unstable_graphQL_imperative = createImperativeAdapter(luvio, createInstrumentedAdapter(ldsAdapter, adapterMetadata), adapterMetadata);
131864
131874
  graphQLImperative = ldsAdapter;
131865
131875
  });
131866
- // version: 1.380.0-dev13-6622e6f116
131876
+ // version: 1.380.0-dev15-0abe79ad34
131867
131877
 
131868
131878
  var gqlApi = /*#__PURE__*/Object.freeze({
131869
131879
  __proto__: null,
@@ -132662,7 +132672,7 @@
132662
132672
  function register(r) {
132663
132673
  callbacks$1.forEach((callback) => callback(r));
132664
132674
  }
132665
- // version: 1.380.0-dev13-385bea3656
132675
+ // version: 1.380.0-dev15-3f052d1051
132666
132676
 
132667
132677
  /**
132668
132678
  * Copyright (c) 2022, Salesforce, Inc.,
@@ -133999,4 +134009,4 @@
133999
134009
  exports.subscribeToAdapter = subscribeToAdapter;
134000
134010
 
134001
134011
  }));
134002
- // version: 1.380.0-dev13-385bea3656
134012
+ // version: 1.380.0-dev15-3f052d1051
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-worker-api",
3
- "version": "1.380.0-dev13",
3
+ "version": "1.380.0-dev15",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
5
  "description": "",
6
6
  "main": "dist/standalone/es/lds-worker-api.js",
@@ -35,14 +35,14 @@
35
35
  },
36
36
  "devDependencies": {
37
37
  "@oat-sa/rollup-plugin-wildcard-external": "^1.0.0",
38
- "@salesforce/lds-adapters-graphql": "^1.380.0-dev13",
39
- "@salesforce/lds-adapters-uiapi": "^1.380.0-dev13",
40
- "@salesforce/lds-default-luvio": "^1.380.0-dev13",
41
- "@salesforce/lds-drafts": "^1.380.0-dev13",
42
- "@salesforce/lds-graphql-parser": "^1.380.0-dev13",
43
- "@salesforce/lds-luvio-engine": "^1.380.0-dev13",
44
- "@salesforce/lds-runtime-mobile": "^1.380.0-dev13",
45
- "@salesforce/nimbus-plugin-lds": "^1.380.0-dev13",
38
+ "@salesforce/lds-adapters-graphql": "^1.380.0-dev15",
39
+ "@salesforce/lds-adapters-uiapi": "^1.380.0-dev15",
40
+ "@salesforce/lds-default-luvio": "^1.380.0-dev15",
41
+ "@salesforce/lds-drafts": "^1.380.0-dev15",
42
+ "@salesforce/lds-graphql-parser": "^1.380.0-dev15",
43
+ "@salesforce/lds-luvio-engine": "^1.380.0-dev15",
44
+ "@salesforce/lds-runtime-mobile": "^1.380.0-dev15",
45
+ "@salesforce/nimbus-plugin-lds": "^1.380.0-dev15",
46
46
  "ajv": "^8.11.0",
47
47
  "glob": "^7.1.5",
48
48
  "nimbus-types": "^2.0.0-alpha1",