Skip to content

Commit

Permalink
chore(transport, trezor-user-env-link): remove cross-fetch
Browse files Browse the repository at this point in the history
  • Loading branch information
komret authored and tomasklim committed Mar 5, 2024
1 parent 22afc71 commit e489dce
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 7 deletions.
1 change: 0 additions & 1 deletion packages/transport/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@
"@trezor/protobuf": "workspace:*",
"@trezor/protocol": "workspace:*",
"@trezor/utils": "workspace:*",
"cross-fetch": "^4.0.0",
"json-stable-stringify": "^1.1.1",
"long": "^4.0.0",
"protobufjs": "7.2.6",
Expand Down
2 changes: 0 additions & 2 deletions packages/transport/src/utils/bridgeApiCall.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import fetch from 'cross-fetch';

import { success, error, unknownError } from './result';

import * as ERRORS from '../errors';
Expand Down
1 change: 0 additions & 1 deletion packages/trezor-user-env-link/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
},
"dependencies": {
"@trezor/utils": "workspace:*",
"cross-fetch": "^4.0.0",
"ws": "^8.16.0"
}
}
1 change: 0 additions & 1 deletion packages/trezor-user-env-link/src/websocket-client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

import WebSocket from 'ws';
import { EventEmitter } from 'events';
import fetch from 'cross-fetch';

import { createDeferred, Deferred } from '@trezor/utils';

Expand Down
2 changes: 0 additions & 2 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -10553,7 +10553,6 @@ __metadata:
"@types/bytebuffer": "npm:^5.0.48"
"@types/sharedworker": "npm:^0.0.111"
"@types/w3c-web-usb": "npm:^1.0.10"
cross-fetch: "npm:^4.0.0"
jest: "npm:29.7.0"
json-stable-stringify: "npm:^1.1.1"
long: "npm:^4.0.0"
Expand All @@ -10571,7 +10570,6 @@ __metadata:
resolution: "@trezor/trezor-user-env-link@workspace:packages/trezor-user-env-link"
dependencies:
"@trezor/utils": "workspace:*"
cross-fetch: "npm:^4.0.0"
ws: "npm:^8.16.0"
languageName: unknown
linkType: soft
Expand Down

0 comments on commit e489dce

Please sign in to comment.