@salesforce/lds-worker-api 1.133.3 → 1.134.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.133.3-9eae0c441
764
+ // version: 1.134.1-a9e5e5ebc
@@ -0,0 +1,21 @@
1
+ export declare const instrumentation: {
2
+ instrumentAdapter(createFunction: Function, _metadata: any): Function;
3
+ };
4
+ export declare function instrumentAdapter(createFunction: Function, _metadata: any): Function;
5
+ export declare function incrementGetRecordNotifyChangeAllowCount(): void;
6
+ export declare function incrementGetRecordNotifyChangeDropCount(): void;
7
+ export declare function incrementNotifyRecordUpdateAvailableAllowCount(): void;
8
+ export declare function incrementNotifyRecordUpdateAvailableDropCount(): void;
9
+ export declare function refreshApiEvent(): void;
10
+ export declare function instrumentGraphqlAdapter(createFunction: Function, _metadata: any): Function;
11
+ export declare function setLdsAdaptersUiapiInstrumentation(_uiapiRegistration: any): void;
12
+ export declare function setLdsNetworkAdapterInstrumentation(_networkAdapterRegistration: any): void;
13
+ export declare function setupInstrumentation(_luvio: any, _store: any): void;
14
+ export declare function instrumentLuvio(_context: unknown): void;
15
+ export declare const REFRESH_UIAPI_KEY = "refreshUiApi";
16
+ export declare const METRIC_KEYS: {};
17
+ export declare const O11Y_NAMESPACE_LDS_MOBILE = "lds-mobile";
18
+ export declare const withInstrumentation: () => undefined;
19
+ export declare class MetricsReporter {
20
+ reportGraphqlQueryParseError(): void;
21
+ }
@@ -3791,7 +3791,7 @@ function withDefaultLuvio(callback) {
3791
3791
  }
3792
3792
  callbacks.push(callback);
3793
3793
  }
3794
- // version: 1.133.3-9eae0c441
3794
+ // version: 1.134.1-a9e5e5ebc
3795
3795
 
3796
3796
  // TODO [TD-0081508]: once that TD is fulfilled we can probably change this file
