-
Notifications
You must be signed in to change notification settings - Fork 19
feat: Добавлен сахар: дополнительные методы подписки на команды сценария #256
Open
evgeniysemin
wants to merge
1
commit into
main
Choose a base branch
from
issues/247-subscribeToCommand
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sasha-tlt
reviewed
Jan 28, 2022
sasha-tlt
reviewed
Feb 3, 2022
0a01573 to
74036ea
Compare
sasha-tlt
reviewed
Feb 14, 2022
sasha-tlt
reviewed
Feb 14, 2022
sasha-tlt
reviewed
Feb 14, 2022
74036ea to
fe890d3
Compare
004638d to
8374a0c
Compare
…ария, ассистента, ошибки
8374a0c to
2b0a93d
Compare
sasha-tlt
reviewed
Feb 21, 2022
| } | ||
| }); | ||
| }, | ||
| onSmartAppError: (subscriber: (smartAppError: AssistantSmartAppError['smart_app_error']) => void) => { |
Contributor
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
нужно убрать, дублирует on('error')
sasha-tlt
reviewed
Feb 21, 2022
| } | ||
| }); | ||
| }, | ||
| onAssistantCommand: ( |
Contributor
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
попробовать сделать один метод для подписки на команды и smart_app_data
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
📦 Published PR as canary version:
4.17.0--canary.256.004c305de8dd0429be86cdeb3b7d18e7a7e5457e.0✨ Test out this PR locally via:
npm install @sberdevices/assistant-client@4.17.0--canary.256.004c305de8dd0429be86cdeb3b7d18e7a7e5457e.0 # or yarn add @sberdevices/assistant-client@4.17.0--canary.256.004c305de8dd0429be86cdeb3b7d18e7a7e5457e.0