@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.cjs
CHANGED
|
@@ -2958,7 +2958,13 @@ var LedgerClient = class {
|
|
|
2958
2958
|
}
|
|
2959
2959
|
async init() {
|
|
2960
2960
|
if (!this.initialized) {
|
|
2961
|
+
this.logger.debug(
|
|
2962
|
+
"Initializing LedgerClient with version %s for url %s",
|
|
2963
|
+
this.clientVersion,
|
|
2964
|
+
this.baseUrl.href
|
|
2965
|
+
);
|
|
2961
2966
|
const versionFromClient = await this.currentClient.GET("/v2/version");
|
|
2967
|
+
this.logger.debug(versionFromClient, "getV2Version response");
|
|
2962
2968
|
this.clientVersion = this.parseSupportedVersions(
|
|
2963
2969
|
versionFromClient.data?.version
|
|
2964
2970
|
);
|