Skip to content

Commit

Permalink
Update dependencies of examples
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewFerr committed Apr 24, 2023
1 parent ab6ecc4 commit b349061
Show file tree
Hide file tree
Showing 6 changed files with 867 additions and 965 deletions.
6 changes: 3 additions & 3 deletions examples/encryption/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@
"author": "Matrix.org",
"license": "Apache-2.0",
"dependencies": {
"@types/express": "^4.17.13",
"@types/node": "^14",
"matrix-appservice-bridge": "file:../.."
},
"devDependencies": {
"typescript": "^4.4.4"
"@types/express": "^4.17.13",
"@types/node": "^18",
"typescript": "^5.0.4"
}
}
4 changes: 2 additions & 2 deletions examples/encryption/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ limitations under the License.
// Usage:
// node index.js -r -u "http://localhost:9000" # remember to add the registration!
// node index.js -p 9000
import { Cli, Bridge, AppServiceRegistration, ClientEncryptionSession, ClientEncryptionStore, Logging} from 'matrix-appservice-bridge';
import { Cli, Bridge, AppServiceRegistration, ClientEncryptionSession, ClientEncryptionStore, Logger} from 'matrix-appservice-bridge';

const log = Logging.get("index");
const log = new Logger("index");

const encMap = new Map<string, ClientEncryptionSession>();
const encryptionStore: ClientEncryptionStore = {
Expand Down

0 comments on commit b349061

Please sign in to comment.