Skip to content

Commit e4eecf8

Browse files
authored
Merge pull request #657 from Psychedelic/release/0.6.1.1
Release/0.6.1.1
2 parents f5c34c9 + f2cace5 commit e4eecf8

File tree

3 files changed

+14
-13
lines changed

3 files changed

+14
-13
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@
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",

source/views/Extension/Views/AddNFT/components/CustomNFT.jsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,18 +11,19 @@ import {
1111
Dialog,
1212
Select,
1313
} from '@components';
14+
import { standards } from '@psychedelic/dab-js';
1415
import { validateCanisterId } from '@shared/utils/ids';
1516
import { HANDLER_TYPES, sendMessage } from '@background/Keyring';
1617
import extension from 'extensionizer';
1718
import { customTokensUrl } from '@shared/constants/urls';
1819
import useStyles from '../styles';
1920

20-
const FUNGIBLE_STANDARDS = { DIP721v2: 'DIP721v2', };
21+
const FUNGIBLE_STANDARDS = { DIP721: standards.NFT.dip721, };
2122

2223
const 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);

yarn.lock

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1773,10 +1773,10 @@
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"
@@ -1787,17 +1787,17 @@
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"

0 commit comments

Comments
 (0)