-
Notifications
You must be signed in to change notification settings - Fork 85
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* wip * Upgrade typescript, ts-node and ts-loader Webpack protests - next step: upgrade webpack * Upgrade webpack in desktop. Also upgrade pkijs and @peculiar/webcrypto * Import libp2p as ESM module * Upgrade ipfs-core and make esm import * Work around typescript transpiling await import(..) * Get rid of old typings of pkijs. Adjust interfaces in few places. Next step: resolve problems with holding Certificate objects in redux. Immer doesn't support creating a WritableDraft for it * wip * Use new algorithm paramaters interface * Set crypto engine in storage tests * bump jest and libp2p packages in backend * able to create community and send messages with new version of libraries * Moved libp2p transport websockets to our own module * Restore full libp2p settings * Peers are connecting through websocketOverTor * Peers are connected, not replicating data * Peers are connecting and replicate data * Update it-ws package * Bump Android arm64 nodejs * Fix package-locks after resolving conflicts with develop * Fix jdenticon browser import * state-manager tests fix * desktop tests fix * backend tests fix * Migrate storybook to webpack5 * Lint fix * Remove invalid readonly prefixes * Disable linter prefer readonly * Disable arm support and add emotion core as a dependency * Remove libp2p patch * Bump iOS arm64 nodejs * Migrate cypress config wip * Cypress migration * fix cypress typing in cy test files * change cypress tests naming pattern * plugin file is no longer supported - remove * change location of snapshots * Bring back workaround for complaining typescript in cypress test * Update snapshots for cypress ci tests * Update snapshots for cypress local tests * Use backward compatible RSA peerid type * Restore libp2p peer events * fix connections manager tests * Set cryptoEngine in jest setup * restore websocketOverTor test * Fix conflicts in peer dependencies and typescript errors * Update mobile tests after removing react-native-jdenticon * Prevent installation of go-ipfs package. This package is a peerDependency of orbit-db-io. We're not using this, as we have our own ipfs. This package in post-install.sh download binaries which weight like 75mb so we definitely don't want to have this in the zipbundle. * Update CI setup to include go-ipfs packages in bootstrap * Lint fix * Lint fix * Rigorously type socket.emit in state-manager This was giving me typescript errors during bootstrap, because generic typing expect event names to be strings while we used enums. Since I needed to create a custom typing for names I went ahead and added payloads as well. * Lint fix * Fixes in desktop storybook config after webpack upgrade * Remove go-ipfs.. again Not sure why it keeps adding itself * Change way how go-ipfs is mocked out Use external npm package as strategy with local package didn't work * Remove go-ipfs from bootstrap-packages. This is cleanup after moving mock to outside repo * Update iOS nodejs headers * Use jest-light-runner for backend tests * Pin version of node and npm in package.json * Update README * Update node version in CI * Fix iOS EXC_BAD_ACCESS problem (leveldown bump) * Bump react-native-progress package * Bump orbit-db-storage-adapter * Bump orbit-db-cache * Restore storage tests * fix linter Co-authored-by: Marek Kowalski <kowalski0123@gmail.com> Co-authored-by: Wiktor <wiktor.sieprawski@rumblefish.pl> Co-authored-by: siepra <wiktor.siepra@gmail.com> Co-authored-by: Emi <emilia.marczyk@rumblefish.pl>
- Loading branch information
1 parent
b599a1b
commit f8da704
Showing
433 changed files
with
180,950 additions
and
160,858 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,5 +18,9 @@ | |
}, | ||
"scripts": { | ||
"lerna": "lerna" | ||
}, | ||
"engines": { | ||
"node": "16.18.0", | ||
"npm": "8.19.2" | ||
} | ||
} |
Binary file not shown.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,12 @@ | ||
jest.mock('node-fetch') | ||
const { setEngine, CryptoEngine } = require('pkijs') | ||
const { Crypto } = require('@peculiar/webcrypto') | ||
|
||
// jest.mock('node-fetch') | ||
const crypto = new Crypto(); | ||
global.crypto = crypto; | ||
|
||
setEngine('newEngine', new CryptoEngine({ | ||
name: 'newEngine', | ||
// @ts-ignore | ||
crypto: crypto, | ||
})) |
Oops, something went wrong.