@le-space/ui 0.6.29 → 0.6.31
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 +5 -3
- package/shared/index.d.ts +1 -1
- package/shared/index.js +5 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@le-space/ui",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.31",
|
|
4
4
|
"description": "Floating Aleph Relay Button UI components for Svelte and React.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -44,8 +44,8 @@
|
|
|
44
44
|
"url": "https://github.com/NiKrause/relay-button/issues"
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@le-space/browser": "0.6.
|
|
48
|
-
"@le-space/core": "0.6.
|
|
47
|
+
"@le-space/browser": "0.6.31",
|
|
48
|
+
"@le-space/core": "0.6.31",
|
|
49
49
|
"viem": "^2.53.1"
|
|
50
50
|
},
|
|
51
51
|
"peerDependencies": {
|
package/react/index.js
CHANGED
|
@@ -43,7 +43,7 @@ var RECENT_INSTANCE_RUNTIME_GRACE_MS = 10 * 60 * 1e3;
|
|
|
43
43
|
var DEPLOYMENT_PENDING_WARNING_MS = 3 * 60 * 1e3;
|
|
44
44
|
|
|
45
45
|
// src/shared/package-version.ts
|
|
46
|
-
var UI_PACKAGE_VERSION = "0.6.
|
|
46
|
+
var UI_PACKAGE_VERSION = "0.6.31";
|
|
47
47
|
|
|
48
48
|
// src/shared/format.ts
|
|
49
49
|
function shortHash(value, head = 8, tail = 6) {
|
|
@@ -2491,7 +2491,7 @@ var DEFAULT_ALEPH_API_HOST3 = "https://api.aleph.im";
|
|
|
2491
2491
|
var DEFAULT_ALEPH_BOOTSTRAP_CHANNEL = "simple-todo";
|
|
2492
2492
|
var DEFAULT_ALEPH_BOOTSTRAP_REF = "simple-todo-bootstrap";
|
|
2493
2493
|
var DEFAULT_ALEPH_BOOTSTRAP_POST_TYPE = "relay-bootstrap-v2";
|
|
2494
|
-
var DEFAULT_BOOTSTRAP_MAX_AGE_MS =
|
|
2494
|
+
var DEFAULT_BOOTSTRAP_MAX_AGE_MS = 24 * 60 * 60 * 1e3;
|
|
2495
2495
|
var DEFAULT_BOOTSTRAP_PAGINATION = 50;
|
|
2496
2496
|
var DEFAULT_BOOTSTRAP_COMPACT_MULTIADDR_LIMIT = 3;
|
|
2497
2497
|
var RELAY_BOOTSTRAP_SIGNATURE_SCHEME = "personal_sign";
|
|
@@ -5916,7 +5916,9 @@ var SponsorRelayController = class {
|
|
|
5916
5916
|
}
|
|
5917
5917
|
const linkedRegistrationHashes = Array.from(
|
|
5918
5918
|
new Set(
|
|
5919
|
-
this.state.bootstrapRegistrations.filter(
|
|
5919
|
+
this.state.bootstrapRegistrations.filter(
|
|
5920
|
+
(entry) => entry.instanceItemHash === instanceHash && entry.address?.toLowerCase() === this.state.wallet.address?.toLowerCase()
|
|
5921
|
+
).map(
|
|
5920
5922
|
(entry) => entry.messageHash?.trim() ?? entry.itemHash?.trim() ?? entry.hash?.trim() ?? null
|
|
5921
5923
|
).filter((value) => Boolean(value))
|
|
5922
5924
|
)
|
package/shared/index.d.ts
CHANGED
|
@@ -332,7 +332,7 @@ declare const STALE_INSTANCE_ALLOCATION_COOLDOWN_MS: number;
|
|
|
332
332
|
declare const RECENT_INSTANCE_RUNTIME_GRACE_MS: number;
|
|
333
333
|
declare const DEPLOYMENT_PENDING_WARNING_MS: number;
|
|
334
334
|
|
|
335
|
-
declare const UI_PACKAGE_VERSION = "0.6.
|
|
335
|
+
declare const UI_PACKAGE_VERSION = "0.6.31";
|
|
336
336
|
|
|
337
337
|
interface RootfsRequiredPortForward {
|
|
338
338
|
port: number;
|
package/shared/index.js
CHANGED
|
@@ -42,7 +42,7 @@ var RECENT_INSTANCE_RUNTIME_GRACE_MS = 10 * 60 * 1e3;
|
|
|
42
42
|
var DEPLOYMENT_PENDING_WARNING_MS = 3 * 60 * 1e3;
|
|
43
43
|
|
|
44
44
|
// src/shared/package-version.ts
|
|
45
|
-
var UI_PACKAGE_VERSION = "0.6.
|
|
45
|
+
var UI_PACKAGE_VERSION = "0.6.31";
|
|
46
46
|
|
|
47
47
|
// src/shared/format.ts
|
|
48
48
|
function shortHash(value, head = 8, tail = 6) {
|
|
@@ -2490,7 +2490,7 @@ var DEFAULT_ALEPH_API_HOST3 = "https://api.aleph.im";
|
|
|
2490
2490
|
var DEFAULT_ALEPH_BOOTSTRAP_CHANNEL = "simple-todo";
|
|
2491
2491
|
var DEFAULT_ALEPH_BOOTSTRAP_REF = "simple-todo-bootstrap";
|
|
2492
2492
|
var DEFAULT_ALEPH_BOOTSTRAP_POST_TYPE = "relay-bootstrap-v2";
|
|
2493
|
-
var DEFAULT_BOOTSTRAP_MAX_AGE_MS =
|
|
2493
|
+
var DEFAULT_BOOTSTRAP_MAX_AGE_MS = 24 * 60 * 60 * 1e3;
|
|
2494
2494
|
var DEFAULT_BOOTSTRAP_PAGINATION = 50;
|
|
2495
2495
|
var DEFAULT_BOOTSTRAP_COMPACT_MULTIADDR_LIMIT = 3;
|
|
2496
2496
|
var RELAY_BOOTSTRAP_SIGNATURE_SCHEME = "personal_sign";
|
|
@@ -5915,7 +5915,9 @@ var SponsorRelayController = class {
|
|
|
5915
5915
|
}
|
|
5916
5916
|
const linkedRegistrationHashes = Array.from(
|
|
5917
5917
|
new Set(
|
|
5918
|
-
this.state.bootstrapRegistrations.filter(
|
|
5918
|
+
this.state.bootstrapRegistrations.filter(
|
|
5919
|
+
(entry) => entry.instanceItemHash === instanceHash && entry.address?.toLowerCase() === this.state.wallet.address?.toLowerCase()
|
|
5920
|
+
).map(
|
|
5919
5921
|
(entry) => entry.messageHash?.trim() ?? entry.itemHash?.trim() ?? entry.hash?.trim() ?? null
|
|
5920
5922
|
).filter((value) => Boolean(value))
|
|
5921
5923
|
)
|