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

feat(ipfs, ml) #1159

Draft
wants to merge 13 commits into
base: master
Choose a base branch
from
28 changes: 16 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,8 @@
"rehype-stringify": "^9.0.2",
"remark-gfm": "^3.0.1",
"resolve-url-loader": "^5.0.0",
"sass": "^1.60.0",
"sass-loader": "^13.2.0",
"sass": "1.60.0",
"sass-loader": "13.2.0",
"serve": "^14.2.0",
"storybook": "^7.2.3",
"stream-browserify": "^3.0.0",
Expand All @@ -144,8 +144,9 @@
},
"dependencies": {
"@apollo/client": "^3.9.4",
"@chainsafe/libp2p-noise": "^13.0.1",
"@chainsafe/libp2p-yamux": "^5.0.0",
"@chainsafe/libp2p-gossipsub": "^13.1.0",
"@chainsafe/libp2p-noise": "^15.1.0",
"@chainsafe/libp2p-yamux": "^6.0.2",
"@confio/relayer": "0.4.0",
"@cosmjs/cosmwasm-stargate": "^0.30.0",
"@cosmjs/crypto": "0.29.0",
Expand All @@ -159,12 +160,15 @@
"@cybercongress/cyber-js": "^0.3.92",
"@cybercongress/gravity": "0.0.15",
"@ethersproject/providers": "^5.7.2",
"@helia/unixfs": "^1.4.2",
"@helia/unixfs": "3.0.0",
"@jest/transform": "^29.5.0",
"@ledgerhq/hw-transport-webusb": "5.53.0",
"@libp2p/bootstrap": "^9.0.7",
"@libp2p/webrtc": "^3.2.1",
"@libp2p/websockets": "^7.0.8",
"@libp2p/bootstrap": "^10.1.2",
"@libp2p/kad-dht": "^12.1.2",
"@libp2p/peer-id": "^4.2.1",
"@libp2p/peer-id-factory": "^4.2.1",
"@libp2p/webrtc": "^4.1.2",
"@libp2p/websockets": "^8.1.2",
"@multiformats/multiaddr": "^11.4.0",
"@nftstorage/ipfs-cluster": "^5.0.1",
"@reduxjs/toolkit": "^1.9.3",
Expand Down Expand Up @@ -198,6 +202,7 @@
"datastore-core": "^9.2.3",
"datastore-idb": "^2.1.4",
"dateformat": "^3.0.3",
"debug": "^4.3.5",
"detectrtc": "^1.4.0",
"dexie": "^3.0.2",
"dotenv": "^16.0.3",
Expand All @@ -211,8 +216,7 @@
"graphql": "^16.5.0",
"graphql-request": "^5.1.0",
"graphql-ws": "^5.15.0",
"helia": "^2.0.3",
"ipfs-core": "^0.18.0",
"helia": "^4.2.4",
"ipfs-core-types": "^0.14.0",
"ipfs-http-client": "^60.0.0",
"ipfs-unixfs": "^0.2.0",
Expand All @@ -222,7 +226,7 @@
"jest-text-transformer": "^1.0.4",
"kubo-rpc-client": "^3.0.1",
"ledger-cosmos-js": "2.1.7",
"libp2p": "^0.46.12",
"libp2p": "^1.8.1",
"lodash": "^4.17.21",
"long": "^5.2.0",
"node-polyfill-webpack-plugin": "^2.0.1",
Expand Down Expand Up @@ -254,7 +258,7 @@
"rxjs": "^7.8.0",
"secp256k1": "^3.7.1",
"sinon": "^16.0.0",
"tone": "^14.7.77",
"tone": "14.7.77",
"ts-jest": "^29.1.1",
"ts-jest-resolver": "^2.0.1",
"videostream": "^3.2.2",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
}

.soulCompanion {
margin: -10px 0;
margin: -20px 0;
}

.itemText {
Expand All @@ -20,7 +20,7 @@
// white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
max-width: 158px;

display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
Expand Down
86 changes: 0 additions & 86 deletions src/containers/ipfsSettings/ipfsComponents/infoIpfsNode.tsx

This file was deleted.

3 changes: 2 additions & 1 deletion src/containers/sigma/hooks/useGetPassportByAddress.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { Citizenship } from 'src/types/citizenship';
import usePassportContract from 'src/features/passport/usePassportContract';
import { PATTERN_CYBER } from 'src/constants/patterns';
import { parseToCitizenshipWithData } from 'src/utils/citizenship';

function useGetPassportByAddress(accounts: any) {
let address =
Expand All @@ -25,7 +26,7 @@ function useGetPassportByAddress(accounts: any) {
});

return {
passport: data,
passport: data ? parseToCitizenshipWithData(data) : null,
loading,
error,
};
Expand Down
Loading