@blocklet/launcher-workflow 2.2.34 → 2.2.35
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.
|
@@ -59,7 +59,7 @@ export default function LaunchDedicated({
|
|
|
59
59
|
const handleInstance = instance => {
|
|
60
60
|
if (instance.status >= INSTANCE_STATUS.running) {
|
|
61
61
|
const url = getLaunchBlockletUrl({
|
|
62
|
-
serverUrl: instance.
|
|
62
|
+
serverUrl: instance.adminURL,
|
|
63
63
|
blockletMetaUrl,
|
|
64
64
|
locale,
|
|
65
65
|
chainHost: window.blocklet?.CHAIN_HOST,
|
|
@@ -32,7 +32,7 @@ export default function LaunchServerless({
|
|
|
32
32
|
} = await api.post(`/serverless/${nftId}/allocate?sessionId=${sessionId}`);
|
|
33
33
|
setTimeout(() => {
|
|
34
34
|
window.location = getLaunchBlockletUrl({
|
|
35
|
-
serverUrl: instance.
|
|
35
|
+
serverUrl: instance.adminURL,
|
|
36
36
|
blockletMetaUrl: searchParams.get('blocklet_meta_url'),
|
|
37
37
|
locale,
|
|
38
38
|
launchType: 'serverless',
|
|
@@ -74,7 +74,7 @@ function LaunchDedicated(_ref) {
|
|
|
74
74
|
if (instance.status >= _constant.INSTANCE_STATUS.running) {
|
|
75
75
|
var _window$blocklet;
|
|
76
76
|
const url = (0, _util.getLaunchBlockletUrl)({
|
|
77
|
-
serverUrl: instance.
|
|
77
|
+
serverUrl: instance.adminURL,
|
|
78
78
|
blockletMetaUrl,
|
|
79
79
|
locale,
|
|
80
80
|
chainHost: (_window$blocklet = window.blocklet) === null || _window$blocklet === void 0 ? void 0 : _window$blocklet.CHAIN_HOST,
|
|
@@ -42,7 +42,7 @@ function LaunchServerless(_ref) {
|
|
|
42
42
|
setTimeout(() => {
|
|
43
43
|
var _window$blocklet;
|
|
44
44
|
window.location = (0, _util.getLaunchBlockletUrl)({
|
|
45
|
-
serverUrl: instance.
|
|
45
|
+
serverUrl: instance.adminURL,
|
|
46
46
|
blockletMetaUrl: searchParams.get('blocklet_meta_url'),
|
|
47
47
|
locale,
|
|
48
48
|
launchType: 'serverless',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@blocklet/launcher-workflow",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.35",
|
|
4
4
|
"description": "Purchase components for Launcher UI",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -46,9 +46,9 @@
|
|
|
46
46
|
"@arcblock/license": "^2.8.11",
|
|
47
47
|
"@arcblock/react-hooks": "^2.8.11",
|
|
48
48
|
"@arcblock/ux": "^2.8.11",
|
|
49
|
-
"@blocklet/launcher-layout": "2.2.
|
|
50
|
-
"@blocklet/launcher-util": "2.2.
|
|
51
|
-
"@blocklet/launcher-ux": "2.2.
|
|
49
|
+
"@blocklet/launcher-layout": "2.2.35",
|
|
50
|
+
"@blocklet/launcher-util": "2.2.35",
|
|
51
|
+
"@blocklet/launcher-ux": "2.2.35",
|
|
52
52
|
"@blocklet/payment": "^1.13.55",
|
|
53
53
|
"@emotion/react": "^11.11.1",
|
|
54
54
|
"@emotion/styled": "^11.11.0",
|
|
@@ -101,5 +101,5 @@
|
|
|
101
101
|
"require": "./lib/locales/index.js"
|
|
102
102
|
}
|
|
103
103
|
},
|
|
104
|
-
"gitHead": "
|
|
104
|
+
"gitHead": "96ef8a18cfb93e28d9e03fa3f529916a70ed44b2"
|
|
105
105
|
}
|