quantum-coin-js-sdk 1.0.21 → 1.0.22

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 CHANGED
Binary file
package/index.d.ts CHANGED
@@ -3,10 +3,10 @@
3
3
  *
4
4
  * @async
5
5
  * @function initialize
6
- * @param {Config} clientConfig - A configuration represented by the Config class. A default configuration is used, if not specified.
6
+ * @param {Config|undefined} clientConfig - A configuration represented by the Config class. A default configuration is used, if not specified.
7
7
  * @return {Promise<boolean>} Returns a promise of type boolean; true if the initialization succeeded, else false.
8
8
  */
9
- export function initialize(clientConfig: Config): Promise<boolean>;
9
+ export function initialize(clientConfig: Config | undefined): Promise<boolean>;
10
10
  /**
11
11
  * The serializeWallet function serializes a Wallet object to a JSON string. You should encrypt the string before saving it to disk or a database.
12
12
  *
package/index.js CHANGED
@@ -694,7 +694,7 @@ async function InitAccountsWebAssembly() {
694
694
  *
695
695
  * @async
696
696
  * @function initialize
697
- * @param {Config} clientConfig - A configuration represented by the Config class. A default configuration is used, if not specified.
697
+ * @param {Config|undefined} clientConfig - A configuration represented by the Config class. A default configuration is used, if not specified.
698
698
  * @return {Promise<boolean>} Returns a promise of type boolean; true if the initialization succeeded, else false.
699
699
  */
700
700
  async function initialize(clientConfig) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "quantum-coin-js-sdk",
3
- "version": "1.0.21",
3
+ "version": "1.0.22",
4
4
  "description": "Quantum Coin - Q SDK in JavaScript",
5
5
  "main": "index.js",
6
6
  "scripts": {