@trustware/sdk-staging 1.1.12-staging.1 → 1.1.12-staging.2

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.
@@ -12241,7 +12241,7 @@ var init_constants = __esm({
12241
12241
  "src/constants.ts"() {
12242
12242
  "use strict";
12243
12243
  SDK_NAME = "@trustware/sdk";
12244
- SDK_VERSION = "1.1.12-staging.1";
12244
+ SDK_VERSION = "1.1.12-staging.2";
12245
12245
  API_ROOT = "https://bv-staging-api.trustware.io";
12246
12246
  API_PREFIX = "/api";
12247
12247
  }
@@ -14722,7 +14722,18 @@ async function sendRouteAsUserOperation(params) {
14722
14722
  );
14723
14723
  }
14724
14724
  console.debug("[send] UserOp included", { userOpHash, txHash });
14725
- await submitReceipt(intentId, txHash, getSponsorshipRequestId(), eoaAddress);
14725
+ try {
14726
+ void submitReceipt(
14727
+ intentId,
14728
+ txHash,
14729
+ getSponsorshipRequestId(),
14730
+ eoaAddress
14731
+ ).catch((err) => {
14732
+ console.debug("[send] receipt submission failed (non-fatal)", err);
14733
+ });
14734
+ } catch (err) {
14735
+ console.debug("[send] receipt submission failed (non-fatal)", err);
14736
+ }
14726
14737
  return { userOpHash, txHash, intentId };
14727
14738
  }
14728
14739
  var NATIVE_ADDRS;