@ledgerhq/coin-evm 16.2.0 → 16.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +15 -0
- package/lib/network/node/rpc.common.d.ts.map +1 -1
- package/lib/network/node/rpc.common.js +31 -6
- package/lib/network/node/rpc.common.js.map +1 -1
- package/lib-es/network/node/rpc.common.d.ts.map +1 -1
- package/lib-es/network/node/rpc.common.js +31 -6
- package/lib-es/network/node/rpc.common.js.map +1 -1
- package/package.json +9 -3
- package/src/api/tests/getBlock.integ.test.ts +1 -1
- package/src/api/tests/index.unichain.integ.test.ts +46 -0
- package/src/logic/tests/combine.test.ts +1 -1
- package/src/network/node/rpc.common.ts +46 -6
- package/src/network/tests/node/rpc.test.ts +58 -4
- package/.oxlintrc.json +0 -94
- package/docs/abis.md +0 -20
- package/docs/adapters.md +0 -10
- package/docs/evm-family-integration-process/README.md +0 -102
- package/docs/getBlock-internal-txs-schema.md +0 -104
- package/docs/logic.md +0 -17
- package/docs/network/explorer/etherscan.md +0 -35
- package/docs/network/explorer/index.md +0 -7
- package/docs/network/explorer/ledger.md +0 -22
- package/docs/network/gasTracker/index.md +0 -8
- package/docs/network/gasTracker/ledger.md +0 -13
- package/docs/network/node/index.md +0 -10
- package/docs/network/node/ledger.md +0 -47
- package/docs/network/node/rpc.md +0 -42
- package/docs/types.md +0 -18
- package/jest.config.js +0 -15
- package/jest.integ.config.js +0 -8
- package/knip.json +0 -30
- package/tsconfig.build.json +0 -14
- package/tsconfig.json +0 -14
package/docs/types.md
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
# `types`
|
|
2
|
-
|
|
3
|
-
## Files
|
|
4
|
-
|
|
5
|
-
#### editTransaction
|
|
6
|
-
Set of types proper to the functionality of the replace by fee mechanism.
|
|
7
|
-
|
|
8
|
-
#### etherscan
|
|
9
|
-
Set of types proper to etherscan explorers. Mostly containing their own transaction format, received from their API. Also used for Blockscout explorers and any other explorer having a compatiblity layer with Etherscan.
|
|
10
|
-
|
|
11
|
-
#### ledger
|
|
12
|
-
Set of types proper to ledger explorers. Mostly containing their own transaction format, received from their API.
|
|
13
|
-
|
|
14
|
-
#### signer
|
|
15
|
-
Set of types for the abstraction added to remove the dependency of the `coin-evm` module with the `@ledgerhq/hw-app-eth` module (as a dependency, not devDependency which is necessary for some types). Mostly used in the bridge definition with the `buildSignOperation` & `makeAccountBridgeReceive` methods.
|
|
16
|
-
|
|
17
|
-
#### transaction
|
|
18
|
-
Set of types representing the `evm` family transactions, specific to Ledger Live and/or the `@ledgerhq/ledger-wallet-framework`
|
package/jest.config.js
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
// SPDX-FileCopyrightText: © 2024 LEDGER SAS
|
|
2
|
-
// SPDX-License-Identifier: Apache-2.0
|
|
3
|
-
|
|
4
|
-
const base = require("../jest.config.base");
|
|
5
|
-
|
|
6
|
-
module.exports = {
|
|
7
|
-
...base,
|
|
8
|
-
passWithNoTests: true,
|
|
9
|
-
setupFilesAfterEnv: ["jest-expect-message", "dotenv/config"],
|
|
10
|
-
// Imported from ledger-live with a pre-existing handle leak: some suites leave
|
|
11
|
-
// sockets/timers behind, so jest never returns on its own in CI (the Unit Tests job
|
|
12
|
-
// ran 36 min without finishing). forceExit ends the run once tests are done.
|
|
13
|
-
forceExit: true,
|
|
14
|
-
maxWorkers: 2,
|
|
15
|
-
};
|
package/jest.integ.config.js
DELETED
package/knip.json
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://unpkg.com/knip@5.34.1/schema.json",
|
|
3
|
-
"entry": [
|
|
4
|
-
"src/abis/index.ts",
|
|
5
|
-
"src/api/index.ts",
|
|
6
|
-
"src/config.ts",
|
|
7
|
-
"src/errors.ts",
|
|
8
|
-
"src/logic.ts",
|
|
9
|
-
"src/logic/combine.ts",
|
|
10
|
-
"src/logic/craftTransaction.ts",
|
|
11
|
-
"src/logic/getErc20Data.ts",
|
|
12
|
-
"src/logic/index.ts",
|
|
13
|
-
"src/logic/validateAddress.ts",
|
|
14
|
-
"src/network/gasTracker/index.ts",
|
|
15
|
-
"src/network/gasTracker/types.ts",
|
|
16
|
-
"src/network/index.ts",
|
|
17
|
-
"src/network/node/index.ts",
|
|
18
|
-
"src/network/node/rpc.common.ts",
|
|
19
|
-
"src/network/node/rpc.native.ts",
|
|
20
|
-
"src/network/node/types.ts",
|
|
21
|
-
"src/staking/index.ts",
|
|
22
|
-
"src/staking/redelegations.ts",
|
|
23
|
-
"src/supportedFeatures.ts",
|
|
24
|
-
"src/types/editTransaction.ts",
|
|
25
|
-
"src/types/index.ts",
|
|
26
|
-
"src/types/staking.ts"
|
|
27
|
-
],
|
|
28
|
-
"project": ["src/**/*.ts"],
|
|
29
|
-
"ignoreDependencies": ["@ledgerhq/coin-module-framework"]
|
|
30
|
-
}
|
package/tsconfig.build.json
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"extends": ["./tsconfig.json", "../tsconfig.build.base.json"],
|
|
3
|
-
"exclude": [
|
|
4
|
-
"**/*.test.ts",
|
|
5
|
-
"**/*.spec.ts",
|
|
6
|
-
"**/__tests__/**/*",
|
|
7
|
-
"**/tests/**/*",
|
|
8
|
-
"**/__mocks__/**/*",
|
|
9
|
-
"**/*.test.js",
|
|
10
|
-
"**/*.spec.js",
|
|
11
|
-
"**/fixtures/**/*",
|
|
12
|
-
"**/*.fixtures.ts"
|
|
13
|
-
]
|
|
14
|
-
}
|
package/tsconfig.json
DELETED