@bitgo-beta/sdk-coin-atom 1.1.2-alpha.1 → 1.1.2-alpha.100
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 +572 -0
- package/dist/src/atom.d.ts +19 -21
- package/dist/src/atom.d.ts.map +1 -1
- package/dist/src/atom.js +37 -43
- package/dist/src/index.d.ts +2 -1
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +8 -3
- package/dist/src/lib/constants.d.ts +6 -1
- package/dist/src/lib/constants.d.ts.map +1 -1
- package/dist/src/lib/constants.js +8 -3
- package/dist/src/lib/index.d.ts +5 -1
- package/dist/src/lib/index.d.ts.map +1 -1
- package/dist/src/lib/index.js +31 -6
- package/dist/src/lib/keyPair.d.ts +3 -14
- package/dist/src/lib/keyPair.d.ts.map +1 -1
- package/dist/src/lib/keyPair.js +6 -52
- package/dist/src/lib/transactionBuilderFactory.d.ts +29 -0
- package/dist/src/lib/transactionBuilderFactory.d.ts.map +1 -0
- package/dist/src/lib/transactionBuilderFactory.js +81 -0
- package/dist/src/lib/utils.d.ts +15 -0
- package/dist/src/lib/utils.d.ts.map +1 -0
- package/dist/src/lib/utils.js +61 -0
- package/dist/src/tatom.d.ts +0 -8
- package/dist/src/tatom.d.ts.map +1 -1
- package/dist/src/tatom.js +1 -13
- package/package.json +14 -9
package/dist/src/tatom.js
CHANGED
|
@@ -13,18 +13,6 @@ class Tatom extends atom_1.Atom {
|
|
|
13
13
|
static createInstance(bitgo, staticsCoin) {
|
|
14
14
|
return new Tatom(bitgo, staticsCoin);
|
|
15
15
|
}
|
|
16
|
-
/**
|
|
17
|
-
* Identifier for the blockchain which supports this coin
|
|
18
|
-
*/
|
|
19
|
-
getChain() {
|
|
20
|
-
return this._staticsCoin.name;
|
|
21
|
-
}
|
|
22
|
-
/**
|
|
23
|
-
* Complete human-readable name of this coin
|
|
24
|
-
*/
|
|
25
|
-
getFullName() {
|
|
26
|
-
return this._staticsCoin.fullName;
|
|
27
|
-
}
|
|
28
16
|
}
|
|
29
17
|
exports.Tatom = Tatom;
|
|
30
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
18
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGF0b20uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvdGF0b20udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBTUEsaUNBQThCO0FBRzlCLE1BQWEsS0FBTSxTQUFRLFdBQUk7SUFFN0IsWUFBc0IsS0FBZ0IsRUFBRSxXQUF1QztRQUM3RSxLQUFLLENBQUMsS0FBSyxFQUFFLFdBQVcsQ0FBQyxDQUFDO1FBRTFCLElBQUksQ0FBQyxXQUFXLEVBQUU7WUFDaEIsTUFBTSxJQUFJLEtBQUssQ0FBQyxvREFBb0QsQ0FBQyxDQUFDO1NBQ3ZFO1FBRUQsSUFBSSxDQUFDLFlBQVksR0FBRyxXQUFXLENBQUM7SUFDbEMsQ0FBQztJQUVELE1BQU0sQ0FBQyxjQUFjLENBQUMsS0FBZ0IsRUFBRSxXQUF1QztRQUM3RSxPQUFPLElBQUksS0FBSyxDQUFDLEtBQUssRUFBRSxXQUFXLENBQUMsQ0FBQztJQUN2QyxDQUFDO0NBQ0Y7QUFmRCxzQkFlQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogVGVzdG5ldCBDb3Ntb3NcbiAqXG4gKiBAZm9ybWF0XG4gKi9cbmltcG9ydCB7IEJhc2VDb2luLCBCaXRHb0Jhc2UgfSBmcm9tICdAYml0Z28tYmV0YS9zZGstY29yZSc7XG5pbXBvcnQgeyBBdG9tIH0gZnJvbSAnLi9hdG9tJztcbmltcG9ydCB7IEJhc2VDb2luIGFzIFN0YXRpY3NCYXNlQ29pbiB9IGZyb20gJ0BiaXRnby1iZXRhL3N0YXRpY3MnO1xuXG5leHBvcnQgY2xhc3MgVGF0b20gZXh0ZW5kcyBBdG9tIHtcbiAgcHJvdGVjdGVkIHJlYWRvbmx5IF9zdGF0aWNzQ29pbjogUmVhZG9ubHk8U3RhdGljc0Jhc2VDb2luPjtcbiAgcHJvdGVjdGVkIGNvbnN0cnVjdG9yKGJpdGdvOiBCaXRHb0Jhc2UsIHN0YXRpY3NDb2luPzogUmVhZG9ubHk8U3RhdGljc0Jhc2VDb2luPikge1xuICAgIHN1cGVyKGJpdGdvLCBzdGF0aWNzQ29pbik7XG5cbiAgICBpZiAoIXN0YXRpY3NDb2luKSB7XG4gICAgICB0aHJvdyBuZXcgRXJyb3IoJ21pc3NpbmcgcmVxdWlyZWQgY29uc3RydWN0b3IgcGFyYW1ldGVyIHN0YXRpY3NDb2luJyk7XG4gICAgfVxuXG4gICAgdGhpcy5fc3RhdGljc0NvaW4gPSBzdGF0aWNzQ29pbjtcbiAgfVxuXG4gIHN0YXRpYyBjcmVhdGVJbnN0YW5jZShiaXRnbzogQml0R29CYXNlLCBzdGF0aWNzQ29pbj86IFJlYWRvbmx5PFN0YXRpY3NCYXNlQ29pbj4pOiBCYXNlQ29pbiB7XG4gICAgcmV0dXJuIG5ldyBUYXRvbShiaXRnbywgc3RhdGljc0NvaW4pO1xuICB9XG59XG4iXX0=
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bitgo-beta/sdk-coin-atom",
|
|
3
|
-
"version": "1.1.2-alpha.
|
|
3
|
+
"version": "1.1.2-alpha.100",
|
|
4
4
|
"description": "BitGo SDK coin library for Cosmos",
|
|
5
5
|
"main": "./dist/src/index.js",
|
|
6
6
|
"types": "./dist/src/index.d.ts",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"author": "BitGo SDK Team <sdkteam@bitgo.com>",
|
|
19
19
|
"license": "MIT",
|
|
20
20
|
"engines": {
|
|
21
|
-
"node": ">=
|
|
21
|
+
"node": ">=18 <21"
|
|
22
22
|
},
|
|
23
23
|
"repository": {
|
|
24
24
|
"type": "git",
|
|
@@ -40,15 +40,20 @@
|
|
|
40
40
|
]
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@bitgo-beta/
|
|
44
|
-
"@bitgo-beta/
|
|
45
|
-
"@bitgo-beta/
|
|
43
|
+
"@bitgo-beta/abstract-cosmos": "1.0.0-alpha.69",
|
|
44
|
+
"@bitgo-beta/sdk-core": "2.4.1-alpha.120",
|
|
45
|
+
"@bitgo-beta/sdk-lib-mpc": "8.2.1-alpha.75",
|
|
46
|
+
"@bitgo-beta/statics": "10.0.1-alpha.120",
|
|
46
47
|
"@cosmjs/amino": "^0.29.5",
|
|
47
|
-
"@cosmjs/encoding": "^0.29.5"
|
|
48
|
+
"@cosmjs/encoding": "^0.29.5",
|
|
49
|
+
"@cosmjs/stargate": "^0.29.5",
|
|
50
|
+
"bignumber.js": "^9.1.1"
|
|
48
51
|
},
|
|
49
52
|
"devDependencies": {
|
|
50
|
-
"@bitgo-beta/sdk-api": "1.6.1-alpha.
|
|
51
|
-
"@bitgo-beta/sdk-test": "^
|
|
53
|
+
"@bitgo-beta/sdk-api": "1.6.1-alpha.120",
|
|
54
|
+
"@bitgo-beta/sdk-test": "^8.0.9",
|
|
55
|
+
"@types/lodash": "^4.14.183",
|
|
56
|
+
"axios": "^1.3.4"
|
|
52
57
|
},
|
|
53
|
-
"gitHead": "
|
|
58
|
+
"gitHead": "0bbb2009fe766628696989cfba8b78b13b812f8c"
|
|
54
59
|
}
|