Label: complexity: high
Points: 200
Description
As the SDK evolves (e.g. pay_with_memo vs. newer patterns), there's no consistent way to warn integrators they're using a soon-to-be-removed method, beyond ad hoc code comments.
Technical Context
New src/deprecation.ts. deprecated(methodName, { removedInVersion, alternative }) decorator/wrapper applied to selected exported functions; logs a one-time-per-method console warning (via Issue 12's logger if present, else console.warn) on first call.
Acceptance Criteria
Label: complexity: high
Points: 200
Description
As the SDK evolves (e.g.
pay_with_memovs. newer patterns), there's no consistent way to warn integrators they're using a soon-to-be-removed method, beyond ad hoc code comments.Technical Context
New
src/deprecation.ts.deprecated(methodName, { removedInVersion, alternative })decorator/wrapper applied to selected exported functions; logs a one-time-per-method console warning (via Issue 12's logger if present, elseconsole.warn) on first call.Acceptance Criteria