@speechly/browser-client
Advanced tools
Comparing version 1.0.19 to 1.1.0-beta.0
{ | ||
"name": "@speechly/browser-client", | ||
"version": "1.0.19", | ||
"version": "1.1.0-beta.0", | ||
"description": "Browser client for Speechly API", | ||
"private": false, | ||
"keywords": [ | ||
@@ -25,11 +24,27 @@ "client", | ||
], | ||
"scripts": { | ||
"build": "pnpm run lint && pnpm run test 2>&1 && rm -rf ./dist/ && pnpm run buildworker && pnpx rollup -c --silent", | ||
"build:watch": "rm -rf ./dist/ && pnpm run buildworker && pnpx rollup -c --silent", | ||
"buildworker": "npx tsc ./worker/worker.ts && cat ./worker/templateOpen > ./src/websocket/worker.ts && cat ./worker/worker.js >> ./src/websocket/worker.ts && cat ./worker/templateEnd >> ./src/websocket/worker.ts", | ||
"check": "pnpm run build && npx api-extractor run --verbose", | ||
"docs": "pnpm run prepdist && npx typedoc --readme none --includeDeclarations --excludeExternals --excludeNotExported --excludePrivate --excludeProtected --out ./docs/ --plugin typedoc-plugin-markdown ./dist/index.d.ts", | ||
"getdeps": "pnpm install --force --frozen-lockfile", | ||
"lint": "npx eslint --cache --max-warnings 0 'src/**/*.{ts,tsx}'", | ||
"precommit": "npx prettier --write src/**/*.ts && pnpm run build && npx api-extractor run --local && pnpm run docs", | ||
"prepdist": "node ./config/prepare_dist.js", | ||
"prerelease": "pnpm run check && pnpm run prepdist", | ||
"test": "npx jest --config ./config/jest.config.js", | ||
"watch": "rm -rf ./dist/ && mkdir dist && pnpm run prepdist && npx tsc-watch" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/speechly/browser-client.git" | ||
"url": "git+https://github.com/speechly/speechly.git", | ||
"directory": "libraries/browser-client" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/speechly/browser-client/issues" | ||
"url": "https://github.com/speechly/speechly/issues" | ||
}, | ||
"main": "./index.js", | ||
"types": "./index.d.ts", | ||
"main": "./dist/speechly.umd.js", | ||
"module": "./dist/speechly.es.js", | ||
"types": "./dist/types/index.d.ts", | ||
"author": "Speechly", | ||
@@ -39,3 +54,3 @@ "license": "MIT", | ||
"base-64": "^0.1.0", | ||
"locale-code": "^2.0.2", | ||
"locale-code": "~2.0.2", | ||
"uuid": "^8.0.0" | ||
@@ -67,3 +82,8 @@ }, | ||
"typedoc-plugin-markdown": "^3.10.4", | ||
"typescript": "^4.3.5" | ||
"typescript": "^4.3.5", | ||
"rollup": "~2.63.0", | ||
"tslib": "~2.3.1", | ||
"@rollup/plugin-node-resolve": "~13.1.3", | ||
"@rollup/plugin-commonjs": "~21.0.1", | ||
"rollup-plugin-terser": "~7.0.2" | ||
}, | ||
@@ -70,0 +90,0 @@ "publishConfig": { |
<div align="center" markdown="1"> | ||
<a href="https://www.speechly.com/?utm_source=github&utm_medium=browser-client&utm_campaign=header"> | ||
<img src="https://d33wubrfki0l68.cloudfront.net/1e70457a60b0627de6ab966f1e0a40cf56f465f5/b4144/img/logo-speechly-colors.svg" height="48"> | ||
<img src="https://d33wubrfki0l68.cloudfront.net/5bc9877403d30310311abacf99edc95e4d1c1b7e/5ba20/img/speechly-logo-duo-black.png" height="48"> | ||
</a> | ||
### Speechly is the Fast, Accurate, and Simple Voice Interface API for Web, Mobile and E‑commerce | ||
### The Fast, Accurate, and Simple Voice Interface API | ||
@@ -29,3 +29,3 @@ [Website](https://www.speechly.com/?utm_source=github&utm_medium=browser-client&utm_campaign=header) | ||
Check out the [browser-client-example](https://github.com/speechly/browser-client-example) repository for a demo app built using this client. | ||
Check out the [browser-client-example](https://github.com/speechly/speechly/tree/main/examples/browser-client-example) repository for a demo app built using this client. | ||
@@ -76,9 +76,9 @@ NOTE: If you are using React, you can use our [React client](https://github.com/speechly/speechly/libraries/react-client) instead. It provides the same functionalities, but provides a programming model that is idiomatic to React. | ||
You can find the detailed [browser-client API documentation](https://github.com/speechly/browser-client/blob/master/docs/classes/_index_d_.client.md) in the GitHub repository. | ||
You can find the detailed [browser-client API documentation](docs/classes/_index_d_.client.md) in the GitHub repository. | ||
You can also refer to [Speechly Docs](https://www.speechly.com/docs/?utm_source=github&utm_medium=browser-client&utm_campaign=text) for more information. | ||
You can also refer to [Speechly Docs](https://docs.speechly.com/?utm_source=github&utm_medium=browser-client&utm_campaign=text) for more information. | ||
## Contributing | ||
See contribution guide in [CONTRIBUTING.md](https://github.com/speechly/browser-client/blob/master/CONTRIBUTING.md). | ||
See contribution guide in [CONTRIBUTING.md](https://github.com/speechly/speechly/blob/main/CONTRIBUTING.md). | ||
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
465998
4040
29
67
2
1
Updatedlocale-code@~2.0.2