viem 2.39.3 → 2.40.0
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/CHANGELOG.md +16 -0
- package/_cjs/accounts/mnemonicToAccount.js +3 -3
- package/_cjs/accounts/mnemonicToAccount.js.map +1 -1
- package/_cjs/actions/index.js +5 -3
- package/_cjs/actions/index.js.map +1 -1
- package/_cjs/actions/public/fillTransaction.js +118 -0
- package/_cjs/actions/public/fillTransaction.js.map +1 -0
- package/_cjs/actions/wallet/prepareTransactionRequest.js +45 -11
- package/_cjs/actions/wallet/prepareTransactionRequest.js.map +1 -1
- package/_cjs/chains/definitions/monad.js +15 -3
- package/_cjs/chains/definitions/monad.js.map +1 -1
- package/_cjs/clients/decorators/public.js +2 -0
- package/_cjs/clients/decorators/public.js.map +1 -1
- package/_cjs/clients/decorators/wallet.js +2 -0
- package/_cjs/clients/decorators/wallet.js.map +1 -1
- package/_cjs/errors/request.js +28 -0
- package/_cjs/errors/request.js.map +1 -1
- package/_cjs/errors/version.js +1 -1
- package/_cjs/index.js.map +1 -1
- package/_cjs/utils/transaction/assertRequest.js +1 -6
- package/_cjs/utils/transaction/assertRequest.js.map +1 -1
- package/_esm/accounts/mnemonicToAccount.js +3 -3
- package/_esm/accounts/mnemonicToAccount.js.map +1 -1
- package/_esm/actions/index.js +1 -0
- package/_esm/actions/index.js.map +1 -1
- package/_esm/actions/public/fillTransaction.js +145 -0
- package/_esm/actions/public/fillTransaction.js.map +1 -0
- package/_esm/actions/wallet/prepareTransactionRequest.js +49 -11
- package/_esm/actions/wallet/prepareTransactionRequest.js.map +1 -1
- package/_esm/chains/definitions/monad.js +15 -3
- package/_esm/chains/definitions/monad.js.map +1 -1
- package/_esm/clients/decorators/public.js +2 -0
- package/_esm/clients/decorators/public.js.map +1 -1
- package/_esm/clients/decorators/wallet.js +2 -0
- package/_esm/clients/decorators/wallet.js.map +1 -1
- package/_esm/errors/request.js +28 -0
- package/_esm/errors/request.js.map +1 -1
- package/_esm/errors/version.js +1 -1
- package/_esm/index.js.map +1 -1
- package/_esm/utils/transaction/assertRequest.js +1 -6
- package/_esm/utils/transaction/assertRequest.js.map +1 -1
- package/_types/accounts/mnemonicToAccount.d.ts +4 -2
- package/_types/accounts/mnemonicToAccount.d.ts.map +1 -1
- package/_types/actions/index.d.ts +1 -0
- package/_types/actions/index.d.ts.map +1 -1
- package/_types/actions/public/fillTransaction.d.ts +49 -0
- package/_types/actions/public/fillTransaction.d.ts.map +1 -0
- package/_types/actions/wallet/prepareTransactionRequest.d.ts +1 -1
- package/_types/actions/wallet/prepareTransactionRequest.d.ts.map +1 -1
- package/_types/chains/definitions/monad.d.ts +15 -12
- package/_types/chains/definitions/monad.d.ts.map +1 -1
- package/_types/clients/decorators/public.d.ts +25 -0
- package/_types/clients/decorators/public.d.ts.map +1 -1
- package/_types/clients/decorators/wallet.d.ts +25 -0
- package/_types/clients/decorators/wallet.d.ts.map +1 -1
- package/_types/errors/request.d.ts +4 -0
- package/_types/errors/request.d.ts.map +1 -1
- package/_types/errors/version.d.ts +1 -1
- package/_types/index.d.ts +1 -0
- package/_types/index.d.ts.map +1 -1
- package/_types/types/eip1193.d.ts +30 -0
- package/_types/types/eip1193.d.ts.map +1 -1
- package/_types/utils/transaction/assertRequest.d.ts +1 -1
- package/_types/utils/transaction/assertRequest.d.ts.map +1 -1
- package/accounts/mnemonicToAccount.ts +6 -4
- package/actions/index.ts +6 -0
- package/actions/public/fillTransaction.ts +250 -0
- package/actions/wallet/prepareTransactionRequest.ts +76 -10
- package/chains/definitions/monad.ts +15 -3
- package/clients/decorators/public.ts +40 -0
- package/clients/decorators/wallet.ts +40 -0
- package/errors/request.ts +8 -1
- package/errors/version.ts +1 -1
- package/index.ts +5 -0
- package/package.json +1 -1
- package/types/eip1193.ts +30 -0
- package/utils/transaction/assertRequest.ts +2 -17
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# viem
|
|
2
2
|
|
|
3
|
+
## 2.40.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#4098](https://github.com/wevm/viem/pull/4098) [`003b231361f223487aa3e6a67a1e5258e8fe758b`](https://github.com/wevm/viem/commit/003b231361f223487aa3e6a67a1e5258e8fe758b) Thanks [@jxom](https://github.com/jxom)! - Hooked up `eth_fillTransaction` routing to `prepareTransactionRequest`, to reduce the RPC calls required to prepare a local transaction from 3-4, to 1 (if `eth_fillTransaction` is supported by the execution node).
|
|
8
|
+
|
|
9
|
+
- [#4098](https://github.com/wevm/viem/pull/4098) [`003b231361f223487aa3e6a67a1e5258e8fe758b`](https://github.com/wevm/viem/commit/003b231361f223487aa3e6a67a1e5258e8fe758b) Thanks [@jxom](https://github.com/jxom)! - Added `fillTransaction` action for `eth_fillTransaction` support.
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [#4069](https://github.com/wevm/viem/pull/4069) [`b46fbe33a45faa9c645fddadfd59d7660b12615c`](https://github.com/wevm/viem/commit/b46fbe33a45faa9c645fddadfd59d7660b12615c) Thanks [@bearpong](https://github.com/bearpong)! - Added `url` property to request errors.
|
|
14
|
+
|
|
15
|
+
- [#4109](https://github.com/wevm/viem/pull/4109) [`40132ab1a9dc4583685b7e1a77368cad953f917d`](https://github.com/wevm/viem/commit/40132ab1a9dc4583685b7e1a77368cad953f917d) Thanks [@keone](https://github.com/keone)! - Updated Monad block explorer URL and added WebSocket URLs, Multicall3 contract, second block explorer, and second RPC URL.
|
|
16
|
+
|
|
17
|
+
- [#4110](https://github.com/wevm/viem/pull/4110) [`90ada93230446875bd2ada289f2b83f4d3a58816`](https://github.com/wevm/viem/commit/90ada93230446875bd2ada289f2b83f4d3a58816) Thanks [@ikautak](https://github.com/ikautak)! - Added `passphrase` option to `mnemonicToAccount`.
|
|
18
|
+
|
|
3
19
|
## 2.39.3
|
|
4
20
|
|
|
5
21
|
### Patch Changes
|
|
@@ -4,8 +4,8 @@ exports.mnemonicToAccount = mnemonicToAccount;
|
|
|
4
4
|
const bip32_1 = require("@scure/bip32");
|
|
5
5
|
const bip39_1 = require("@scure/bip39");
|
|
6
6
|
const hdKeyToAccount_js_1 = require("./hdKeyToAccount.js");
|
|
7
|
-
function mnemonicToAccount(mnemonic,
|
|
8
|
-
const seed = (0, bip39_1.mnemonicToSeedSync)(mnemonic);
|
|
9
|
-
return (0, hdKeyToAccount_js_1.hdKeyToAccount)(bip32_1.HDKey.fromMasterSeed(seed),
|
|
7
|
+
function mnemonicToAccount(mnemonic, { passphrase, ...hdKeyOpts } = {}) {
|
|
8
|
+
const seed = (0, bip39_1.mnemonicToSeedSync)(mnemonic, passphrase);
|
|
9
|
+
return (0, hdKeyToAccount_js_1.hdKeyToAccount)(bip32_1.HDKey.fromMasterSeed(seed), hdKeyOpts);
|
|
10
10
|
}
|
|
11
11
|
//# sourceMappingURL=mnemonicToAccount.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mnemonicToAccount.js","sourceRoot":"","sources":["../../accounts/mnemonicToAccount.ts"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"mnemonicToAccount.js","sourceRoot":"","sources":["../../accounts/mnemonicToAccount.ts"],"names":[],"mappings":";;AAsBA,8CAMC;AA5BD,wCAAoC;AACpC,wCAAiD;AAGjD,2DAI4B;AAc5B,SAAgB,iBAAiB,CAC/B,QAAgB,EAChB,EAAE,UAAU,EAAE,GAAG,SAAS,KAA+B,EAAE;IAE3D,MAAM,IAAI,GAAG,IAAA,0BAAkB,EAAC,QAAQ,EAAE,UAAU,CAAC,CAAA;IACrD,OAAO,IAAA,kCAAc,EAAC,aAAK,CAAC,cAAc,CAAC,IAAI,CAAC,EAAE,SAAS,CAAC,CAAA;AAC9D,CAAC"}
|
package/_cjs/actions/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
5
|
-
exports.writeContractSync = exports.writeContract = exports.watchAsset = exports.waitForCallsStatus = exports.switchChain = exports.signTypedData = exports.signTransaction = exports.signMessage = exports.signAuthorization = void 0;
|
|
3
|
+
exports.watchBlocks = exports.watchBlockNumber = exports.waitForTransactionReceipt = exports.verifyTypedData = exports.verifyMessage = exports.verifyHash = exports.uninstallFilter = exports.simulateContract = exports.simulateCalls = exports.simulate = exports.simulateBlocks = exports.readContract = exports.multicall = exports.getTransactionReceipt = exports.getTransactionCount = exports.getTransactionConfirmations = exports.getTransaction = exports.getStorageAt = exports.getProof = exports.getLogs = exports.getGasPrice = exports.getFilterLogs = exports.getFilterChanges = exports.getFeeHistory = exports.getEip712Domain = exports.getContractEvents = exports.getCode = exports.getBytecode = exports.getChainId = exports.getBlockTransactionCount = exports.getBlockNumber = exports.getBlock = exports.getBlobBaseFee = exports.getBalance = exports.fillTransaction = exports.estimateMaxPriorityFeePerGas = exports.estimateGas = exports.estimateFeesPerGas = exports.estimateContractGas = exports.createPendingTransactionFilter = exports.createEventFilter = exports.createContractEventFilter = exports.createBlockFilter = exports.createAccessList = exports.call = exports.getEnsText = exports.getEnsResolver = exports.getEnsName = exports.getEnsAvatar = exports.getEnsAddress = void 0;
|
|
4
|
+
exports.sendTransactionSync = exports.sendTransaction = exports.sendRawTransactionSync = exports.sendRawTransaction = exports.sendCallsSync = exports.sendCalls = exports.requestPermissions = exports.requestAddresses = exports.prepareTransactionRequest = exports.defaultPrepareTransactionRequestParameters = exports.prepareAuthorization = exports.getPermissions = exports.getCapabilities = exports.getCallsStatus = exports.getAddresses = exports.deployContract = exports.addChain = exports.stopImpersonatingAccount = exports.snapshot = exports.setStorageAt = exports.setRpcUrl = exports.setNonce = exports.setNextBlockTimestamp = exports.setNextBlockBaseFeePerGas = exports.setMinGasPrice = exports.setLoggingEnabled = exports.setIntervalMining = exports.setCoinbase = exports.setCode = exports.setBlockTimestampInterval = exports.setBlockGasLimit = exports.setBalance = exports.setAutomine = exports.sendUnsignedTransaction = exports.revert = exports.reset = exports.removeBlockTimestampInterval = exports.mine = exports.loadState = exports.inspectTxpool = exports.increaseTime = exports.impersonateAccount = exports.getTxpoolStatus = exports.getTxpoolContent = exports.getAutomine = exports.dumpState = exports.dropTransaction = exports.watchPendingTransactions = exports.watchEvent = exports.watchContractEvent = void 0;
|
|
5
|
+
exports.writeContractSync = exports.writeContract = exports.watchAsset = exports.waitForCallsStatus = exports.switchChain = exports.signTypedData = exports.signTransaction = exports.signMessage = exports.signAuthorization = exports.showCallsStatus = void 0;
|
|
6
6
|
var getEnsAddress_js_1 = require("./ens/getEnsAddress.js");
|
|
7
7
|
Object.defineProperty(exports, "getEnsAddress", { enumerable: true, get: function () { return getEnsAddress_js_1.getEnsAddress; } });
|
|
8
8
|
var getEnsAvatar_js_1 = require("./ens/getEnsAvatar.js");
|
|
@@ -33,6 +33,8 @@ var estimateGas_js_1 = require("./public/estimateGas.js");
|
|
|
33
33
|
Object.defineProperty(exports, "estimateGas", { enumerable: true, get: function () { return estimateGas_js_1.estimateGas; } });
|
|
34
34
|
var estimateMaxPriorityFeePerGas_js_1 = require("./public/estimateMaxPriorityFeePerGas.js");
|
|
35
35
|
Object.defineProperty(exports, "estimateMaxPriorityFeePerGas", { enumerable: true, get: function () { return estimateMaxPriorityFeePerGas_js_1.estimateMaxPriorityFeePerGas; } });
|
|
36
|
+
var fillTransaction_js_1 = require("./public/fillTransaction.js");
|
|
37
|
+
Object.defineProperty(exports, "fillTransaction", { enumerable: true, get: function () { return fillTransaction_js_1.fillTransaction; } });
|
|
36
38
|
var getBalance_js_1 = require("./public/getBalance.js");
|
|
37
39
|
Object.defineProperty(exports, "getBalance", { enumerable: true, get: function () { return getBalance_js_1.getBalance; } });
|
|
38
40
|
var getBlobBaseFee_js_1 = require("./public/getBlobBaseFee.js");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":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FAK2C;AADzC,mIAAA,sBAAsB,OAAA;AAExB,kEAKoC;AADlC,qHAAA,eAAe,OAAA;AAEjB,0EAKwC;AADtC,6HAAA,mBAAmB,OAAA;AAErB,kEAKoC;AADlC,qHAAA,eAAe,OAAA;AAEjB,sEAKsC;AADpC,yHAAA,iBAAiB,OAAA;AAEnB,0DAKgC;AAD9B,6GAAA,WAAW,OAAA;AAEb,kEAKoC;AADlC,qHAAA,eAAe,OAAA;AAEjB,8DAKkC;AADhC,iHAAA,aAAa,OAAA;AAEf,0DAIgC;AAD9B,6GAAA,WAAW,OAAA;AAEb,wEAMuC;AADrC,2HAAA,kBAAkB,OAAA;AAEpB,wDAK+B;AAD7B,2GAAA,UAAU,OAAA;AAEZ,8DAKkC;AADhC,iHAAA,aAAa,OAAA;AAEf,sEAKsC;AADpC,yHAAA,iBAAiB,OAAA"}
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.fillTransaction = fillTransaction;
|
|
4
|
+
const parseAccount_js_1 = require("../../accounts/utils/parseAccount.js");
|
|
5
|
+
const fee_js_1 = require("../../errors/fee.js");
|
|
6
|
+
const getTransactionError_js_1 = require("../../utils/errors/getTransactionError.js");
|
|
7
|
+
const extract_js_1 = require("../../utils/formatters/extract.js");
|
|
8
|
+
const transaction_js_1 = require("../../utils/formatters/transaction.js");
|
|
9
|
+
const transactionRequest_js_1 = require("../../utils/formatters/transactionRequest.js");
|
|
10
|
+
const getAction_js_1 = require("../../utils/getAction.js");
|
|
11
|
+
const assertRequest_js_1 = require("../../utils/transaction/assertRequest.js");
|
|
12
|
+
const getBlock_js_1 = require("./getBlock.js");
|
|
13
|
+
const getChainId_js_1 = require("./getChainId.js");
|
|
14
|
+
async function fillTransaction(client, parameters) {
|
|
15
|
+
const { account = client.account, accessList, authorizationList, chain = client.chain, blobVersionedHashes, blobs, data, gas, gasPrice, maxFeePerBlobGas, maxFeePerGas, maxPriorityFeePerGas, nonce: nonce_, nonceManager, to, type, value, ...rest } = parameters;
|
|
16
|
+
const nonce = await (async () => {
|
|
17
|
+
if (!account)
|
|
18
|
+
return nonce_;
|
|
19
|
+
if (!nonceManager)
|
|
20
|
+
return nonce_;
|
|
21
|
+
const account_ = (0, parseAccount_js_1.parseAccount)(account);
|
|
22
|
+
const chainId = chain
|
|
23
|
+
? chain.id
|
|
24
|
+
: await (0, getAction_js_1.getAction)(client, getChainId_js_1.getChainId, 'getChainId')({});
|
|
25
|
+
return await nonceManager.consume({
|
|
26
|
+
address: account_.address,
|
|
27
|
+
chainId,
|
|
28
|
+
client,
|
|
29
|
+
});
|
|
30
|
+
})();
|
|
31
|
+
(0, assertRequest_js_1.assertRequest)(parameters);
|
|
32
|
+
const chainFormat = chain?.formatters?.transactionRequest?.format;
|
|
33
|
+
const format = chainFormat || transactionRequest_js_1.formatTransactionRequest;
|
|
34
|
+
const request = format({
|
|
35
|
+
...(0, extract_js_1.extract)(rest, { format: chainFormat }),
|
|
36
|
+
account: account ? (0, parseAccount_js_1.parseAccount)(account) : undefined,
|
|
37
|
+
accessList,
|
|
38
|
+
authorizationList,
|
|
39
|
+
blobs,
|
|
40
|
+
blobVersionedHashes,
|
|
41
|
+
data,
|
|
42
|
+
gas,
|
|
43
|
+
gasPrice,
|
|
44
|
+
maxFeePerBlobGas,
|
|
45
|
+
maxFeePerGas,
|
|
46
|
+
maxPriorityFeePerGas,
|
|
47
|
+
nonce,
|
|
48
|
+
to,
|
|
49
|
+
type,
|
|
50
|
+
value,
|
|
51
|
+
}, 'fillTransaction');
|
|
52
|
+
try {
|
|
53
|
+
const response = await client.request({
|
|
54
|
+
method: 'eth_fillTransaction',
|
|
55
|
+
params: [request],
|
|
56
|
+
});
|
|
57
|
+
const format = chain?.formatters?.transaction?.format || transaction_js_1.formatTransaction;
|
|
58
|
+
const transaction = format(response.tx);
|
|
59
|
+
delete transaction.blockHash;
|
|
60
|
+
delete transaction.blockNumber;
|
|
61
|
+
delete transaction.r;
|
|
62
|
+
delete transaction.s;
|
|
63
|
+
delete transaction.transactionIndex;
|
|
64
|
+
delete transaction.v;
|
|
65
|
+
delete transaction.yParity;
|
|
66
|
+
transaction.data = transaction.input;
|
|
67
|
+
if (transaction.gas)
|
|
68
|
+
transaction.gas = parameters.gas ?? transaction.gas;
|
|
69
|
+
if (transaction.gasPrice)
|
|
70
|
+
transaction.gasPrice = parameters.gasPrice ?? transaction.gasPrice;
|
|
71
|
+
if (transaction.maxFeePerBlobGas)
|
|
72
|
+
transaction.maxFeePerBlobGas =
|
|
73
|
+
parameters.maxFeePerBlobGas ?? transaction.maxFeePerBlobGas;
|
|
74
|
+
if (transaction.maxFeePerGas)
|
|
75
|
+
transaction.maxFeePerGas =
|
|
76
|
+
parameters.maxFeePerGas ?? transaction.maxFeePerGas;
|
|
77
|
+
if (transaction.maxPriorityFeePerGas)
|
|
78
|
+
transaction.maxPriorityFeePerGas =
|
|
79
|
+
parameters.maxPriorityFeePerGas ?? transaction.maxPriorityFeePerGas;
|
|
80
|
+
if (transaction.nonce)
|
|
81
|
+
transaction.nonce = parameters.nonce ?? transaction.nonce;
|
|
82
|
+
const feeMultiplier = await (async () => {
|
|
83
|
+
if (typeof chain?.fees?.baseFeeMultiplier === 'function') {
|
|
84
|
+
const block = await (0, getAction_js_1.getAction)(client, getBlock_js_1.getBlock, 'getBlock')({});
|
|
85
|
+
return chain.fees.baseFeeMultiplier({
|
|
86
|
+
block,
|
|
87
|
+
client,
|
|
88
|
+
request: parameters,
|
|
89
|
+
});
|
|
90
|
+
}
|
|
91
|
+
return chain?.fees?.baseFeeMultiplier ?? 1.2;
|
|
92
|
+
})();
|
|
93
|
+
if (feeMultiplier < 1)
|
|
94
|
+
throw new fee_js_1.BaseFeeScalarError();
|
|
95
|
+
const decimals = feeMultiplier.toString().split('.')[1]?.length ?? 0;
|
|
96
|
+
const denominator = 10 ** decimals;
|
|
97
|
+
const multiplyFee = (base) => (base * BigInt(Math.ceil(feeMultiplier * denominator))) /
|
|
98
|
+
BigInt(denominator);
|
|
99
|
+
if (transaction.maxFeePerGas && !parameters.maxFeePerGas)
|
|
100
|
+
transaction.maxFeePerGas = multiplyFee(transaction.maxFeePerGas);
|
|
101
|
+
if (transaction.gasPrice && !parameters.gasPrice)
|
|
102
|
+
transaction.gasPrice = multiplyFee(transaction.gasPrice);
|
|
103
|
+
return {
|
|
104
|
+
raw: response.raw,
|
|
105
|
+
transaction: {
|
|
106
|
+
from: request.from,
|
|
107
|
+
...transaction,
|
|
108
|
+
},
|
|
109
|
+
};
|
|
110
|
+
}
|
|
111
|
+
catch (err) {
|
|
112
|
+
throw (0, getTransactionError_js_1.getTransactionError)(err, {
|
|
113
|
+
...parameters,
|
|
114
|
+
chain: client.chain,
|
|
115
|
+
});
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
//# sourceMappingURL=fillTransaction.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fillTransaction.js","sourceRoot":"","sources":["../../../actions/public/fillTransaction.ts"],"names":[],"mappings":";;AA6FA,0CA4JC;AAxPD,0EAAmE;AAInE,gDAAwD;AAYxD,sFAGkD;AAClD,kEAA2D;AAC3D,0EAG8C;AAC9C,wFAGqD;AACrD,2DAAoD;AAEpD,+EAAwE;AACxE,+CAAwC;AACxC,mDAA2D;AA2DpD,KAAK,UAAU,eAAe,CAMnC,MAAyC,EACzC,UAKC;IAED,MAAM,EACJ,OAAO,GAAG,MAAM,CAAC,OAAO,EACxB,UAAU,EACV,iBAAiB,EACjB,KAAK,GAAG,MAAM,CAAC,KAAK,EACpB,mBAAmB,EACnB,KAAK,EACL,IAAI,EACJ,GAAG,EACH,QAAQ,EACR,gBAAgB,EAChB,YAAY,EACZ,oBAAoB,EACpB,KAAK,EAAE,MAAM,EACb,YAAY,EACZ,EAAE,EACF,IAAI,EACJ,KAAK,EACL,GAAG,IAAI,EACR,GAAG,UAAU,CAAA;IAEd,MAAM,KAAK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G,WAAW;aACf;SACF,CAAA;IACH,CAAC;IAAC,OAAO,GAAG,EAAE,CAAC;QACb,MAAM,IAAA,4CAAmB,EACvB,GAAgB,EAChB;YACE,GAAG,UAAU;YACb,KAAK,EAAE,MAAM,CAAC,KAAK;SACX,CACX,CAAA;IACH,CAAC;AACH,CAAC"}
|
|
@@ -13,8 +13,10 @@ const blobsToProofs_js_1 = require("../../utils/blob/blobsToProofs.js");
|
|
|
13
13
|
const commitmentsToVersionedHashes_js_1 = require("../../utils/blob/commitmentsToVersionedHashes.js");
|
|
14
14
|
const toBlobSidecars_js_1 = require("../../utils/blob/toBlobSidecars.js");
|
|
15
15
|
const getAction_js_1 = require("../../utils/getAction.js");
|
|
16
|
+
const lru_js_1 = require("../../utils/lru.js");
|
|
16
17
|
const assertRequest_js_1 = require("../../utils/transaction/assertRequest.js");
|
|
17
18
|
const getTransactionType_js_1 = require("../../utils/transaction/getTransactionType.js");
|
|
19
|
+
const fillTransaction_js_1 = require("../public/fillTransaction.js");
|
|
18
20
|
const getChainId_js_1 = require("../public/getChainId.js");
|
|
19
21
|
exports.defaultParameters = [
|
|
20
22
|
'blobVersionedHashes',
|
|
@@ -25,10 +27,42 @@ exports.defaultParameters = [
|
|
|
25
27
|
'type',
|
|
26
28
|
];
|
|
27
29
|
exports.eip1559NetworkCache = new Map();
|
|
28
|
-
|
|
29
|
-
|
|
30
|
+
const supportsFillTransaction = new lru_js_1.LruMap(128);
|
|
31
|
+
async function prepareTransactionRequest(client, args_) {
|
|
32
|
+
const attemptFill = supportsFillTransaction.get(client.uid) !== false &&
|
|
33
|
+
['fees', 'gas'].some((parameter) => args_.parameters?.includes(parameter));
|
|
34
|
+
const fillResult = attemptFill
|
|
35
|
+
? await (0, getAction_js_1.getAction)(client, fillTransaction_js_1.fillTransaction, 'fillTransaction')(args_)
|
|
36
|
+
.then((result) => {
|
|
37
|
+
const { chainId, from, gas, gasPrice, nonce, maxFeePerBlobGas, maxFeePerGas, maxPriorityFeePerGas, type, } = result.transaction;
|
|
38
|
+
supportsFillTransaction.set(client.uid, true);
|
|
39
|
+
return {
|
|
40
|
+
...args_,
|
|
41
|
+
chainId,
|
|
42
|
+
from,
|
|
43
|
+
gas,
|
|
44
|
+
gasPrice,
|
|
45
|
+
nonce,
|
|
46
|
+
maxFeePerBlobGas,
|
|
47
|
+
maxFeePerGas,
|
|
48
|
+
maxPriorityFeePerGas,
|
|
49
|
+
type,
|
|
50
|
+
};
|
|
51
|
+
})
|
|
52
|
+
.catch((e) => {
|
|
53
|
+
const error = e;
|
|
54
|
+
if (error.cause.name === 'MethodNotFoundRpcError' ||
|
|
55
|
+
error.cause.name === 'MethodNotSupportedRpcError')
|
|
56
|
+
supportsFillTransaction.set(client.uid, false);
|
|
57
|
+
return args_;
|
|
58
|
+
})
|
|
59
|
+
: args_;
|
|
60
|
+
const { account: account_ = client.account, blobs, chain, gas, kzg, nonce, nonceManager, parameters = exports.defaultParameters, type, } = fillResult;
|
|
30
61
|
const account = account_ ? (0, parseAccount_js_1.parseAccount)(account_) : account_;
|
|
31
|
-
const request = {
|
|
62
|
+
const request = {
|
|
63
|
+
...fillResult,
|
|
64
|
+
...(account ? { from: account?.address } : {}),
|
|
65
|
+
};
|
|
32
66
|
let block;
|
|
33
67
|
async function getBlock() {
|
|
34
68
|
if (block)
|
|
@@ -42,8 +76,8 @@ async function prepareTransactionRequest(client, args) {
|
|
|
42
76
|
return chainId;
|
|
43
77
|
if (chain)
|
|
44
78
|
return chain.id;
|
|
45
|
-
if (typeof
|
|
46
|
-
return
|
|
79
|
+
if (typeof request.chainId !== 'undefined')
|
|
80
|
+
return request.chainId;
|
|
47
81
|
const chainId_ = await (0, getAction_js_1.getAction)(client, getChainId_js_1.getChainId, 'getChainId')({});
|
|
48
82
|
chainId = chainId_;
|
|
49
83
|
return chainId;
|
|
@@ -114,9 +148,9 @@ async function prepareTransactionRequest(client, args) {
|
|
|
114
148
|
chain,
|
|
115
149
|
request: request,
|
|
116
150
|
});
|
|
117
|
-
if (typeof
|
|
118
|
-
|
|
119
|
-
|
|
151
|
+
if (typeof request.maxPriorityFeePerGas === 'undefined' &&
|
|
152
|
+
request.maxFeePerGas &&
|
|
153
|
+
request.maxFeePerGas < maxPriorityFeePerGas)
|
|
120
154
|
throw new fee_js_1.MaxFeePerGasTooLowError({
|
|
121
155
|
maxPriorityFeePerGas,
|
|
122
156
|
});
|
|
@@ -125,10 +159,10 @@ async function prepareTransactionRequest(client, args) {
|
|
|
125
159
|
}
|
|
126
160
|
}
|
|
127
161
|
else {
|
|
128
|
-
if (typeof
|
|
129
|
-
typeof
|
|
162
|
+
if (typeof request.maxFeePerGas !== 'undefined' ||
|
|
163
|
+
typeof request.maxPriorityFeePerGas !== 'undefined')
|
|
130
164
|
throw new fee_js_1.Eip1559FeesNotSupportedError();
|
|
131
|
-
if (typeof
|
|
165
|
+
if (typeof request.gasPrice === 'undefined') {
|
|
132
166
|
const block = await getBlock();
|
|
133
167
|
const { gasPrice: gasPrice_ } = await (0, estimateFeesPerGas_js_1.internal_estimateFeesPerGas)(client, {
|
|
134
168
|
block: block,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"prepareTransactionRequest.js","sourceRoot":"","sources":["../../../actions/wallet/prepareTransactionRequest.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"prepareTransactionRequest.js","sourceRoot":"","sources":["../../../actions/wallet/prepareTransactionRequest.ts"],"names":[],"mappings":";;;AAmPA,8DA+PC;AAhfD,0EAG6C;AAC7C,sFAGmD;AACnD,wEAI4C;AAC5C,kEAGyC;AACzC,wFAGoD;AAKpD,gDAG4B;AAyB5B,kFAA2E;AAC3E,wEAAiE;AACjE,sGAA+F;AAC/F,0EAAmE;AAEnE,2DAAoD;AACpD,+CAA2C;AAE3C,+EAIiD;AACjD,yFAGsD;AACtD,qEAGqC;AACrC,2DAAmE;AAEtD,QAAA,iBAAiB,GAAG;IAC/B,qBAAqB;IACrB,SAAS;IACT,MAAM;IACN,K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;YACA,GAAG,OAAO;YACV,OAAO;YACP,OAAO,EAAE,OAAO,EAAE,IAAI,KAAK,OAAO,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,qBAAqB,CAAC;SACzC,CAAC,CAAA;IAE7B,IAAA,gCAAa,EAAC,OAAkC,CAAC,CAAA;IAEjD,OAAO,OAAO,CAAC,UAAU,CAAA;IAEzB,OAAO,OAAc,CAAA;AACvB,CAAC"}
|
|
@@ -13,15 +13,27 @@ exports.monad = (0, defineChain_js_1.defineChain)({
|
|
|
13
13
|
},
|
|
14
14
|
rpcUrls: {
|
|
15
15
|
default: {
|
|
16
|
-
http: ['https://rpc.monad.xyz'],
|
|
16
|
+
http: ['https://rpc.monad.xyz', 'https://rpc1.monad.xyz'],
|
|
17
|
+
webSocket: ['wss://rpc.monad.xyz', 'wss://rpc1.monad.xyz'],
|
|
17
18
|
},
|
|
18
19
|
},
|
|
19
20
|
blockExplorers: {
|
|
20
21
|
default: {
|
|
21
|
-
name: '
|
|
22
|
-
url: 'https://
|
|
22
|
+
name: 'MonadVision',
|
|
23
|
+
url: 'https://monadvision.com',
|
|
24
|
+
},
|
|
25
|
+
monadscan: {
|
|
26
|
+
name: 'Monadscan',
|
|
27
|
+
url: 'https://monadscan.com',
|
|
28
|
+
apiUrl: 'https://api.monadscan.com/api',
|
|
23
29
|
},
|
|
24
30
|
},
|
|
25
31
|
testnet: false,
|
|
32
|
+
contracts: {
|
|
33
|
+
multicall3: {
|
|
34
|
+
address: '0xcA11bde05977b3631167028862bE2a173976CA11',
|
|
35
|
+
blockCreated: 9248132,
|
|
36
|
+
},
|
|
37
|
+
},
|
|
26
38
|
});
|
|
27
39
|
//# sourceMappingURL=monad.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"monad.js","sourceRoot":"","sources":["../../../chains/definitions/monad.ts"],"names":[],"mappings":";;;AAAA,qEAA8D;AAEjD,QAAA,KAAK,GAAiB,IAAA,4BAAW,EAAC;IAC7C,EAAE,EAAE,GAAG;IACP,IAAI,EAAE,OAAO;IACb,SAAS,EAAE,GAAG;IACd,cAAc,EAAE;QACd,IAAI,EAAE,OAAO;QACb,MAAM,EAAE,KAAK;QACb,QAAQ,EAAE,EAAE;KACb;IACD,OAAO,EAAE;QACP,OAAO,EAAE;YACP,IAAI,EAAE,CAAC,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"monad.js","sourceRoot":"","sources":["../../../chains/definitions/monad.ts"],"names":[],"mappings":";;;AAAA,qEAA8D;AAEjD,QAAA,KAAK,GAAiB,IAAA,4BAAW,EAAC;IAC7C,EAAE,EAAE,GAAG;IACP,IAAI,EAAE,OAAO;IACb,SAAS,EAAE,GAAG;IACd,cAAc,EAAE;QACd,IAAI,EAAE,OAAO;QACb,MAAM,EAAE,KAAK;QACb,QAAQ,EAAE,EAAE;KACb;IACD,OAAO,EAAE;QACP,OAAO,EAAE;YACP,IAAI,EAAE,CAAC,uBAAuB,EAAE,wBAAwB,CAAC;YACzD,SAAS,EAAE,CAAC,qBAAqB,EAAE,sBAAsB,CAAC;SAC3D;KACF;IACD,cAAc,EAAE;QACd,OAAO,EAAE;YACP,IAAI,EAAE,aAAa;YACnB,GAAG,EAAE,yBAAyB;SAC/B;QACD,SAAS,EAAE;YACT,IAAI,EAAE,WAAW;YACjB,GAAG,EAAE,uBAAuB;YAC5B,MAAM,EAAE,+BAA+B;SACxC;KACF;IACD,OAAO,EAAE,KAAK;IACd,SAAS,EAAE;QACT,UAAU,EAAE;YACV,OAAO,EAAE,4CAA4C;YACrD,YAAY,EAAE,OAAO;SACtB;KACF;CACF,CAAC,CAAA"}
|
|
@@ -16,6 +16,7 @@ const estimateContractGas_js_1 = require("../../actions/public/estimateContractG
|
|
|
16
16
|
const estimateFeesPerGas_js_1 = require("../../actions/public/estimateFeesPerGas.js");
|
|
17
17
|
const estimateGas_js_1 = require("../../actions/public/estimateGas.js");
|
|
18
18
|
const estimateMaxPriorityFeePerGas_js_1 = require("../../actions/public/estimateMaxPriorityFeePerGas.js");
|
|
19
|
+
const fillTransaction_js_1 = require("../../actions/public/fillTransaction.js");
|
|
19
20
|
const getBalance_js_1 = require("../../actions/public/getBalance.js");
|
|
20
21
|
const getBlobBaseFee_js_1 = require("../../actions/public/getBlobBaseFee.js");
|
|
21
22
|
const getBlock_js_1 = require("../../actions/public/getBlock.js");
|
|
@@ -88,6 +89,7 @@ function publicActions(client) {
|
|
|
88
89
|
getLogs: (args) => (0, getLogs_js_1.getLogs)(client, args),
|
|
89
90
|
getProof: (args) => (0, getProof_js_1.getProof)(client, args),
|
|
90
91
|
estimateMaxPriorityFeePerGas: (args) => (0, estimateMaxPriorityFeePerGas_js_1.estimateMaxPriorityFeePerGas)(client, args),
|
|
92
|
+
fillTransaction: (args) => (0, fillTransaction_js_1.fillTransaction)(client, args),
|
|
91
93
|
getStorageAt: (args) => (0, getStorageAt_js_1.getStorageAt)(client, args),
|
|
92
94
|
getTransaction: (args) => (0, getTransaction_js_1.getTransaction)(client, args),
|
|
93
95
|
getTransactionConfirmations: (args) => (0, getTransactionConfirmations_js_1.getTransactionConfirmations)(client, args),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"public.js","sourceRoot":"","sources":["../../../clients/decorators/public.ts"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"public.js","sourceRoot":"","sources":["../../../clients/decorators/public.ts"],"names":[],"mappings":";;AAs/DA,sCAwEC;AA5jED,yEAI2C;AAC3C,uEAI0C;AAC1C,mEAIwC;AACxC,2EAI4C;AAC5C,mEAIwC;AACxC,0DAIqC;AACrC,kFAIiD;AACjD,oFAGkD;AAClD,oGAI0D;AAC1D,oFAIkD;AAClD,8GAG+D;AAC/D,wFAIoD;AACpD,sFAImD;AACnD,wEAI4C;AAC5C,0GAI6D;AAC7D,gFAIgD;AAChD,sEAI2C;AAC3C,8EAG+C;AAC/C,kEAIyC;AACzC,8EAI+C;AAC/C,kGAIyD;AACzD,sEAG2C;AAC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AC,IAAI,EAAE,EAAE,CAAC,IAAA,wCAAiB,EAAC,MAAM,EAAE,IAAI,CAAC;QAC5D,eAAe,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAA,oCAAe,EAAC,MAAM,EAAE,IAAI,CAAC;QACxD,eAAe,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAA,oCAAe,EAAC,MAAM,EAAE,IAAI,CAAC;QACxD,yBAAyB,EAAE,CAAC,IAAI,EAAE,EAAE,CAClC,IAAA,wDAAyB,EAAC,MAAM,EAAE,IAAI,CAAC;QACzC,WAAW,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAA,4BAAW,EAAC,MAAM,EAAE,IAAI,CAAC;QAChD,gBAAgB,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAA,sCAAgB,EAAC,MAAM,EAAE,IAAI,CAAC;QAC1D,kBAAkB,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAA,0CAAkB,EAAC,MAAM,EAAE,IAAI,CAAC;QAC9D,UAAU,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAA,0BAAU,EAAC,MAAM,EAAE,IAAI,CAAC;QAC9C,wBAAwB,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAA,sDAAwB,EAAC,MAAM,EAAE,IAAI,CAAC;KAC3E,CAAA;AACH,CAAC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.walletActions = walletActions;
|
|
4
|
+
const fillTransaction_js_1 = require("../../actions/public/fillTransaction.js");
|
|
4
5
|
const getChainId_js_1 = require("../../actions/public/getChainId.js");
|
|
5
6
|
const addChain_js_1 = require("../../actions/wallet/addChain.js");
|
|
6
7
|
const deployContract_js_1 = require("../../actions/wallet/deployContract.js");
|
|
@@ -32,6 +33,7 @@ function walletActions(client) {
|
|
|
32
33
|
return {
|
|
33
34
|
addChain: (args) => (0, addChain_js_1.addChain)(client, args),
|
|
34
35
|
deployContract: (args) => (0, deployContract_js_1.deployContract)(client, args),
|
|
36
|
+
fillTransaction: (args) => (0, fillTransaction_js_1.fillTransaction)(client, args),
|
|
35
37
|
getAddresses: () => (0, getAddresses_js_1.getAddresses)(client),
|
|
36
38
|
getCallsStatus: (args) => (0, getCallsStatus_js_1.getCallsStatus)(client, args),
|
|
37
39
|
getCapabilities: (args) => (0, getCapabilities_js_1.getCapabilities)(client, args),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wallet.js","sourceRoot":"","sources":["../../../clients/decorators/wallet.ts"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"wallet.js","sourceRoot":"","sources":["../../../clients/decorators/wallet.ts"],"names":[],"mappings":";;AA2pCA,sCAoCC;AA5rCD,gFAIgD;AAChD,sEAG2C;AAC3C,kEAGyC;AACzC,8EAI+C;AAC/C,0EAG6C;AAC7C,8EAI+C;AAC/C,gFAIgD;AAChD,8EAG+C;AAC/C,0FAIqD;AACrD,oGAK0D;AAC1D,kFAGiD;AACjD,sFAImD;AACnD,oEAI0C;AAC1C,4EAI8C;AAC9C,sFAImD;AACnD,8FAIuD;AACvD,gFAKgD;AAChD,wFAKoD;AACpD,gFAIgD;AAChD,oFAIkD;AAClD,wEAI4C;AAC5C,gFAKgD;AAChD,4EAI8C;AAC9C,wEAG4C;AAC5C,sFAImD;AACnD,sEAI2C;AAC3C,4EAI8C;AAC9C,oFAIkD;AA+gClD,SAAgB,aAAa,CAI3B,MAAyC;IACzC,OAAO;QACL,QAAQ,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAA,sBAAQ,EAAC,MAAM,EAAE,IAAI,CAAC;QAC1C,cAAc,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAA,kCAAc,EAAC,MAAM,EAAE,IAAI,CAAC;QACtD,eAAe,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAA,oCAAe,EAAC,MAAM,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ACxD,mBAAmB,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAA,4CAAmB,EAAC,MAAM,EAAE,IAAI,CAAC;QAChE,eAAe,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAA,oCAAe,EAAC,MAAM,EAAE,IAAI,CAAC;QACxD,iBAAiB,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAA,wCAAiB,EAAC,MAAM,EAAE,IAAI,CAAC;QAC5D,WAAW,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAA,4BAAW,EAAC,MAAM,EAAE,IAAI,CAAC;QAChD,eAAe,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAA,oCAAe,EAAC,MAAM,EAAE,IAAI,CAAC;QACxD,aAAa,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAA,gCAAa,EAAC,MAAM,EAAE,IAAI,CAAC;QACpD,WAAW,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAA,4BAAW,EAAC,MAAM,EAAE,IAAI,CAAC;QAChD,kBAAkB,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAA,0CAAkB,EAAC,MAAM,EAAE,IAAI,CAAC;QAC9D,UAAU,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAA,0BAAU,EAAC,MAAM,EAAE,IAAI,CAAC;QAC9C,aAAa,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAA,gCAAa,EAAC,MAAM,EAAE,IAAW,CAAC;QAC3D,iBAAiB,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAA,wCAAiB,EAAC,MAAM,EAAE,IAAW,CAAC;KACpE,CAAA;AACH,CAAC"}
|
package/_cjs/errors/request.js
CHANGED
|
@@ -58,6 +58,13 @@ class WebSocketRequestError extends base_js_1.BaseError {
|
|
|
58
58
|
].filter(Boolean),
|
|
59
59
|
name: 'WebSocketRequestError',
|
|
60
60
|
});
|
|
61
|
+
Object.defineProperty(this, "url", {
|
|
62
|
+
enumerable: true,
|
|
63
|
+
configurable: true,
|
|
64
|
+
writable: true,
|
|
65
|
+
value: void 0
|
|
66
|
+
});
|
|
67
|
+
this.url = url;
|
|
61
68
|
}
|
|
62
69
|
}
|
|
63
70
|
exports.WebSocketRequestError = WebSocketRequestError;
|
|
@@ -81,8 +88,15 @@ class RpcRequestError extends base_js_1.BaseError {
|
|
|
81
88
|
writable: true,
|
|
82
89
|
value: void 0
|
|
83
90
|
});
|
|
91
|
+
Object.defineProperty(this, "url", {
|
|
92
|
+
enumerable: true,
|
|
93
|
+
configurable: true,
|
|
94
|
+
writable: true,
|
|
95
|
+
value: void 0
|
|
96
|
+
});
|
|
84
97
|
this.code = error.code;
|
|
85
98
|
this.data = error.data;
|
|
99
|
+
this.url = url;
|
|
86
100
|
}
|
|
87
101
|
}
|
|
88
102
|
exports.RpcRequestError = RpcRequestError;
|
|
@@ -92,6 +106,13 @@ class SocketClosedError extends base_js_1.BaseError {
|
|
|
92
106
|
metaMessages: [url && `URL: ${(0, utils_js_1.getUrl)(url)}`].filter(Boolean),
|
|
93
107
|
name: 'SocketClosedError',
|
|
94
108
|
});
|
|
109
|
+
Object.defineProperty(this, "url", {
|
|
110
|
+
enumerable: true,
|
|
111
|
+
configurable: true,
|
|
112
|
+
writable: true,
|
|
113
|
+
value: void 0
|
|
114
|
+
});
|
|
115
|
+
this.url = url;
|
|
95
116
|
}
|
|
96
117
|
}
|
|
97
118
|
exports.SocketClosedError = SocketClosedError;
|
|
@@ -102,6 +123,13 @@ class TimeoutError extends base_js_1.BaseError {
|
|
|
102
123
|
metaMessages: [`URL: ${(0, utils_js_1.getUrl)(url)}`, `Request body: ${(0, stringify_js_1.stringify)(body)}`],
|
|
103
124
|
name: 'TimeoutError',
|
|
104
125
|
});
|
|
126
|
+
Object.defineProperty(this, "url", {
|
|
127
|
+
enumerable: true,
|
|
128
|
+
configurable: true,
|
|
129
|
+
writable: true,
|
|
130
|
+
value: void 0
|
|
131
|
+
});
|
|
132
|
+
this.url = url;
|
|
105
133
|
}
|
|
106
134
|
}
|
|
107
135
|
exports.TimeoutError = TimeoutError;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"request.js","sourceRoot":"","sources":["../../errors/request.ts"],"names":[],"mappings":";;;AAAA,wDAAiD;AAEjD,uCAAqC;AACrC,yCAAmC;AAKnC,MAAa,gBAAiB,SAAQ,mBAAS;IAM7C,YAAY,EACV,IAAI,EACJ,KAAK,EACL,OAAO,EACP,OAAO,EACP,MAAM,EACN,GAAG,GAQJ;QACC,KAAK,CAAC,sBAAsB,EAAE;YAC5B,KAAK;YACL,OAAO;YACP,YAAY,EAAE;gBACZ,MAAM,IAAI,WAAW,MAAM,EAAE;gBAC7B,QAAQ,IAAA,iBAAM,EAAC,GAAG,CAAC,EAAE;gBACrB,IAAI,IAAI,iBAAiB,IAAA,wBAAS,EAAC,IAAI,CAAC,EAAE;aAC3C,CAAC,MAAM,CAAC,OAAO,CAAa;YAC7B,IAAI,EAAE,kBAAkB;SACzB,CAAC,CAAA;QA7BJ;;;;;WAAwE;QACxE;;;;;WAA6B;QAC7B;;;;;WAA2B;QAC3B;;;;;WAAW;QA2BT,IAAI,CAAC,IAAI,GAAG,IAAI,CAAA;QAChB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAA;QACtB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAA;QACpB,IAAI,CAAC,GAAG,GAAG,GAAG,CAAA;IAChB,CAAC;CACF;AApCD,4CAoCC;AAKD,MAAa,qBAAsB,SAAQ,mBAAS;
|
|
1
|
+
{"version":3,"file":"request.js","sourceRoot":"","sources":["../../errors/request.ts"],"names":[],"mappings":";;;AAAA,wDAAiD;AAEjD,uCAAqC;AACrC,yCAAmC;AAKnC,MAAa,gBAAiB,SAAQ,mBAAS;IAM7C,YAAY,EACV,IAAI,EACJ,KAAK,EACL,OAAO,EACP,OAAO,EACP,MAAM,EACN,GAAG,GAQJ;QACC,KAAK,CAAC,sBAAsB,EAAE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