@salesforce/lds-runtime-web 1.124.2 → 1.124.4

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.
@@ -9,20 +9,20 @@ import { withRegistration, setDefaultLuvio } from '@salesforce/lds-default-luvio
9
9
  import networkAdapter from '@salesforce/lds-network';
10
10
  import { instrumentation, setupInstrumentation, setLdsNetworkAdapterInstrumentation, setLdsAdaptersUiapiInstrumentation } from '@salesforce/lds-instrumentation';
11
11
 
12
- function createLuvio() {
13
- const store = new InMemoryStore();
14
- const environment = new Environment(store, networkAdapter);
15
- const luvio = new Luvio(environment, {
16
- instrument: instrumentation.instrumentLuvio.bind(instrumentation),
17
- });
18
- // setup instrumentation on various pieces of the LDS stack
19
- setupInstrumentation(luvio, store);
20
- // defer instrumentation setup on these modules unless/until other code causes
21
- // them to be loaded
22
- withRegistration('@salesforce/lds-network-adapter', (reg) => setLdsNetworkAdapterInstrumentation(reg));
23
- withRegistration('@salesforce/lds-adapters-uiapi', (reg) => setLdsAdaptersUiapiInstrumentation(reg));
24
- setDefaultLuvio({ luvio });
25
- return luvio;
12
+ function createLuvio() {
13
+ const store = new InMemoryStore();
14
+ const environment = new Environment(store, networkAdapter);
15
+ const luvio = new Luvio(environment, {
16
+ instrument: instrumentation.instrumentLuvio.bind(instrumentation),
17
+ });
18
+ // setup instrumentation on various pieces of the LDS stack
19
+ setupInstrumentation(luvio, store);
20
+ // defer instrumentation setup on these modules unless/until other code causes
21
+ // them to be loaded
22
+ withRegistration('@salesforce/lds-network-adapter', (reg) => setLdsNetworkAdapterInstrumentation(reg));
23
+ withRegistration('@salesforce/lds-adapters-uiapi', (reg) => setLdsAdaptersUiapiInstrumentation(reg));
24
+ setDefaultLuvio({ luvio });
25
+ return luvio;
26
26
  }
27
27
 
28
28
  export { createLuvio };
@@ -1,2 +1,2 @@
1
- import { Luvio } from '@luvio/engine';
2
- export declare function createLuvio(): Luvio;
1
+ import { Luvio } from '@luvio/engine';
2
+ export declare function createLuvio(): Luvio;
package/package.json CHANGED
@@ -1,18 +1,18 @@
1
1
  {
2
2
  "name": "@salesforce/lds-runtime-web",
3
- "version": "1.124.2",
3
+ "version": "1.124.4",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
5
  "description": "LDS engine for Lightning Web Runtime",
6
6
  "main": "dist/ldsEngineWebRuntime.js",
7
7
  "module": "dist/ldsEngineWebRuntime.js",
8
- "types": "dist/main.d.ts",
8
+ "types": "dist/types/main.d.ts",
9
9
  "files": [
10
10
  "dist"
11
11
  ],
12
12
  "exports": {
13
13
  ".": {
14
14
  "import": "./dist/ldsEngineWebRuntime.js",
15
- "types": "./dist/main.d.ts",
15
+ "types": "./dist/types/main.d.ts",
16
16
  "default": "./dist/ldsEngineWebRuntime.js"
17
17
  }
18
18
  },