refactor
Some checks failed
Build, test, publish, deploy / build-test (push) Has been cancelled
Build, test, publish, deploy / publish (push) Has been cancelled
Build, test, publish, deploy / deploy-prd (push) Has been cancelled

This commit is contained in:
Daniel Noulet 2026-10-10 02:30:24 +02:00
parent 2967f1a5af
commit 618b700feb
6 changed files with 738 additions and 0 deletions

10
sdk/src/global.d.ts vendored Normal file
View file

@ -0,0 +1,10 @@
/* eslint-disable @typescript-eslint/consistent-type-definitions */
export {}
declare global {
interface Window {
/** Global escape hatch so script-tag consumers can reach the shared store. */
__BANANAS_GET_CONTRACT_STATE__?: typeof import('./contract.js').getContractState
}
}