Skip to content

Commit 27f5de5

Browse files
Merge pull request #2 from JACTheCreator/develop
Develop
2 parents 9f55f5d + 23c9c11 commit 27f5de5

File tree

3 files changed

+11
-7
lines changed

3 files changed

+11
-7
lines changed

alexa_web_api_for_games/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 1.0.1
2+
3+
- Fixed typos in documentation.
4+
15
## 1.0.0
26

37
- Initial version.

alexa_web_api_for_games/README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ A Dart-JavaScript interoperability for Alexa Web API for Games. Alexa Web API fo
1717

1818
### Functions
1919

20-
| Property | Description | Supported |
21-
| -------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------- |
22-
| create | Establish the connection to Alexa on the device. When the future is completed successful, an [`AlexaReadyPayload`](https://developer.amazon.com/en-US/docs/alexa/web-api-for-games/alexa-games-build-your-webapp.html#alexa-payload) object is returned. Otherwise when the future completes with an error, an `ErrorWithCode` object is returned.<br /> For details, see [create](https://developer.amazon.com/en-US/docs/alexa/web-api-for-games/alexa-games-build-your-webapp.html#create). |\* |
20+
| Property | Description | Supported |
21+
| -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | --------- |
22+
| create | Establish the connection to Alexa on the device. When the future is completed successfully, an AlexaReadyPayload object is returned. Otherwise, when the future completes with an error, an ErrorWithCode object is returned. For details, see create. |\* |
2323

2424
\*Even though a `MessageProvider` can be passed as an parameter in the `Alexa.create` function, doing this will cause an exception to be thrown.
2525

@@ -30,13 +30,13 @@ A Dart-JavaScript interoperability for Alexa Web API for Games. Alexa Web API fo
3030
| Entity-Sensing | Alexa-enabled devices with _entity-sensing_ capabilities can detect the presence of the user.<br />For details, see [Entity-Sensing](https://developer.amazon.com/en-US/docs/alexa/web-api-for-games/alexa-games-extensions-entitysensing.html). ||
3131
| Smart-Motion | Alexa-enabled devices with _smart-motion_ capabilities can rotate the device screen to turn toward and follow engaged users. <br />For details, see [Smart-Motion](https://developer.amazon.com/en-US/docs/alexa/web-api-for-games/alexa-games-extensions-smartmotion.html). ||
3232

33-
##### Lengend
33+
##### Legend
3434

3535
✅ Supported
3636

3737
❌ Not supported
3838

39-
Partial suppoted
39+
Partially supported
4040

4141
## Usage
4242

@@ -143,7 +143,7 @@ void _messageReceivedCallback(MessageSendResponse sendResponse) {
143143

144144
## Known Issues
145145

146-
- As stated above. Passing a `MessageProvider` in `Alexa.create` will cause an Exception.
146+
- As stated above, passing a `MessageProvider` in `Alexa.create` will cause an Exception.
147147
- Currently Extensions are not supported.
148148
- For more know issues, please see https://developer.amazon.com/en-US/docs/alexa/web-api-for-games/known-issues.html.
149149

alexa_web_api_for_games/lib/alexa_web_api.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ abstract class MessageProvider {
265265
/// The [command] is used to route events to the correct device or service handler.
266266
/// The [payload] is the data that will be used with the command by the device or service.
267267
///
268-
/// A future that contains the [MessageSendResponse] result is returned once resolved succesfully.
268+
/// Returns a future with the result [MessageSendResponse] once completed successfully.
269269
external dynamic /* Promise<MessageSendResponse> */ send(
270270
String command,
271271
dynamic payload,

0 commit comments

Comments
 (0)