3797
3797
  function instrumentAdapter$1(createFunction, _metadata) {
@@ -15215,7 +15215,7 @@ function parseAndVisit(source) {
15215
15215
  updateReferenceMapWithKnownKey(ast, luvioDocumentNode);
15216
15216
  return luvioDocumentNode;
15217
15217
  }
15218
- // version: 1.133.3-9eae0c441
15218
+ // version: 1.134.1-a9e5e5ebc
15219
15219
 
15220
15220
  function unwrap(data) {
15221
15221
  // The lwc-luvio bindings import a function from lwc called "unwrap".
@@ -16128,7 +16128,7 @@ function createGraphQLWireAdapterConstructor(luvio, adapter, metadata, astResolv
16128
16128
  const { apiFamily, name } = metadata;
16129
16129
  return createGraphQLWireAdapterConstructor$1(adapter, `${apiFamily}.${name}`, luvio, astResolver);
16130
16130
  }
16131
- // version: 1.133.3-9eae0c441
16131
+ // version: 1.134.1-a9e5e5ebc
16132
16132
 
16133
16133
  /**
16134
16134
  * Copyright (c) 2022, Salesforce, Inc.,
@@ -44428,7 +44428,7 @@ withDefaultLuvio((luvio) => {
44428
44428
  dropFunction: instrumentation$2.notifyRecordUpdateAvailableDropped,
44429
44429
  });
44430
44430
  });
44431
- // version: 1.133.3-1dab73faa
44431
+ // version: 1.134.1-2de0a1242
44432
44432
 
44433
44433
  var caseSensitiveUserId = '005B0000000GR4OIAW';
44434
44434
 
@@ -60064,7 +60064,7 @@ register({
60064
60064
  id: '@salesforce/lds-network-adapter',
60065
60065
  instrument: instrument$1,
60066
60066
  });
60067
- // version: 1.133.3-9eae0c441
60067
+ // version: 1.134.1-a9e5e5ebc
60068
60068
 
60069
60069
  const { create: create$2, keys: keys$2 } = Object;
60070
60070
  const { stringify: stringify$1, parse: parse$1 } = JSON;
@@ -74372,7 +74372,7 @@ register({
74372
74372
  configuration: { ...configurationForGraphQLAdapters },
74373
74373
  instrument,
74374
74374
  });
74375
- // version: 1.133.3-1dab73faa
74375
+ // version: 1.134.1-2de0a1242
74376
74376
 
74377
74377
  // On core the unstable adapters are re-exported with different names,
74378
74378
 
@@ -76501,7 +76501,7 @@ withDefaultLuvio((luvio) => {
76501
76501
  unstable_graphQL_imperative = createImperativeAdapter(luvio, createInstrumentedAdapter(ldsAdapter, adapterMetadata), adapterMetadata);
76502
76502
  graphQLImperative = ldsAdapter;
76503
76503
  });
76504
- // version: 1.133.3-1dab73faa
76504
+ // version: 1.134.1-2de0a1242
76505
76505
 
76506
76506
  var gqlApi = /*#__PURE__*/Object.freeze({
76507
76507
  __proto__: null,
@@ -77193,4 +77193,4 @@ const { luvio } = getRuntime();
77193
77193
  setDefaultLuvio({ luvio });
77194
77194
 
77195
77195
  export { createPrimingSession, draftManager, draftQueue, executeAdapter, executeMutatingAdapter, getImperativeAdapterNames, invokeAdapter, invokeAdapterWithDraftToReplace, invokeAdapterWithMetadata, nimbusDraftQueue, registerReportObserver, setMetadataTTL, setUiApiRecordTTL, subscribeToAdapter };
77196
- // version: 1.133.3-9eae0c441
77196
+ // version: 1.134.1-a9e5e5ebc
@@ -0,0 +1,21 @@
1
+ export declare const instrumentation: {
2
+ instrumentAdapter(createFunction: Function, _metadata: any): Function;
3
+ };
4
+ export declare function instrumentAdapter(createFunction: Function, _metadata: any): Function;
5
+ export declare function incrementGetRecordNotifyChangeAllowCount(): void;
6
+ export declare function incrementGetRecordNotifyChangeDropCount(): void;
7
+ export declare function incrementNotifyRecordUpdateAvailableAllowCount(): void;
8
+ export declare function incrementNotifyRecordUpdateAvailableDropCount(): void;
9
+ export declare function refreshApiEvent(): void;
10
+ export declare function instrumentGraphqlAdapter(createFunction: Function, _metadata: any): Function;
11
+ export declare function setLdsAdaptersUiapiInstrumentation(_uiapiRegistration: any): void;
12
+ export declare function setLdsNetworkAdapterInstrumentation(_networkAdapterRegistration: any): void;
13
+ export declare function setupInstrumentation(_luvio: any, _store: any): void;
14
+ export declare function instrumentLuvio(_context: unknown): void;
15
+ export declare const REFRESH_UIAPI_KEY = "refreshUiApi";
16
+ export declare const METRIC_KEYS: {};
17
+ export declare const O11Y_NAMESPACE_LDS_MOBILE = "lds-mobile";
18
+ export declare const withInstrumentation: () => undefined;
19
+ export declare class MetricsReporter {
20
+ reportGraphqlQueryParseError(): void;
21
+ }
@@ -3797,7 +3797,7 @@
3797
3797
  }
3798
3798
  callbacks.push(callback);
3799
3799
  }
3800
- // version: 1.133.3-9eae0c441
3800
+ // version: 1.134.1-a9e5e5ebc
3801
3801
 
3802
3802
  // TODO [TD-0081508]: once that TD is fulfilled we can probably change this file
3803
3803
  function instrumentAdapter$1(createFunction, _metadata) {
@@ -15221,7 +15221,7 @@
15221
15221
  updateReferenceMapWithKnownKey(ast, luvioDocumentNode);
15222
15222
  return luvioDocumentNode;
15223
15223
  }
15224
- // version: 1.133.3-9eae0c441
15224
+ // version: 1.134.1-a9e5e5ebc
15225
15225
 
15226
15226
  function unwrap(data) {
15227
15227
  // The lwc-luvio bindings import a function from lwc called "unwrap".
@@ -16134,7 +16134,7 @@
16134
16134
  const { apiFamily, name } = metadata;
16135
16135
  return createGraphQLWireAdapterConstructor$1(adapter, `${apiFamily}.${name}`, luvio, astResolver);
16136
16136
  }
16137
- // version: 1.133.3-9eae0c441
16137
+ // version: 1.134.1-a9e5e5ebc
16138
16138
 
16139
16139
  /**
16140
16140
  * Copyright (c) 2022, Salesforce, Inc.,
@@ -44434,7 +44434,7 @@
44434
44434
  dropFunction: instrumentation$2.notifyRecordUpdateAvailableDropped,
44435
44435
  });
44436
44436
  });
44437
- // version: 1.133.3-1dab73faa
44437
+ // version: 1.134.1-2de0a1242
44438
44438
 
44439
44439
  var caseSensitiveUserId = '005B0000000GR4OIAW';
44440
44440
 
@@ -60070,7 +60070,7 @@
60070
60070
  id: '@salesforce/lds-network-adapter',
60071
60071
  instrument: instrument$1,
60072
60072
  });
60073
- // version: 1.133.3-9eae0c441
60073
+ // version: 1.134.1-a9e5e5ebc
60074
60074
 
60075
60075
  const { create: create$2, keys: keys$2 } = Object;
60076
60076
  const { stringify: stringify$1, parse: parse$1 } = JSON;
@@ -74378,7 +74378,7 @@
74378
74378
  configuration: { ...configurationForGraphQLAdapters },
74379
74379
  instrument,
74380
74380
  });
74381
- // version: 1.133.3-1dab73faa
74381
+ // version: 1.134.1-2de0a1242
74382
74382
 
74383
74383
  // On core the unstable adapters are re-exported with different names,
74384
74384
 
@@ -76507,7 +76507,7 @@
76507
76507
  unstable_graphQL_imperative = createImperativeAdapter(luvio, createInstrumentedAdapter(ldsAdapter, adapterMetadata), adapterMetadata);
76508
76508
  graphQLImperative = ldsAdapter;
76509
76509
  });
76510
- // version: 1.133.3-1dab73faa
76510
+ // version: 1.134.1-2de0a1242
76511
76511
 
76512
76512
  var gqlApi = /*#__PURE__*/Object.freeze({
76513
76513
  __proto__: null,
@@ -77216,4 +77216,4 @@
77216
77216
  Object.defineProperty(exports, '__esModule', { value: true });
77217
77217
 
77218
77218
  }));
77219
- // version: 1.133.3-9eae0c441
77219
+ // version: 1.134.1-a9e5e5ebc
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-worker-api",
3
- "version": "1.133.3",
3
+ "version": "1.134.1",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
5
  "description": "",
6
6
  "main": "dist/standalone/es/lds-worker-api.js",
@@ -1,18 +0,0 @@
1
- import type { IdleDetector, Activity } from 'o11y/dist/modules/o11y/client/interfaces';
2
- export declare const idleDetector: IdleDetector;
3
- export declare const activity: Partial<Activity>;
4
- type MetricsTags = Record<string, number | string | boolean>;
5
- declare function startActivity(_name: string): Activity;
6
- export declare const mockInstrumentation: {
7
- startActivity: typeof startActivity;
8
- error: () => void;
9
- trackValue: (_operation: string, _value: number, _hasError?: boolean, _tags?: MetricsTags) => void;
10
- incrementCounter: (_operation: string, _increment?: number, _hasError?: boolean, _tags?: MetricsTags) => void;
11
- };
12
- export declare const getInstrumentation: () => {
13
- startActivity: typeof startActivity;
14
- error: () => void;
15
- trackValue: (_operation: string, _value: number, _hasError?: boolean, _tags?: MetricsTags) => void;
16
- incrementCounter: (_operation: string, _increment?: number, _hasError?: boolean, _tags?: MetricsTags) => void;
17
- };
18
- export {};
@@ -1,18 +0,0 @@
1
- import type { IdleDetector, Activity } from 'o11y/dist/modules/o11y/client/interfaces';
2
- export declare const idleDetector: IdleDetector;
3
- export declare const activity: Partial<Activity>;
4
- type MetricsTags = Record<string, number | string | boolean>;
5
- declare function startActivity(_name: string): Activity;
6
- export declare const mockInstrumentation: {
7
- startActivity: typeof startActivity;
8
- error: () => void;
9
- trackValue: (_operation: string, _value: number, _hasError?: boolean, _tags?: MetricsTags) => void;
10
- incrementCounter: (_operation: string, _increment?: number, _hasError?: boolean, _tags?: MetricsTags) => void;
11
- };
12
- export declare const getInstrumentation: () => {
13
- startActivity: typeof startActivity;
14
- error: () => void;
15
- trackValue: (_operation: string, _value: number, _hasError?: boolean, _tags?: MetricsTags) => void;
16
- incrementCounter: (_operation: string, _increment?: number, _hasError?: boolean, _tags?: MetricsTags) => void;
17
- };
18
- export {};