Skip to content

Commit 3b9733c

Browse files
committed
fix(network): remove elysia from dependencies. It's casuing var import_memoirist = require("memoirist") error
1 parent 9d60bfa commit 3b9733c

File tree

4 files changed

+3173
-9385
lines changed

4 files changed

+3173
-9385
lines changed

packages/networks/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
"@noble/curves": "^1.8.1",
2424
"@wagmi/core": "^2.17.1",
2525
"bs58": "^6.0.0",
26-
"elysia": "^1.2.25",
2726
"ethers": "^5.7.1",
2827
"node-localstorage": "^3.0.5",
2928
"pino": "^9.6.0",
Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import { t } from 'elysia';
21
import { z } from 'zod';
32
import {
43
toBigInt,
@@ -19,18 +18,3 @@ export const ClaimRequestSchema = z.object({
1918
// 2. Transformed/Validated Type - this is the type after the user input has been transformed and validated. Usually used for smart contract calls or external API calls (such as communication with nodes). (e.g., BigInt, etc.)
2019
export type ClaimRequestRaw = z.input<typeof ClaimRequestSchema>;
2120
export type ClaimRequestTransformed = z.infer<typeof ClaimRequestSchema>;
22-
23-
// ✨ Elysia Schema
24-
export const tClaimRequestSchema = t.Object({
25-
derivedKeyId: t.String(),
26-
signatures: t.Array(
27-
t.Object({
28-
r: t.String(),
29-
s: t.String(),
30-
v: t.Number(),
31-
})
32-
),
33-
authMethodType: t.Number(),
34-
authMethodId: t.String(),
35-
authMethodPubkey: t.String(),
36-
});

packages/networks/src/networks/vNaga/shared/managers/LitChainClient/schemas/MintRequestSchema.ts

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import { t } from 'elysia';
21
import { z } from 'zod';
32
import {
43
toBigInt,
@@ -24,14 +23,3 @@ export const MintRequestSchema = z.object({
2423
// 2. Transformed/Validated Type - this is the type after the user input has been transformed and validated. Usually used for smart contract calls or external API calls (such as communication with nodes). (e.g., BigInt, etc.)
2524
export type MintRequestRaw = z.input<typeof MintRequestSchema>;
2625
export type MintRequestTransformed = z.infer<typeof MintRequestSchema>;
27-
28-
// ✨ Elysia Schema
29-
export const tMintRequestSchema = t.Object({
30-
keyType: t.Number(),
31-
permittedAuthMethodTypes: t.Array(t.Number()),
32-
permittedAuthMethodIds: t.Array(t.String()),
33-
permittedAuthMethodPubkeys: t.Array(t.String()),
34-
permittedAuthMethodScopes: t.Array(t.Array(t.Number())),
35-
addPkpEthAddressAsPermittedAddress: t.Boolean(),
36-
sendPkpToItself: t.Boolean(),
37-
});

0 commit comments

Comments
 (0)