@airgap/ethereum 0.13.8-beta.8 → 0.13.8-beta.9
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 +4 -4
- package/v1/index.d.ts +2 -6
- package/v1/index.js +1 -11
- package/v1/index.js.map +1 -1
- package/v1/module/ERC20Tokens.d.ts +3 -0
- package/v1/module/ERC20Tokens.js +815 -0
- package/v1/module/ERC20Tokens.js.map +1 -0
- package/v1/module/EthereumModule.d.ts +11 -5
- package/v1/module/EthereumModule.js +114 -21
- package/v1/module/EthereumModule.js.map +1 -1
- package/v1/protocol/EthereumBaseProtocol.d.ts +28 -16
- package/v1/protocol/EthereumBaseProtocol.js +137 -17
- package/v1/protocol/EthereumBaseProtocol.js.map +1 -1
- package/v1/protocol/EthereumProtocol.d.ts +2 -2
- package/v1/protocol/EthereumProtocol.js +1 -250
- package/v1/protocol/EthereumProtocol.js.map +1 -1
- package/v1/protocol/erc20/ERC20Token.d.ts +3 -1
- package/v1/protocol/erc20/ERC20Token.js +22 -6
- package/v1/protocol/erc20/ERC20Token.js.map +1 -1
- package/v1/serializer/v3/schemas/converter/transaction-converter.d.ts +3 -1
- package/v1/serializer/v3/schemas/converter/transaction-converter.js +56 -5
- package/v1/serializer/v3/schemas/converter/transaction-converter.js.map +1 -1
- package/v1/serializer/v3/schemas/definitions/transaction-sign-request-ethereum-typed.d.ts +1 -1
- package/v1/serializer/v3/schemas/definitions/transaction-sign-request-ethereum.d.ts +1 -1
- package/v1/serializer/v3/schemas/generated/transaction-sign-request-ethereum-typed.json +1 -5
- package/v1/serializer/v3/schemas/generated/transaction-sign-request-ethereum.json +1 -5
- package/v1/serializer/v3/serializer-companion.d.ts +13 -0
- package/v1/serializer/v3/serializer-companion.js +190 -0
- package/v1/serializer/v3/serializer-companion.js.map +1 -0
- package/v1/serializer/v3/validators/transaction-validator.d.ts +1 -4
- package/v1/serializer/v3/validators/transaction-validator.js +1 -10
- package/v1/serializer/v3/validators/transaction-validator.js.map +1 -1
- package/v1/types/transaction.d.ts +2 -0
- package/v1/module/ERC20Module.d.ts +0 -9
- package/v1/module/ERC20Module.js +0 -69
- package/v1/module/ERC20Module.js.map +0 -1
- package/v1/module/EthereumBaseModule.d.ts +0 -13
- package/v1/module/EthereumBaseModule.js +0 -83
- package/v1/module/EthereumBaseModule.js.map +0 -1
- package/v1/module/EthereumClassicModule.d.ts +0 -7
- package/v1/module/EthereumClassicModule.js +0 -32
- package/v1/module/EthereumClassicModule.js.map +0 -1
- package/v1/module/EthereumRopstenModule.d.ts +0 -7
- package/v1/module/EthereumRopstenModule.js +0 -32
- package/v1/module/EthereumRopstenModule.js.map +0 -1
- package/v1/protocol/EthereumClassicProtocol.d.ts +0 -8
- package/v1/protocol/EthereumClassicProtocol.js +0 -87
- package/v1/protocol/EthereumClassicProtocol.js.map +0 -1
- package/v1/protocol/EthereumRopstenProtocol.d.ts +0 -8
- package/v1/protocol/EthereumRopstenProtocol.js +0 -64
- package/v1/protocol/EthereumRopstenProtocol.js.map +0 -1
- package/v1/utils/transaction.d.ts +0 -3
- package/v1/utils/transaction.js +0 -29
- package/v1/utils/transaction.js.map +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@airgap/ethereum",
|
|
3
|
-
"version": "0.13.8-beta.
|
|
3
|
+
"version": "0.13.8-beta.9",
|
|
4
4
|
"description": "The @airgap/ethereum is an Ethereum implementation of the ICoinProtocol interface from @airgap/coinlib-core.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"airgap",
|
|
@@ -36,9 +36,9 @@
|
|
|
36
36
|
"@metamask/eth-sig-util": "4.0.0"
|
|
37
37
|
},
|
|
38
38
|
"peerDependencies": {
|
|
39
|
-
"@airgap/coinlib-core": "^0.13.8-beta.
|
|
40
|
-
"@airgap/module-kit": "^0.13.8-beta.
|
|
41
|
-
"@airgap/serializer": "^0.13.8-beta.
|
|
39
|
+
"@airgap/coinlib-core": "^0.13.8-beta.6",
|
|
40
|
+
"@airgap/module-kit": "^0.13.8-beta.6",
|
|
41
|
+
"@airgap/serializer": "^0.13.8-beta.6"
|
|
42
42
|
},
|
|
43
43
|
"localDependencies": {
|
|
44
44
|
"ethereumjs-tx": "1.3.7",
|
package/v1/index.d.ts
CHANGED
|
@@ -1,14 +1,10 @@
|
|
|
1
1
|
import { EtherscanBlockExplorer } from './block-explorer/EtherscanBlockExplorer';
|
|
2
|
-
import { EthereumClassicModule } from './module/EthereumClassicModule';
|
|
3
2
|
import { EthereumModule } from './module/EthereumModule';
|
|
4
|
-
import { EthereumRopstenModule } from './module/EthereumRopstenModule';
|
|
5
3
|
import { createERC20Token, ERC20Token } from './protocol/erc20/ERC20Token';
|
|
6
|
-
import { createEthereumClassicProtocol, createEthereumClassicProtocolOptions, EthereumClassicProtocol } from './protocol/EthereumClassicProtocol';
|
|
7
4
|
import { createEthereumProtocol, createEthereumProtocolOptions, EthereumProtocol } from './protocol/EthereumProtocol';
|
|
8
|
-
import { createEthereumRopstenProtocol, createEthereumRopstenProtocolOptions, EthereumRopstenProtocol } from './protocol/EthereumRopstenProtocol';
|
|
9
5
|
import { ERC20TokenMetadata, EthereumProtocolNetwork, EthereumProtocolOptions, EthereumUnits } from './types/protocol';
|
|
10
6
|
import { EthereumRawUnsignedTransaction, EthereumSignedTransaction, EthereumTransactionCursor, EthereumTypedUnsignedTransaction, EthereumUnsignedTransaction } from './types/transaction';
|
|
11
|
-
export { EthereumModule
|
|
12
|
-
export { EthereumProtocol, createEthereumProtocol, createEthereumProtocolOptions,
|
|
7
|
+
export { EthereumModule };
|
|
8
|
+
export { EthereumProtocol, createEthereumProtocol, createEthereumProtocolOptions, ERC20Token, createERC20Token };
|
|
13
9
|
export { EtherscanBlockExplorer };
|
|
14
10
|
export { EthereumUnits, EthereumProtocolNetwork, EthereumProtocolOptions, ERC20TokenMetadata, EthereumUnsignedTransaction, EthereumTypedUnsignedTransaction, EthereumRawUnsignedTransaction, EthereumSignedTransaction, EthereumTransactionCursor };
|
package/v1/index.js
CHANGED
|
@@ -1,23 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.EtherscanBlockExplorer = exports.createERC20Token = exports.
|
|
3
|
+
exports.EtherscanBlockExplorer = exports.createERC20Token = exports.createEthereumProtocolOptions = exports.createEthereumProtocol = exports.EthereumModule = void 0;
|
|
4
4
|
var EtherscanBlockExplorer_1 = require("./block-explorer/EtherscanBlockExplorer");
|
|
5
5
|
Object.defineProperty(exports, "EtherscanBlockExplorer", { enumerable: true, get: function () { return EtherscanBlockExplorer_1.EtherscanBlockExplorer; } });
|
|
6
|
-
var EthereumClassicModule_1 = require("./module/EthereumClassicModule");
|
|
7
|
-
Object.defineProperty(exports, "EthereumClassicModule", { enumerable: true, get: function () { return EthereumClassicModule_1.EthereumClassicModule; } });
|
|
8
6
|
var EthereumModule_1 = require("./module/EthereumModule");
|
|
9
7
|
Object.defineProperty(exports, "EthereumModule", { enumerable: true, get: function () { return EthereumModule_1.EthereumModule; } });
|
|
10
|
-
var EthereumRopstenModule_1 = require("./module/EthereumRopstenModule");
|
|
11
|
-
Object.defineProperty(exports, "EthereumRopstenModule", { enumerable: true, get: function () { return EthereumRopstenModule_1.EthereumRopstenModule; } });
|
|
12
8
|
var ERC20Token_1 = require("./protocol/erc20/ERC20Token");
|
|
13
9
|
Object.defineProperty(exports, "createERC20Token", { enumerable: true, get: function () { return ERC20Token_1.createERC20Token; } });
|
|
14
|
-
var EthereumClassicProtocol_1 = require("./protocol/EthereumClassicProtocol");
|
|
15
|
-
Object.defineProperty(exports, "createEthereumClassicProtocol", { enumerable: true, get: function () { return EthereumClassicProtocol_1.createEthereumClassicProtocol; } });
|
|
16
|
-
Object.defineProperty(exports, "createEthereumClassicProtocolOptions", { enumerable: true, get: function () { return EthereumClassicProtocol_1.createEthereumClassicProtocolOptions; } });
|
|
17
10
|
var EthereumProtocol_1 = require("./protocol/EthereumProtocol");
|
|
18
11
|
Object.defineProperty(exports, "createEthereumProtocol", { enumerable: true, get: function () { return EthereumProtocol_1.createEthereumProtocol; } });
|
|
19
12
|
Object.defineProperty(exports, "createEthereumProtocolOptions", { enumerable: true, get: function () { return EthereumProtocol_1.createEthereumProtocolOptions; } });
|
|
20
|
-
var EthereumRopstenProtocol_1 = require("./protocol/EthereumRopstenProtocol");
|
|
21
|
-
Object.defineProperty(exports, "createEthereumRopstenProtocol", { enumerable: true, get: function () { return EthereumRopstenProtocol_1.createEthereumRopstenProtocol; } });
|
|
22
|
-
Object.defineProperty(exports, "createEthereumRopstenProtocolOptions", { enumerable: true, get: function () { return EthereumRopstenProtocol_1.createEthereumRopstenProtocolOptions; } });
|
|
23
13
|
//# sourceMappingURL=index.js.map
|
package/v1/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/v1/index.ts"],"names":[],"mappings":";;;AAAA,kFAAgF;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/v1/index.ts"],"names":[],"mappings":";;;AAAA,kFAAgF;AAuBvE,uGAvBA,+CAAsB,OAuBA;AAtB/B,0DAAwD;AAc/C,+FAdA,+BAAc,OAcA;AAbvB,0DAA0E;AAiBoB,iGAjBrF,6BAAgB,OAiBqF;AAhB9G,gEAAqH;AAgB1F,uGAhBlB,yCAAsB,OAgBkB;AAAE,8GAhBlB,gDAA6B,OAgBkB"}
|