Skip to content

Commit

Permalink
Clean up unused utils and dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
ken-futureverse committed Nov 3, 2023
1 parent 900219d commit 35e027a
Show file tree
Hide file tree
Showing 16 changed files with 247 additions and 2,095 deletions.
2 changes: 1 addition & 1 deletion examples/substrate/use-marketplace/src/auction.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { formatEventData } from "@trne/utils/formatEventData";
import { XRP_ASSET_ID } from "@trne/utils/porcini-assets";
import { sendExtrinsic } from "@trne/utils/sendExtrinsic";
import { withChainApi } from "@trne/utils/withChainApi";
import assert from "assert";
import assert from "node:assert";

interface OwnedTokens {
0: number;
Expand Down
7 changes: 1 addition & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
"dependencies": {
"envalid": "^7.3.1",
"ethers": "^5.7.2",
"yargs": "^17.7.2",
"@polkadot/api": "^10.9.1",
"@polkadot/keyring": "^12.3.2",
"@polkadot/util": "^12.3.2",
Expand All @@ -27,16 +26,12 @@
"@therootnetwork/api-types": "^1.0.0",
"@trivago/prettier-plugin-sort-imports": "^4.1.1",
"@types/node": "^20.2.1",
"@types/yargs": "^17.0.24",
"@typescript-eslint/eslint-plugin": "^5.59.6",
"@typescript-eslint/parser": "^5.59.6",
"eslint": "^8.40.0",
"prettier": "^2.8.8",
"ts-node": "^10.9.1",
"tsconfig-paths": "^4.2.0",
"tsx": "^3.12.10",
"typescript": "^5.0.4",
"xrpl": "^2.7.0",
"yargs": "^17.7.2"
"typescript": "^5.0.4"
}
}
8 changes: 0 additions & 8 deletions packages/utils/src/collectArgs.ts

This file was deleted.

8 changes: 0 additions & 8 deletions packages/utils/src/collectArrayFromString.ts

This file was deleted.

41 changes: 0 additions & 41 deletions packages/utils/src/createExtrinsicPayload.ts

This file was deleted.

32 changes: 0 additions & 32 deletions packages/utils/src/executeGraphQuery.ts

This file was deleted.

62 changes: 0 additions & 62 deletions packages/utils/src/fetchTRNEvent.ts

This file was deleted.

2 changes: 1 addition & 1 deletion packages/utils/src/filterExtrinsicEvents.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { SubmittableResultValue } from "@polkadot/api/types";
import { EventRecord } from "@polkadot/types/interfaces";
import assert from "assert";
import assert from "node:assert";

import { type EventData, formatEventData } from "./formatEventData";

Expand Down
15 changes: 0 additions & 15 deletions packages/utils/src/getAccessToken.ts

This file was deleted.

6 changes: 0 additions & 6 deletions packages/utils/src/getSignerWallet.ts

This file was deleted.

37 changes: 0 additions & 37 deletions packages/utils/src/getXRPTxs.ts

This file was deleted.

17 changes: 0 additions & 17 deletions packages/utils/src/getXrplClient.ts

This file was deleted.

52 changes: 0 additions & 52 deletions packages/utils/src/sendExtrinsicWithSignature.ts

This file was deleted.

3 changes: 0 additions & 3 deletions packages/utils/src/sleep.ts

This file was deleted.

Loading

0 comments on commit 35e027a

Please sign in to comment.