@kheopskit/core 0.0.20 → 0.0.22

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.
@@ -1,14 +0,0 @@
1
- import type { Wallet } from "@/api";
2
-
3
- export const sortWallets = (w1: Wallet, w2: Wallet) => {
4
- // Sort by platform first: polkadot first, then ethereum
5
- if (w1.platform !== w2.platform) {
6
- return w1.platform === "polkadot" ? -1 : 1;
7
- }
8
-
9
- // Sort by name, but Talisman first
10
- if (w1.name.toLowerCase() === "talisman") return -1;
11
- if (w2.name.toLowerCase() === "talisman") return 1;
12
-
13
- return w1.name.localeCompare(w2.name);
14
- };
@@ -1,6 +0,0 @@
1
- export const throwAfter = (ms: number, message?: string) =>
2
- new Promise<never>((_, reject) => {
3
- setTimeout(() => {
4
- reject(new Error(message ?? "Timeout"));
5
- }, ms);
6
- });
package/tsconfig.json DELETED
@@ -1,10 +0,0 @@
1
- {
2
- "extends": "../../tsconfig.base",
3
- "include": ["src", "tests"],
4
- "compilerOptions": {
5
- "baseUrl": "src",
6
- "paths": {
7
- "@/*": ["*"]
8
- }
9
- }
10
- }