thirdweb 5.105.45-nightly-dc1f7ab2ee820be512776a413f7de362ff6b98ef-20250912000326 → 5.105.45

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 (168) hide show
  1. package/dist/cjs/extensions/erc1155/drops/write/claimTo.js +1 -0
  2. package/dist/cjs/extensions/erc1155/drops/write/claimTo.js.map +1 -1
  3. package/dist/cjs/extensions/erc1155/drops/write/resetClaimEligibility.js +2 -0
  4. package/dist/cjs/extensions/erc1155/drops/write/resetClaimEligibility.js.map +1 -1
  5. package/dist/cjs/extensions/erc1155/drops/write/setClaimConditions.js +1 -0
  6. package/dist/cjs/extensions/erc1155/drops/write/setClaimConditions.js.map +1 -1
  7. package/dist/cjs/extensions/erc1155/drops/write/updateMetadata.js +1 -0
  8. package/dist/cjs/extensions/erc1155/drops/write/updateMetadata.js.map +1 -1
  9. package/dist/cjs/extensions/erc1155/write/lazyMint.js +1 -0
  10. package/dist/cjs/extensions/erc1155/write/lazyMint.js.map +1 -1
  11. package/dist/cjs/extensions/erc1155/write/mintAdditionalSupplyTo.js +1 -0
  12. package/dist/cjs/extensions/erc1155/write/mintAdditionalSupplyTo.js.map +1 -1
  13. package/dist/cjs/extensions/erc1155/write/updateTokenURI.js +1 -0
  14. package/dist/cjs/extensions/erc1155/write/updateTokenURI.js.map +1 -1
  15. package/dist/cjs/extensions/erc20/drops/write/claimTo.js +1 -0
  16. package/dist/cjs/extensions/erc20/drops/write/claimTo.js.map +1 -1
  17. package/dist/cjs/extensions/erc20/drops/write/resetClaimEligibility.js +1 -0
  18. package/dist/cjs/extensions/erc20/drops/write/resetClaimEligibility.js.map +1 -1
  19. package/dist/cjs/extensions/erc20/drops/write/setClaimConditions.js +1 -0
  20. package/dist/cjs/extensions/erc20/drops/write/setClaimConditions.js.map +1 -1
  21. package/dist/cjs/extensions/erc20/write/approve.js +1 -0
  22. package/dist/cjs/extensions/erc20/write/approve.js.map +1 -1
  23. package/dist/cjs/extensions/erc20/write/deposit.js +1 -0
  24. package/dist/cjs/extensions/erc20/write/deposit.js.map +1 -1
  25. package/dist/cjs/extensions/erc20/write/transferBatch.js +1 -0
  26. package/dist/cjs/extensions/erc20/write/transferBatch.js.map +1 -1
  27. package/dist/cjs/extensions/erc721/drops/write/claimTo.js +1 -0
  28. package/dist/cjs/extensions/erc721/drops/write/claimTo.js.map +1 -1
  29. package/dist/cjs/extensions/erc721/drops/write/resetClaimEligibility.js +1 -0
  30. package/dist/cjs/extensions/erc721/drops/write/resetClaimEligibility.js.map +1 -1
  31. package/dist/cjs/extensions/erc721/drops/write/setClaimConditions.js +1 -0
  32. package/dist/cjs/extensions/erc721/drops/write/setClaimConditions.js.map +1 -1
  33. package/dist/cjs/extensions/erc721/drops/write/updateMetadata.js +1 -0
  34. package/dist/cjs/extensions/erc721/drops/write/updateMetadata.js.map +1 -1
  35. package/dist/cjs/extensions/erc721/write/lazyMint.js +1 -0
  36. package/dist/cjs/extensions/erc721/write/lazyMint.js.map +1 -1
  37. package/dist/cjs/extensions/erc721/write/setSharedMetadata.js +1 -0
  38. package/dist/cjs/extensions/erc721/write/setSharedMetadata.js.map +1 -1
  39. package/dist/cjs/extensions/erc721/write/updateTokenURI.js +1 -0
  40. package/dist/cjs/extensions/erc721/write/updateTokenURI.js.map +1 -1
  41. package/dist/cjs/extensions/erc7702/account/createSessionKey.js +1 -0
  42. package/dist/cjs/extensions/erc7702/account/createSessionKey.js.map +1 -1
  43. package/dist/cjs/version.js +1 -1
  44. package/dist/cjs/version.js.map +1 -1
  45. package/dist/cjs/wallets/in-app/core/eip7702/minimal-account.js +28 -20
  46. package/dist/cjs/wallets/in-app/core/eip7702/minimal-account.js.map +1 -1
  47. package/dist/cjs/wallets/injected/index.js +25 -5
  48. package/dist/cjs/wallets/injected/index.js.map +1 -1
  49. package/dist/esm/extensions/erc1155/drops/write/claimTo.js +1 -0
  50. package/dist/esm/extensions/erc1155/drops/write/claimTo.js.map +1 -1
  51. package/dist/esm/extensions/erc1155/drops/write/resetClaimEligibility.js +2 -0
  52. package/dist/esm/extensions/erc1155/drops/write/resetClaimEligibility.js.map +1 -1
  53. package/dist/esm/extensions/erc1155/drops/write/setClaimConditions.js +1 -0
  54. package/dist/esm/extensions/erc1155/drops/write/setClaimConditions.js.map +1 -1
  55. package/dist/esm/extensions/erc1155/drops/write/updateMetadata.js +1 -0
  56. package/dist/esm/extensions/erc1155/drops/write/updateMetadata.js.map +1 -1
  57. package/dist/esm/extensions/erc1155/write/lazyMint.js +1 -0
  58. package/dist/esm/extensions/erc1155/write/lazyMint.js.map +1 -1
  59. package/dist/esm/extensions/erc1155/write/mintAdditionalSupplyTo.js +1 -0
  60. package/dist/esm/extensions/erc1155/write/mintAdditionalSupplyTo.js.map +1 -1
  61. package/dist/esm/extensions/erc1155/write/updateTokenURI.js +1 -0
  62. package/dist/esm/extensions/erc1155/write/updateTokenURI.js.map +1 -1
  63. package/dist/esm/extensions/erc20/drops/write/claimTo.js +1 -0
  64. package/dist/esm/extensions/erc20/drops/write/claimTo.js.map +1 -1
  65. package/dist/esm/extensions/erc20/drops/write/resetClaimEligibility.js +1 -0
  66. package/dist/esm/extensions/erc20/drops/write/resetClaimEligibility.js.map +1 -1
  67. package/dist/esm/extensions/erc20/drops/write/setClaimConditions.js +1 -0
  68. package/dist/esm/extensions/erc20/drops/write/setClaimConditions.js.map +1 -1
  69. package/dist/esm/extensions/erc20/write/approve.js +1 -0
  70. package/dist/esm/extensions/erc20/write/approve.js.map +1 -1
  71. package/dist/esm/extensions/erc20/write/deposit.js +1 -0
  72. package/dist/esm/extensions/erc20/write/deposit.js.map +1 -1
  73. package/dist/esm/extensions/erc20/write/transferBatch.js +1 -0
  74. package/dist/esm/extensions/erc20/write/transferBatch.js.map +1 -1
  75. package/dist/esm/extensions/erc721/drops/write/claimTo.js +1 -0
  76. package/dist/esm/extensions/erc721/drops/write/claimTo.js.map +1 -1
  77. package/dist/esm/extensions/erc721/drops/write/resetClaimEligibility.js +1 -0
  78. package/dist/esm/extensions/erc721/drops/write/resetClaimEligibility.js.map +1 -1
  79. package/dist/esm/extensions/erc721/drops/write/setClaimConditions.js +1 -0
  80. package/dist/esm/extensions/erc721/drops/write/setClaimConditions.js.map +1 -1
  81. package/dist/esm/extensions/erc721/drops/write/updateMetadata.js +1 -0
  82. package/dist/esm/extensions/erc721/drops/write/updateMetadata.js.map +1 -1
  83. package/dist/esm/extensions/erc721/write/lazyMint.js +1 -0
  84. package/dist/esm/extensions/erc721/write/lazyMint.js.map +1 -1
  85. package/dist/esm/extensions/erc721/write/setSharedMetadata.js +1 -0
  86. package/dist/esm/extensions/erc721/write/setSharedMetadata.js.map +1 -1
  87. package/dist/esm/extensions/erc721/write/updateTokenURI.js +1 -0
  88. package/dist/esm/extensions/erc721/write/updateTokenURI.js.map +1 -1
  89. package/dist/esm/extensions/erc7702/account/createSessionKey.js +1 -0
  90. package/dist/esm/extensions/erc7702/account/createSessionKey.js.map +1 -1
  91. package/dist/esm/version.js +1 -1
  92. package/dist/esm/version.js.map +1 -1
  93. package/dist/esm/wallets/in-app/core/eip7702/minimal-account.js +28 -20
  94. package/dist/esm/wallets/in-app/core/eip7702/minimal-account.js.map +1 -1
  95. package/dist/esm/wallets/injected/index.js +25 -5
  96. package/dist/esm/wallets/injected/index.js.map +1 -1
  97. package/dist/types/extensions/erc1155/drops/write/claimTo.d.ts +2 -2
  98. package/dist/types/extensions/erc1155/drops/write/claimTo.d.ts.map +1 -1
  99. package/dist/types/extensions/erc1155/drops/write/resetClaimEligibility.d.ts +2 -2
  100. package/dist/types/extensions/erc1155/drops/write/resetClaimEligibility.d.ts.map +1 -1
  101. package/dist/types/extensions/erc1155/drops/write/setClaimConditions.d.ts +2 -2
  102. package/dist/types/extensions/erc1155/drops/write/setClaimConditions.d.ts.map +1 -1
  103. package/dist/types/extensions/erc1155/drops/write/updateMetadata.d.ts +2 -2
  104. package/dist/types/extensions/erc1155/drops/write/updateMetadata.d.ts.map +1 -1
  105. package/dist/types/extensions/erc1155/write/lazyMint.d.ts +3 -3
  106. package/dist/types/extensions/erc1155/write/lazyMint.d.ts.map +1 -1
  107. package/dist/types/extensions/erc1155/write/mintAdditionalSupplyTo.d.ts +3 -3
  108. package/dist/types/extensions/erc1155/write/mintAdditionalSupplyTo.d.ts.map +1 -1
  109. package/dist/types/extensions/erc1155/write/updateTokenURI.d.ts +3 -3
  110. package/dist/types/extensions/erc1155/write/updateTokenURI.d.ts.map +1 -1
  111. package/dist/types/extensions/erc20/drops/write/claimTo.d.ts +2 -2
  112. package/dist/types/extensions/erc20/drops/write/claimTo.d.ts.map +1 -1
  113. package/dist/types/extensions/erc20/drops/write/resetClaimEligibility.d.ts +2 -2
  114. package/dist/types/extensions/erc20/drops/write/resetClaimEligibility.d.ts.map +1 -1
  115. package/dist/types/extensions/erc20/drops/write/setClaimConditions.d.ts +2 -2
  116. package/dist/types/extensions/erc20/drops/write/setClaimConditions.d.ts.map +1 -1
  117. package/dist/types/extensions/erc20/write/approve.d.ts +3 -3
  118. package/dist/types/extensions/erc20/write/approve.d.ts.map +1 -1
  119. package/dist/types/extensions/erc20/write/deposit.d.ts +3 -3
  120. package/dist/types/extensions/erc20/write/deposit.d.ts.map +1 -1
  121. package/dist/types/extensions/erc20/write/transferBatch.d.ts +3 -3
  122. package/dist/types/extensions/erc20/write/transferBatch.d.ts.map +1 -1
  123. package/dist/types/extensions/erc721/drops/write/claimTo.d.ts +2 -2
  124. package/dist/types/extensions/erc721/drops/write/claimTo.d.ts.map +1 -1
  125. package/dist/types/extensions/erc721/drops/write/resetClaimEligibility.d.ts +2 -2
  126. package/dist/types/extensions/erc721/drops/write/resetClaimEligibility.d.ts.map +1 -1
  127. package/dist/types/extensions/erc721/drops/write/setClaimConditions.d.ts +2 -2
  128. package/dist/types/extensions/erc721/drops/write/setClaimConditions.d.ts.map +1 -1
  129. package/dist/types/extensions/erc721/drops/write/updateMetadata.d.ts +2 -2
  130. package/dist/types/extensions/erc721/drops/write/updateMetadata.d.ts.map +1 -1
  131. package/dist/types/extensions/erc721/write/lazyMint.d.ts +3 -3
  132. package/dist/types/extensions/erc721/write/lazyMint.d.ts.map +1 -1
  133. package/dist/types/extensions/erc721/write/setSharedMetadata.d.ts +3 -3
  134. package/dist/types/extensions/erc721/write/setSharedMetadata.d.ts.map +1 -1
  135. package/dist/types/extensions/erc721/write/updateTokenURI.d.ts +3 -3
  136. package/dist/types/extensions/erc721/write/updateTokenURI.d.ts.map +1 -1
  137. package/dist/types/extensions/erc7702/account/createSessionKey.d.ts +2 -2
  138. package/dist/types/extensions/erc7702/account/createSessionKey.d.ts.map +1 -1
  139. package/dist/types/version.d.ts +1 -1
  140. package/dist/types/version.d.ts.map +1 -1
  141. package/dist/types/wallets/in-app/core/eip7702/minimal-account.d.ts.map +1 -1
  142. package/dist/types/wallets/injected/index.d.ts +1 -1
  143. package/dist/types/wallets/injected/index.d.ts.map +1 -1
  144. package/package.json +1 -1
  145. package/src/extensions/erc1155/drops/write/claimTo.ts +8 -2
  146. package/src/extensions/erc1155/drops/write/resetClaimEligibility.ts +9 -2
  147. package/src/extensions/erc1155/drops/write/setClaimConditions.ts +6 -2
  148. package/src/extensions/erc1155/drops/write/updateMetadata.ts +6 -2
  149. package/src/extensions/erc1155/write/lazyMint.ts +7 -3
  150. package/src/extensions/erc1155/write/mintAdditionalSupplyTo.ts +7 -3
  151. package/src/extensions/erc1155/write/updateTokenURI.ts +7 -3
  152. package/src/extensions/erc20/drops/write/claimTo.ts +8 -2
  153. package/src/extensions/erc20/drops/write/resetClaimEligibility.ts +8 -2
  154. package/src/extensions/erc20/drops/write/setClaimConditions.ts +6 -2
  155. package/src/extensions/erc20/write/approve.ts +15 -9
  156. package/src/extensions/erc20/write/deposit.ts +8 -3
  157. package/src/extensions/erc20/write/transferBatch.ts +19 -13
  158. package/src/extensions/erc721/drops/write/claimTo.ts +8 -2
  159. package/src/extensions/erc721/drops/write/resetClaimEligibility.ts +8 -2
  160. package/src/extensions/erc721/drops/write/setClaimConditions.ts +6 -2
  161. package/src/extensions/erc721/drops/write/updateMetadata.ts +6 -2
  162. package/src/extensions/erc721/write/lazyMint.ts +7 -3
  163. package/src/extensions/erc721/write/setSharedMetadata.ts +7 -3
  164. package/src/extensions/erc721/write/updateTokenURI.ts +7 -3
  165. package/src/extensions/erc7702/account/createSessionKey.ts +6 -2
  166. package/src/version.ts +1 -1
  167. package/src/wallets/in-app/core/eip7702/minimal-account.ts +38 -25
  168. package/src/wallets/injected/index.ts +25 -6
