@ark-us/wasmxjs 0.0.15 → 0.0.16
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/main/index.js +60 -2
- package/module/index.js +9 -1
- package/package.json +1 -1
- package/src/index.ts +17 -1
package/main/index.js
CHANGED
|
@@ -7,7 +7,15 @@ var _exportNames = {
|
|
|
7
7
|
DirectSecp256k1Wallet: true,
|
|
8
8
|
DirectSecp256k1HdWallet: true,
|
|
9
9
|
makeSignBytes: true,
|
|
10
|
-
makeSignDoc: true
|
|
10
|
+
makeSignDoc: true,
|
|
11
|
+
makeAuthInfoBytes: true,
|
|
12
|
+
encodePubkey: true,
|
|
13
|
+
Registry: true,
|
|
14
|
+
encodeSecp256k1Pubkey: true,
|
|
15
|
+
toBase64: true,
|
|
16
|
+
fromBase64: true,
|
|
17
|
+
toHex: true,
|
|
18
|
+
fromHex: true
|
|
11
19
|
};
|
|
12
20
|
Object.defineProperty(exports, "DirectSecp256k1HdWallet", {
|
|
13
21
|
enumerable: true,
|
|
@@ -21,6 +29,42 @@ Object.defineProperty(exports, "DirectSecp256k1Wallet", {
|
|
|
21
29
|
return _protoSigning.DirectSecp256k1Wallet;
|
|
22
30
|
}
|
|
23
31
|
});
|
|
32
|
+
Object.defineProperty(exports, "Registry", {
|
|
33
|
+
enumerable: true,
|
|
34
|
+
get: function get() {
|
|
35
|
+
return _protoSigning.Registry;
|
|
36
|
+
}
|
|
37
|
+
});
|
|
38
|
+
Object.defineProperty(exports, "encodePubkey", {
|
|
39
|
+
enumerable: true,
|
|
40
|
+
get: function get() {
|
|
41
|
+
return _protoSigning.encodePubkey;
|
|
42
|
+
}
|
|
43
|
+
});
|
|
44
|
+
Object.defineProperty(exports, "encodeSecp256k1Pubkey", {
|
|
45
|
+
enumerable: true,
|
|
46
|
+
get: function get() {
|
|
47
|
+
return _amino.encodeSecp256k1Pubkey;
|
|
48
|
+
}
|
|
49
|
+
});
|
|
50
|
+
Object.defineProperty(exports, "fromBase64", {
|
|
51
|
+
enumerable: true,
|
|
52
|
+
get: function get() {
|
|
53
|
+
return _encoding.fromBase64;
|
|
54
|
+
}
|
|
55
|
+
});
|
|
56
|
+
Object.defineProperty(exports, "fromHex", {
|
|
57
|
+
enumerable: true,
|
|
58
|
+
get: function get() {
|
|
59
|
+
return _encoding.fromHex;
|
|
60
|
+
}
|
|
61
|
+
});
|
|
62
|
+
Object.defineProperty(exports, "makeAuthInfoBytes", {
|
|
63
|
+
enumerable: true,
|
|
64
|
+
get: function get() {
|
|
65
|
+
return _protoSigning.makeAuthInfoBytes;
|
|
66
|
+
}
|
|
67
|
+
});
|
|
24
68
|
Object.defineProperty(exports, "makeSignBytes", {
|
|
25
69
|
enumerable: true,
|
|
26
70
|
get: function get() {
|
|
@@ -33,6 +77,18 @@ Object.defineProperty(exports, "makeSignDoc", {
|
|
|
33
77
|
return _protoSigning.makeSignDoc;
|
|
34
78
|
}
|
|
35
79
|
});
|
|
80
|
+
Object.defineProperty(exports, "toBase64", {
|
|
81
|
+
enumerable: true,
|
|
82
|
+
get: function get() {
|
|
83
|
+
return _encoding.toBase64;
|
|
84
|
+
}
|
|
85
|
+
});
|
|
86
|
+
Object.defineProperty(exports, "toHex", {
|
|
87
|
+
enumerable: true,
|
|
88
|
+
get: function get() {
|
|
89
|
+
return _encoding.toHex;
|
|
90
|
+
}
|
|
91
|
+
});
|
|
36
92
|
var _codegen = require("./codegen");
|
|
37
93
|
Object.keys(_codegen).forEach(function (key) {
|
|
38
94
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -45,4 +101,6 @@ Object.keys(_codegen).forEach(function (key) {
|
|
|
45
101
|
}
|
|
46
102
|
});
|
|
47
103
|
});
|
|
48
|
-
var _protoSigning = require("@cosmjs/proto-signing");
|
|
104
|
+
var _protoSigning = require("@cosmjs/proto-signing");
|
|
105
|
+
var _amino = require("@cosmjs/amino");
|
|
106
|
+
var _encoding = require("@cosmjs/encoding");
|
package/module/index.js
CHANGED
|
@@ -1,2 +1,10 @@
|
|
|
1
1
|
export * from './codegen';
|
|
2
|
-
|
|
2
|
+
|
|
3
|
+
// Re-export proto-signing utilities
|
|
4
|
+
export { DirectSecp256k1Wallet, DirectSecp256k1HdWallet, makeSignBytes, makeSignDoc, makeAuthInfoBytes, encodePubkey, Registry } from '@cosmjs/proto-signing';
|
|
5
|
+
|
|
6
|
+
// Re-export amino utilities
|
|
7
|
+
export { encodeSecp256k1Pubkey } from '@cosmjs/amino';
|
|
8
|
+
|
|
9
|
+
// Re-export encoding utilities
|
|
10
|
+
export { toBase64, fromBase64, toHex, fromHex } from '@cosmjs/encoding';
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -1,2 +1,18 @@
|
|
|
1
1
|
export * from './codegen';
|
|
2
|
-
|
|
2
|
+
|
|
3
|
+
// Re-export proto-signing utilities
|
|
4
|
+
export {
|
|
5
|
+
DirectSecp256k1Wallet,
|
|
6
|
+
DirectSecp256k1HdWallet,
|
|
7
|
+
makeSignBytes,
|
|
8
|
+
makeSignDoc,
|
|
9
|
+
makeAuthInfoBytes,
|
|
10
|
+
encodePubkey,
|
|
11
|
+
Registry
|
|
12
|
+
} from '@cosmjs/proto-signing';
|
|
13
|
+
|
|
14
|
+
// Re-export amino utilities
|
|
15
|
+
export { encodeSecp256k1Pubkey } from '@cosmjs/amino';
|
|
16
|
+
|
|
17
|
+
// Re-export encoding utilities
|
|
18
|
+
export { toBase64, fromBase64, toHex, fromHex } from '@cosmjs/encoding';
|