@airgap/ethereum 0.13.11-beta.0 → 0.13.11-beta.1
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/package.json +11 -9
- package/airgap-coinlib-ethereum.min.js +0 -117080
- package/index.d.ts +0 -1
- package/index.js +0 -18
- package/index.js.map +0 -1
- package/v0/index.d.ts +0 -12
- package/v0/index.js +0 -39
- package/v0/index.js.map +0 -1
- package/v0/protocol/BaseEthereumProtocol.d.ts +0 -98
- package/v0/protocol/BaseEthereumProtocol.js +0 -939
- package/v0/protocol/BaseEthereumProtocol.js.map +0 -1
- package/v0/protocol/EthereumAddress.d.ts +0 -8
- package/v0/protocol/EthereumAddress.js +0 -43
- package/v0/protocol/EthereumAddress.js.map +0 -1
- package/v0/protocol/EthereumChainIDs.d.ts +0 -1
- package/v0/protocol/EthereumChainIDs.js +0 -340
- package/v0/protocol/EthereumChainIDs.js.map +0 -1
- package/v0/protocol/EthereumClassicProtocol.d.ts +0 -6
- package/v0/protocol/EthereumClassicProtocol.js +0 -30
- package/v0/protocol/EthereumClassicProtocol.js.map +0 -1
- package/v0/protocol/EthereumCryptoClient.d.ts +0 -12
- package/v0/protocol/EthereumCryptoClient.js +0 -148
- package/v0/protocol/EthereumCryptoClient.js.map +0 -1
- package/v0/protocol/EthereumProtocol.d.ts +0 -10
- package/v0/protocol/EthereumProtocol.js +0 -34
- package/v0/protocol/EthereumProtocol.js.map +0 -1
- package/v0/protocol/EthereumProtocolOptions.d.ts +0 -46
- package/v0/protocol/EthereumProtocolOptions.js +0 -150
- package/v0/protocol/EthereumProtocolOptions.js.map +0 -1
- package/v0/protocol/EthereumRopstenProtocol.d.ts +0 -6
- package/v0/protocol/EthereumRopstenProtocol.js +0 -30
- package/v0/protocol/EthereumRopstenProtocol.js.map +0 -1
- package/v0/protocol/EthereumTypes.d.ts +0 -14
- package/v0/protocol/EthereumTypes.js +0 -3
- package/v0/protocol/EthereumTypes.js.map +0 -1
- package/v0/protocol/clients/info-clients/EtherscanInfoClient.d.ts +0 -8
- package/v0/protocol/clients/info-clients/EtherscanInfoClient.js +0 -195
- package/v0/protocol/clients/info-clients/EtherscanInfoClient.js.map +0 -1
- package/v0/protocol/clients/info-clients/InfoClient.d.ts +0 -8
- package/v0/protocol/clients/info-clients/InfoClient.js +0 -11
- package/v0/protocol/clients/info-clients/InfoClient.js.map +0 -1
- package/v0/protocol/clients/node-clients/AirGapNodeClient.d.ts +0 -41
- package/v0/protocol/clients/node-clients/AirGapNodeClient.js +0 -353
- package/v0/protocol/clients/node-clients/AirGapNodeClient.js.map +0 -1
- package/v0/protocol/clients/node-clients/NodeClient.d.ts +0 -17
- package/v0/protocol/clients/node-clients/NodeClient.js +0 -11
- package/v0/protocol/clients/node-clients/NodeClient.js.map +0 -1
- package/v0/protocol/erc20/ERC20.d.ts +0 -3
- package/v0/protocol/erc20/ERC20.js +0 -9
- package/v0/protocol/erc20/ERC20.js.map +0 -1
- package/v0/protocol/erc20/GenericERC20.d.ts +0 -32
- package/v0/protocol/erc20/GenericERC20.js +0 -335
- package/v0/protocol/erc20/GenericERC20.js.map +0 -1
- package/v0/protocol/utils/utils.d.ts +0 -13
- package/v0/protocol/utils/utils.js +0 -140
- package/v0/protocol/utils/utils.js.map +0 -1
- package/v0/serializer/schemas/v2/transaction-sign-request-ethereum.json +0 -50
- package/v0/serializer/schemas/v2/transaction-sign-response-ethereum.json +0 -19
- package/v0/serializer/schemas/v3/transaction-sign-request-ethereum-typed.json +0 -38
- package/v0/serializer/schemas/v3/transaction-sign-request-ethereum.json +0 -50
- package/v0/serializer/schemas/v3/transaction-sign-response-ethereum.json +0 -19
- package/v0/serializer/validators/transaction-validator.d.ts +0 -15
- package/v0/serializer/validators/transaction-validator.js +0 -96
- package/v0/serializer/validators/transaction-validator.js.map +0 -1
- package/v0/serializer/validators/validators.d.ts +0 -1
- package/v0/serializer/validators/validators.js +0 -78
- package/v0/serializer/validators/validators.js.map +0 -1
- package/v0/types/signed-transaction-ethereum.d.ts +0 -5
- package/v0/types/signed-transaction-ethereum.js +0 -3
- package/v0/types/signed-transaction-ethereum.js.map +0 -1
- package/v0/types/transaction-ethereum.d.ts +0 -14
- package/v0/types/transaction-ethereum.js +0 -3
- package/v0/types/transaction-ethereum.js.map +0 -1
- package/v0/types/unsigned-transaction-ethereum-typed.d.ts +0 -11
- package/v0/types/unsigned-transaction-ethereum-typed.js +0 -3
- package/v0/types/unsigned-transaction-ethereum-typed.js.map +0 -1
- package/v0/types/unsigned-transaction-ethereum.d.ts +0 -15
- package/v0/types/unsigned-transaction-ethereum.js +0 -3
- package/v0/types/unsigned-transaction-ethereum.js.map +0 -1
- package/v1/block-explorer/EtherscanBlockExplorer.d.ts +0 -9
- package/v1/block-explorer/EtherscanBlockExplorer.js +0 -74
- package/v1/block-explorer/EtherscanBlockExplorer.js.map +0 -1
- package/v1/clients/crypto/EthereumCryptoClient.d.ts +0 -7
- package/v1/clients/crypto/EthereumCryptoClient.js +0 -147
- package/v1/clients/crypto/EthereumCryptoClient.js.map +0 -1
- package/v1/clients/info/EthereumInfoClient.d.ts +0 -15
- package/v1/clients/info/EthereumInfoClient.js +0 -11
- package/v1/clients/info/EthereumInfoClient.js.map +0 -1
- package/v1/clients/info/EtherscanInfoClient.d.ts +0 -7
- package/v1/clients/info/EtherscanInfoClient.js +0 -165
- package/v1/clients/info/EtherscanInfoClient.js.map +0 -1
- package/v1/clients/node/AirGapNodeClient.d.ts +0 -41
- package/v1/clients/node/AirGapNodeClient.js +0 -351
- package/v1/clients/node/AirGapNodeClient.js.map +0 -1
- package/v1/clients/node/EthereumNodeClient.d.ts +0 -17
- package/v1/clients/node/EthereumNodeClient.js +0 -11
- package/v1/clients/node/EthereumNodeClient.js.map +0 -1
- package/v1/data/EthereumAddress.d.ts +0 -7
- package/v1/data/EthereumAddress.js +0 -46
- package/v1/data/EthereumAddress.js.map +0 -1
- package/v1/index.d.ts +0 -10
- package/v1/index.js +0 -13
- package/v1/index.js.map +0 -1
- package/v1/module/ERC20Tokens.d.ts +0 -3
- package/v1/module/ERC20Tokens.js +0 -815
- package/v1/module/ERC20Tokens.js.map +0 -1
- package/v1/module/EthereumModule.d.ts +0 -13
- package/v1/module/EthereumModule.js +0 -125
- package/v1/module/EthereumModule.js.map +0 -1
- package/v1/module.d.ts +0 -3
- package/v1/module.js +0 -24
- package/v1/module.js.map +0 -1
- package/v1/protocol/EthereumBaseProtocol.d.ts +0 -83
- package/v1/protocol/EthereumBaseProtocol.js +0 -866
- package/v1/protocol/EthereumBaseProtocol.js.map +0 -1
- package/v1/protocol/EthereumChainIds.d.ts +0 -1
- package/v1/protocol/EthereumChainIds.js +0 -340
- package/v1/protocol/EthereumChainIds.js.map +0 -1
- package/v1/protocol/EthereumProtocol.d.ts +0 -8
- package/v1/protocol/EthereumProtocol.js +0 -64
- package/v1/protocol/EthereumProtocol.js.map +0 -1
- package/v1/protocol/erc20/ERC20Token.d.ts +0 -8
- package/v1/protocol/erc20/ERC20Token.js +0 -421
- package/v1/protocol/erc20/ERC20Token.js.map +0 -1
- package/v1/serializer/v3/schemas/converter/transaction-converter.d.ts +0 -12
- package/v1/serializer/v3/schemas/converter/transaction-converter.js +0 -80
- package/v1/serializer/v3/schemas/converter/transaction-converter.js.map +0 -1
- package/v1/serializer/v3/schemas/definitions/transaction-sign-request-ethereum-typed.d.ts +0 -10
- package/v1/serializer/v3/schemas/definitions/transaction-sign-request-ethereum-typed.js +0 -3
- package/v1/serializer/v3/schemas/definitions/transaction-sign-request-ethereum-typed.js.map +0 -1
- package/v1/serializer/v3/schemas/definitions/transaction-sign-request-ethereum.d.ts +0 -14
- package/v1/serializer/v3/schemas/definitions/transaction-sign-request-ethereum.js +0 -3
- package/v1/serializer/v3/schemas/definitions/transaction-sign-request-ethereum.js.map +0 -1
- package/v1/serializer/v3/schemas/definitions/transaction-sign-response-ethereum.d.ts +0 -3
- package/v1/serializer/v3/schemas/definitions/transaction-sign-response-ethereum.js +0 -3
- package/v1/serializer/v3/schemas/definitions/transaction-sign-response-ethereum.js.map +0 -1
- package/v1/serializer/v3/schemas/generated/transaction-sign-request-ethereum-typed.json +0 -41
- package/v1/serializer/v3/schemas/generated/transaction-sign-request-ethereum.json +0 -58
- package/v1/serializer/v3/schemas/generated/transaction-sign-response-ethereum.json +0 -19
- package/v1/serializer/v3/serializer-companion.d.ts +0 -13
- package/v1/serializer/v3/serializer-companion.js +0 -190
- package/v1/serializer/v3/serializer-companion.js.map +0 -1
- package/v1/serializer/v3/validators/transaction-validator.d.ts +0 -7
- package/v1/serializer/v3/validators/transaction-validator.js +0 -71
- package/v1/serializer/v3/validators/transaction-validator.js.map +0 -1
- package/v1/types/protocol.d.ts +0 -32
- package/v1/types/protocol.js +0 -3
- package/v1/types/protocol.js.map +0 -1
- package/v1/types/transaction.d.ts +0 -24
- package/v1/types/transaction.js +0 -3
- package/v1/types/transaction.js.map +0 -1
- package/v1/utils/EthereumUtils.d.ts +0 -13
- package/v1/utils/EthereumUtils.js +0 -140
- package/v1/utils/EthereumUtils.js.map +0 -1
- package/v1/utils/key.d.ts +0 -5
- package/v1/utils/key.js +0 -88
- package/v1/utils/key.js.map +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@airgap/ethereum",
|
|
3
|
-
"version": "0.13.11-beta.
|
|
3
|
+
"version": "0.13.11-beta.1",
|
|
4
4
|
"description": "The @airgap/ethereum is an Ethereum implementation of the ICoinProtocol interface from @airgap/coinlib-core.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"airgap",
|
|
@@ -17,6 +17,10 @@
|
|
|
17
17
|
"publishConfig": {
|
|
18
18
|
"access": "public"
|
|
19
19
|
},
|
|
20
|
+
"main": "dist/index.js",
|
|
21
|
+
"files": [
|
|
22
|
+
"dist"
|
|
23
|
+
],
|
|
20
24
|
"scripts": {
|
|
21
25
|
"build": "rm -rf ./dist && node scripts/node-module-es-module-interop.js && tsc && node scripts/copy-files-after-build.js",
|
|
22
26
|
"build-scripts": "tsc scripts/*.ts",
|
|
@@ -24,22 +28,20 @@
|
|
|
24
28
|
"lint:prettier": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
|
|
25
29
|
"lint-ci": "tslint -t json -o ../../lint-reports/ethereum.json --project . || true",
|
|
26
30
|
"lint-ci:prettier": "prettier \"src/**/*.ts\" \"test/**/*.ts\" --list-different",
|
|
27
|
-
"test": "TS_NODE_PROJECT='./test/tsconfig.json' nyc mocha --bail --require ts-node/register --require source-map-support/register --full-trace --delay --timeout 40000 ./test/**/**.spec.ts",
|
|
31
|
+
"test": "TS_NODE_PROJECT='./test/tsconfig.json' nyc mocha --bail --require ts-node/register --require tsconfig-paths/register --require source-map-support/register --full-trace --delay --timeout 40000 ./test/**/**.spec.ts",
|
|
28
32
|
"test-ci": "nyc --reporter=lcov npm test",
|
|
29
|
-
"
|
|
30
|
-
"browserify": "browserify ./dist/index.js -p realpathify -s airgapCoinLibEthereum > ./dist/airgap-coinlib-ethereum.min.js"
|
|
33
|
+
"browserify": "browserify ./dist/index.js -s airgapCoinLibEthereum > ./dist/airgap-coinlib-ethereum.min.js"
|
|
31
34
|
},
|
|
32
35
|
"author": "Papers GmbH <contact@papers.ch> (https://papers.ch)",
|
|
33
36
|
"dependencies": {
|
|
37
|
+
"@airgap/coinlib-core": "*",
|
|
38
|
+
"@airgap/crypto": "*",
|
|
39
|
+
"@airgap/module-kit": "*",
|
|
40
|
+
"@airgap/serializer": "*",
|
|
34
41
|
"@ethereumjs/common": "2.6.0",
|
|
35
42
|
"@ethereumjs/tx": "3.4.0",
|
|
36
43
|
"@metamask/eth-sig-util": "4.0.0"
|
|
37
44
|
},
|
|
38
|
-
"peerDependencies": {
|
|
39
|
-
"@airgap/coinlib-core": "^0.13.10",
|
|
40
|
-
"@airgap/module-kit": "^0.13.10",
|
|
41
|
-
"@airgap/serializer": "^0.13.10"
|
|
42
|
-
},
|
|
43
45
|
"localDependencies": {
|
|
44
46
|
"ethereumjs-tx": "1.3.7",
|
|
45
47
|
"ethereumjs-util": "5.2.0"
|