@@ -1,4 +1,4 @@
1
- import type { BaseTransactionOptions } from "../../../../transaction/types.js";
1
+ import type { BaseTransactionOptions, WithOverrides } from "../../../../transaction/types.js";
2
2
  import type { ClaimConditionsInput } from "../../../../utils/extensions/drops/types.js";
3
3
  /**
4
4
  * @extension ERC20
@@ -35,7 +35,7 @@ export type SetClaimConditionsParams = {
35
35
  * await sendTransaction({ transaction, account });
36
36
  * ```
37
37
  */
38
- export declare function setClaimConditions(options: BaseTransactionOptions<SetClaimConditionsParams>): import("../../../../transaction/prepare-transaction.js").PreparedTransaction<any, import("abitype").AbiFunction, import("../../../../transaction/prepare-transaction.js").PrepareTransactionOptions>;
38
+ export declare function setClaimConditions(options: BaseTransactionOptions<WithOverrides<SetClaimConditionsParams>>): import("../../../../transaction/prepare-transaction.js").PreparedTransaction<any, import("abitype").AbiFunction, import("../../../../transaction/prepare-transaction.js").PrepareTransactionOptions>;
39
39
  /**
40
40
  * Checks if the `setClaimConditions` method is supported by the given contract.
41
41
  * @param availableSelectors An array of 4byte function selectors of the contract. You can get this in various ways, such as using "whatsabi" or if you have the ABI of the contract available you can use it to generate the selectors.
@@ -1 +1 @@
1
- {"version":3,"file":"setClaimConditions.d.ts","sourceRoot":"","sources":["../../../../../../src/extensions/erc20/drops/write/setClaimConditions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,kCAAkC,CAAC;AAE/E,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,6CAA6C,CAAC;AAUxF;;GAEG;AACH,MAAM,MAAM,wBAAwB,GAAG;IACrC,MAAM,EAAE,oBAAoB,EAAE,CAAC;IAC/B,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,wBAAgB,kBAAkB,CAChC,OAAO,EAAE,sBAAsB,CAAC,wBAAwB,CAAC,wMAgB1D;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,6BAA6B,CAAC,kBAAkB,EAAE,MAAM,EAAE,WAWzE"}
1
+ {"version":3,"file":"setClaimConditions.d.ts","sourceRoot":"","sources":["../../../../../../src/extensions/erc20/drops/write/setClaimConditions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,sBAAsB,EACtB,aAAa,EACd,MAAM,kCAAkC,CAAC;AAE1C,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,6CAA6C,CAAC;AAUxF;;GAEG;AACH,MAAM,MAAM,wBAAwB,GAAG;IACrC,MAAM,EAAE,oBAAoB,EAAE,CAAC;IAC/B,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,wBAAgB,kBAAkB,CAChC,OAAO,EAAE,sBAAsB,CAAC,aAAa,CAAC,wBAAwB,CAAC,CAAC,wMAiBzE;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,6BAA6B,CAAC,kBAAkB,EAAE,MAAM,EAAE,WAWzE"}
@@ -1,17 +1,17 @@
1
1
  import type { Address } from "abitype";
2
- import type { BaseTransactionOptions } from "../../../transaction/types.js";
2
+ import type { BaseTransactionOptions, WithOverrides } from "../../../transaction/types.js";
3
3
  import type { Prettify } from "../../../utils/type-utils.js";
4
4
  /**
5
5
  * Represents the parameters for the `approve` function.
6
6
  * @extension ERC20
7
7
  */
