Skip to content

Commit 7436794

Browse files
author
TYLER CHONG
committed
November 2021 Release of the APL 1.8.2 compliant APL Viewhost Web
For more details on this release refer to CHANGELOG.md To learn about APL see: https://developer.amazon.com/docs/alexa-presentation-language/understand-apl.html
1 parent 0093d6f commit 7436794

File tree

5 files changed

+11
-4
lines changed

5 files changed

+11
-4
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Changelog for apl-viewhost-web
22

3+
## [1.8.2]
4+
5+
### Changed
6+
7+
- Fixed scrolling issue with SpeakItem command when highlight mode set to line
38
## [1.8.0]
49

510
This release adds support for version 1.8 of the APL specification. Please also see APL Core Library for changes: [apl-core-library CHANGELOG](https://github.com/alexa/apl-core-library/blob/master/CHANGELOG.md)

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# Alexa Presentation Language (APL) Viewhost Web
22

33
<p>
4-
<a href="https://github.com/alexa/apl-viewhost-web/tree/v1.8.0" alt="version">
5-
<img src="https://img.shields.io/badge/stable%20version-1.8.0-brightgreen" /></a>
4+
<a href="https://github.com/alexa/apl-viewhost-web/tree/v1.8.2" alt="version">
5+
<img src="https://img.shields.io/badge/stable%20version-1.8.2-brightgreen" /></a>
66
<a href="https://github.com/alexa/apl-core-library/tree/v1.8.1" alt="APLCore">
77
<img src="https://img.shields.io/badge/apl%20core%20library-1.8.1-navy" /></a>
88
</p>

js/apl-html/src/events/RequestFirstLineBounds.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ export class RequestFirstLineBounds extends Event {
2323
// Highlight first line as this event applicable only to line highlighting.
2424
this.component.highlight(0);
2525
this.event.resolveWithRect(top, 0, this.component.bounds.width, height);
26+
} else if (this.component === undefined) {
27+
this.event.resolveWithRect(0, 0, 0, 0);
2628
}
2729
}
2830
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "apl-viewhost-web",
3-
"version": "1.8.1",
3+
"version": "1.8.2",
44
"description": "This is a Web-assembly version (WASM) of apl viewhost web.",
55
"license": "Apache 2.0",
66
"repository": {

scripts/fetch.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
const https = require('https');
44
const fs = require('fs');
55

6-
const artifactUrl = 'https://d1gkjrhppbyzyh.cloudfront.net/apl-viewhost-web/B07C7BCD-6E2F-409F-BC86-70E18AE4C5CC/index.js';
6+
const artifactUrl = 'https://d1gkjrhppbyzyh.cloudfront.net/apl-viewhost-web/2D236713-D55A-4CC2-889E-5A65CF48DCB8/index.js';
77

88
const outputFilePath = 'index.js';
99
const outputFile = fs.createWriteStream(outputFilePath);

0 commit comments

Comments
 (0)