@le-space/ui 0.3.14 → 0.3.16
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/package.json +3 -3
- package/react/index.js +3 -3
- package/shared/index.d.ts +1 -1
- package/shared/index.js +3 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@le-space/ui",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.16",
|
|
4
4
|
"description": "Floating Aleph sponsor relay UI components for Svelte and React.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -36,8 +36,8 @@
|
|
|
36
36
|
"access": "public"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@le-space/browser": "0.3.
|
|
40
|
-
"@le-space/core": "0.3.
|
|
39
|
+
"@le-space/browser": "0.3.16",
|
|
40
|
+
"@le-space/core": "0.3.16",
|
|
41
41
|
"viem": "^2.38.5"
|
|
42
42
|
},
|
|
43
43
|
"peerDependencies": {
|
package/react/index.js
CHANGED
|
@@ -39,7 +39,7 @@ var RECENT_INSTANCE_RUNTIME_GRACE_MS = 10 * 60 * 1e3;
|
|
|
39
39
|
var DEPLOYMENT_PENDING_WARNING_MS = 3 * 60 * 1e3;
|
|
40
40
|
|
|
41
41
|
// src/shared/package-version.ts
|
|
42
|
-
var UI_PACKAGE_VERSION = "0.3.
|
|
42
|
+
var UI_PACKAGE_VERSION = "0.3.16";
|
|
43
43
|
|
|
44
44
|
// src/shared/format.ts
|
|
45
45
|
function shortHash(value, head = 8, tail = 6) {
|
|
@@ -1482,7 +1482,7 @@ function appendDeploymentTokenToSshPublicKey(sshPublicKey, ownerAddress, deploym
|
|
|
1482
1482
|
const normalized = normalizeSshPublicKey(sshPublicKey);
|
|
1483
1483
|
if (!normalized) return normalized;
|
|
1484
1484
|
const [algorithm = "", key = ""] = normalized.split(/\s+/, 3);
|
|
1485
|
-
const owner = ownerAddress.trim()
|
|
1485
|
+
const owner = ownerAddress.trim();
|
|
1486
1486
|
const token = deploymentToken.trim();
|
|
1487
1487
|
if (!algorithm || !key || !owner || !token) {
|
|
1488
1488
|
return normalized;
|
|
@@ -3535,7 +3535,7 @@ var SponsorRelayController = class {
|
|
|
3535
3535
|
});
|
|
3536
3536
|
const relayMetadata = await fetchRelayMetadataForRuntime({
|
|
3537
3537
|
runtime: args.runtime,
|
|
3538
|
-
fetch,
|
|
3538
|
+
fetch: (url, init) => fetch(url, init),
|
|
3539
3539
|
preferSecureMetadata: profile === "uc-go-peer",
|
|
3540
3540
|
attempts: 80,
|
|
3541
3541
|
delayMs: 3e3,
|
package/shared/index.d.ts
CHANGED
|
@@ -304,7 +304,7 @@ declare const STALE_INSTANCE_ALLOCATION_COOLDOWN_MS: number;
|
|
|
304
304
|
declare const RECENT_INSTANCE_RUNTIME_GRACE_MS: number;
|
|
305
305
|
declare const DEPLOYMENT_PENDING_WARNING_MS: number;
|
|
306
306
|
|
|
307
|
-
declare const UI_PACKAGE_VERSION = "0.3.
|
|
307
|
+
declare const UI_PACKAGE_VERSION = "0.3.16";
|
|
308
308
|
|
|
309
309
|
interface RootfsRequiredPortForward {
|
|
310
310
|
port: number;
|
package/shared/index.js
CHANGED
|
@@ -38,7 +38,7 @@ var RECENT_INSTANCE_RUNTIME_GRACE_MS = 10 * 60 * 1e3;
|
|
|
38
38
|
var DEPLOYMENT_PENDING_WARNING_MS = 3 * 60 * 1e3;
|
|
39
39
|
|
|
40
40
|
// src/shared/package-version.ts
|
|
41
|
-
var UI_PACKAGE_VERSION = "0.3.
|
|
41
|
+
var UI_PACKAGE_VERSION = "0.3.16";
|
|
42
42
|
|
|
43
43
|
// src/shared/format.ts
|
|
44
44
|
function shortHash(value, head = 8, tail = 6) {
|
|
@@ -1481,7 +1481,7 @@ function appendDeploymentTokenToSshPublicKey(sshPublicKey, ownerAddress, deploym
|
|
|
1481
1481
|
const normalized = normalizeSshPublicKey(sshPublicKey);
|
|
1482
1482
|
if (!normalized) return normalized;
|
|
1483
1483
|
const [algorithm = "", key = ""] = normalized.split(/\s+/, 3);
|
|
1484
|
-
const owner = ownerAddress.trim()
|
|
1484
|
+
const owner = ownerAddress.trim();
|
|
1485
1485
|
const token = deploymentToken.trim();
|
|
1486
1486
|
if (!algorithm || !key || !owner || !token) {
|
|
1487
1487
|
return normalized;
|
|
@@ -3534,7 +3534,7 @@ var SponsorRelayController = class {
|
|
|
3534
3534
|
});
|
|
3535
3535
|
const relayMetadata = await fetchRelayMetadataForRuntime({
|
|
3536
3536
|
runtime: args.runtime,
|
|
3537
|
-
fetch,
|
|
3537
|
+
fetch: (url, init) => fetch(url, init),
|
|
3538
3538
|
preferSecureMetadata: profile === "uc-go-peer",
|
|
3539
3539
|
attempts: 80,
|
|
3540
3540
|
delayMs: 3e3,
|