@sip-protocol/sdk 0.2.2 → 0.2.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/browser.js CHANGED
@@ -3145,16 +3145,25 @@ var MockProofProvider = class {
3145
3145
  framework = "mock";
3146
3146
  _isReady = false;
3147
3147
  _warningShown = false;
3148
+ _silent;
3149
+ /**
3150
+ * Create a new MockProofProvider
3151
+ *
3152
+ * @param options - Configuration options
3153
+ */
3154
+ constructor(options) {
3155
+ this._silent = options?.silent ?? false;
3156
+ }
3148
3157
  get isReady() {
3149
3158
  return this._isReady;
3150
3159
  }
3151
3160
  /**
3152
3161
  * Initialize the mock provider
3153
3162
  *
3154
- * Logs a warning to console about mock usage.
3163
+ * Logs a warning to console about mock usage (unless silent mode is enabled).
3155
3164
  */
3156
3165
  async initialize() {
3157
- if (!this._warningShown) {
3166
+ if (!this._warningShown && !this._silent) {
3158
3167
  console.warn(WARNING_MESSAGE);
3159
3168
  this._warningShown = true;
3160
3169
  }
package/dist/browser.mjs CHANGED
@@ -197,7 +197,7 @@ import {
197
197
  walletRegistry,
198
198
  withSecureBuffer,
199
199
  withSecureBufferSync
200
- } from "./chunk-DU7LQDD2.mjs";
200
+ } from "./chunk-NDGUWOOZ.mjs";
201
201
  import {
202
202
  fulfillment_proof_default,
203
203
  funding_proof_default,