Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use NPM version of Speech SDK and bump to 1.6.0 #22

Merged
merged 3 commits into from
Jul 25, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
- [memoize-one@^5.0.5](https://www.npmjs.com/package/memoize-one)
- [rimraf@^2.6.3](https://www.npmjs.com/package/rimraf)
- [simple-update-in@^2.1.0](https://www.npmjs.com/package/simple-update-in)
- Add version number as `<meta>` tag, in PR [#20](https://github.com/compulim/web-speech-cognitive-services/pull/20)
- Add bundle distribution thru https://unpkg.com/web-speech-cognitive-services@latest/umd/, in PR [#21](https://github.com/compulim/web-speech-cognitive-services/pull/21)
- Added version number as `<meta>` tag, in PR [#20](https://github.com/compulim/web-speech-cognitive-services/pull/20)
- Added bundle distribution thru https://unpkg.com/web-speech-cognitive-services@latest/umd/, in PR [#21](https://github.com/compulim/web-speech-cognitive-services/pull/21)
- Bumped to [microsoft-cognitiveservices-speech-sdk@1.6.0](https://www.npmjs.com/package/microsoft-cognitiveservices-speech-sdk), in PR [#22](https://github.com/compulim/web-speech-cognitive-services/pull/22)

## [4.0.0] - 2018-12-10
### Added
Expand Down
114 changes: 110 additions & 4 deletions packages/component/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion packages/component/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"scripts": {
"build": "babel --out-dir lib --ignore **/*.spec.js,**/*.test.js --source-maps true src/",
"clean": "rimraf lib",
"start": "npm run build -- --watch",
"start": "npm run build -- --verbose --watch",
"test": "jest"
},
"author": "William Wong <compulim@hotmail.com> (http://compulim.info/)",
Expand Down Expand Up @@ -71,6 +71,7 @@
"event-as-promise": "^1.0.5",
"events": "^3.0.0",
"memoize-one": "^5.0.5",
"microsoft-cognitiveservices-speech-sdk": "1.6.0",
"simple-update-in": "^2.1.0"
}
}
6 changes: 2 additions & 4 deletions packages/component/src/SpeechServices/SpeechSDK.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// TODO: [P1] This need to be fixed with a peer depending package, instead of a burnt in bundle.
import * as CognitiveServicesSpeechSDK from 'microsoft-cognitiveservices-speech-sdk/distrib/lib/microsoft.cognitiveservices.speech.sdk';

import './external/microsoft.cognitiveservices.speech.sdk.bundle';

export default window.SpeechSDK
export default CognitiveServicesSpeechSDK
Loading