RangerMauve / hyper-sdk

Make your own hyper apps!
https://www.youtube.com/watch?v=HyHk4aImd_I&list=PL7sG5SCUNyeYx8wnfMOUpsh7rM_g0w_cu&index=20
MIT License
292 stars 45 forks source link

Pin sodium-universal to 3.0.2 #73

Closed paul90 closed 3 years ago

paul90 commented 3 years ago

A temp. fix for #72

This pins sodium-universal to 3.0.2 which will modify the version used by other dependencies.

npm ls sodium-universal currently shows

hyper-sdk@3.0.2
├─┬ hypercore-crypto@2.2.0
│ └── sodium-universal@3.0.3
└─┬ hypercore-protocol@8.0.7
  └─┬ simple-hypercore-protocol@2.1.1
    └─┬ noise-protocol@3.0.1
      ├─┬ hmac-blake2b@2.0.0
      │ └── sodium-universal@3.0.3  deduped
      └── sodium-universal@3.0.3  deduped

and becomes with this change

hyper-sdk@3.0.2
├─┬ hypercore-crypto@2.2.0
│ └── sodium-universal@3.0.2  deduped
├─┬ hypercore-protocol@8.0.7
│ └─┬ simple-hypercore-protocol@2.1.1
│   └─┬ noise-protocol@3.0.1
│     ├─┬ hmac-blake2b@2.0.0
│     │ └── sodium-universal@3.0.2  deduped
│     └── sodium-universal@3.0.2  deduped
└── sodium-universal@3.0.2

The only difference I see between 3.0.2 and 3.0.3 is an update to the version of sodium-javascript being used.

paul90 commented 3 years ago

Closing as a probable underlying cause has been identified.