@luvio/lwc-luvio 0.145.3 → 0.145.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.
- package/dist/lwcluvio.js +4 -5
- package/package.json +4 -4
package/dist/lwcluvio.js
CHANGED
|
@@ -94,15 +94,14 @@ function refreshData(data, dataToTuple, luvio) {
|
|
|
94
94
|
});
|
|
95
95
|
}
|
|
96
96
|
|
|
97
|
-
const { freeze, keys } = Object;
|
|
98
|
-
const { isArray } = Array;
|
|
99
|
-
const { stringify } = JSON;
|
|
100
|
-
|
|
101
97
|
function isPromise(value) {
|
|
102
98
|
// check for Thenable due to test frameworks using custom Promise impls
|
|
103
99
|
return value.then !== undefined;
|
|
104
100
|
}
|
|
105
101
|
|
|
102
|
+
const { isArray } = Array;
|
|
103
|
+
const { stringify } = JSON;
|
|
104
|
+
|
|
106
105
|
/**
|
|
107
106
|
* (Re)throws an error after adding a prefix to the message.
|
|
108
107
|
*
|
|
@@ -258,7 +257,7 @@ class LWCLuvioWireAdapter {
|
|
|
258
257
|
// We should never broadcast an unfulfilled snapshot to a component
|
|
259
258
|
if (isUnfulfilledSnapshot(snapshot)) {
|
|
260
259
|
if (process.env.NODE_ENV !== 'production') {
|
|
261
|
-
throw new Error(`Unfulfilled snapshot emitted to component from subscription, missingPaths: ${
|
|
260
|
+
throw new Error(`Unfulfilled snapshot emitted to component from subscription, missingPaths: ${snapshot.missingPaths.keysAsArray()}`);
|
|
262
261
|
}
|
|
263
262
|
// Instrument as a failed request
|
|
264
263
|
this.luvio.instrument(() => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@luvio/lwc-luvio",
|
|
3
|
-
"version": "0.145.
|
|
3
|
+
"version": "0.145.4",
|
|
4
4
|
"description": "Lightning Web Component bindings for Luvio",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -29,12 +29,12 @@
|
|
|
29
29
|
"watch": "yarn build --watch"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@luvio/engine": "^0.145.
|
|
32
|
+
"@luvio/engine": "^0.145.4",
|
|
33
33
|
"@lwc/engine-core": "2.49.1"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
|
-
"@luvio/adapter-test-library": "^0.145.
|
|
37
|
-
"@luvio/cli": "^0.145.
|
|
36
|
+
"@luvio/adapter-test-library": "^0.145.4",
|
|
37
|
+
"@luvio/cli": "^0.145.4",
|
|
38
38
|
"@lwc/jest-preset": "11.7.1",
|
|
39
39
|
"jest-environment-jsdom": "^29.5.0"
|
|
40
40
|
},
|