@sprucelabs/heartwood-view-controllers 119.6.1 → 119.6.3
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.
|
@@ -472,7 +472,7 @@ const vcAssert = {
|
|
|
472
472
|
for (const id of expected) {
|
|
473
473
|
const match = cards.find((c) => getViewId(c) === id);
|
|
474
474
|
if (!match) {
|
|
475
|
-
assert.fail(`I could not find a card with the id of ${id}
|
|
475
|
+
assert.fail(`I could not find a card with the id of ${id}! Make sure you are rendering it in your skill view and it's id matches: this.Controller('card', { id }).`);
|
|
476
476
|
}
|
|
477
477
|
else {
|
|
478
478
|
matches.push(match);
|
|
@@ -48,6 +48,11 @@ export default class WebRtcConnectionImpl {
|
|
|
48
48
|
this.log.info(`RTCPeerConnection state changed to ${connection.connectionState}`);
|
|
49
49
|
if (connection.connectionState === 'failed') {
|
|
50
50
|
const stats = yield connection.getStats();
|
|
51
|
+
const messages = [];
|
|
52
|
+
stats.forEach((report) => {
|
|
53
|
+
messages.push(`[${report.type}] ID: ${report.id}`, report);
|
|
54
|
+
});
|
|
55
|
+
this.log.error(`RTCPeerConnection failed with stats:\n\n`, messages.join('\n'));
|
|
51
56
|
yield this.emitStateChange('error', { stats });
|
|
52
57
|
}
|
|
53
58
|
}));
|
|
@@ -449,7 +449,7 @@ const vcAssert = {
|
|
|
449
449
|
for (const id of expected) {
|
|
450
450
|
const match = cards.find((c) => getViewId(c) === id);
|
|
451
451
|
if (!match) {
|
|
452
|
-
test_utils_1.assert.fail(`I could not find a card with the id of ${id}
|
|
452
|
+
test_utils_1.assert.fail(`I could not find a card with the id of ${id}! Make sure you are rendering it in your skill view and it's id matches: this.Controller('card', { id }).`);
|
|
453
453
|
}
|
|
454
454
|
else {
|
|
455
455
|
matches.push(match);
|
|
@@ -42,6 +42,11 @@ class WebRtcConnectionImpl {
|
|
|
42
42
|
this.log.info(`RTCPeerConnection state changed to ${connection.connectionState}`);
|
|
43
43
|
if (connection.connectionState === 'failed') {
|
|
44
44
|
const stats = await connection.getStats();
|
|
45
|
+
const messages = [];
|
|
46
|
+
stats.forEach((report) => {
|
|
47
|
+
messages.push(`[${report.type}] ID: ${report.id}`, report);
|
|
48
|
+
});
|
|
49
|
+
this.log.error(`RTCPeerConnection failed with stats:\n\n`, messages.join('\n'));
|
|
45
50
|
await this.emitStateChange('error', { stats });
|
|
46
51
|
}
|
|
47
52
|
});
|
package/package.json
CHANGED
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"sideEffects": false,
|
|
14
14
|
"license": "MIT",
|
|
15
15
|
"description": "All the power of Heartwood in one, convenient package.",
|
|
16
|
-
"version": "119.6.
|
|
16
|
+
"version": "119.6.3",
|
|
17
17
|
"skill": {
|
|
18
18
|
"namespace": "HeartwoodViewControllers",
|
|
19
19
|
"commandOverrides": {
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
"@babel/preset-env": "^7.27.2",
|
|
79
79
|
"@babel/preset-typescript": "^7.27.1",
|
|
80
80
|
"@babel/runtime": "^7.27.1",
|
|
81
|
-
"@sprucelabs/calendar-utils": "^42.0.
|
|
81
|
+
"@sprucelabs/calendar-utils": "^42.0.694",
|
|
82
82
|
"@sprucelabs/error": "^6.0.602",
|
|
83
83
|
"@sprucelabs/globby": "^2.0.502",
|
|
84
84
|
"@sprucelabs/mercury-core-events": "^26.0.74",
|
|
@@ -102,8 +102,8 @@
|
|
|
102
102
|
"devDependencies": {
|
|
103
103
|
"@sprucelabs/esm-postbuild": "^6.0.564",
|
|
104
104
|
"@sprucelabs/jest-json-reporter": "^8.0.603",
|
|
105
|
-
"@sprucelabs/mercury-client": "^42.0.
|
|
106
|
-
"@sprucelabs/mercury-event-emitter": "^42.0.
|
|
105
|
+
"@sprucelabs/mercury-client": "^42.0.794",
|
|
106
|
+
"@sprucelabs/mercury-event-emitter": "^42.0.794",
|
|
107
107
|
"@sprucelabs/resolve-path-aliases": "^2.0.542",
|
|
108
108
|
"@sprucelabs/semantic-release": "^5.0.2",
|
|
109
109
|
"@sprucelabs/test": "^9.0.81",
|