Closed clu-7 closed 3 years ago
Regarding the first point, the documentation has been updated to use the name cos
for the client name in the example of client creation. Note that the name of the client is a variable, and can be set to any string that is best for organizing your code.
https://cloud.ibm.com/docs/cloud-object-storage?topic=cloud-object-storage-node#node-examples-list-buckets
First time it uses
cosClient
second time iscos
. Where can we go to ask for the documentation to be fixed? Is there any other tested documentation to use?We are using version: "ibm-cos-sdk": "^1.9.0". Tried all kinds of things to debug this (change xmlParser versions, etc) and believe it could be due to a downstream npm dependency error. Same issue reported here: https://github.com/aws/aws-sdk-js/issues/2623 in regards to this package https://www.npmjs.com/package/xml2js
We tried other version in the package.json but none of it is working. As a temporary result we are trying to use the REST API directly. Any guidance on how to proceed with the SDK?