@airgap/cosmos 0.13.19-beta.9 → 0.13.19
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
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@airgap/cosmos",
|
|
3
|
-
"version": "0.13.19
|
|
3
|
+
"version": "0.13.19",
|
|
4
4
|
"description": "The @airgap/cosmos is a Cosmos implementation of the ICoinProtocol interface from @airgap/coinlib-core.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"airgap",
|
|
@@ -30,11 +30,11 @@
|
|
|
30
30
|
},
|
|
31
31
|
"author": "Papers AG <contact@papers.ch> (https://papers.ch)",
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@airgap/coinlib-core": "^0.13.19
|
|
34
|
-
"@airgap/cosmos-core": "^0.13.19
|
|
35
|
-
"@airgap/crypto": "^0.13.19
|
|
36
|
-
"@airgap/module-kit": "^0.13.19
|
|
37
|
-
"@airgap/serializer": "^0.13.19
|
|
33
|
+
"@airgap/coinlib-core": "^0.13.19",
|
|
34
|
+
"@airgap/cosmos-core": "^0.13.19",
|
|
35
|
+
"@airgap/crypto": "^0.13.19",
|
|
36
|
+
"@airgap/module-kit": "^0.13.19",
|
|
37
|
+
"@airgap/serializer": "^0.13.19"
|
|
38
38
|
},
|
|
39
39
|
"localDependencies": {},
|
|
40
40
|
"nyc": {
|
|
@@ -132,7 +132,7 @@ var CosmosProtocol = /** @class */ (function (_super) {
|
|
|
132
132
|
_this.addressIsCaseSensitive = false;
|
|
133
133
|
_this.addressValidationPattern = '^(cosmos|cosmosvaloper)[a-zA-Z0-9]{39}$';
|
|
134
134
|
_this.addressPlaceholder = 'cosmos...';
|
|
135
|
-
_this.defaultGas = new bignumber_1.default('
|
|
135
|
+
_this.defaultGas = new bignumber_1.default('310000');
|
|
136
136
|
_this.cryptoClient = new CosmosCryptoClient_1.CosmosCryptoClient();
|
|
137
137
|
return _this;
|
|
138
138
|
}
|
|
@@ -67,7 +67,7 @@ var coinlib_core_1 = require("@airgap/coinlib-core");
|
|
|
67
67
|
var module_kit_1 = require("@airgap/module-kit");
|
|
68
68
|
var cosmos_core_1 = require("@airgap/cosmos-core");
|
|
69
69
|
// Implementation
|
|
70
|
-
var DEFAULT_GAS = (0, module_kit_1.newAmount)('
|
|
70
|
+
var DEFAULT_GAS = (0, module_kit_1.newAmount)('310000', 'blockchain');
|
|
71
71
|
var CosmosProtocolImpl = /** @class */ (function (_super) {
|
|
72
72
|
__extends(CosmosProtocolImpl, _super);
|
|
73
73
|
function CosmosProtocolImpl(options) {
|