@saasicat/persistence-testing 1.0.0-rc.15 → 1.0.0-rc.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -25,6 +25,12 @@ Verified scenarios:
25
25
  - one promo redemption per subscription (unique guard)
26
26
  - audit write → query roundtrip incl. `actorTag` wildcard filters
27
27
  - MFA secret roundtrip
28
+ - a gateway event is claimed once per account, a session is confirmed once however many events
29
+ report it, an event that changed nothing gives its session back while staying claimed itself, and
30
+ a claim rolled back with its transaction is free for the retry
31
+ - a confirmed payment method replaces the one in use and keeps it as history, per subscriber
32
+ - a change of payment method a tenant started is completed once, and only for the account, session
33
+ and subscriber it was started for
28
34
  - the applied settings: one row per installation, replaced only by a writer that
29
35
  read its current fingerprint — so replicas starting together record one change,
30
36
  concurrently — with the change and the record it supersedes landing together;
@@ -94,7 +100,14 @@ persistenceAdapterContract({
94
100
  }),
95
101
  // The parts this adapter deliberately does not provide. A part named here
96
102
  // that the harness does provide fails the suite as well.
97
- gaps: ['subscriptionContracts', 'checkoutOffers', 'appliedSettings'],
103
+ gaps: [
104
+ 'subscriptionContracts',
105
+ 'subscribers',
106
+ 'paymentEventLog',
107
+ 'subscriberPaymentMethods',
108
+ 'checkoutOffers',
109
+ 'appliedSettings',
110
+ ],
98
111
  });
99
112
  ```
100
113
 
package/dist/.build-stamp CHANGED
@@ -1 +1 @@
1
- 8fdc45ae34c5869710281576820410215b122b89385485ab7973ebfc8359157b
1
+ 4712ff1dcf203b75f20515a1043a9a0c050987d93b0b4553a992412d683ece35