@canton-network/core-ledger-client 0.23.1 → 0.24.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/dist/index.cjs +6 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +6 -0
- package/dist/index.js.map +1 -1
- package/dist/ledger-client.d.ts.map +1 -1
- package/package.json +9 -9
package/dist/index.js
CHANGED
|
@@ -2951,7 +2951,13 @@ var LedgerClient = class {
|
|
|
2951
2951
|
}
|
|
2952
2952
|
async init() {
|
|
2953
2953
|
if (!this.initialized) {
|
|
2954
|
+
this.logger.debug(
|
|
2955
|
+
"Initializing LedgerClient with version %s for url %s",
|
|
2956
|
+
this.clientVersion,
|
|
2957
|
+
this.baseUrl.href
|
|
2958
|
+
);
|
|
2954
2959
|
const versionFromClient = await this.currentClient.GET("/v2/version");
|
|
2960
|
+
this.logger.debug(versionFromClient, "getV2Version response");
|
|
2955
2961
|
this.clientVersion = this.parseSupportedVersions(
|
|
2956
2962
|
versionFromClient.data?.version
|
|
2957
2963
|
);
|