postchain-client 1.0.0 → 1.0.2

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
@@ -201,20 +201,25 @@ The first four arguments to backend.fun1 are
201
201
  the GTX framework when the backend function is called.
202
202
 
203
203
  ## Release notes
204
+ See more release notes [here](./docs/release-notes/).
204
205
  ### 1.0.0
205
- * New logger accessible in index.ts.
206
- * Enable the client to connect to a blockchain through multiple nodes running the blockchain.
207
- * Load balancing by randomly distributing transactions and queries between nodes.
208
- * Retry policy added for HTTP request to the blockchain.
209
- * Enables you to discover the nodes running your blockchain by querying D1 with your dapp´s blockchain RID. Read more in the Chromia client providers [Readme](./src/chromia/README.md).
210
-
211
-
212
- Breaking changes:
213
- * Previously a rest client was initialized with one string containing the address of the node running your blockchain. Now an instance of the rest client is initiated with a list of strings representing the addresses of the nodes where your dapp is running.
214
- * Previously a rest client query was called with two parameters; queryName and queryObject. Now this call only takes one parameter called queryObject, which is defined as:
215
- { type: string;
216
- [arg: string]: RawGtv;
206
+ - New logger accessible in index.ts.
207
+ - Enable the client to connect to a blockchain through multiple nodes running the blockchain.
208
+ - Load balancing by randomly distributing transactions and queries between nodes.
209
+ - Retry policy added for HTTP request to the blockchain.
210
+ - Enables you to discover the nodes running your blockchain by querying D1 with your dapp´s blockchain RID. Read more in the Chromia client providers [Readme](./src/chromia/README.md).
211
+
212
+
213
+ Breaking changes:
214
+
215
+ - Previously a rest client was initialized with one string containing the address of the node running your blockchain. Now an instance of the rest client is initiated with a list of strings representing the addresses of the nodes where your dapp is running.
216
+ - Previously a rest client query was called with two parameters; queryName and queryObject. Now this call only takes one parameter called queryObject, which is defined as:
217
+ ```javascript
218
+ {
219
+ type: string;
220
+ [arg: string]: RawGtv;
217
221
  }
222
+ ```
218
223
  where type is what previously was called query name.
219
224
 
220
225
 
package/built/index.d.ts CHANGED
@@ -7,4 +7,4 @@ export * as logger from "./src/logger";
7
7
  export * as merkle from "./src/merkle/merkleHelper";
8
8
  export * as encryption from "./src/encryption/encryption";
9
9
  export * as restClientutil from "./src/restclient/restclientutil";
10
- export * as chromiaClientProvider from "./src/chromia/chromiaClientProvider";
10
+ export * as chromiaClient from "./src/chromia/chromiaClientProvider";