@xchainjs/xchain-wallet 1.0.11 → 1.0.12
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/lib/index.esm.js +8 -1
- package/lib/index.js +8 -3
- package/package.json +12 -12
package/lib/index.esm.js
CHANGED
|
@@ -16,6 +16,8 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
16
16
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
17
17
|
PERFORMANCE OF THIS SOFTWARE.
|
|
18
18
|
***************************************************************************** */
|
|
19
|
+
/* global Reflect, Promise, SuppressedError, Symbol */
|
|
20
|
+
|
|
19
21
|
|
|
20
22
|
function __awaiter(thisArg, _arguments, P, generator) {
|
|
21
23
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
@@ -25,7 +27,12 @@ function __awaiter(thisArg, _arguments, P, generator) {
|
|
|
25
27
|
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
26
28
|
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
27
29
|
});
|
|
28
|
-
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
|
|
33
|
+
var e = new Error(message);
|
|
34
|
+
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
|
35
|
+
};
|
|
29
36
|
|
|
30
37
|
// Class definition for a Wallet
|
|
31
38
|
class Wallet {
|
package/lib/index.js
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
3
|
var xchainClient = require('@xchainjs/xchain-client');
|
|
6
4
|
var xchainEvm = require('@xchainjs/xchain-evm');
|
|
7
5
|
var xchainUtil = require('@xchainjs/xchain-util');
|
|
@@ -20,6 +18,8 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
20
18
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
21
19
|
PERFORMANCE OF THIS SOFTWARE.
|
|
22
20
|
***************************************************************************** */
|
|
21
|
+
/* global Reflect, Promise, SuppressedError, Symbol */
|
|
22
|
+
|
|
23
23
|
|
|
24
24
|
function __awaiter(thisArg, _arguments, P, generator) {
|
|
25
25
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
@@ -29,7 +29,12 @@ function __awaiter(thisArg, _arguments, P, generator) {
|
|
|
29
29
|
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
30
30
|
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
31
31
|
});
|
|
32
|
-
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
|
|
35
|
+
var e = new Error(message);
|
|
36
|
+
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
|
37
|
+
};
|
|
33
38
|
|
|
34
39
|
// Class definition for a Wallet
|
|
35
40
|
class Wallet {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xchainjs/xchain-wallet",
|
|
3
3
|
"description": "XChainjs clients wrapper to work with several chains at the same time",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.12",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "lib/index.js",
|
|
7
7
|
"module": "lib/index.esm.js",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"url": "git@github.com:xchainjs/xchainjs-lib.git"
|
|
19
19
|
},
|
|
20
20
|
"scripts": {
|
|
21
|
-
"build": "yarn clean && rollup -c",
|
|
21
|
+
"build": "yarn clean && rollup -c --bundleConfigAsCjs",
|
|
22
22
|
"build:release": "yarn exec rm -rf release && yarn pack && yarn exec \"mkdir release && tar zxvf package.tgz --directory release && rm package.tgz\"",
|
|
23
23
|
"clean": "rm -rf .turbo && rm -rf lib",
|
|
24
24
|
"e2e": "jest --config jest.config.e2e.js",
|
|
@@ -29,17 +29,17 @@
|
|
|
29
29
|
"directory": "release/package"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@xchainjs/xchain-client": "1.0.
|
|
33
|
-
"@xchainjs/xchain-evm": "1.0.
|
|
34
|
-
"@xchainjs/xchain-mayachain": "2.0.
|
|
35
|
-
"@xchainjs/xchain-radix": "1.1.
|
|
36
|
-
"@xchainjs/xchain-thorchain": "2.0.
|
|
37
|
-
"@xchainjs/xchain-util": "1.0.
|
|
38
|
-
"@xchainjs/xchain-utxo": "1.0.
|
|
32
|
+
"@xchainjs/xchain-client": "1.0.6",
|
|
33
|
+
"@xchainjs/xchain-evm": "1.0.10",
|
|
34
|
+
"@xchainjs/xchain-mayachain": "2.0.7",
|
|
35
|
+
"@xchainjs/xchain-radix": "1.1.4",
|
|
36
|
+
"@xchainjs/xchain-thorchain": "2.0.8",
|
|
37
|
+
"@xchainjs/xchain-util": "1.0.5",
|
|
38
|
+
"@xchainjs/xchain-utxo": "1.0.6"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
|
-
"@xchainjs/xchain-bitcoin": "1.1.
|
|
42
|
-
"@xchainjs/xchain-bitcoincash": "1.0.
|
|
43
|
-
"@xchainjs/xchain-ethereum": "1.0.
|
|
41
|
+
"@xchainjs/xchain-bitcoin": "1.1.2",
|
|
42
|
+
"@xchainjs/xchain-bitcoincash": "1.0.6",
|
|
43
|
+
"@xchainjs/xchain-ethereum": "1.0.10"
|
|
44
44
|
}
|
|
45
45
|
}
|