@arcblock/ux 2.8.20 → 2.8.22
Sign up to get free protection for your applications and to get access to all the features.
package/es/NFTDisplay/index.js
CHANGED
@@ -129,7 +129,7 @@ function NFTDisplay({
|
|
129
129
|
if (!urlObj.searchParams.has('assetId')) {
|
130
130
|
urlObj.searchParams.append('assetId', address);
|
131
131
|
}
|
132
|
-
if (!urlObj.searchParams.has('vcId')) {
|
132
|
+
if (!urlObj.searchParams.has('vcId') && vcId) {
|
133
133
|
urlObj.searchParams.append('vcId', vcId);
|
134
134
|
}
|
135
135
|
const url = urlObj.href;
|
package/lib/NFTDisplay/index.js
CHANGED
@@ -148,7 +148,7 @@ function NFTDisplay(_ref) {
|
|
148
148
|
if (!urlObj.searchParams.has('assetId')) {
|
149
149
|
urlObj.searchParams.append('assetId', address);
|
150
150
|
}
|
151
|
-
if (!urlObj.searchParams.has('vcId')) {
|
151
|
+
if (!urlObj.searchParams.has('vcId') && vcId) {
|
152
152
|
urlObj.searchParams.append('vcId', vcId);
|
153
153
|
}
|
154
154
|
const url = urlObj.href;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@arcblock/ux",
|
3
|
-
"version": "2.8.
|
3
|
+
"version": "2.8.22",
|
4
4
|
"description": "Common used react components for arcblock products",
|
5
5
|
"keywords": [
|
6
6
|
"react",
|
@@ -23,7 +23,9 @@
|
|
23
23
|
"build:lib": "babel src --out-dir lib --copy-files --no-copy-ignored",
|
24
24
|
"build:es": "babel --config-file ./babel.config.es.js src --out-dir es --copy-files --no-copy-ignored",
|
25
25
|
"autoexports": "node tools/auto-exports.js",
|
26
|
-
"watch": "babel src --out-dir lib -w --copy-files --no-copy-ignored",
|
26
|
+
"watch:lib": "babel src --out-dir lib -w --copy-files --no-copy-ignored",
|
27
|
+
"watch:es": "babel --config-file ./babel.config.es.js src --out-dir lib -w --copy-files --no-copy-ignored",
|
28
|
+
"watch": "npm run watch:lib",
|
27
29
|
"precommit": "CI=1 npm run lint",
|
28
30
|
"prepush": "CI=1 npm run lint",
|
29
31
|
"prepublish": "npm run build",
|
@@ -322,11 +324,11 @@
|
|
322
324
|
"peerDependencies": {
|
323
325
|
"react": ">=18.1.0"
|
324
326
|
},
|
325
|
-
"gitHead": "
|
327
|
+
"gitHead": "9a9bd48a435a939a1ef443fe75dbc5e955b4e811",
|
326
328
|
"dependencies": {
|
327
329
|
"@arcblock/did-motif": "^1.1.13",
|
328
|
-
"@arcblock/icons": "^2.8.
|
329
|
-
"@arcblock/react-hooks": "^2.8.
|
330
|
+
"@arcblock/icons": "^2.8.22",
|
331
|
+
"@arcblock/react-hooks": "^2.8.22",
|
330
332
|
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
|
331
333
|
"@emotion/react": "^11.10.4",
|
332
334
|
"@emotion/styled": "^11.10.4",
|
package/src/NFTDisplay/index.js
CHANGED