Skip to content

Commit

Permalink
feat: bump to @openziti/libcrypto-js 0.24.0 (#180)
Browse files Browse the repository at this point in the history
  • Loading branch information
rentallect authored Sep 24, 2024
1 parent 8f54c40 commit 34dfa5b
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
"typescript": "^5.2.2"
},
"dependencies": {
"@openziti/libcrypto-js": "^0.21.0",
"@openziti/libcrypto-js": "^0.24.0",
"@openziti/ziti-browzer-edge-client": "^0.7.0",
"asn1js": "^3.0.5",
"assert": "^2.0.0",
Expand Down
2 changes: 1 addition & 1 deletion src/channel/tls-connection.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ import { v4 as uuidv4 } from 'uuid';
*/
async pullKeyPair() {

this._privateKeyPEM = this._zitiContext.get_privateKeyPEM();
this._privateKeyPEM = await this._zitiContext.get_privateKeyPEM();

this._certPEM = await this._zitiContext.getCertPEM();

Expand Down
2 changes: 1 addition & 1 deletion src/channel/wasm-tls-connection.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ import {Mutex, withTimeout, Semaphore} from 'async-mutex';
*/
async pullKeyPair() {

this._privateKeyPEM = this._zitiContext.get_privateKeyPEM();
this._privateKeyPEM = await this._zitiContext.get_privateKeyPEM();

this._certPEM = await this._zitiContext.getCertPEM();

Expand Down
2 changes: 1 addition & 1 deletion src/http/ziti-inner-tls-socket.js
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ class ZitiInnerTLSSocket extends EventEmitter {
*/
async pullKeyPair() {

this._privateKeyPEM = this._zitiContext.get_privateKeyPEM();
this._privateKeyPEM = await this._zitiContext.get_privateKeyPEM();

this._certPEM = await this._zitiContext.getCertPEM();

Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1305,10 +1305,10 @@
portfinder "^1.0.21"
request "^2.88.0"

"@openziti/libcrypto-js@^0.21.0":
version "0.21.0"
resolved "https://registry.yarnpkg.com/@openziti/libcrypto-js/-/libcrypto-js-0.21.0.tgz#a6deb214968a68709b9eb1e877fdace1b72c1a51"
integrity sha512-xRzxG5tw2dPZRmqXmo2rf73uI6gaR/o+nBfbXlL70qnmv8RS3zwC1sdSI6t+ZrYEcsMpytONyYtcRn1J8mIucA==
"@openziti/libcrypto-js@^0.24.0":
version "0.24.0"
resolved "https://registry.yarnpkg.com/@openziti/libcrypto-js/-/libcrypto-js-0.24.0.tgz#c01da457ce423e08fd1839b5c7d672fcdb1a113e"
integrity sha512-O8+1oea7AQqphfn0DALLGDkCQ2cwmoqO14dLKSic2bcKNM/1CWVUgJnn9US2dbuHTBy5ZH8q835av0PtAYHALQ==
dependencies:
"@types/emscripten" "^1.39.6"
"@wasmer/wasi" "^1.0.2"
Expand Down

0 comments on commit 34dfa5b

Please sign in to comment.