File tree Expand file tree Collapse file tree 3 files changed +14
-13
lines changed
source/views/Extension/Views/AddNFT/components Expand file tree Collapse file tree 3 files changed +14
-13
lines changed Original file line number Diff line number Diff line change 3737 "@material-ui/icons" : " ^4.11.2" ,
3838 "@metamask/post-message-stream" : " ^4.0.0" ,
3939 "@psychedelic/browser-rpc" : " 2.1.0" ,
40- "@psychedelic/dab-js" : " 1.5.0-beta.1 " ,
41- "@psychedelic/plug-controller" : " 0.24.6 " ,
40+ "@psychedelic/dab-js" : " 1.5.0-beta.4 " ,
41+ "@psychedelic/plug-controller" : " 0.24.7 " ,
4242 "@psychedelic/plug-inpage-provider" : " ^2.3.1" ,
4343 "@reduxjs/toolkit" : " ^1.6.0" ,
4444 "advanced-css-reset" : " ^1.2.2" ,
Original file line number Diff line number Diff line change @@ -11,18 +11,19 @@ import {
1111 Dialog ,
1212 Select ,
1313} from '@components' ;
14+ import { standards } from '@psychedelic/dab-js' ;
1415import { validateCanisterId } from '@shared/utils/ids' ;
1516import { HANDLER_TYPES , sendMessage } from '@background/Keyring' ;
1617import extension from 'extensionizer' ;
1718import { customTokensUrl } from '@shared/constants/urls' ;
1819import useStyles from '../styles' ;
1920
20- const FUNGIBLE_STANDARDS = { DIP721v2 : 'DIP721v2' , } ;
21+ const FUNGIBLE_STANDARDS = { DIP721 : standards . NFT . dip721 , } ;
2122
2223const CustomNFT = ( { handleChangeSelectedNFT } ) => {
2324 const { t } = useTranslation ( ) ;
2425 const [ canisterId , setCanisterId ] = useState ( '' ) ;
25- const [ standard , setStandard ] = useState ( FUNGIBLE_STANDARDS . DIP721v2 ) ;
26+ const [ standard , setStandard ] = useState ( FUNGIBLE_STANDARDS . DIP721 ) ;
2627 const [ invalidToken , setInvalidToken ] = useState ( null ) ;
2728 const [ tokenError , setTokenError ] = useState ( '' ) ;
2829 const [ loading , setLoading ] = useState ( false ) ;
Original file line number Diff line number Diff line change 17731773 axios "^0.24.0"
17741774 cross-fetch "^3.1.4"
17751775
1776- "@psychedelic/
[email protected] .
1 ":
1777- version "1.5.0-beta.1 "
1778- resolved "https://npm.pkg.github.com/download/@Psychedelic/dab-js/1.5.0-beta.1/306e2bb10491927995a3a22f25cd2ca9fd40990e#306e2bb10491927995a3a22f25cd2ca9fd40990e "
1779- integrity sha512-p7GEh++Fv8U1SIYdqjxLLNy3I8fjoEF+lrXsHHKxcFuKpINxWkfWmUxLnjS6rytY+VuovrDEISFD4Tz0QHD2DQ ==
1776+ "@psychedelic/
[email protected] .
4 ":
1777+ version "1.5.0-beta.4 "
1778+ resolved "https://npm.pkg.github.com/download/@Psychedelic/dab-js/1.5.0-beta.4/efd377970c28a917a93e933a96cbf0013d3c5a61#efd377970c28a917a93e933a96cbf0013d3c5a61 "
1779+ integrity sha512-A5AKfXUyu7OLJwyv9hT7dVp6zZ01F/QKnLCu4yc7/KpbxQ8V7CvVYp6Jap5Ig06tGYz/XJu2HDLMUxrrIogWxg ==
17801780 dependencies:
17811781 "@dfinity/agent" "0.9.3"
17821782 "@dfinity/candid" "0.9.3"
17871787 cross-fetch "^3.1.4"
17881788 crypto-js "^4.1.1"
17891789
1790- "@psychedelic/
[email protected] .
6 ":
1791- version "0.24.6 "
1792- resolved "https://npm.pkg.github.com/download/@Psychedelic/plug-controller/0.24.6/ffee2559f647411b209f465b1673fb726cf547c3#ffee2559f647411b209f465b1673fb726cf547c3 "
1793- integrity sha512-q1rsMblELr73BWnw/JBDWie6KAz46CoCVi+aBClLgf/AIcCZY4UbDlscrnGTqKe5bmSuLrJ6h0ZmmVZaY5Ob4w ==
1790+ "@psychedelic/
[email protected] .
7 ":
1791+ version "0.24.7 "
1792+ resolved "https://npm.pkg.github.com/download/@Psychedelic/plug-controller/0.24.7/425f18572dbee242d684c10ee27bb8d4123e2e2b#425f18572dbee242d684c10ee27bb8d4123e2e2b "
1793+ integrity sha512-1cTI2wUXWo/U1KB62HB8DVje+wEVZDb6CeiNRJ7pfKd7knJvDhVbKCt4ui3TdRo9z+zp46dOrEaBNeRoDQIXqA ==
17941794 dependencies:
17951795 "@dfinity/agent" "0.9.3"
17961796 "@dfinity/candid" "0.9.3"
17971797 "@dfinity/identity" "0.9.3"
17981798 "@dfinity/principal" "0.9.3"
17991799 "@psychedelic/cap-js" "0.0.7"
1800- "@psychedelic/dab-js" "1.5.0-beta.1 "
1800+ "@psychedelic/dab-js" "1.5.0-beta.4 "
18011801 "@types/secp256k1" "^4.0.3"
18021802 axios "^0.21.1"
18031803 babel-jest "^25.5.1"
You can’t perform that action at this time.
0 commit comments