-
Notifications
You must be signed in to change notification settings - Fork 71
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Replace jsonwebtoken with jose (#115) * merge main * Cleanup & Lint * fix tests * fix dependencies * fix tests * update protobuf lib * move await * address comments * fix tests --------- Co-authored-by: Mohammad Rasim <[email protected]> * Use protobuf-es (#116) * merge main * Cleanup & Lint * fix tests * fix dependencies * fix tests * update protobuf lib * use protobuf-es * change package type to ESM and use vitest to support tests with ESM * Use fully specified imports everywhere * cleanup deps * cleanup deps --------- Co-authored-by: Mohammad Rasim <[email protected]> * add changesets as publishing workflow * add changeset command * require node 18 as minimum * fix eslint * Add changesets * Update happy-badgers-call.md * remove legacy publishing workflow * update protocol * more changesets --------- Co-authored-by: Mohammad Rasim <[email protected]>
- Loading branch information
Showing
38 changed files
with
8,533 additions
and
18,167 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# Changesets | ||
|
||
Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works | ||
with multi-package repos, or single-package repos to help you version and publish your code. You can | ||
find the full documentation for it [in our repository](https://github.com/changesets/changesets) | ||
|
||
We have a quick list of common questions to get you started engaging with this project in | ||
[our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md) |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"$schema": "https://unpkg.com/@changesets/[email protected]/schema.json", | ||
"changelog": ["@livekit/changesets-changelog-github", { "repo": "livekit/server-sdk-js" }], | ||
"commit": false, | ||
"fixed": [], | ||
"linked": [], | ||
"access": "public", | ||
"baseBranch": "main", | ||
"updateInternalDependencies": "patch", | ||
"ignore": [] | ||
} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'livekit-server-sdk': major | ||
--- | ||
|
||
Change module type to ESM |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'livekit-server-sdk': major | ||
--- | ||
|
||
Require node 18 as minimum version |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'livekit-server-sdk': major | ||
--- | ||
|
||
Token generation is now async (replaced jsonwebtoken with jose for better JS runtime support) |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'livekit-server-sdk': major | ||
--- | ||
|
||
Replace protobufjs with protobuf-es |
File renamed without changes.
This file contains 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
This file contains 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
This file was deleted.
Oops, something went wrong.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,40 +7,40 @@ | |
"repository": "[email protected]:livekit/server-sdk-js.git", | ||
"author": "David Zhao <[email protected]>", | ||
"license": "Apache-2.0", | ||
"type": "module", | ||
"scripts": { | ||
"build": "tsc", | ||
"build": "tsc --project tsconfig.json", | ||
"build:watch": "tsc --watch", | ||
"build-docs": "typedoc", | ||
"changeset": "changeset", | ||
"ci:publish": "pnpm build && changeset publish", | ||
"proto": "./generate-proto.sh", | ||
"lint": "eslint .", | ||
"format": "prettier --write src", | ||
"format:check": "prettier --check src", | ||
"prepare": "pnpm build", | ||
"test": "jest" | ||
"test": "vitest run" | ||
}, | ||
"dependencies": { | ||
"@bufbuild/protobuf": "^1.3.0", | ||
"camelcase-keys": "^7.0.0", | ||
"jsonwebtoken": "^9.0.0", | ||
"long": "^5.0.0", | ||
"protobufjs": "^7.2.4" | ||
"jose": "^5.1.2" | ||
}, | ||
"devDependencies": { | ||
"@types/jest": "^26.0.20", | ||
"@types/jsonwebtoken": "^9.0.0", | ||
"@bufbuild/protoc-gen-es": "^1.3.0", | ||
"@changesets/cli": "^2.27.1", | ||
"@types/node": "^20.10.1", | ||
"@typescript-eslint/eslint-plugin": "^4.29.1", | ||
"eslint": "^7.32.0", | ||
"eslint-config-airbnb-typescript": "^12.3.1", | ||
"eslint-config-prettier": "^8.5.0", | ||
"eslint-plugin-import": "^2.24.0", | ||
"jest": "^26.6.3", | ||
"prettier": "^2.6.2", | ||
"ts-jest": "^26.4.4", | ||
"ts-loader": "^8.0.11", | ||
"ts-node": "^9.1.1", | ||
"ts-proto": "^1.131.0", | ||
"typedoc": "^0.22.13", | ||
"typescript": "4.2.x", | ||
"webpack": "^5.9.0", | ||
"webpack-cli": "^4.2.0" | ||
"typedoc": "^0.25.4", | ||
"typescript": "4.6.x", | ||
"vite": "^5.0.5", | ||
"vitest": "^0.34.6" | ||
}, | ||
"engines": { | ||
"node": ">=18" | ||
} | ||
} |
Oops, something went wrong.