@zeroxyz/cli 1.34.1 → 1.34.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.
Files changed (2) hide show
  1. package/dist/index.js +9 -7
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -93043,7 +93043,7 @@ init_esm_shims();
93043
93043
  // ../sdk/dist/index.js
93044
93044
  init_esm_shims();
93045
93045
 
93046
- // ../sdk/dist/chunk-DU665LQG.js
93046
+ // ../sdk/dist/chunk-53I2GRFF.js
93047
93047
  init_esm_shims();
93048
93048
 
93049
93049
  // ../../node_modules/.pnpm/viem@2.52.2_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/index.js
@@ -166852,7 +166852,7 @@ var redactUrl = (raw) => {
166852
166852
  };
166853
166853
  var truncateError = (raw) => raw.length > ERROR_MAX ? `${raw.slice(0, ERROR_MAX)}\u2026` : raw;
166854
166854
  var package_default = {
166855
- version: "0.27.1"
166855
+ version: "0.27.2"
166856
166856
  };
166857
166857
  var SDK_VERSION2 = package_default.version;
166858
166858
  var ZeroError = class extends Error {
@@ -167415,7 +167415,6 @@ var ensureRelayClient = () => {
167415
167415
  if (relayInitialized) return;
167416
167416
  createClient2({
167417
167417
  baseApiUrl: MAINNET_RELAY_API,
167418
- source: "zero-sdk",
167419
167418
  chains: [
167420
167419
  convertViemChainToRelayChain(base),
167421
167420
  convertViemChainToRelayChain(tempo)
@@ -167458,7 +167457,10 @@ var executeByoReverseBridge = async (input) => {
167458
167457
  amount: amountRaw.toString(),
167459
167458
  tradeType: "EXACT_INPUT",
167460
167459
  user: account.address,
167461
- recipient: account.address
167460
+ recipient: account.address,
167461
+ // Pin the referrer off even if the host app configured the shared Relay
167462
+ // client with a `source` (see ensureRelayClient).
167463
+ options: { referrer: void 0 }
167462
167464
  });
167463
167465
  const stepTxs = [];
167464
167466
  for (const step of quote.steps ?? []) {
@@ -168889,7 +168891,8 @@ var Payments = class {
168889
168891
  recipient: account.address,
168890
168892
  // usePermit signs an EIP-712 Permit2 message — works for both
168891
168893
  // account mode and session mode (via managed-account adapter).
168892
- options: { usePermit: true }
168894
+ // referrer pinned off — see ensureRelayClient.
168895
+ options: { usePermit: true, referrer: void 0 }
168893
168896
  });
168894
168897
  let bridgeTxHash = null;
168895
168898
  await getClient().actions.execute({
@@ -168960,7 +168963,6 @@ var Payments = class {
168960
168963
  if (this.relayInitialized) return;
168961
168964
  createClient2({
168962
168965
  baseApiUrl: MAINNET_RELAY_API,
168963
- source: "zero-sdk",
168964
168966
  // Both chains registered so post-bridge confirmation polling can
168965
168967
  // resolve Tempo's RPC; omitting Tempo would hang waiting for a
168966
168968
  // Tempo tx hash on the Base transport.
@@ -176891,7 +176893,7 @@ var placeholderFor = (fieldName, propSchema) => String(sampleValueFor(fieldName,
176891
176893
  // package.json
176892
176894
  var package_default2 = {
176893
176895
  name: "@zeroxyz/cli",
176894
- version: "1.34.1",
176896
+ version: "1.34.2",
176895
176897
  type: "module",
176896
176898
  bin: {
176897
176899
  zero: "dist/index.js",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zeroxyz/cli",
3
- "version": "1.34.1",
3
+ "version": "1.34.2",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "zero": "dist/index.js",