8
- export type ApproveParams = Prettify<{
8
+ export type ApproveParams = Prettify<WithOverrides<{
9
9
  spender: Address;
10
10
  } & ({
11
11
  amount: number | string;
12
12
  } | {
13
13
  amountWei: bigint;
14
- })>;
14
+ })>>;
15
15
  /**
16
16
  * Approves the spending of tokens by a specific address.
17
17
  * @param options - The transaction options.
@@ -1 +1 @@
1
- {"version":3,"file":"approve.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/erc20/write/approve.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AACvC,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,+BAA+B,CAAC;AAC5E,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AAI7D;;;GAGG;AACH,MAAM,MAAM,aAAa,GAAG,QAAQ,CAClC;IAAE,OAAO,EAAE,OAAO,CAAA;CAAE,GAAG,CACnB;IACE,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC;CACzB,GACD;IACE,SAAS,EAAE,MAAM,CAAC;CACnB,CACJ,CACF,CAAC;AAEF;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,OAAO,CAAC,OAAO,EAAE,sBAAsB,CAAC,aAAa,CAAC,kMA2BrE"}
1
+ {"version":3,"file":"approve.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/erc20/write/approve.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AACvC,OAAO,KAAK,EACV,sBAAsB,EACtB,aAAa,EACd,MAAM,+BAA+B,CAAC;AACvC,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AAI7D;;;GAGG;AACH,MAAM,MAAM,aAAa,GAAG,QAAQ,CAClC,aAAa,CACX;IAAE,OAAO,EAAE,OAAO,CAAA;CAAE,GAAG,CACnB;IACE,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC;CACzB,GACD;IACE,SAAS,EAAE,MAAM,CAAC;CACnB,CACJ,CACF,CACF,CAAC;AAEF;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,OAAO,CAAC,OAAO,EAAE,sBAAsB,CAAC,aAAa,CAAC,kMA4BrE"}
@@ -1,12 +1,12 @@
1
- import type { BaseTransactionOptions } from "../../../transaction/types.js";
1
+ import type { BaseTransactionOptions, WithOverrides } from "../../../transaction/types.js";
2
2
  /**
3
3
  * @extension ERC20
4
4
  */
5
- export type DepositParams = {
5
+ export type DepositParams = WithOverrides<{
6
6
  amount: string;
7
7
  } | {
8
8
  amountWei: bigint;
9
- };
9
+ }>;
10
10
  /**
11
11
  * Calls the "deposit" function on the contract (useful to wrap ETH).
12
12
  * @param options - The options for the "deposit" function.
@@ -1 +1 @@
1
- {"version":3,"file":"deposit.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/erc20/write/deposit.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,+BAA+B,CAAC;AAI5E;;GAEG;AACH,MAAM,MAAM,aAAa,GACrB;IACE,MAAM,EAAE,MAAM,CAAC;CAChB,GACD;IAAE,SAAS,EAAE,MAAM,CAAA;CAAE,CAAC;AAE1B;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,OAAO,CAAC,OAAO,EAAE,sBAAsB,CAAC,aAAa,CAAC,kMAYrE"}
1
+ {"version":3,"file":"deposit.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/erc20/write/deposit.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,sBAAsB,EACtB,aAAa,EACd,MAAM,+BAA+B,CAAC;AAIvC;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG,aAAa,CACrC;IACE,MAAM,EAAE,MAAM,CAAC;CAChB,GACD;IAAE,SAAS,EAAE,MAAM,CAAA;CAAE,CACxB,CAAC;AAEF;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,OAAO,CAAC,OAAO,EAAE,sBAAsB,CAAC,aAAa,CAAC,kMAarE"}
@@ -1,10 +1,10 @@
1
- import type { BaseTransactionOptions } from "../../../transaction/types.js";
1
+ import type { BaseTransactionOptions, WithOverrides } from "../../../transaction/types.js";
2
2
  import type { Prettify } from "../../../utils/type-utils.js";
3
3
  /**
4
4
  * Represents the parameters for a batch transfer operation.
5
5
  * @extension ERC20
6
6
  */
