@vaultsaas/core 0.1.2 → 0.1.3

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 CHANGED
@@ -3016,6 +3016,12 @@ var VaultClient = class {
3016
3016
  idempotencyStore;
3017
3017
  idempotencyTtlMs;
3018
3018
  transactionProviderIndex = /* @__PURE__ */ new Map();
3019
+ async close() {
3020
+ if (this.platformConnector) {
3021
+ await this.platformConnector.flush();
3022
+ this.platformConnector.close();
3023
+ }
3024
+ }
3019
3025
  constructor(config) {
3020
3026
  validateVaultConfig(config);
3021
3027
  this.config = config;