@blocklet/did-domain-react 0.3.59 → 0.3.61
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/buy.js +1 -0
- package/lib/buy.js +1 -0
- package/package.json +6 -6
- package/src/buy.tsx +1 -0
package/es/buy.js
CHANGED
|
@@ -100,6 +100,7 @@ function Component({ delegatee, delegateePk, didDomainURL, locale, title, onSucc
|
|
|
100
100
|
const urlObj = new URL(baseURL);
|
|
101
101
|
urlObj.searchParams.set("sessionId", sessionId);
|
|
102
102
|
urlObj.searchParams.set("locale", locale);
|
|
103
|
+
urlObj.searchParams.set("embed", "1");
|
|
103
104
|
popup.current = openPopup(urlObj.toString());
|
|
104
105
|
const timer = setInterval(() => {
|
|
105
106
|
if (popup.current?.closed) {
|
package/lib/buy.js
CHANGED
|
@@ -140,6 +140,7 @@ function Component({
|
|
|
140
140
|
const urlObj = new URL(baseURL);
|
|
141
141
|
urlObj.searchParams.set("sessionId", sessionId);
|
|
142
142
|
urlObj.searchParams.set("locale", locale);
|
|
143
|
+
urlObj.searchParams.set("embed", "1");
|
|
143
144
|
popup.current = (0, _util.openPopup)(urlObj.toString());
|
|
144
145
|
const timer = setInterval(() => {
|
|
145
146
|
if (popup.current?.closed) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@blocklet/did-domain-react",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.61",
|
|
4
4
|
"description": "Reusable react components for DID Domain",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -78,8 +78,8 @@
|
|
|
78
78
|
"devDependencies": {
|
|
79
79
|
"@arcblock/eslint-config-ts": "^0.3.3",
|
|
80
80
|
"@babel/cli": "^7.26.4",
|
|
81
|
-
"@babel/core": "^7.26.
|
|
82
|
-
"@babel/preset-env": "^7.26.
|
|
81
|
+
"@babel/core": "^7.26.9",
|
|
82
|
+
"@babel/preset-env": "^7.26.9",
|
|
83
83
|
"@babel/preset-react": "^7.26.3",
|
|
84
84
|
"@types/react": "^18.3.18",
|
|
85
85
|
"@types/react-dom": "^18.3.5",
|
|
@@ -89,18 +89,18 @@
|
|
|
89
89
|
"glob": "^10.4.5",
|
|
90
90
|
"import-sort-style-module": "^6.0.0",
|
|
91
91
|
"jest": "^29.7.0",
|
|
92
|
-
"prettier": "^3.5.
|
|
92
|
+
"prettier": "^3.5.1",
|
|
93
93
|
"prettier-plugin-import-sort": "^0.0.7",
|
|
94
94
|
"react": "18.2.0",
|
|
95
95
|
"react-dom": "18.2.0",
|
|
96
96
|
"rollup-plugin-node-builtins": "^2.1.2",
|
|
97
97
|
"storybook": "^7.6.20",
|
|
98
98
|
"ts-jest": "^29.2.5",
|
|
99
|
-
"type-fest": "^4.
|
|
99
|
+
"type-fest": "^4.35.0",
|
|
100
100
|
"typescript": "^4.9.5",
|
|
101
101
|
"unbuild": "^2.0.0",
|
|
102
102
|
"vite-plugin-babel": "^1.3.0",
|
|
103
103
|
"vite-plugin-node-polyfills": "^0.21.0"
|
|
104
104
|
},
|
|
105
|
-
"gitHead": "
|
|
105
|
+
"gitHead": "3a90fada347a8ab7dd8b0f33c33646b75491d236"
|
|
106
106
|
}
|
package/src/buy.tsx
CHANGED
|
@@ -132,6 +132,7 @@ function Component({ delegatee, delegateePk, didDomainURL, locale, title, onSucc
|
|
|
132
132
|
|
|
133
133
|
urlObj.searchParams.set('sessionId', sessionId);
|
|
134
134
|
urlObj.searchParams.set('locale', locale);
|
|
135
|
+
urlObj.searchParams.set('embed', '1');
|
|
135
136
|
popup.current = openPopup(urlObj.toString());
|
|
136
137
|
|
|
137
138
|
const timer = setInterval(() => {
|