w3wallets 0.10.0 → 0.10.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 +2 -1
- package/dist/index.mjs +2 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -151,6 +151,7 @@ var PolkadotJS = class extends Wallet {
|
|
|
151
151
|
}
|
|
152
152
|
async onboard(seed, password, name) {
|
|
153
153
|
await this.page.getByRole("button", { name: "Understood, let me continue" }).click();
|
|
154
|
+
await this.page.getByRole("button", { name: "I Understand" }).click();
|
|
154
155
|
await this.page.locator(".popupToggle").first().click();
|
|
155
156
|
await this.page.getByText("Import account from pre-existing seed").click();
|
|
156
157
|
await this.page.locator(".seedInput").getByRole("textbox").fill(seed);
|
|
@@ -210,7 +211,7 @@ var Metamask = class extends Wallet {
|
|
|
210
211
|
async onboard(mnemonic, password = this.defaultPassword) {
|
|
211
212
|
await this.page.getByTestId("onboarding-import-wallet").click();
|
|
212
213
|
await this.page.getByTestId("onboarding-import-with-srp-button").click();
|
|
213
|
-
await this.page.getByTestId("srp-input-import__srp-note").pressSequentially(mnemonic);
|
|
214
|
+
await this.page.getByTestId("srp-input-import__srp-note").pressSequentially(mnemonic, { delay: 5 });
|
|
214
215
|
await this.page.getByTestId("import-srp-confirm").click();
|
|
215
216
|
await this.page.getByTestId("create-password-new-input").fill(password);
|
|
216
217
|
await this.page.getByTestId("create-password-confirm-input").fill(password);
|
package/dist/index.mjs
CHANGED
|
@@ -117,6 +117,7 @@ var PolkadotJS = class extends Wallet {
|
|
|
117
117
|
}
|
|
118
118
|
async onboard(seed, password, name) {
|
|
119
119
|
await this.page.getByRole("button", { name: "Understood, let me continue" }).click();
|
|
120
|
+
await this.page.getByRole("button", { name: "I Understand" }).click();
|
|
120
121
|
await this.page.locator(".popupToggle").first().click();
|
|
121
122
|
await this.page.getByText("Import account from pre-existing seed").click();
|
|
122
123
|
await this.page.locator(".seedInput").getByRole("textbox").fill(seed);
|
|
@@ -176,7 +177,7 @@ var Metamask = class extends Wallet {
|
|
|
176
177
|
async onboard(mnemonic, password = this.defaultPassword) {
|
|
177
178
|
await this.page.getByTestId("onboarding-import-wallet").click();
|
|
178
179
|
await this.page.getByTestId("onboarding-import-with-srp-button").click();
|
|
179
|
-
await this.page.getByTestId("srp-input-import__srp-note").pressSequentially(mnemonic);
|
|
180
|
+
await this.page.getByTestId("srp-input-import__srp-note").pressSequentially(mnemonic, { delay: 5 });
|
|
180
181
|
await this.page.getByTestId("import-srp-confirm").click();
|
|
181
182
|
await this.page.getByTestId("create-password-new-input").fill(password);
|
|
182
183
|
await this.page.getByTestId("create-password-confirm-input").fill(password);
|