Skip to content

Commit

Permalink
remove buffer and bring @types/node
Browse files Browse the repository at this point in the history
  • Loading branch information
arobsn committed Jul 2, 2024
1 parent 7e7cc54 commit 2175d17
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 32 deletions.
7 changes: 1 addition & 6 deletions biome.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
{
"$schema": "https://biomejs.dev/schemas/1.8.2/schema.json",
"files": {
"ignore": [
"**/coverage/*",
"**/dist/*",
"**/node_modules/*",
"**/package.json"
]
"ignore": ["**/coverage/*", "**/dist/*", "**/node_modules/*", "**/package.json"]
},
"organizeImports": {
"enabled": true
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,13 +60,13 @@
"@fleet-sdk/common": "^0.4.1",
"@fleet-sdk/core": "0.5.0",
"@fleet-sdk/crypto": "^0.5.0",
"bip32-path": "^0.4.2",
"buffer": "^6.0.3"
"bip32-path": "^0.4.2"
},
"devDependencies": {
"@biomejs/biome": "^1.8.3",
"@ledgerhq/hw-transport": "^6.31.0",
"@ledgerhq/hw-transport-mocker": "^6.29.0",
"@types/node": "^20.14.9",
"@vitest/coverage-v8": "^1.6.0",
"open-cli": "^8.0.0",
"tsup": "^8.1.0",
Expand Down
23 changes: 4 additions & 19 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion src/interactions/attestInput.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import { COMMAND, MAX_DATA_LENGTH, type Device } from "../device";
import type { AttestedBoxFrame, UnsignedBox, Token } from "../types/public";
import type { DeviceResponse } from "../types/internal";
import { AttestedBox } from "../types/attestedBox";
import { Buffer } from "buffer";
import { ByteWriter } from "../serialization/byteWriter";
import { chunk } from "@fleet-sdk/common";
import { hex } from "@fleet-sdk/crypto";
Expand Down
1 change: 0 additions & 1 deletion src/interactions/signTx.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import { ErgoAddress, type Network } from "@fleet-sdk/core";
import type { AttestedTransaction } from "../types/internal";
import type { AttestedBox } from "../types/attestedBox";
import { hex } from "@fleet-sdk/crypto";
import { Buffer } from "buffer";
import { ByteWriter } from "../serialization/byteWriter";
import { chunk } from "@fleet-sdk/common";
import { EMPTY_BYTES } from "../serialization/utils";
Expand Down
4 changes: 1 addition & 3 deletions src/serialization/byteWriter.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
import bip32Path from "bip32-path";
import { assert, ensureBigInt } from "@fleet-sdk/common";
import { type Coder, hex } from "@fleet-sdk/crypto";
import { Buffer } from "buffer";
import { hex } from "@fleet-sdk/crypto";
import { isErgoPath, pathToArray } from "./utils";

export class ByteWriter {
Expand Down

0 comments on commit 2175d17

Please sign in to comment.