quais 1.0.0-alpha.39 → 1.0.0-alpha.40

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/quais.js CHANGED
@@ -24218,7 +24218,7 @@ class AbstractSigner {
24218
24218
  pop.gasPrice = feeData.gasPrice;
24219
24219
  }
24220
24220
  }
24221
- if (pop.data) {
24221
+ if (pop.data && pop.data !== '0x') {
24222
24222
  if (tx.accessList) {
24223
24223
  pop.accessList = tx.accessList;
24224
24224
  }
@@ -33056,7 +33056,7 @@ class JsonRpcApiProvider extends AbstractProvider {
33056
33056
  : this._urlMap.has(Shard.Prime)
33057
33057
  ? Shard.Prime
33058
33058
  : this._urlMap.keys().next().value;
33059
- const zone = shard.length < 4 ? undefined : toZone(shard);
33059
+ const zone = shard && shard.length === 4 ? toZone(shard) : Zone.Cyprus1;
33060
33060
  this.emit('debug', zone, { action: 'sendRpcPayload', payload });
33061
33061
  rawResult.push(await this._send(payload, shard, now));
33062
33062
  this.emit('debug', zone, { action: 'receiveRpcResult', payload });