@alchemy/aa-ethers
Advanced tools
Comparing version 0.1.0-alpha.17 to 0.1.0-alpha.18
@@ -9,3 +9,4 @@ import { type AccountMiddlewareFn, type FeeDataMiddleware, type GasEstimatorMiddleware, type PaymasterAndDataMiddleware, type PublicErc4337Client } from "@alchemy/aa-core"; | ||
private account?; | ||
sendUserOperation: (data: import("@alchemy/aa-core").BatchUserOperationCallData | import("@alchemy/aa-core").UserOperationCallData) => Promise<import("@alchemy/aa-core").SendUserOperationResult>; | ||
sendUserOperation: (data: import("@alchemy/aa-core").BatchUserOperationCallData | import("@alchemy/aa-core").UserOperationCallData, overrides?: import("@alchemy/aa-core").UserOperationOverrides | undefined) => Promise<import("@alchemy/aa-core").SendUserOperationResult>; | ||
waitForUserOperationTransaction: (hash: `0x${string}`) => Promise<`0x${string}`>; | ||
constructor(provider: EthersProviderAdapter); | ||
@@ -12,0 +13,0 @@ getAddress(): Promise<string>; |
@@ -34,2 +34,8 @@ "use strict"; | ||
}); | ||
Object.defineProperty(this, "waitForUserOperationTransaction", { | ||
enumerable: true, | ||
configurable: true, | ||
writable: true, | ||
value: void 0 | ||
}); | ||
Object.defineProperty(this, "withPaymasterMiddleware", { | ||
@@ -74,2 +80,4 @@ enumerable: true, | ||
this.provider.accountProvider.sendUserOperation.bind(this.provider.accountProvider); | ||
this.waitForUserOperationTransaction = | ||
this.provider.accountProvider.waitForUserOperationTransaction.bind(this.provider.accountProvider); | ||
} | ||
@@ -76,0 +84,0 @@ getAddress() { |
@@ -9,3 +9,4 @@ import { type AccountMiddlewareFn, type FeeDataMiddleware, type GasEstimatorMiddleware, type PaymasterAndDataMiddleware, type PublicErc4337Client } from "@alchemy/aa-core"; | ||
private account?; | ||
sendUserOperation: (data: import("@alchemy/aa-core").BatchUserOperationCallData | import("@alchemy/aa-core").UserOperationCallData) => Promise<import("@alchemy/aa-core").SendUserOperationResult>; | ||
sendUserOperation: (data: import("@alchemy/aa-core").BatchUserOperationCallData | import("@alchemy/aa-core").UserOperationCallData, overrides?: import("@alchemy/aa-core").UserOperationOverrides | undefined) => Promise<import("@alchemy/aa-core").SendUserOperationResult>; | ||
waitForUserOperationTransaction: (hash: `0x${string}`) => Promise<`0x${string}`>; | ||
constructor(provider: EthersProviderAdapter); | ||
@@ -12,0 +13,0 @@ getAddress(): Promise<string>; |
@@ -33,2 +33,8 @@ import { BaseSmartContractAccount, resolveProperties, } from "@alchemy/aa-core"; | ||
}); | ||
Object.defineProperty(this, "waitForUserOperationTransaction", { | ||
enumerable: true, | ||
configurable: true, | ||
writable: true, | ||
value: void 0 | ||
}); | ||
Object.defineProperty(this, "withPaymasterMiddleware", { | ||
@@ -73,2 +79,4 @@ enumerable: true, | ||
this.provider.accountProvider.sendUserOperation.bind(this.provider.accountProvider); | ||
this.waitForUserOperationTransaction = | ||
this.provider.accountProvider.waitForUserOperationTransaction.bind(this.provider.accountProvider); | ||
} | ||
@@ -75,0 +83,0 @@ getAddress() { |
@@ -9,3 +9,4 @@ import { type AccountMiddlewareFn, type FeeDataMiddleware, type GasEstimatorMiddleware, type PaymasterAndDataMiddleware, type PublicErc4337Client } from "@alchemy/aa-core"; | ||
private account?; | ||
sendUserOperation: (data: import("@alchemy/aa-core").BatchUserOperationCallData | import("@alchemy/aa-core").UserOperationCallData) => Promise<import("@alchemy/aa-core").SendUserOperationResult>; | ||
sendUserOperation: (data: import("@alchemy/aa-core").BatchUserOperationCallData | import("@alchemy/aa-core").UserOperationCallData, overrides?: import("@alchemy/aa-core").UserOperationOverrides | undefined) => Promise<import("@alchemy/aa-core").SendUserOperationResult>; | ||
waitForUserOperationTransaction: (hash: `0x${string}`) => Promise<`0x${string}`>; | ||
constructor(provider: EthersProviderAdapter); | ||
@@ -12,0 +13,0 @@ getAddress(): Promise<string>; |
{ | ||
"name": "@alchemy/aa-ethers", | ||
"license": "MIT", | ||
"version": "0.1.0-alpha.17", | ||
"version": "0.1.0-alpha.18", | ||
"description": "Ethers.js wrapper for @alchemy/aa-core", | ||
@@ -41,6 +41,7 @@ "author": "Alchemy", | ||
"test": "vitest", | ||
"test:run": "vitest run" | ||
"test:run": "vitest run", | ||
"test:run-e2e": "vitest run --config vitest.config.e2e.ts" | ||
}, | ||
"devDependencies": { | ||
"@alchemy/aa-core": "^0.1.0-alpha.17", | ||
"@alchemy/aa-core": "^0.1.0-alpha.18", | ||
"alchemy-sdk": "^2.8.3", | ||
@@ -72,3 +73,3 @@ "dotenv": "^16.0.3", | ||
}, | ||
"gitHead": "545b6cf013a0334af83826c506ebd1b17e65468c" | ||
"gitHead": "1526fcd58d3c6e7594ab8bf8f414fe74c7e71765" | ||
} |
@@ -29,3 +29,5 @@ import { | ||
private account?: BaseSmartContractAccount; | ||
sendUserOperation; | ||
waitForUserOperationTransaction; | ||
@@ -35,2 +37,3 @@ constructor(readonly provider: EthersProviderAdapter) { | ||
this.account = this.provider.accountProvider.account; | ||
this.sendUserOperation = | ||
@@ -40,2 +43,6 @@ this.provider.accountProvider.sendUserOperation.bind( | ||
); | ||
this.waitForUserOperationTransaction = | ||
this.provider.accountProvider.waitForUserOperationTransaction.bind( | ||
this.provider.accountProvider | ||
); | ||
} | ||
@@ -42,0 +49,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
65434
792