Skip to content

Commit 0473f61

Browse files
committed
refactor(networks): add a shared folder for all network envs
1 parent 986708e commit 0473f61

File tree

327 files changed

+2981
-46078
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

327 files changed

+2981
-46078
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"link-all": "for dir in packages/*/; do echo \"Linking in $dir\"; (cd \"$dir\" && bun link) || { echo \"ERROR: Failed to link in $dir\"; exit 1; }; done",
2525
"unlink-all": "for dir in packages/*/; do echo \"Unlinking in $dir\"; (cd \"$dir\" && bun unlink) || { echo \"ERROR: Failed to unlink in $dir\"; exit 1; }; done",
2626
"auth-services": "cd packages/auth-services && bun run start",
27-
"test:e2e": "bun test ./e2e/src/e2e.spec.ts --timeout 50000000 -t ",
27+
"test:e2e": "bun test ./e2e/src/e2e.spec.ts --timeout 50000000 -t",
2828
"artillery:init": "bun run ./e2e/artillery/src/init.ts",
2929
"artillery:balance-status": "LOG_LEVEL=silent bun run ./e2e/artillery/src/balance-status.ts",
3030
"artillery:pkp-sign": "DEBUG_HTTP=true LOG_LEVEL=silent dotenvx run --env-file=.env -- sh -c 'artillery run ./e2e/artillery/configs/pkp-sign.yml ${ARTILLERY_KEY:+--record --key $ARTILLERY_KEY}'",

packages/networks/src/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ export type LitNetworkModule =
3434
// | DatilLocalModule
3535

3636
// ----- types
37-
export type { ConnectionInfo } from './networks/vNaga/LitChainClient/types';
37+
export type { ConnectionInfo } from './networks/vNaga/shared/managers/LitChainClient/types';
3838
export type { PKPStorageProvider } from './storage/types';
3939

4040
// Schema types
41-
export type { MintRequestRaw } from './networks/vNaga/LitChainClient/schemas/MintRequestSchema';
41+
export type { MintRequestRaw } from './networks/vNaga/shared/managers/LitChainClient/schemas/MintRequestSchema';
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
This directory contains shared code for all networks.

packages/networks/src/networks/shared/helpers/createRandomHexString.ts

Lines changed: 0 additions & 9 deletions
This file was deleted.

packages/networks/src/networks/shared/helpers/createRequestId.ts renamed to packages/networks/src/networks/shared/utils/createRequestId.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
/**
2-
*
32
* use the one in networks package
43
*/
54
export const createRequestId = () => {

packages/networks/src/networks/types.d.ts

Lines changed: 0 additions & 31 deletions
This file was deleted.

packages/networks/src/networks/types.js

Lines changed: 0 additions & 3 deletions
This file was deleted.

packages/networks/src/networks/types.js.map

Lines changed: 0 additions & 1 deletion
This file was deleted.

packages/networks/src/networks/vNaga/LitChainClient/_config.ts

Lines changed: 0 additions & 15 deletions
This file was deleted.

packages/networks/src/networks/vNaga/LitChainClient/index.ts

Lines changed: 0 additions & 4 deletions
This file was deleted.

0 commit comments

Comments
 (0)