Skip to content

Commit

Permalink
update to alpha-next versions for testing (#82)
Browse files Browse the repository at this point in the history
* update to alpha-next versions for testing

* patch metro config

* skipping `electron` bundling due to missing AES Key Wrapping

* update to alphas

* official release versions

---------

Co-authored-by: Tim Shamilov <shamilovtim@gmail.com>
  • Loading branch information
LiranCohen and shamilovtim committed Apr 29, 2024
1 parent 17611d1 commit 54e91c4
Show file tree
Hide file tree
Showing 7 changed files with 145 additions and 96 deletions.
1 change: 1 addition & 0 deletions .github/workflows/tests-runner.yml
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,7 @@ jobs:
retention-days: 30

test-electron:
if: false # We are skipping `test-electron` due to the lack of support for `AES-KW` key wrapping. Will revisit.
timeout-minutes: 60
strategy:
fail-fast: false
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"dependencies": {
"@tbd54566975/dwn-sdk-js": "0.2.22",
"@web5/api": "0.9.1",
"@web5/dids": "1.0.0"
"@tbd54566975/dwn-sdk-js": "0.3.1",
"@web5/api": "0.9.3",
"@web5/dids": "1.0.1"
},
"scripts": {
"test:web5": "pnpm -r --workspace-concurrency 1 --no-bail test:web5",
Expand Down
86 changes: 67 additions & 19 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions tests/electron-vite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@
"dependencies": {
"@electron-toolkit/preload": "^2.0.0",
"@electron-toolkit/utils": "^2.0.0",
"@tbd54566975/dwn-sdk-js": "0.2.22",
"@web5/api": "0.9.1",
"@web5/dids": "1.0.0"
"@tbd54566975/dwn-sdk-js": "0.3.1",
"@web5/api": "0.9.3",
"@web5/dids": "1.0.1"
},
"devDependencies": {
"@electron-toolkit/eslint-config-prettier": "^1.0.1",
Expand Down
56 changes: 28 additions & 28 deletions tests/electron-vite/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -724,16 +724,16 @@
dependencies:
defer-to-connect "^2.0.0"

"@tbd54566975/dwn-sdk-js@0.2.22":
version "0.2.22"
resolved "https://registry.yarnpkg.com/@tbd54566975/dwn-sdk-js/-/dwn-sdk-js-0.2.22.tgz#27683575aad1ea4021aaae3ee95132158829c787"
integrity sha512-TBobNAWt09bsAKADiiWNcdgiuuWNkHAumPvuYM9d+V/Brcl99Q9jg3ssVQhMfhV3TN8zxCbAGWYALUfxgX4N3w==
"@tbd54566975/dwn-sdk-js@0.3.1":
version "0.3.1"
resolved "https://registry.yarnpkg.com/@tbd54566975/dwn-sdk-js/-/dwn-sdk-js-0.3.1.tgz#e6befba830d734e27f1cf3b7d913bc5c354ee0ea"
integrity sha512-G73ixUGieRBE4kYxLlYu/9wN36RUBGp5nvDrlAWZsNUXEXWnhCS3qTYFnUqzPEXjoE0z8EVRtpMU/eITM8ZcDA==
dependencies:
"@ipld/dag-cbor" "9.0.3"
"@js-temporal/polyfill" "0.4.4"
"@noble/ed25519" "2.0.0"
"@noble/secp256k1" "2.0.0"
"@web5/dids" "1.0.0"
"@web5/dids" "1.0.1"
abstract-level "1.0.3"
ajv "8.12.0"
blockstore-core "4.2.0"
Expand Down Expand Up @@ -946,34 +946,34 @@
resolved "https://registry.yarnpkg.com/@ungap/structured-clone/-/structured-clone-1.2.0.tgz#756641adb587851b5ccb3e095daf27ae581c8406"
integrity sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==

"@web5/agent@0.3.1":
version "0.3.1"
resolved "https://registry.yarnpkg.com/@web5/agent/-/agent-0.3.1.tgz#18a3b6d7c1fc0a313f98db8eb3a32d259a4cb072"
integrity sha512-LIkRc9PGsrzYzRdxfgC857Ml9cchl6dfiadbUckdSTUMzaoXcI5YmucRtO6bDchRltDMazuKhdWb96a8sb0XMw==
"@web5/agent@0.3.2":
version "0.3.2"
resolved "https://registry.yarnpkg.com/@web5/agent/-/agent-0.3.2.tgz#42b2910f5794be6b677bca1b1490c0a178e064c9"
integrity sha512-oTObOgvY+sz7nfTIHofe8TulZ5AJspQXN2LzRx3ZZxCuNNepfvtofWVPwcRJmsa50Ko7GDlRhiVrkx6fqh6k9Q==
dependencies:
"@noble/ciphers" "0.4.1"
"@scure/bip39" "1.2.2"
"@tbd54566975/dwn-sdk-js" "0.2.22"
"@tbd54566975/dwn-sdk-js" "0.3.1"
"@web5/common" "1.0.0"
"@web5/crypto" "1.0.0"
"@web5/dids" "1.0.0"
"@web5/dids" "1.0.1"
abstract-level "1.0.4"
ed25519-keygen "0.4.11"
level "8.0.0"
ms "2.1.3"
readable-web-to-node-stream "3.0.2"
ulidx "2.1.0"

"@web5/api@0.9.1":
version "0.9.1"
resolved "https://registry.yarnpkg.com/@web5/api/-/api-0.9.1.tgz#34e5eac1b2ec8a598b73b42fe25c3aa5a008b0ec"
integrity sha512-P0vKf7Jn3yuy4g/P6rUgJx2gLG5fwCmLQXa1eGCS8KJ+J6ZK/Qx0/FEnNo2mDcooBk8esxO3FVB+93p5nXcpgw==
"@web5/api@0.9.3":
version "0.9.3"
resolved "https://registry.yarnpkg.com/@web5/api/-/api-0.9.3.tgz#a2738efae7cebb247c7b626c46a9ab6fe9650109"
integrity sha512-4THqGlAVk/ubetJhKWt/PbnbsIAvDZ3H5rNAX/lHPZxqHhcMHvxr+FfrFsXyC8rCpMcDZmz1FKsMwNEWLegyfg==
dependencies:
"@web5/agent" "0.3.1"
"@web5/agent" "0.3.2"
"@web5/common" "1.0.0"
"@web5/crypto" "1.0.0"
"@web5/dids" "1.0.0"
"@web5/user-agent" "0.3.1"
"@web5/dids" "1.0.1"
"@web5/user-agent" "0.3.2"

"@web5/common@1.0.0":
version "1.0.0"
Expand All @@ -995,10 +995,10 @@
"@noble/hashes" "1.3.3"
"@web5/common" "1.0.0"

"@web5/dids@1.0.0":
version "1.0.0"
resolved "https://registry.yarnpkg.com/@web5/dids/-/dids-1.0.0.tgz#f774e583abde64b41219977d0835df7bb78c3a5c"
integrity sha512-TJPRyNIuS50Za3qMHBgNDgwbJQUcVVWXm3Uc3UsDtZIpTLjYb+4LRaynlKzjRPAOR44Q185a+59//5Lyffon+Q==
"@web5/dids@1.0.1":
version "1.0.1"
resolved "https://registry.yarnpkg.com/@web5/dids/-/dids-1.0.1.tgz#7f04221f582d93576dfa2c44a5fdb8f62670e40d"
integrity sha512-bAc+zwTDPvtFtd8T25XD0oUmSOBmeTpYSZyBz9w/EqZPKtZOFSc5oFS5qLtrh4YDkkcBqTG5ENQlE9fXs56zIQ==
dependencies:
"@decentralized-identity/ion-sdk" "1.0.1"
"@dnsquery/dns-packet" "6.1.1"
Expand All @@ -1010,15 +1010,15 @@
level "8.0.0"
ms "2.1.3"

"@web5/user-agent@0.3.1":
version "0.3.1"
resolved "https://registry.yarnpkg.com/@web5/user-agent/-/user-agent-0.3.1.tgz#0ea03b94c912cccbb9a67edfa82bd76a3e425d32"
integrity sha512-6MgtqUYs7x5h/YQUKDp0r5I82kxEklEI+V2RxHFYPcs3ZrCTpNGP8k2J0WIOnAjyU4BvTX2uggGp305GQlbsiA==
"@web5/user-agent@0.3.2":
version "0.3.2"
resolved "https://registry.yarnpkg.com/@web5/user-agent/-/user-agent-0.3.2.tgz#1ef443207d0da154fc22849277aff8b8e35f6879"
integrity sha512-g/GJRYT7PBQpuCeA/I+7v2AKxDzEmyFUzSVMqEf92h7cIU2S6kBGmLwxN7WXqvoEHz/w1aM2JD4TPUloAX0nwg==
dependencies:
"@web5/agent" "0.3.1"
"@web5/agent" "0.3.2"
"@web5/common" "1.0.0"
"@web5/crypto" "1.0.0"
"@web5/dids" "1.0.0"
"@web5/dids" "1.0.1"

"@xmldom/xmldom@^0.8.8":
version "0.8.10"
Expand Down
10 changes: 5 additions & 5 deletions tests/reactnative/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@
"@craftzdog/react-native-buffer": "6.0.5",
"@peculiar/webcrypto": "1.4.6",
"@tbd54566975/react-native-quick-crypto": "0.6.3",
"@tbd54566975/web5-react-native-metro-config": "1.0.1",
"@tbd54566975/web5-react-native-metro-config": "^1.0.3",
"@tbd54566975/web5-react-native-polyfills": "0.2.1",
"@types/react": "18.2.74",
"@web5/agent": "0.3.1",
"@web5/api": "0.9.1",
"@web5/agent": "0.3.2",
"@web5/api": "0.9.3",
"@web5/common": "1.0.0",
"@web5/crypto": "1.0.0",
"@web5/dids": "1.0.0",
"@web5/identity-agent": "0.3.1",
"@web5/dids": "1.0.1",
"@web5/identity-agent": "0.3.2",
"expo": "49.0.20",
"expo-splash-screen": "0.22.0",
"expo-status-bar": "1.7.1",
Expand Down
Loading

0 comments on commit 54e91c4

Please sign in to comment.