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

Bump one-webcrypto to 1.0.3 and keystore-idb to 0.15.4 #321

Merged
merged 2 commits into from
Nov 8, 2021
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
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

### v0.29.2

- Make webnative work across more environments and bundlers (upgrade one-webcrypto to 1.0.3)
- Make full API URL configurable (not just API host).

### v0.29.1
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -99,10 +99,10 @@
"ipfs-message-port-client": "^0.9.2-rc.2",
"ipfs-message-port-protocol": "^0.10.2-rc.2",
"ipld-dag-pb": "^0.22.2",
"keystore-idb": "^0.15.3",
"keystore-idb": "^0.15.4",
"localforage": "^1.9.0",
"multiformats": "^9.4.8",
"one-webcrypto": "^1.0.1",
"one-webcrypto": "^1.0.3",
"throttle-debounce": "^3.0.1",
"tweetnacl": "^0.14.5",
"uint8arrays": "^2.1.7"
Expand Down
2 changes: 2 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -337,6 +337,8 @@ interface AuthLobbyClassifiedInfo {
async function importClassifiedInfo(
classifiedInfo: AuthLobbyClassifiedInfo
): Promise<void> {

console.log(classifiedInfo)
// Extract session key and its iv
const rawSessionKey = await crypto.keystore.decrypt(classifiedInfo.sessionKey)

Expand Down
18 changes: 9 additions & 9 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2863,13 +2863,13 @@ keypair@^1.0.1:
resolved "https://registry.yarnpkg.com/keypair/-/keypair-1.0.4.tgz#a749a45f388593f3950f18b3757d32a93bd8ce83"
integrity sha512-zwhgOhhniaL7oxMgUMKKw5219PWWABMO+dgMnzJOQ2/5L3XJtTJGhW2PEXlxXj9zaccdReZJZ83+4NPhVfNVDg==

keystore-idb@^0.15.3:
version "0.15.3"
resolved "https://registry.yarnpkg.com/keystore-idb/-/keystore-idb-0.15.3.tgz#827b37e0d011fef5591afa3e6bf97dcc759f36ca"
integrity sha512-yYvxK/ecgnrqUO/YQJPJxHW7lvTxlYWsgp9gC7N0LLejjYLy69yGrmT8Iw79VgymicU8cijmydgyUnTWJFHasA==
keystore-idb@^0.15.4:
version "0.15.4"
resolved "https://registry.yarnpkg.com/keystore-idb/-/keystore-idb-0.15.4.tgz#ba2387a6a6284421f023c0719d099eb9d2c9cfa8"
integrity sha512-3HfkebZQzo7iFA301aXTizupfwlWk350uwCjdUY2p6v9jVP0B1frySTgesInqjHaj66mpridvg8WNF43JErEQg==
dependencies:
localforage "^1.10.0"
one-webcrypto "^1.0.1"
one-webcrypto "^1.0.3"
uint8arrays "^3.0.0"

level-codec@^10.0.0:
Expand Down Expand Up @@ -3731,10 +3731,10 @@ once@^1.3.0, once@^1.3.1, once@^1.4.0:
dependencies:
wrappy "1"

one-webcrypto@^1.0.1:
version "1.0.1"
resolved "https://registry.yarnpkg.com/one-webcrypto/-/one-webcrypto-1.0.1.tgz#023dcf8983276dc568a0ecfc71aa71ad045190b8"
integrity sha512-yFtrnpAgreBUDgEM/iTMGXwCnyyo/zwTOly/Pqx8T8TFd79QUv0OI+WkVMvCVgBg5Eja7Uo12x2M7v7RJPba8A==
one-webcrypto@^1.0.3:
version "1.0.3"
resolved "https://registry.yarnpkg.com/one-webcrypto/-/one-webcrypto-1.0.3.tgz#f951243cde29b79b6745ad14966fc598a609997c"
integrity sha512-fu9ywBVBPx0gS9K0etIROTiCkvI5S1TDjFsYFb3rC1ewFxeOqsbzq7aIMBHsYfrTHBcGXJaONXXjTl8B01cW1Q==

onetime@^5.1.2:
version "5.1.2"
Expand Down