sdk-js/package.json
Aere Network 6f13c671f1 0.16.13: repair ~130 client selectors that did not match the deployed contracts (D-512)
Ten clients (RaaS, Sink, Agent and x402 settlement, state channels, compliance,
lending, the compliant pool) carried hand-written function selectors that matched
neither the compiled ABI nor the signature written next to them, so every call
through them reverted. Every selector is now the keccak of a signature in the
compiled ABI. Functions the contracts never had are replaced by the real ones:
AereSanctionsRegistry (latestEpoch, isSanctioned with epoch, isSanctionedLatest,
currentRoot via snapshotStatus), ChainalysisOracleWrapper (upstreamOracle),
AereTravelRuleHashRegistry (status by commitment id), AereInsuranceFund (two-step
proposeMarket + registerMarket). AereRaaSFactoryClient.registerRollup targets the
canonical AereRaaSFactoryV2 (11 parameters, optional defenseGrace).

Proof: the gate aerenew/scripts/deschise/sdk-selectori-corecti.cjs reads 330 of
330 selectors correct and fails on a planted one; src/test/selectors-live.ts reads
18 values from the deployed contracts through the shipped clients, and the old
rollupCount selector still reverts (its negative control).

Also: state-window-live records that both public endpoints now refuse state
outside the 512-block window ("World state unavailable") instead of returning a
false 0x0, and proves the guard against an endpoint that still lies; npm test
runs the offline suite through scripts/run-tests.mjs (61/61), live proofs stay
separate. README network facts brought to 2026-10-15.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-15 15:10:49 +03:00

55 lines
1.4 KiB
JSON

{
"name": "@aere/sdk",
"version": "0.16.13",
"description": "Official AERE Network SDK: typed ethers v6 clients for AERE L1 (chain ID 2800). 35+ typed clients over a 130+ contract address book, covering core DeFi, agentic x402 settlement, compliance, ERC-4337 account abstraction, t-of-n post-quantum custody, the 5 live NIST PQC precompiles (Falcon-512/1024, ML-DSA-44, SLH-DSA-128s, SHAKE256), and a seedless hybrid PQC wallet.",
"type": "module",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"bin": {
"aere": "./dist/cli/aere-cli.js"
},
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
},
"./addresses": {
"types": "./dist/addresses.d.ts",
"import": "./dist/addresses.js"
}
},
"files": [
"dist",
"README.md"
],
"scripts": {
"build": "tsc",
"test": "node scripts/run-tests.mjs",
"test:live": "node dist/test/state-window-live.js"
},
"keywords": [
"aere",
"blockchain",
"ethereum",
"evm",
"layer-1",
"qbft",
"defi",
"sdk"
],
"homepage": "https://aere.network/docs.html",
"repository": "https://git.aere.network/aere-network/sdk-js",
"license": "MIT",
"peerDependencies": {
"ethers": "^6.13.0"
},
"devDependencies": {
"@types/node": "^22.5.0",
"ethers": "^6.13.4",
"typescript": "^5.6.0"
},
"dependencies": {
"@noble/post-quantum": "^0.6.1"
}
}