@farmslot/adapter-web 0.19.1 → 0.19.3

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 CHANGED
@@ -6,6 +6,14 @@ All notable changes to `@farmslot/adapter-web` are tracked here.
6
6
 
7
7
  - Active-development baseline; add user-facing changes here before release or package publication.
8
8
 
9
+ ## 0.19.3 - 2026-11-09
10
+
11
+ - Wallet accounts: a `RECIPE_WALLET_DERIVED_ACCOUNTS` entry with the same name, secret and index as a fixture account is that account, not a second one; another name for a listed index stays an alias. Two different accounts with one name are refused at load (`wallet fixture has 2 accounts named …`), naming both sources. A recipe-library registry entry for `dev1` no longer gives Core Perps actions two `dev1` accounts.
12
+
13
+ ## 0.19.2 - 2026-11-09
14
+
15
+ - Republish against protocol 0.82.3 and the matching runtime package set so consumers load one copy of each Farmslot package.
16
+
9
17
  ## 0.19.1 - 2026-11-08
10
18
 
11
19
  - Republish against protocol 0.82.2 and the current package set, so consumers load one copy of each Farmslot package.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@farmslot/adapter-web",
3
- "version": "0.19.1",
3
+ "version": "0.19.3",
4
4
  "description": "Web platform adapter for Farmslot recipes: resolve and launch an isolated Chromium, own its CDP port, load unpacked extensions, and keep macOS focus.",
5
5
  "type": "commonjs",
6
6
  "exports": {
@@ -87,9 +87,9 @@
87
87
  "prepublishOnly": "node ../../scripts/quality/check-farmslot-package-readiness.mjs --publish --packages @farmslot/adapter-web"
88
88
  },
89
89
  "dependencies": {
90
- "@farmslot/adapter-sdk": "0.26.4",
91
- "@farmslot/protocol": "0.82.2",
92
- "@farmslot/recipe-runner": "0.46.8",
90
+ "@farmslot/adapter-sdk": "0.26.5",
91
+ "@farmslot/protocol": "0.82.3",
92
+ "@farmslot/recipe-runner": "0.46.9",
93
93
  "ws": "^8.18.0"
94
94
  },
95
95
  "devDependencies": {
@@ -266,6 +266,11 @@ export function walletAccounts(fixture, projectRoot, env = process.env) {
266
266
  `wallet account "${item.name}" derives to ${account.address} from "${item.secret}" index ${item.index}, not the declared ${item.address}.`,
267
267
  );
268
268
  }
269
+ // The same name for an index the fixture already lists is that account, not a second one.
270
+ const listed = (candidate) =>
271
+ candidate.name === item.name &&
272
+ candidate.address.toLowerCase() === account.address.toLowerCase();
273
+ if (accounts.some(listed)) continue;
269
274
  accounts.push({
270
275
  name: item.name,
271
276
  address: account.address,
@@ -274,6 +279,16 @@ export function walletAccounts(fixture, projectRoot, env = process.env) {
274
279
  account,
275
280
  });
276
281
  }
282
+ const byName = new Map();
283
+ for (const account of accounts) {
284
+ const other = byName.get(account.name);
285
+ if (other) {
286
+ throw new Error(
287
+ `wallet fixture has 2 accounts named "${account.name}": "${other.secret}" index ${other.index} and "${account.secret}" index ${account.index}; rename one.`,
288
+ );
289
+ }
290
+ byName.set(account.name, account);
291
+ }
277
292
  return accounts;
278
293
  }
279
294