You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Release v1.1.0: Organizations Resource and Enhanced Sources Authentication (#4)
Major release introducing Organizations resource, dynamic API key management, and enhanced Sources authentication.
✨ New: Organizations API, runtime API key switching, improved test utilities
🔧 Enhanced: Lazy PK authentication for Sources, comprehensive TypeScript support
⚠️ Breaking: Removed Sources.create() method and related types
📊 Stats: 17 files changed, 236 tests passing, clean build
See CHANGELOG.md for detailed migration guide and full feature documentation.
Copy file name to clipboardExpand all lines: CHANGELOG.md
+26Lines changed: 26 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,32 @@ All notable changes to this project will be documented in this file.
5
5
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
8
+
## [1.1.0] - 2025-09-05
9
+
10
+
### Added
11
+
12
+
-**Organization Resource** - New resource for retrieving organization information including branding, payment method settings, and payout configurations
13
+
-**createTestOrganization()** utility function for testing with realistic organization data
14
+
-**Organization Types** - Complete TypeScript definitions for Organization, OrganizationBranding, PaymentMethodSettings, PaymentGateway, PaymentMethodRate, and PayoutSettings
15
+
16
+
### Changed
17
+
18
+
-**BREAKING: SourcesResource** - Removed `create()` method as sources should only be created client-side for security
19
+
-**SourcesResource Authentication** - Implemented lazy public key (PK) authentication that automatically switches from secret key to public key when retrieving sources
20
+
-**BaseClient** - Added `setApiKey()` and `getApiKey()` methods for dynamic API key switching
21
+
-**Enhanced Test Utilities** - Extended SpyableMagpie with `mockRequest()` and `mockNetworkError()` methods for better test coverage
22
+
23
+
### Fixed
24
+
25
+
-**Sources Security** - Sources now correctly use public key authentication as required by the API
26
+
-**Test Coverage** - Updated sources tests to remove create method tests and add PK authentication tests
0 commit comments