@luvio/lwc-luvio 0.63.1 → 0.63.2
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 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import { Snapshot } from '@luvio/engine';
|
|
2
|
+
export declare const dataToTupleWeakMap: WeakMap<any, [string, Snapshot<unknown, unknown> | undefined]>;
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import { Snapshot } from '@luvio/engine';
|
|
2
|
+
export declare const dataToTupleWeakMap: WeakMap<any, [string, Snapshot<unknown, unknown> | undefined]>;
|
package/dist/umd/es5/lwcluvio.js
CHANGED
|
@@ -115,10 +115,10 @@
|
|
|
115
115
|
*/
|
|
116
116
|
function throwAnnotatedError(error, messagePrefix) {
|
|
117
117
|
if (error instanceof Error) {
|
|
118
|
-
error.message = messagePrefix
|
|
118
|
+
error.message = "".concat(messagePrefix, "\n[").concat(error.message, "]");
|
|
119
119
|
throw error;
|
|
120
120
|
}
|
|
121
|
-
throw new Error(messagePrefix
|
|
121
|
+
throw new Error("".concat(messagePrefix, "\n[").concat(stringify(error), "]"));
|
|
122
122
|
}
|
|
123
123
|
|
|
124
124
|
var Sanitizer = /** @class */ (function () {
|
|
@@ -249,7 +249,7 @@
|
|
|
249
249
|
// We should never broadcast an unfulfilled snapshot to a component
|
|
250
250
|
if (isUnfulfilledSnapshot(snapshot)) {
|
|
251
251
|
if (process.env.NODE_ENV !== 'production') {
|
|
252
|
-
throw new Error("Unfulfilled snapshot emitted to component from subscription, missingPaths: "
|
|
252
|
+
throw new Error("Unfulfilled snapshot emitted to component from subscription, missingPaths: ".concat(keys(snapshot.missingPaths)));
|
|
253
253
|
}
|
|
254
254
|
// Instrument as a failed request
|
|
255
255
|
_this.luvio.instrument(function () {
|
|
@@ -357,29 +357,31 @@
|
|
|
357
357
|
}
|
|
358
358
|
|
|
359
359
|
/*! *****************************************************************************
|
|
360
|
-
Copyright (c) Microsoft Corporation.
|
|
361
|
-
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
|
362
|
-
this file except in compliance with the License. You may obtain a copy of the
|
|
363
|
-
License at http://www.apache.org/licenses/LICENSE-2.0
|
|
360
|
+
Copyright (c) Microsoft Corporation.
|
|
364
361
|
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
|
368
|
-
MERCHANTABLITY OR NON-INFRINGEMENT.
|
|
362
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
363
|
+
purpose with or without fee is hereby granted.
|
|
369
364
|
|
|
370
|
-
|
|
371
|
-
|
|
365
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
366
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
367
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
368
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
369
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
370
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
371
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
372
372
|
***************************************************************************** */
|
|
373
373
|
/* global Reflect, Promise */
|
|
374
374
|
|
|
375
375
|
var extendStatics = function(d, b) {
|
|
376
376
|
extendStatics = Object.setPrototypeOf ||
|
|
377
377
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
378
|
-
function (d, b) { for (var p in b) if (
|
|
378
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
379
379
|
return extendStatics(d, b);
|
|
380
380
|
};
|
|
381
381
|
|
|
382
382
|
function __extends(d, b) {
|
|
383
|
+
if (typeof b !== "function" && b !== null)
|
|
384
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
383
385
|
extendStatics(d, b);
|
|
384
386
|
function __() { this.constructor = d; }
|
|
385
387
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import { Snapshot } from '@luvio/engine';
|
|
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.63.
|
|
3
|
+
"version": "0.63.2",
|
|
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",
|
|
@@ -18,12 +18,12 @@
|
|
|
18
18
|
"dist/"
|
|
19
19
|
],
|
|
20
20
|
"devDependencies": {
|
|
21
|
-
"@luvio/adapter-test-library": "0.63.
|
|
22
|
-
"@luvio/cli": "0.63.
|
|
21
|
+
"@luvio/adapter-test-library": "0.63.2",
|
|
22
|
+
"@luvio/cli": "0.63.2",
|
|
23
23
|
"@lwc/jest-preset": "11.2.2"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@luvio/engine": "0.63.
|
|
26
|
+
"@luvio/engine": "0.63.2",
|
|
27
27
|
"@lwc/engine-core": "^2.5.10"
|
|
28
28
|
}
|
|
29
29
|
}
|