7
- export type TransferBatchParams = Prettify<{
7
+ export type TransferBatchParams = Prettify<WithOverrides<{
8
8
  batch: Array<{
9
9
  to: string;
10
10
  } & ({
@@ -12,7 +12,7 @@ export type TransferBatchParams = Prettify<{
12
12
  } | {
13
13
  amountWei: bigint;
14
14
  })>;
15
- }>;
15
+ }>>;
16
16
  /**
17
17
  * Transfers a batch of ERC20 tokens from the sender's address to the specified recipient address.
18
18
  * @param options - The options for the batch transfer transaction.
@@ -1 +1 @@
1
- {"version":3,"file":"transferBatch.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/erc20/write/transferBatch.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,+BAA+B,CAAC;AAC5E,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AAK7D;;;GAGG;AACH,MAAM,MAAM,mBAAmB,GAAG,QAAQ,CAAC;IACzC,KAAK,EAAE,KAAK,CACV;QAAE,EAAE,EAAE,MAAM,CAAA;KAAE,GAAG,CACb;QACE,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC;KACzB,GACD;QACE,SAAS,EAAE,MAAM,CAAC;KACnB,CACJ,CACF,CAAC;CACH,CAAC,CAAC;AAEH;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,wBAAgB,aAAa,CAC3B,OAAO,EAAE,sBAAsB,CAAC,mBAAmB,CAAC,kMAsBrD;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,wBAAsB,uBAAuB,CAC3C,OAAO,EAAE,sBAAsB,CAAC,mBAAmB,CAAC,GACnD,OAAO,CAAC,KAAK,CAAC;IAAE,EAAE,EAAE,MAAM,CAAC;IAAC,SAAS,EAAE,MAAM,CAAA;CAAE,CAAC,CAAC,CAoCnD"}
1
+ {"version":3,"file":"transferBatch.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/erc20/write/transferBatch.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,sBAAsB,EACtB,aAAa,EACd,MAAM,+BAA+B,CAAC;AACvC,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AAK7D;;;GAGG;AACH,MAAM,MAAM,mBAAmB,GAAG,QAAQ,CACxC,aAAa,CAAC;IACZ,KAAK,EAAE,KAAK,CACV;QAAE,EAAE,EAAE,MAAM,CAAA;KAAE,GAAG,CACb;QACE,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC;KACzB,GACD;QACE,SAAS,EAAE,MAAM,CAAC;KACnB,CACJ,CACF,CAAC;CACH,CAAC,CACH,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,wBAAgB,aAAa,CAC3B,OAAO,EAAE,sBAAsB,CAAC,mBAAmB,CAAC,kMAuBrD;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,wBAAsB,uBAAuB,CAC3C,OAAO,EAAE,sBAAsB,CAAC,mBAAmB,CAAC,GACnD,OAAO,CAAC,KAAK,CAAC;IAAE,EAAE,EAAE,MAAM,CAAC;IAAC,SAAS,EAAE,MAAM,CAAA;CAAE,CAAC,CAAC,CAoCnD"}
@@ -1,5 +1,5 @@
1
1
  import type { Address } from "abitype";
2
- import type { BaseTransactionOptions } from "../../../../transaction/types.js";
2
+ import type { BaseTransactionOptions, WithOverrides } from "../../../../transaction/types.js";
3
3
  /**
4
4
  * Represents the parameters for claiming an ERC721 token.
5
5
  * @extension ERC721
@@ -44,7 +44,7 @@ export type ClaimToParams = {
44
44
  * @throws If no claim condition is set
45
45
  * @returns A promise that resolves with the submitted transaction hash.
46
46
  */
47
- export declare function claimTo(options: BaseTransactionOptions<ClaimToParams>): import("../../../../transaction/prepare-transaction.js").PreparedTransaction<any, import("abitype").AbiFunction, import("../../../../transaction/prepare-transaction.js").PrepareTransactionOptions>;
47
+ export declare function claimTo(options: BaseTransactionOptions<WithOverrides<ClaimToParams>>): import("../../../../transaction/prepare-transaction.js").PreparedTransaction<any, import("abitype").AbiFunction, import("../../../../transaction/prepare-transaction.js").PrepareTransactionOptions>;
48
48
  /**
49
49
  * Checks if the `claimTo` method is supported by the given contract.
50
50
  * @param availableSelectors An array of 4byte function selectors of the contract. You can get this in various ways, such as using "whatsabi" or if you have the ABI of the contract available you can use it to generate the selectors.
@@ -1 +1 @@
1
- {"version":3,"file":"claimTo.d.ts","sourceRoot":"","sources":["../../../../../../src/extensions/erc721/drops/write/claimTo.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AACvC,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,kCAAkC,CAAC;AAU/E;;;GAGG;AACH,MAAM,MAAM,aAAa,GAAG;IAC1B,EAAE,EAAE,OAAO,CAAC;IACZ,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,wBAAgB,OAAO,CAAC,OAAO,EAAE,sBAAsB,CAAC,aAAa,CAAC,wMAarE;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,kBAAkB,CAAC,kBAAkB,EAAE,MAAM,EAAE,WAS9D"}
1
+ {"version":3,"file":"claimTo.d.ts","sourceRoot":"","sources":["../../../../../../src/extensions/erc721/drops/write/claimTo.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AACvC,OAAO,KAAK,EACV,sBAAsB,EACtB,aAAa,EACd,MAAM,kCAAkC,CAAC;AAU1C;;;GAGG;AACH,MAAM,MAAM,aAAa,GAAG;IAC1B,EAAE,EAAE,OAAO,CAAC;IACZ,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,wBAAgB,OAAO,CACrB,OAAO,EAAE,sBAAsB,CAAC,aAAa,CAAC,aAAa,CAAC,CAAC,wMAe9D;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,kBAAkB,CAAC,kBAAkB,EAAE,MAAM,EAAE,WAS9D"}
@@ -1,4 +1,4 @@
1
- import type { BaseTransactionOptions } from "../../../../transaction/types.js";
1
+ import type { BaseTransactionOptions, WithOverrides } from "../../../../transaction/types.js";
2
2
  /**
3
3
  * Reset the claim eligibility for all users.
4
4
  * This method is only available on the `DropERC721` contract.
@@ -17,7 +17,7 @@ import type { BaseTransactionOptions } from "../../../../transaction/types.js";
17
17
  * await sendTransaction({ transaction, account });
18
18
  * ```
19
19
  */
20
- export declare function resetClaimEligibility(options: BaseTransactionOptions): import("../../../../transaction/prepare-transaction.js").PreparedTransaction<any, import("viem").AbiFunction, import("../../../../transaction/prepare-transaction.js").PrepareTransactionOptions>;
20
+ export declare function resetClaimEligibility(options: BaseTransactionOptions<WithOverrides<{}>>): import("../../../../transaction/prepare-transaction.js").PreparedTransaction<any, import("viem").AbiFunction, import("../../../../transaction/prepare-transaction.js").PrepareTransactionOptions>;
21
21
  /**
22
22
  * Checks if the `resetClaimEligibility` method is supported by the given contract.
23
23
  * @param availableSelectors An array of 4byte function selectors of the contract. You can get this in various ways, such as using "whatsabi" or if you have the ABI of the contract available you can use it to generate the selectors.
@@ -1 +1 @@
1
- {"version":3,"file":"resetClaimEligibility.d.ts","sourceRoot":"","sources":["../../../../../../src/extensions/erc721/drops/write/resetClaimEligibility.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,kCAAkC,CAAC;AAW/E;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,qBAAqB,CAAC,OAAO,EAAE,sBAAsB,qMAqBpE;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,gCAAgC,CAAC,kBAAkB,EAAE,MAAM,EAAE,WAK5E"}
1
+ {"version":3,"file":"resetClaimEligibility.d.ts","sourceRoot":"","sources":["../../../../../../src/extensions/erc721/drops/write/resetClaimEligibility.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,sBAAsB,EACtB,aAAa,EACd,MAAM,kCAAkC,CAAC;AAW1C;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,qBAAqB,CACnC,OAAO,EAAE,sBAAsB,CAAC,aAAa,CAAC,EAAE,CAAC,CAAC,qMAuBnD;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,gCAAgC,CAAC,kBAAkB,EAAE,MAAM,EAAE,WAK5E"}
@@ -1,4 +1,4 @@
1
- import type { BaseTransactionOptions } from "../../../../transaction/types.js";
1
+ import type { BaseTransactionOptions, WithOverrides } from "../../../../transaction/types.js";
2
2
  import type { ClaimConditionsInput } from "../../../../utils/extensions/drops/types.js";
3
3
  /**
4
4
  * @extension ERC721
@@ -35,7 +35,7 @@ export type SetClaimConditionsParams = {
35
35
  * await sendTransaction({ transaction, account });
36
36
  * ```
37
37
  */
38
- export declare function setClaimConditions(options: BaseTransactionOptions<SetClaimConditionsParams>): import("../../../../transaction/prepare-transaction.js").PreparedTransaction<any, import("abitype").AbiFunction, import("../../../../transaction/prepare-transaction.js").PrepareTransactionOptions>;
38
+ export declare function setClaimConditions(options: BaseTransactionOptions<WithOverrides<SetClaimConditionsParams>>): import("../../../../transaction/prepare-transaction.js").PreparedTransaction<any, import("abitype").AbiFunction, import("../../../../transaction/prepare-transaction.js").PrepareTransactionOptions>;
39
39
  /**
40
40
  * Checks if the `setClaimConditions` method is supported by the given contract.
41
41
  * @param availableSelectors An array of 4byte function selectors of the contract. You can get this in various ways, such as using "whatsabi" or if you have the ABI of the contract available you can use it to generate the selectors.
@@ -1 +1 @@
1
- {"version":3,"file":"setClaimConditions.d.ts","sourceRoot":"","sources":["../../../../../../src/extensions/erc721/drops/write/setClaimConditions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,kCAAkC,CAAC;AAE/E,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,6CAA6C,CAAC;AAUxF;;GAEG;AACH,MAAM,MAAM,wBAAwB,GAAG;IACrC,MAAM,EAAE,oBAAoB,EAAE,CAAC;IAC/B,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,wBAAgB,kBAAkB,CAChC,OAAO,EAAE,sBAAsB,CAAC,wBAAwB,CAAC,wMAgB1D;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,6BAA6B,CAAC,kBAAkB,EAAE,MAAM,EAAE,WAUzE"}
1
+ {"version":3,"file":"setClaimConditions.d.ts","sourceRoot":"","sources":["../../../../../../src/extensions/erc721/drops/write/setClaimConditions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,sBAAsB,EACtB,aAAa,EACd,MAAM,kCAAkC,CAAC;AAE1C,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,6CAA6C,CAAC;AAUxF;;GAEG;AACH,MAAM,MAAM,wBAAwB,GAAG;IACrC,MAAM,EAAE,oBAAoB,EAAE,CAAC;IAC/B,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,wBAAgB,kBAAkB,CAChC,OAAO,EAAE,sBAAsB,CAAC,aAAa,CAAC,wBAAwB,CAAC,CAAC,wMAiBzE;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,6BAA6B,CAAC,kBAAkB,EAAE,MAAM,EAAE,WAUzE"}
@@ -1,4 +1,4 @@
1
- import type { BaseTransactionOptions } from "../../../../transaction/types.js";
1
+ import type { BaseTransactionOptions, WithOverrides } from "../../../../transaction/types.js";
2
2
  import type { NFTInput } from "../../../../utils/nft/parseNft.js";
3
3
  /**
4
4
  * @extension ERC721
@@ -30,7 +30,7 @@ export type UpdateMetadataParams = {
30
30
  * });
31
31
  * ```
32
32
  */
33
- export declare function updateMetadata(options: BaseTransactionOptions<UpdateMetadataParams>): import("../../../../transaction/prepare-transaction.js").PreparedTransaction<any, import("abitype").AbiFunction, import("../../../../transaction/prepare-transaction.js").PrepareTransactionOptions>;
33
+ export declare function updateMetadata(options: BaseTransactionOptions<WithOverrides<UpdateMetadataParams>>): import("../../../../transaction/prepare-transaction.js").PreparedTransaction<any, import("abitype").AbiFunction, import("../../../../transaction/prepare-transaction.js").PrepareTransactionOptions>;
34
34
  /**
35
35
  * Checks if the `updateMetadata` method is supported by the given contract.
36
36
  * @param availableSelectors An array of 4byte function selectors of the contract. You can get this in various ways, such as using "whatsabi" or if you have the ABI of the contract available you can use it to generate the selectors.
@@ -1 +1 @@
1
- {"version":3,"file":"updateMetadata.d.ts","sourceRoot":"","sources":["../../../../../../src/extensions/erc721/drops/write/updateMetadata.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,kCAAkC,CAAC;AAC/E,OAAO,KAAK,EAAO,QAAQ,EAAE,MAAM,mCAAmC,CAAC;AAMvE;;GAEG;AACH,MAAM,MAAM,oBAAoB,GAAG;IACjC,aAAa,EAAE,MAAM,CAAC;IACtB,WAAW,EAAE,QAAQ,CAAC;CACvB,CAAC;AA6FF;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,wBAAgB,cAAc,CAC5B,OAAO,EAAE,sBAAsB,CAAC,oBAAoB,CAAC,wMAOtD;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,yBAAyB,CAAC,kBAAkB,EAAE,MAAM,EAAE,WAOrE"}
1
+ {"version":3,"file":"updateMetadata.d.ts","sourceRoot":"","sources":["../../../../../../src/extensions/erc721/drops/write/updateMetadata.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,sBAAsB,EACtB,aAAa,EACd,MAAM,kCAAkC,CAAC;AAC1C,OAAO,KAAK,EAAO,QAAQ,EAAE,MAAM,mCAAmC,CAAC;AAMvE;;GAEG;AACH,MAAM,MAAM,oBAAoB,GAAG;IACjC,aAAa,EAAE,MAAM,CAAC;IACtB,WAAW,EAAE,QAAQ,CAAC;CACvB,CAAC;AA6FF;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,wBAAgB,cAAc,CAC5B,OAAO,EAAE,sBAAsB,CAAC,aAAa,CAAC,oBAAoB,CAAC,CAAC,wMAQrE;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,yBAAyB,CAAC,kBAAkB,EAAE,MAAM,EAAE,WAOrE"}
@@ -1,11 +1,11 @@
1
- import type { BaseTransactionOptions } from "../../../transaction/types.js";
1
+ import type { BaseTransactionOptions, WithOverrides } from "../../../transaction/types.js";
2
2
  import type { NFTInput } from "../../../utils/nft/parseNft.js";
3
3
  /**
4
4
  * @extension ERC721
5
5
  */
6
- export type LazyMintParams = {
6
+ export type LazyMintParams = WithOverrides<{
7
7
  nfts: (NFTInput | string)[];
8
- };
8
+ }>;
9
9
  /**
10
10
  * Lazily mints ERC721 tokens.
11
11
  * This method is only available on the `DropERC721` contract.
@@ -1 +1 @@
1
- {"version":3,"file":"lazyMint.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/erc721/write/lazyMint.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,+BAA+B,CAAC;AAK5E,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,gCAAgC,CAAC;AAO/D;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG;IAC3B,IAAI,EAAE,CAAC,QAAQ,GAAG,MAAM,CAAC,EAAE,CAAC;CAC7B,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,wBAAgB,QAAQ,CAAC,OAAO,EAAE,sBAAsB,CAAC,cAAc,CAAC,kMAwBvE;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,mBAAmB,CAAC,kBAAkB,EAAE,MAAM,EAAE,WAM/D"}
1
+ {"version":3,"file":"lazyMint.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/erc721/write/lazyMint.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,sBAAsB,EACtB,aAAa,EACd,MAAM,+BAA+B,CAAC;AAKvC,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,gCAAgC,CAAC;AAO/D;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG,aAAa,CAAC;IACzC,IAAI,EAAE,CAAC,QAAQ,GAAG,MAAM,CAAC,EAAE,CAAC;CAC7B,CAAC,CAAC;AAEH;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,wBAAgB,QAAQ,CAAC,OAAO,EAAE,sBAAsB,CAAC,cAAc,CAAC,kMAyBvE;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,mBAAmB,CAAC,kBAAkB,EAAE,MAAM,EAAE,WAM/D"}
@@ -1,12 +1,12 @@
1
- import type { BaseTransactionOptions } from "../../../transaction/types.js";
1
+ import type { BaseTransactionOptions, WithOverrides } from "../../../transaction/types.js";
2
2
  import type { NFTInput } from "../../../utils/nft/parseNft.js";
3
3
  export { isSetSharedMetadataSupported } from "../__generated__/ISharedMetadata/write/setSharedMetadata.js";
4
4
  /**
5
5
  * @extension ERC721
6
6
  */
7
- export type SetSharedMetadataParams = {
7
+ export type SetSharedMetadataParams = WithOverrides<{
8
8
  nft: NFTInput;
9
- };
9
+ }>;
10
10
  /**
11
11
  * Sets the shared metadata for a OpenEdition contract.
12
12
  * @param options - The options for the transaction.
@@ -1 +1 @@
1
- {"version":3,"file":"setSharedMetadata.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/erc721/write/setSharedMetadata.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,+BAA+B,CAAC;AAC5E,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,gCAAgC,CAAC;AAG/D,OAAO,EAAE,4BAA4B,EAAE,MAAM,6DAA6D,CAAC;AAE3G;;GAEG;AACH,MAAM,MAAM,uBAAuB,GAAG;IACpC,GAAG,EAAE,QAAQ,CAAC;CACf,CAAC;AAEF;;;;;GAKG;AACH,wBAAgB,iBAAiB,CAC/B,OAAO,EAAE,sBAAsB,CAAC,uBAAuB,CAAC,kMAoDzD"}
1
+ {"version":3,"file":"setSharedMetadata.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/erc721/write/setSharedMetadata.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,sBAAsB,EACtB,aAAa,EACd,MAAM,+BAA+B,CAAC;AACvC,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,gCAAgC,CAAC;AAG/D,OAAO,EAAE,4BAA4B,EAAE,MAAM,6DAA6D,CAAC;AAE3G;;GAEG;AACH,MAAM,MAAM,uBAAuB,GAAG,aAAa,CAAC;IAClD,GAAG,EAAE,QAAQ,CAAC;CACf,CAAC,CAAC;AAEH;;;;;GAKG;AACH,wBAAgB,iBAAiB,CAC/B,OAAO,EAAE,sBAAsB,CAAC,uBAAuB,CAAC,kMAqDzD"}
@@ -1,13 +1,13 @@
1
- import type { BaseTransactionOptions } from "../../../transaction/types.js";
1
+ import type { BaseTransactionOptions, WithOverrides } from "../../../transaction/types.js";
2
2
  import type { NFTInput } from "../../../utils/nft/parseNft.js";
3
3
  export { isSetTokenURISupported as isUpdateTokenURISupported } from "../../erc721/__generated__/INFTMetadata/write/setTokenURI.js";
4
4
  /**
5
5
  * @extension ERC721
6
6
  */
7
- export type UpdateTokenURIParams = {
7
+ export type UpdateTokenURIParams = WithOverrides<{
8
8
  tokenId: bigint;
9
9
  newMetadata: NFTInput;
10
- };
10
+ }>;
11
11
  /**
12
12
  * This function is an abstracted layer of the [`setTokenURI` extension](https://portal.thirdweb.com/references/typescript/v5/erc721/setTokenURI),
13
13
  * which means it uses `setTokenURI` under the hood.
@@ -1 +1 @@
1
- {"version":3,"file":"updateTokenURI.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/erc721/write/updateTokenURI.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,+BAA+B,CAAC;AAC5E,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,gCAAgC,CAAC;AAM/D,OAAO,EAAE,sBAAsB,IAAI,yBAAyB,EAAE,MAAM,8DAA8D,CAAC;AAEnI;;GAEG;AACH,MAAM,MAAM,oBAAoB,GAAG;IACjC,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,EAAE,QAAQ,CAAC;CACvB,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,wBAAgB,cAAc,CAC5B,OAAO,EAAE,sBAAsB,CAAC,oBAAoB,CAAC,kMAOtD"}
1
+ {"version":3,"file":"updateTokenURI.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/erc721/write/updateTokenURI.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,sBAAsB,EACtB,aAAa,EACd,MAAM,+BAA+B,CAAC;AACvC,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,gCAAgC,CAAC;AAM/D,OAAO,EAAE,sBAAsB,IAAI,yBAAyB,EAAE,MAAM,8DAA8D,CAAC;AAEnI;;GAEG;AACH,MAAM,MAAM,oBAAoB,GAAG,aAAa,CAAC;IAC/C,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,EAAE,QAAQ,CAAC;CACvB,CAAC,CAAC;AAEH;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,wBAAgB,cAAc,CAC5B,OAAO,EAAE,sBAAsB,CAAC,oBAAoB,CAAC,kMAQtD"}
@@ -1,4 +1,4 @@
1
- import type { BaseTransactionOptions } from "../../../transaction/types.js";
1
+ import type { BaseTransactionOptions, WithOverrides } from "../../../transaction/types.js";
2
2
  import type { Account } from "../../../wallets/interfaces/wallet.js";
3
3
  import { type CallSpecInput, type TransferSpecInput } from "./types.js";
4
4
  /**
@@ -52,7 +52,7 @@ export type CreateSessionKeyOptions = {
52
52
  * ```
53
53
  * @extension ERC7702
54
54
  */
55
- export declare function createSessionKey(options: BaseTransactionOptions<CreateSessionKeyOptions>): import("../../../transaction/prepare-transaction.js").PreparedTransaction<any, import("abitype").AbiFunction, import("../../../transaction/prepare-transaction.js").PrepareTransactionOptions>;
55
+ export declare function createSessionKey(options: BaseTransactionOptions<WithOverrides<CreateSessionKeyOptions>>): import("../../../transaction/prepare-transaction.js").PreparedTransaction<any, import("abitype").AbiFunction, import("../../../transaction/prepare-transaction.js").PrepareTransactionOptions>;
56
56
  /**
57
57
  * Checks if the `isCreateSessionKeySupported` method is supported by the given contract.
58
58
  * @param availableSelectors An array of 4byte function selectors of the contract. You can get this in various ways, such as using "whatsabi" or if you have the ABI of the contract available you can use it to generate the selectors.
@@ -1 +1 @@
1
- {"version":3,"file":"createSessionKey.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/erc7702/account/createSessionKey.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,+BAA+B,CAAC;AAE5E,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,uCAAuC,CAAC;AAKrE,OAAO,EACL,KAAK,aAAa,EAIlB,KAAK,iBAAiB,EAGvB,MAAM,YAAY,CAAC;AAEpB;;GAEG;AACH,MAAM,MAAM,uBAAuB,GAAG;IACpC;;OAEG;IACH,OAAO,EAAE,OAAO,CAAC;IACjB;;OAEG;IACH,iBAAiB,EAAE,MAAM,CAAC;IAC1B;;OAEG;IACH,iBAAiB,EAAE,MAAM,CAAC;IAC1B;;OAEG;IACH,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B;;OAEG;IACH,YAAY,CAAC,EAAE,aAAa,EAAE,CAAC;IAC/B;;OAEG;IACH,gBAAgB,CAAC,EAAE,iBAAiB,EAAE,CAAC;CACxC,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,wBAAgB,gBAAgB,CAC9B,OAAO,EAAE,sBAAsB,CAAC,uBAAuB,CAAC,kMA8FzD;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,2BAA2B,CAAC,kBAAkB,EAAE,MAAM,EAAE,WAEvE"}
1
+ {"version":3,"file":"createSessionKey.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/erc7702/account/createSessionKey.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,sBAAsB,EACtB,aAAa,EACd,MAAM,+BAA+B,CAAC;AAEvC,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,uCAAuC,CAAC;AAKrE,OAAO,EACL,KAAK,aAAa,EAIlB,KAAK,iBAAiB,EAGvB,MAAM,YAAY,CAAC;AAEpB;;GAEG;AACH,MAAM,MAAM,uBAAuB,GAAG;IACpC;;OAEG;IACH,OAAO,EAAE,OAAO,CAAC;IACjB;;OAEG;IACH,iBAAiB,EAAE,MAAM,CAAC;IAC1B;;OAEG;IACH,iBAAiB,EAAE,MAAM,CAAC;IAC1B;;OAEG;IACH,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B;;OAEG;IACH,YAAY,CAAC,EAAE,aAAa,EAAE,CAAC;IAC/B;;OAEG;IACH,gBAAgB,CAAC,EAAE,iBAAiB,EAAE,CAAC;CACxC,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,wBAAgB,gBAAgB,CAC9B,OAAO,EAAE,sBAAsB,CAAC,aAAa,CAAC,uBAAuB,CAAC,CAAC,kMA+FxE;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,2BAA2B,CAAC,kBAAkB,EAAE,MAAM,EAAE,WAEvE"}
@@ -1,2 +1,2 @@
1
- export declare const version = "5.105.45-nightly-dc1f7ab2ee820be512776a413f7de362ff6b98ef-20250912000326";
1
+ export declare const version = "5.105.45";
2
2
  //# sourceMappingURL=version.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,6EAA6E,CAAC"}
1
+ {"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,aAAa,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"minimal-account.d.ts","sourceRoot":"","sources":["../../../../../../src/wallets/in-app/core/eip7702/minimal-account.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAgBnE,OAAO,KAAK,EACV,OAAO,EAER,MAAM,+BAA+B,CAAC;AA2EvC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+DG;AACH,eAAO,MAAM,wBAAwB,GAAI,MAAM;IAC7C,MAAM,EAAE,cAAc,CAAC;IACvB,YAAY,EAAE,OAAO,CAAC;IACtB,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB,KAAG,OA2LH,CAAC"}
1
+ {"version":3,"file":"minimal-account.d.ts","sourceRoot":"","sources":["../../../../../../src/wallets/in-app/core/eip7702/minimal-account.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAgBnE,OAAO,KAAK,EACV,OAAO,EAER,MAAM,+BAA+B,CAAC;AA2EvC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+DG;AACH,eAAO,MAAM,wBAAwB,GAAI,MAAM;IAC7C,MAAM,EAAE,cAAc,CAAC;IACvB,YAAY,EAAE,OAAO,CAAC;IACtB,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB,KAAG,OAwMH,CAAC"}
@@ -1,4 +1,4 @@
1
- import type { EIP1193Provider } from "viem";
1
+ import { type EIP1193Provider } from "viem";
2
2
  import type { Chain } from "../../chains/types.js";
3
3
  import type { ThirdwebClient } from "../../client/client.js";
4
4
  import type { InjectedSupportedWalletIds } from "../__generated__/wallet-ids.js";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/wallets/injected/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,MAAM,CAAC;AAc5C,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAC;AAEnD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAU7D,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,gCAAgC,CAAC;AAKjF,OAAO,KAAK,EAAE,OAAO,EAAyB,MAAM,yBAAyB,CAAC;AAC9E,OAAO,KAAK,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAG/D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAInD,wBAAgB,mBAAmB,CAAC,QAAQ,EAAE,QAAQ,gDAOrD;AAED;;GAEG;AACH,wBAAsB,oBAAoB,CAAC,EACzC,EAAE,EACF,QAAQ,EACR,OAAO,EACP,MAAM,EACN,KAAK,GACN,EAAE;IACD,EAAE,EAAE,0BAA0B,GAAG,CAAC,EAAE,GAAG,MAAM,CAAC,CAAC;IAC/C,QAAQ,EAAE,eAAe,CAAC;IAC1B,MAAM,EAAE,cAAc,CAAC;IACvB,KAAK,CAAC,EAAE,KAAK,CAAC;IACd,OAAO,EAAE,aAAa,CAAC,0BAA0B,CAAC,CAAC;CACpD,GAAG,OAAO,CAAC,UAAU,CAAC,OAAO,SAAS,CAAC,CAAC,CA4DxC;AAED;;GAEG;AACH,wBAAsB,wBAAwB,CAAC,EAC7C,EAAE,EACF,QAAQ,EACR,OAAO,EACP,MAAM,EACN,KAAK,GACN,EAAE;IACD,EAAE,EAAE,0BAA0B,GAAG,CAAC,EAAE,GAAG,MAAM,CAAC,CAAC;IAC/C,QAAQ,EAAE,eAAe,CAAC;IAC1B,OAAO,EAAE,aAAa,CAAC,0BAA0B,CAAC,CAAC;IACnD,MAAM,EAAE,cAAc,CAAC;IACvB,KAAK,CAAC,EAAE,KAAK,CAAC;CACf,GAAG,OAAO,CAAC,UAAU,CAAC,OAAO,SAAS,CAAC,CAAC,CA8BxC;AA+MD;;;GAGG;AACH,iBAAe,SAAS,CAAC,EACvB,QAAQ,EACR,OAAO,EACP,KAAK,EACL,OAAO,EACP,MAAM,EACN,EAAE,GACH,EAAE;IACD,QAAQ,EAAE,eAAe,CAAC;IAC1B,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,KAAK,CAAC;IACb,OAAO,EAAE,aAAa,CAAC,0BAA0B,CAAC,CAAC;IACnD,MAAM,EAAE,cAAc,CAAC;IACvB,EAAE,EAAE,QAAQ,GAAG,CAAC,EAAE,GAAG,MAAM,CAAC,CAAC;CAC9B,GAAG,OAAO,CAAC,CAAC,OAAO,EAAE,KAAK,EAAE,YAAY,EAAE,aAAa,CAAC,CAAC,CA4DzD"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/wallets/injected/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,KAAK,eAAe,EAOrB,MAAM,MAAM,CAAC;AAMd,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAC;AAEnD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAU7D,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,gCAAgC,CAAC;AAKjF,OAAO,KAAK,EAAE,OAAO,EAAyB,MAAM,yBAAyB,CAAC;AAC9E,OAAO,KAAK,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAG/D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAInD,wBAAgB,mBAAmB,CAAC,QAAQ,EAAE,QAAQ,gDAOrD;AAED;;GAEG;AACH,wBAAsB,oBAAoB,CAAC,EACzC,EAAE,EACF,QAAQ,EACR,OAAO,EACP,MAAM,EACN,KAAK,GACN,EAAE;IACD,EAAE,EAAE,0BAA0B,GAAG,CAAC,EAAE,GAAG,MAAM,CAAC,CAAC;IAC/C,QAAQ,EAAE,eAAe,CAAC;IAC1B,MAAM,EAAE,cAAc,CAAC;IACvB,KAAK,CAAC,EAAE,KAAK,CAAC;IACd,OAAO,EAAE,aAAa,CAAC,0BAA0B,CAAC,CAAC;CACpD,GAAG,OAAO,CAAC,UAAU,CAAC,OAAO,SAAS,CAAC,CAAC,CA4DxC;AAED;;GAEG;AACH,wBAAsB,wBAAwB,CAAC,EAC7C,EAAE,EACF,QAAQ,EACR,OAAO,EACP,MAAM,EACN,KAAK,GACN,EAAE;IACD,EAAE,EAAE,0BAA0B,GAAG,CAAC,EAAE,GAAG,MAAM,CAAC,CAAC;IAC/C,QAAQ,EAAE,eAAe,CAAC;IAC1B,OAAO,EAAE,aAAa,CAAC,0BAA0B,CAAC,CAAC;IACnD,MAAM,EAAE,cAAc,CAAC;IACvB,KAAK,CAAC,EAAE,KAAK,CAAC;CACf,GAAG,OAAO,CAAC,UAAU,CAAC,OAAO,SAAS,CAAC,CAAC,CA8BxC;AAiOD;;;GAGG;AACH,iBAAe,SAAS,CAAC,EACvB,QAAQ,EACR,OAAO,EACP,KAAK,EACL,OAAO,EACP,MAAM,EACN,EAAE,GACH,EAAE;IACD,QAAQ,EAAE,eAAe,CAAC;IAC1B,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,KAAK,CAAC;IACb,OAAO,EAAE,aAAa,CAAC,0BAA0B,CAAC,CAAC;IACnD,MAAM,EAAE,cAAc,CAAC;IACvB,EAAE,EAAE,QAAQ,GAAG,CAAC,EAAE,GAAG,MAAM,CAAC,CAAC;CAC9B,GAAG,OAAO,CAAC,CAAC,OAAO,EAAE,KAAK,EAAE,YAAY,EAAE,aAAa,CAAC,CAAC,CA4DzD"}
package/package.json CHANGED
@@ -388,7 +388,7 @@
388
388
  }
389
389
  },
390
390
  "typings": "./dist/types/exports/thirdweb.d.ts",
391
- "version": "5.105.45-nightly-dc1f7ab2ee820be512776a413f7de362ff6b98ef-20250912000326",
391
+ "version": "5.105.45",
392
392
  "scripts": {
393
393
  "bench": "vitest -c ./test/vitest.config.ts bench",
394
394
  "bench:compare": "bun run ./benchmarks/run.ts",
@@ -1,4 +1,7 @@
1
- import type { BaseTransactionOptions } from "../../../../transaction/types.js";
1
+ import type {
2
+ BaseTransactionOptions,
3
+ WithOverrides,
4
+ } from "../../../../transaction/types.js";
2
5
  import { getClaimParams } from "../../../../utils/extensions/drops/get-claim-params.js";
3
6
  import { isGetContractMetadataSupported } from "../../../common/read/getContractMetadata.js";
4
7
  import * as GeneratedClaim from "../../__generated__/IDrop1155/write/claim.js";
@@ -51,7 +54,9 @@ export type ClaimToParams = {
51
54
  * @throws If no claim condition is set
52
55
  * @returns The prepared transaction
53
56
  */
54
- export function claimTo(options: BaseTransactionOptions<ClaimToParams>) {
57
+ export function claimTo(
58
+ options: BaseTransactionOptions<WithOverrides<ClaimToParams>>,
59
+ ) {
55
60
  return GeneratedClaim.claim({
56
61
  async asyncParams() {
57
62
  const params = await getClaimParams({
@@ -70,6 +75,7 @@ export function claimTo(options: BaseTransactionOptions<ClaimToParams>) {
70
75
  };
71
76
  },
72
77
  contract: options.contract,
78
+ overrides: options.overrides,
73
79
  });
74
80
  }
75
81
 
@@ -1,5 +1,8 @@
1
1
  import type { Hex } from "viem";
2
- import type { BaseTransactionOptions } from "../../../../transaction/types.js";
2
+ import type {
3
+ BaseTransactionOptions,
4
+ WithOverrides,
5
+ } from "../../../../transaction/types.js";
3
6
  import type { ClaimCondition } from "../../../../utils/extensions/drops/types.js";
4
7
  import {
5
8
  isSetClaimConditionsSupported,
@@ -40,7 +43,9 @@ export type ResetClaimEligibilityParams = GetClaimConditionsParams;
40
43
  * ```
41
44
  */
42
45
  export function resetClaimEligibility(
43
- options: BaseTransactionOptions<ResetClaimEligibilityParams> & {
46
+ options: BaseTransactionOptions<
47
+ WithOverrides<ResetClaimEligibilityParams>
48
+ > & {
44
49
  singlePhaseDrop?: boolean;
45
50
  },
46
51
  ) {
@@ -79,6 +84,7 @@ export function resetClaimEligibility(
79
84
  };
80
85
  },
81
86
  contract: options.contract,
87
+ overrides: options.overrides,
82
88
  });
83
89
  }
84
90
  // download existing conditions
@@ -101,6 +107,7 @@ export function resetClaimEligibility(
101
107
  };
102
108
  },
103
109
  contract: options.contract,
110
+ overrides: options.overrides,
104
111
  });
105
112
  }
106
113
 
@@ -1,4 +1,7 @@
1
- import type { BaseTransactionOptions } from "../../../../transaction/types.js";
1
+ import type {
2
+ BaseTransactionOptions,
3
+ WithOverrides,
4
+ } from "../../../../transaction/types.js";
2
5
  import { getMulticallSetClaimConditionTransactions } from "../../../../utils/extensions/drops/get-multicall-set-claim-claim-conditon-transactions.js";
3
6
  import type { ClaimConditionsInput } from "../../../../utils/extensions/drops/types.js";
4
7
  import { isSetContractURISupported } from "../../../common/__generated__/IContractMetadata/write/setContractURI.js";
@@ -49,7 +52,7 @@ export type SetClaimConditionsParams = {
49
52
  * ```
50
53
  */
51
54
  export function setClaimConditions(
52
- options: BaseTransactionOptions<SetClaimConditionsParams>,
55
+ options: BaseTransactionOptions<WithOverrides<SetClaimConditionsParams>>,
53
56
  ) {
54
57
  return multicall({
55
58
  asyncParams: async () => {
@@ -65,6 +68,7 @@ export function setClaimConditions(
65
68
  };
66
69
  },
67
70
  contract: options.contract,
71
+ overrides: options.overrides,
68
72
  });
69
73
  }
70
74
 
@@ -1,4 +1,7 @@
1
- import type { BaseTransactionOptions } from "../../../../transaction/types.js";
1
+ import type {
2
+ BaseTransactionOptions,
3
+ WithOverrides,
4
+ } from "../../../../transaction/types.js";
2
5
  import type { NFT, NFTInput } from "../../../../utils/nft/parseNft.js";
3
6
  import * as BaseURICount from "../../../erc721/__generated__/IBatchMintMetadata/read/getBaseURICount.js";
4
7
  import * as BatchAtIndex from "../../__generated__/BatchMintMetadata/read/getBatchIdAtIndex.js";
@@ -116,12 +119,13 @@ async function getUpdateMetadataParams(
116
119
  * ```
117
120
  */
118
121
  export function updateMetadata(
119
- options: BaseTransactionOptions<UpdateMetadataParams>,
122
+ options: BaseTransactionOptions<WithOverrides<UpdateMetadataParams>>,
120
123
  ) {
121
124
  const { contract } = options;
122
125
  return BatchBaseURI.updateBatchBaseURI({
123
126
  asyncParams: async () => getUpdateMetadataParams(options),
124
127
  contract,
128
+ overrides: options.overrides,
125
129
  });
126
130
  }
127
131
 
@@ -1,5 +1,8 @@
1
1
  import type { FileOrBufferOrString } from "../../../storage/upload/types.js";
2
- import type { BaseTransactionOptions } from "../../../transaction/types.js";
2
+ import type {
3
+ BaseTransactionOptions,
4
+ WithOverrides,
5
+ } from "../../../transaction/types.js";
3
6
  import {
4
7
  getBaseUriFromBatch,
5
8
  uploadOrExtractURIs,
@@ -31,9 +34,9 @@ type NFTInput = Prettify<
31
34
  /**
32
35
  * @extension ERC1155
33
36
  */
34
- export type LazyMintParams = {
37
+ export type LazyMintParams = WithOverrides<{
35
38
  nfts: (NFTInput | string)[];
36
- };
39
+ }>;
37
40
 
38
41
  /**
39
42
  * Lazily mints ERC1155 tokens.
@@ -83,6 +86,7 @@ export function lazyMint(options: BaseTransactionOptions<LazyMintParams>) {
83
86
  } as const;
84
87
  },
85
88
  contract: options.contract,
89
+ overrides: options.overrides,
86
90
  });
87
91
  }
88
92
 
@@ -1,15 +1,18 @@
1
- import type { BaseTransactionOptions } from "../../../transaction/types.js";
1
+ import type {
2
+ BaseTransactionOptions,
3
+ WithOverrides,
4
+ } from "../../../transaction/types.js";
2
5
  import * as URI from "../__generated__/IERC1155/read/uri.js";
3
6
  import * as MintTo from "../__generated__/IMintableERC1155/write/mintTo.js";
4
7
 
5
8
  /**
6
9
  * @extension ERC1155
7
10
  */
8
- export type MintAdditionalSupplyToParams = {
11
+ export type MintAdditionalSupplyToParams = WithOverrides<{
9
12
  to: string;
10
13
  tokenId: bigint;
11
14
  supply: bigint;
12
- };
15
+ }>;
13
16
 
14
17
  /**
15
18
  * Mints a "supply" number of additional ERC1155 tokens to the specified "to" address.
@@ -46,6 +49,7 @@ export function mintAdditionalSupplyTo(
46
49
  };
47
50
  },
48
51
  contract: options.contract,
52
+ overrides: options.overrides,
49
53
  });
50
54
  }
51
55
 
@@ -1,5 +1,8 @@
1
1
  import { upload } from "../../../storage/upload.js";
2
- import type { BaseTransactionOptions } from "../../../transaction/types.js";
2
+ import type {
3
+ BaseTransactionOptions,
4
+ WithOverrides,
5
+ } from "../../../transaction/types.js";
3
6
  import type { NFTInput } from "../../../utils/nft/parseNft.js";
4
7
  import {
5
8
  type SetTokenURIParams,
@@ -10,10 +13,10 @@ export { isSetTokenURISupported as isUpdateTokenURISupported } from "../../erc11
10
13
  /**
11
14
  * @extension ERC1155
12
15
  */
13
- export type UpdateTokenURIParams = {
16
+ export type UpdateTokenURIParams = WithOverrides<{
14
17
  tokenId: bigint;
15
18
  newMetadata: NFTInput;
16
- };
19
+ }>;
17
20
 
18
21
  /**
19
22
  * This function is an abstracted layer of the [`setTokenURI` extension](https://portal.thirdweb.com/references/typescript/v5/erc1155/setTokenURI),
@@ -47,6 +50,7 @@ export function updateTokenURI(
47
50
  return setTokenURI({
48
51
  asyncParams: async () => getUpdateTokenParams(options),
49
52
  contract,
53
+ overrides: options.overrides,
50
54
  });
51
55
  }
52
56
 
@@ -1,5 +1,8 @@
1
1
  import type { Address } from "abitype";
2
- import type { BaseTransactionOptions } from "../../../../transaction/types.js";
2
+ import type {
3
+ BaseTransactionOptions,
4
+ WithOverrides,
5
+ } from "../../../../transaction/types.js";
3
6
  import { getClaimParams } from "../../../../utils/extensions/drops/get-claim-params.js";
4
7
  import { isGetContractMetadataSupported } from "../../../common/read/getContractMetadata.js";
5
8
  import * as GeneratedClaim from "../../__generated__/IDropERC20/write/claim.js";
@@ -51,7 +54,9 @@ export type ClaimToParams = {
51
54
  * @throws If no claim condition is set
52
55
  * @returns A promise that resolves with the submitted transaction hash.
53
56
  */
54
- export function claimTo(options: BaseTransactionOptions<ClaimToParams>) {
57
+ export function claimTo(
58
+ options: BaseTransactionOptions<WithOverrides<ClaimToParams>>,
59
+ ) {
55
60
  return GeneratedClaim.claim({
56
61
  asyncParams: async () => {
57
62
  const quantity = await (async () => {
@@ -77,6 +82,7 @@ export function claimTo(options: BaseTransactionOptions<ClaimToParams>) {
77
82
  });
78
83
  },
79
84
  contract: options.contract,
85
+ overrides: options.overrides,
80
86
  });
81
87
  }
82
88
 
@@ -1,5 +1,8 @@
1
1
  import type { Hex } from "viem";
2
- import type { BaseTransactionOptions } from "../../../../transaction/types.js";
2
+ import type {
3
+ BaseTransactionOptions,
4
+ WithOverrides,
5
+ } from "../../../../transaction/types.js";
3
6
  import type { ClaimCondition } from "../../../../utils/extensions/drops/types.js";
4
7
  import {
5
8
  isSetClaimConditionsSupported,
@@ -28,7 +31,9 @@ import {
28
31
  * await sendTransaction({ transaction, account });
29
32
  * ```
30
33
  */
31
- export function resetClaimEligibility(options: BaseTransactionOptions) {
34
+ export function resetClaimEligibility(
35
+ options: BaseTransactionOptions<WithOverrides<{}>>,
36
+ ) {
32
37
  // download existing conditions
33
38
  return setClaimConditions({
34
39
  asyncParams: async () => {
@@ -48,6 +53,7 @@ export function resetClaimEligibility(options: BaseTransactionOptions) {
48
53
  };
49
54
  },
50
55
  contract: options.contract,
56
+ overrides: options.overrides,
51
57
  });
52
58
  }
53
59