Merged
Conversation
Configure husky for git hooks and lint-staged to automatically run ESLint and Prettier on staged TypeScript files before commit.
Add automated PR validation workflow with: - Setup job for dependency caching (yarn 1.22.19 via corepack) - Validate job running tsc, prettier, eslint, tests, and build - Auto-assign reviewers from CODEOWNERS on PR open - Optimized for ubuntu-slim with pre-installed Node.js 24 - Concurrency control to cancel stale workflow runs Add CODEOWNERS file for automatic reviewer assignment
Remove fail-on-cache-miss to handle cache absence gracefully. Add fallback yarn install step that runs when cache is not found. This fixes the issue where workflow fails on first run or after cache expiration.
…-detection and OIDC - Auto-detect release type based on git event (dev branch vs tag) - Extract auto-assign reviewers into separate workflow for reusability
Allows RN SDK to re-export AdaptyError from @adapty/core instead of maintaining its own copy, ensuring single class identity for instanceof checks.
…rom core These types depend on EmitterSubscription which is platform-specific. Each downstream SDK (RN, Capacitor) defines its own listener types with different event sets and subscription mechanisms.
…adapty/core - Clean up logger/index.ts: remove duplicate noop classes, keep real implementation re-exports - Create src/version.ts, fix VERSION import path in log.ts - Update ILogScope/ILogContext interfaces to use lazy LogArgs type - Move NoopLoggerAdapter to adapters/defaults.ts (now DefaultLoggerAdapter) - Export Log, LogContext, LogScope, LogSink, LoggerConfig, LogEvent, consoleLogSink from main index - Update coders/parse.ts call sites to use lazy args
- Add static _version field with setVersion() for SDK version injection - Update formatMessage() and LogEvent to use _version instead of hardcoded VERSION - Export LogArgs type from logger/index.ts
version.ts was dead code — not imported anywhere in core. adapty-handler.ts is a JSDoc-only placeholder, comment updated to reflect that.
Replace VERSION import (from deleted version.ts) with 'unknown' default. SDK overrides this via Log.setVersion() anyway.
- Add static _version field with setVersion() (@internal) for SDK version injection - Update formatMessage() and LogEvent to use _version instead of hardcoded VERSION - Export LogArgs type from logger/index.ts
- Add static _version field with setVersion() (@internal) for SDK version injection - Update formatMessage() and LogEvent to use _version instead of hardcoded VERSION - Export LogArgs type from logger/index.ts
… mergeOptions, withErrorContext)
Copy paywall and onboarding event mapping constants and extractCallbackArgs functions from react-native-adapty into @adapty/core as platform-agnostic shared code. Files are verbatim copies with only import paths adapted.
No downstream SDK imports version from @adapty/core — each SDK maintains its own version file. The dev placeholder was never consumed and only added noise.
…rect instantiation Fixes bug where coders were created without IPlatformAdapter.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.