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 +2 -2
- package/dist/quais.js.map +1 -1
- package/dist/quais.min.js +1 -1
- package/dist/quais.umd.js +2 -2
- package/dist/quais.umd.js.map +1 -1
- package/dist/quais.umd.min.js +1 -1
- package/examples/crypto/sign-verify-quai-ecdsa.js +0 -1
- package/lib/commonjs/providers/provider-jsonrpc.js +1 -1
- package/lib/commonjs/providers/provider-jsonrpc.js.map +1 -1
- package/lib/commonjs/signers/abstract-signer.js +1 -1
- package/lib/commonjs/signers/abstract-signer.js.map +1 -1
- package/lib/esm/providers/provider-jsonrpc.js +2 -2
- package/lib/esm/providers/provider-jsonrpc.js.map +1 -1
- package/lib/esm/signers/abstract-signer.js +1 -1
- package/lib/esm/signers/abstract-signer.js.map +1 -1
- package/package.json +1 -1
- package/src/providers/provider-jsonrpc.ts +1 -1
- package/src/signers/abstract-signer.ts +1 -1
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
|
|
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 });
|