@coti-io/coti-wallet-plugin 0.2.4 → 0.2.6
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/index.d.mts +6 -2
- package/dist/index.d.ts +6 -2
- package/dist/index.js +314 -198
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +307 -191
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -568,8 +568,12 @@ type PortalFeeQuote = {
|
|
|
568
568
|
declare const getPodGasPrice: (provider: ethers.BrowserProvider | ethers.JsonRpcProvider | ethers.Provider) => Promise<bigint>;
|
|
569
569
|
/**
|
|
570
570
|
* Gas price for PoD inbox fee estimation and tx send.
|
|
571
|
-
* Uses `
|
|
572
|
-
*
|
|
571
|
+
* Uses `eth_gasPrice` only (with a 10% buffer) so estimate and `tx.gasprice`
|
|
572
|
+
* stay aligned per pod-sdk inbox rules.
|
|
573
|
+
*
|
|
574
|
+
* Avoids `provider.getFeeData()` — ethers maps that to
|
|
575
|
+
* `eth_maxPriorityFeePerGas`, which MetaMask rejects (-32601) on the injected
|
|
576
|
+
* provider even when the chain RPC supports the method.
|
|
573
577
|
*/
|
|
574
578
|
declare const resolvePodTxGasPrice: (provider: ethers.BrowserProvider | ethers.JsonRpcProvider | ethers.Provider) => Promise<bigint>;
|
|
575
579
|
/** @deprecated Use {@link resolvePodTxGasPrice}. */
|
package/dist/index.d.ts
CHANGED
|
@@ -568,8 +568,12 @@ type PortalFeeQuote = {
|
|
|
568
568
|
declare const getPodGasPrice: (provider: ethers.BrowserProvider | ethers.JsonRpcProvider | ethers.Provider) => Promise<bigint>;
|
|
569
569
|
/**
|
|
570
570
|
* Gas price for PoD inbox fee estimation and tx send.
|
|
571
|
-
* Uses `
|
|
572
|
-
*
|
|
571
|
+
* Uses `eth_gasPrice` only (with a 10% buffer) so estimate and `tx.gasprice`
|
|
572
|
+
* stay aligned per pod-sdk inbox rules.
|
|
573
|
+
*
|
|
574
|
+
* Avoids `provider.getFeeData()` — ethers maps that to
|
|
575
|
+
* `eth_maxPriorityFeePerGas`, which MetaMask rejects (-32601) on the injected
|
|
576
|
+
* provider even when the chain RPC supports the method.
|
|
573
577
|
*/
|
|
574
578
|
declare const resolvePodTxGasPrice: (provider: ethers.BrowserProvider | ethers.JsonRpcProvider | ethers.Provider) => Promise<bigint>;
|
|
575
579
|
/** @deprecated Use {@link resolvePodTxGasPrice}. */
|