@initia/initia.js 0.2.31 → 1.0.0
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/README.md +1 -1
- package/dist/client/rest/RESTClient.d.ts +1 -0
- package/dist/index.cjs +2 -0
- package/dist/{index.es.js → index.js} +9301 -10826
- package/dist/key/MnemonicKey.d.ts +1 -1
- package/package.json +11 -8
- package/dist/TransportWebHID-BJGOHoD4.js +0 -1
- package/dist/TransportWebHID-BpNQALzF.mjs +0 -154
- package/dist/TransportWebUSB-Bog8kAV9.js +0 -1
- package/dist/TransportWebUSB-Bs9AHNsu.mjs +0 -196
- package/dist/index-BNBWMUWc.mjs +0 -456
- package/dist/index-BY4R60_E.js +0 -2
- package/dist/index.cjs.js +0 -2
package/README.md
CHANGED
|
@@ -48,7 +48,7 @@ const key = new MnemonicKey({
|
|
|
48
48
|
mnemonic: 'bird upset ... evil cigar', // (optional) if null, generate a new Mnemonic key
|
|
49
49
|
account: 0, // (optional) BIP44 account number. default = 0
|
|
50
50
|
index: 0, // (optional) BIP44 index number. default = 0
|
|
51
|
-
coinType:
|
|
51
|
+
coinType: 60, // (optional) BIP44 coinType. default = 60
|
|
52
52
|
})
|
|
53
53
|
```
|
|
54
54
|
|
|
@@ -44,6 +44,7 @@ export declare class RESTClient {
|
|
|
44
44
|
wasm: WasmAPI;
|
|
45
45
|
constructor(URL: string, config?: RESTClientConfig, apiRequester?: APIRequester);
|
|
46
46
|
wallet(key: Key): Wallet;
|
|
47
|
+
gasPrices(): Promise<Coins.Input | undefined>;
|
|
47
48
|
}
|
|
48
49
|
export declare class LCDClient extends RESTClient {
|
|
49
50
|
}
|