@trustware/sdk-staging 1.1.12-staging.1 → 1.1.12-staging.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.
@@ -12265,7 +12265,7 @@ var init_constants = __esm({
12265
12265
  "src/constants.ts"() {
12266
12266
  "use strict";
12267
12267
  SDK_NAME = "@trustware/sdk";
12268
- SDK_VERSION = "1.1.12-staging.1";
12268
+ SDK_VERSION = "1.1.12-staging.3";
12269
12269
  API_ROOT = "https://bv-staging-api.trustware.io";
12270
12270
  API_PREFIX = "/api";
12271
12271
  }
@@ -14734,7 +14734,18 @@ async function sendRouteAsUserOperation(params) {
14734
14734
  );
14735
14735
  }
14736
14736
  console.debug("[send] UserOp included", { userOpHash, txHash });
14737
- await submitReceipt(intentId, txHash, getSponsorshipRequestId(), eoaAddress);
14737
+ try {
14738
+ void submitReceipt(
14739
+ intentId,
14740
+ txHash,
14741
+ getSponsorshipRequestId(),
14742
+ eoaAddress
14743
+ ).catch((err) => {
14744
+ console.debug("[send] receipt submission failed (non-fatal)", err);
14745
+ });
14746
+ } catch (err) {
14747
+ console.debug("[send] receipt submission failed (non-fatal)", err);
14748
+ }
14738
14749
  return { userOpHash, txHash, intentId };
14739
14750
  }
14740
14751
  var NATIVE_ADDRS;