w3wallets 0.8.0 → 0.8.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -288,6 +288,7 @@ var Metamask = class extends Wallet {
288
288
  await p.locator(
289
289
  '[data-testid="confirm-footer-button"], [data-testid="confirm-btn"], [data-testid="page-container-footer-next"], [data-testid="confirmation-submit-button"]'
290
290
  ).click();
291
+ await p.waitForSelector(".main-container-wrapper:empty", { timeout: 1e4 });
291
292
  await p.close();
292
293
  }
293
294
  async deny() {
package/dist/index.mjs CHANGED
@@ -254,6 +254,7 @@ var Metamask = class extends Wallet {
254
254
  await p.locator(
255
255
  '[data-testid="confirm-footer-button"], [data-testid="confirm-btn"], [data-testid="page-container-footer-next"], [data-testid="confirmation-submit-button"]'
256
256
  ).click();
257
+ await p.waitForSelector(".main-container-wrapper:empty", { timeout: 1e4 });
257
258
  await p.close();
258
259
  }
259
260
  async deny() {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "w3wallets",
3
3
  "description": "browser wallets for playwright",
4
- "version": "0.8.0",
4
+ "version": "0.8.1",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "homepage": "https://github.com/Maksandre/w3wallets",