@luvio/lwc-luvio 0.73.2 → 0.73.7

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.
@@ -1,5 +1,5 @@
1
- import { Adapter, Luvio } from '@luvio/engine';
2
- import { WireConfigValue, WireContextValue, WireAdapterConstructor } from '@lwc/engine-core';
1
+ import type { Adapter, Luvio } from '@luvio/engine';
2
+ import type { WireConfigValue, WireContextValue, WireAdapterConstructor } from '@lwc/engine-core';
3
3
  import { LWCLuvioWireAdapter } from './LWCLuvioWireAdapter';
4
4
  export declare class LWCInfinteScrollingLuvioWireAdapter extends LWCLuvioWireAdapter {
5
5
  private connectTimestamp?;
@@ -1,4 +1,4 @@
1
- import { Luvio } from '@luvio/engine';
1
+ import type { Luvio } from '@luvio/engine';
2
2
  import { dataToTupleWeakMap } from './utils/dataToTupleWeakMap';
3
3
  export declare function bindWireRefresh(luvio: Luvio): <D>(data: D) => Promise<undefined> | undefined;
4
4
  export declare function refreshData<D>(data: D, dataToTuple: typeof dataToTupleWeakMap, luvio: Luvio): Promise<undefined> | undefined;
@@ -1,5 +1,5 @@
1
- import { Adapter, Luvio, Unsubscribe } from '@luvio/engine';
2
- import { WireConfigValue, WireContextValue, DataCallback, WireAdapter, WireAdapterConstructor } from '@lwc/engine-core';
1
+ import type { Adapter, Luvio, Unsubscribe } from '@luvio/engine';
2
+ import type { WireConfigValue, WireContextValue, DataCallback, WireAdapter, WireAdapterConstructor } from '@lwc/engine-core';
3
3
  export declare class LWCLuvioWireAdapter implements WireAdapter {
4
4
  adapter: Adapter<unknown, unknown>;
5
5
  name: string;
@@ -1,4 +1,4 @@
1
- import { ErrorSnapshot, Snapshot, StaleSnapshot, FulfilledSnapshot, UnfulfilledSnapshot } from '@luvio/engine';
1
+ import type { ErrorSnapshot, Snapshot, StaleSnapshot, FulfilledSnapshot, UnfulfilledSnapshot } from '@luvio/engine';
2
2
  export declare function isErrorSnapshot(snapshot: Snapshot<unknown, unknown>): snapshot is ErrorSnapshot;
3
3
  export declare function isFulfilledSnapshot(snapshot: Snapshot<unknown, unknown>): snapshot is FulfilledSnapshot<unknown, unknown>;
4
4
  export declare function isStaleSnapshot(snapshot: Snapshot<unknown, unknown>): snapshot is StaleSnapshot<unknown, unknown>;
@@ -1,2 +1,2 @@
1
- import { Snapshot } from '@luvio/engine';
1
+ import type { Snapshot } from '@luvio/engine';
2
2
  export declare const dataToTupleWeakMap: WeakMap<any, [string, Snapshot<unknown, unknown> | undefined]>;
@@ -1,5 +1,5 @@
1
- import { Adapter, Luvio } from '@luvio/engine';
2
- import { WireConfigValue, WireContextValue, WireAdapterConstructor } from '@lwc/engine-core';
1
+ import type { Adapter, Luvio } from '@luvio/engine';
2
+ import type { WireConfigValue, WireContextValue, WireAdapterConstructor } from '@lwc/engine-core';
3
3
  import { LWCLuvioWireAdapter } from './LWCLuvioWireAdapter';
4
4
  export declare class LWCInfinteScrollingLuvioWireAdapter extends LWCLuvioWireAdapter {
5
5
  private connectTimestamp?;
@@ -1,4 +1,4 @@
1
- import { Luvio } from '@luvio/engine';
1
+ import type { Luvio } from '@luvio/engine';
2
2
  import { dataToTupleWeakMap } from './utils/dataToTupleWeakMap';
3
3
  export declare function bindWireRefresh(luvio: Luvio): <D>(data: D) => Promise<undefined> | undefined;
4
4
  export declare function refreshData<D>(data: D, dataToTuple: typeof dataToTupleWeakMap, luvio: Luvio): Promise<undefined> | undefined;
@@ -1,5 +1,5 @@
1
- import { Adapter, Luvio, Unsubscribe } from '@luvio/engine';
2
- import { WireConfigValue, WireContextValue, DataCallback, WireAdapter, WireAdapterConstructor } from '@lwc/engine-core';
1
+ import type { Adapter, Luvio, Unsubscribe } from '@luvio/engine';
2
+ import type { WireConfigValue, WireContextValue, DataCallback, WireAdapter, WireAdapterConstructor } from '@lwc/engine-core';
3
3
  export declare class LWCLuvioWireAdapter implements WireAdapter {
4
4
  adapter: Adapter<unknown, unknown>;
5
5
  name: string;
@@ -1,4 +1,4 @@
1
- import { ErrorSnapshot, Snapshot, StaleSnapshot, FulfilledSnapshot, UnfulfilledSnapshot } from '@luvio/engine';
1
+ import type { ErrorSnapshot, Snapshot, StaleSnapshot, FulfilledSnapshot, UnfulfilledSnapshot } from '@luvio/engine';
2
2
  export declare function isErrorSnapshot(snapshot: Snapshot<unknown, unknown>): snapshot is ErrorSnapshot;
3
3
  export declare function isFulfilledSnapshot(snapshot: Snapshot<unknown, unknown>): snapshot is FulfilledSnapshot<unknown, unknown>;
4
4
  export declare function isStaleSnapshot(snapshot: Snapshot<unknown, unknown>): snapshot is StaleSnapshot<unknown, unknown>;
@@ -1,2 +1,2 @@
1
- import { Snapshot } from '@luvio/engine';
1
+ import type { Snapshot } from '@luvio/engine';
2
2
  export declare const dataToTupleWeakMap: WeakMap<any, [string, Snapshot<unknown, unknown> | undefined]>;
@@ -1,5 +1,5 @@
1
- import { Adapter, Luvio } from '@luvio/engine';
2
- import { WireConfigValue, WireContextValue, WireAdapterConstructor } from '@lwc/engine-core';
1
+ import type { Adapter, Luvio } from '@luvio/engine';
2
+ import type { WireConfigValue, WireContextValue, WireAdapterConstructor } from '@lwc/engine-core';
3
3
  import { LWCLuvioWireAdapter } from './LWCLuvioWireAdapter';
4
4
  export declare class LWCInfinteScrollingLuvioWireAdapter extends LWCLuvioWireAdapter {
5
5
  private connectTimestamp?;
@@ -1,4 +1,4 @@
1
- import { Luvio } from '@luvio/engine';
1
+ import type { Luvio } from '@luvio/engine';
2
2
  import { dataToTupleWeakMap } from './utils/dataToTupleWeakMap';
3
3
  export declare function bindWireRefresh(luvio: Luvio): <D>(data: D) => Promise<undefined> | undefined;
4
4
  export declare function refreshData<D>(data: D, dataToTuple: typeof dataToTupleWeakMap, luvio: Luvio): Promise<undefined> | undefined;
@@ -1,5 +1,5 @@
1
- import { Adapter, Luvio, Unsubscribe } from '@luvio/engine';
2
- import { WireConfigValue, WireContextValue, DataCallback, WireAdapter, WireAdapterConstructor } from '@lwc/engine-core';
1
+ import type { Adapter, Luvio, Unsubscribe } from '@luvio/engine';
2
+ import type { WireConfigValue, WireContextValue, DataCallback, WireAdapter, WireAdapterConstructor } from '@lwc/engine-core';
3
3
  export declare class LWCLuvioWireAdapter implements WireAdapter {
4
4
  adapter: Adapter<unknown, unknown>;
5
5
  name: string;
@@ -1,4 +1,4 @@
1
- import { ErrorSnapshot, Snapshot, StaleSnapshot, FulfilledSnapshot, UnfulfilledSnapshot } from '@luvio/engine';
1
+ import type { ErrorSnapshot, Snapshot, StaleSnapshot, FulfilledSnapshot, UnfulfilledSnapshot } from '@luvio/engine';
2
2
  export declare function isErrorSnapshot(snapshot: Snapshot<unknown, unknown>): snapshot is ErrorSnapshot;
3
3
  export declare function isFulfilledSnapshot(snapshot: Snapshot<unknown, unknown>): snapshot is FulfilledSnapshot<unknown, unknown>;
4
4
  export declare function isStaleSnapshot(snapshot: Snapshot<unknown, unknown>): snapshot is StaleSnapshot<unknown, unknown>;
@@ -1,2 +1,2 @@
1
- import { Snapshot } from '@luvio/engine';
1
+ import type { Snapshot } from '@luvio/engine';
2
2
  export declare const dataToTupleWeakMap: WeakMap<any, [string, Snapshot<unknown, unknown> | undefined]>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@luvio/lwc-luvio",
3
- "version": "0.73.2",
3
+ "version": "0.73.7",
4
4
  "description": "Lightning Web Component bindings for Luvio",
5
5
  "main": "dist/umd/es2018/lwcluvio.js",
6
6
  "module": "dist/es/es2018/lwcluvio.js",
@@ -12,7 +12,8 @@
12
12
  "build:lwcluvio": "rollup --config rollup.config.js",
13
13
  "build:component-tests": "luvio generate src/__tests__/components/raml/api.raml src/__tests__/components/generated",
14
14
  "watch": "yarn build --watch",
15
- "test": "jest"
15
+ "test": "jest",
16
+ "test:size": "bundlesize"
16
17
  },
17
18
  "nx": {
18
19
  "targets": {
@@ -32,12 +33,19 @@
32
33
  "dist/"
33
34
  ],
34
35
  "devDependencies": {
35
- "@luvio/adapter-test-library": "0.73.2",
36
- "@luvio/cli": "0.73.2",
36
+ "@luvio/adapter-test-library": "0.73.7",
37
+ "@luvio/cli": "0.73.7",
37
38
  "@lwc/jest-preset": "11.2.2"
38
39
  },
39
40
  "dependencies": {
40
- "@luvio/engine": "0.73.2",
41
+ "@luvio/engine": "0.73.7",
41
42
  "@lwc/engine-core": "^2.5.10"
42
- }
43
+ },
44
+ "bundlesize": [
45
+ {
46
+ "path": "./dist/es/es2018/lwcluvio.js",
47
+ "maxSize": "5 kB",
48
+ "compression": "brotli"
49
+ }
50
+ ]
43
51
  }