@fantastic.dev/better-stripe 0.92.0 → 0.93.0
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/CHANGELOG.md +6 -0
- package/README.md +1 -1
- package/dist/client/billing/renewalAttach/internal/producer/classOwnedActionRoot.d.ts +30 -0
- package/dist/client/billing/renewalAttach/internal/producer/classOwnedActionRoot.d.ts.map +1 -0
- package/dist/client/billing/renewalAttach/internal/producer/classOwnedActionRoot.js +113 -0
- package/dist/client/billing/renewalAttach/internal/producer/classOwnedActionRoot.js.map +1 -0
- package/dist/client/connect/payoutAdoptionTestHelpers.d.ts +594 -32
- package/dist/client/connect/payoutAdoptionTestHelpers.d.ts.map +1 -1
- package/dist/client/connect/payoutExecutionTestHelpers.d.ts +281 -0
- package/dist/client/connect/payoutExecutionTestHelpers.d.ts.map +1 -1
- package/dist/client/connect/payoutLargeAdoptionTestHelpers.d.ts +594 -32
- package/dist/client/connect/payoutLargeAdoptionTestHelpers.d.ts.map +1 -1
- package/dist/client/connect/payoutSyncTestHelpers.d.ts +281 -0
- package/dist/client/connect/payoutSyncTestHelpers.d.ts.map +1 -1
- package/dist/client/index.d.ts +3 -2
- package/dist/client/index.d.ts.map +1 -1
- package/dist/client/index.js +16 -3
- package/dist/client/index.js.map +1 -1
- package/dist/component/_generated/api.d.ts +6 -0
- package/dist/component/_generated/api.d.ts.map +1 -1
- package/dist/component/_generated/api.js.map +1 -1
- package/dist/component/_generated/component.d.ts +406 -0
- package/dist/component/_generated/component.d.ts.map +1 -1
- package/dist/component/balanceFunding/mutations.d.ts +16 -16
- package/dist/component/balanceFunding/preparationHandlers.d.ts +8 -8
- package/dist/component/balanceFunding/workflowValidators.d.ts +16 -16
- package/dist/component/earnings/triggers.d.ts +294 -0
- package/dist/component/earnings/triggers.d.ts.map +1 -1
- package/dist/component/financialObservations/settlementHelpers.d.ts +3 -3
- package/dist/component/renewalOperations/helpers.d.ts +236 -0
- package/dist/component/renewalOperations/helpers.d.ts.map +1 -0
- package/dist/component/renewalOperations/helpers.js +457 -0
- package/dist/component/renewalOperations/helpers.js.map +1 -0
- package/dist/component/renewalOperations/mutations.d.ts +252 -0
- package/dist/component/renewalOperations/mutations.d.ts.map +1 -0
- package/dist/component/renewalOperations/mutations.js +340 -0
- package/dist/component/renewalOperations/mutations.js.map +1 -0
- package/dist/component/renewalOperations/queries.d.ts +163 -0
- package/dist/component/renewalOperations/queries.d.ts.map +1 -0
- package/dist/component/renewalOperations/queries.js +167 -0
- package/dist/component/renewalOperations/queries.js.map +1 -0
- package/dist/component/renewalOperations/schema.d.ts +1988 -0
- package/dist/component/renewalOperations/schema.d.ts.map +1 -0
- package/dist/component/renewalOperations/schema.js +227 -0
- package/dist/component/renewalOperations/schema.js.map +1 -0
- package/dist/component/schema.d.ts +281 -0
- package/dist/component/schema.js +5 -0
- package/dist/component/schema.js.map +1 -1
- package/dist/component/usage/allowance.fixtures.d.ts +281 -0
- package/dist/component/usage/allowance.fixtures.d.ts.map +1 -1
- package/dist/component/usageCredits/accounting.fixtures.d.ts +297 -16
- package/dist/component/usageCredits/accounting.fixtures.d.ts.map +1 -1
- package/dist/shared/renewalOperationJournal.d.ts +43 -0
- package/dist/shared/renewalOperationJournal.d.ts.map +1 -0
- package/dist/shared/renewalOperationJournal.js +294 -0
- package/dist/shared/renewalOperationJournal.js.map +1 -0
- package/docs/renewal-context-reads.md +152 -0
- package/package.json +1 -1
- package/src/client/billing/renewalAttach/internal/operationJournal.integration.test.ts +380 -0
- package/src/client/billing/renewalAttach/internal/producer/classOwnedActionRoot.ts +155 -0
- package/src/client/index.ts +24 -3
- package/src/component/_generated/api.ts +6 -0
- package/src/component/_generated/component.ts +450 -0
- package/src/component/renewalOperations/acknowledgement.fixtures.ts +552 -0
- package/src/component/renewalOperations/acknowledgement.test.ts +573 -0
- package/src/component/renewalOperations/acknowledgementReads.test.ts +442 -0
- package/src/component/renewalOperations/acknowledgementV2.test.ts +493 -0
- package/src/component/renewalOperations/acknowledgementV2Publication.test.ts +373 -0
- package/src/component/renewalOperations/basisBinding.test.ts +567 -0
- package/src/component/renewalOperations/basisLifecycle.test.ts +569 -0
- package/src/component/renewalOperations/boundHistory.test.ts +474 -0
- package/src/component/renewalOperations/helpers.ts +592 -0
- package/src/component/renewalOperations/historyReads.test.ts +595 -0
- package/src/component/renewalOperations/initialBasis.test.ts +578 -0
- package/src/component/renewalOperations/journal.test.ts +567 -0
- package/src/component/renewalOperations/mutations.ts +456 -0
- package/src/component/renewalOperations/payload.test.ts +589 -0
- package/src/component/renewalOperations/payloadEncoding.test.ts +592 -0
- package/src/component/renewalOperations/queries.ts +204 -0
- package/src/component/renewalOperations/schema.ts +268 -0
- package/src/component/renewalOperations/timingPolicy.fixtures.ts +193 -0
- package/src/component/renewalOperations/timingPolicy.test.ts +523 -0
- package/src/component/schema.ts +11 -0
- package/src/shared/renewalOperationJournal.ts +333 -0
package/CHANGELOG.md
CHANGED
|
@@ -26,6 +26,12 @@
|
|
|
26
26
|
- Remove internal tracker references from public documentation and add a
|
|
27
27
|
regression check that prevents their reintroduction.
|
|
28
28
|
|
|
29
|
+
## [0.93.0](https://github.com/FantasticDevHQ/better-stripe/compare/v0.92.0...v0.93.0) (2026-10-31)
|
|
30
|
+
|
|
31
|
+
### Features
|
|
32
|
+
|
|
33
|
+
- persist authorized renewal operations and attempt evidence ([6cd43f0](https://github.com/FantasticDevHQ/better-stripe/commit/6cd43f05d8982f3c30895a7a7cc46ace74e0bf54))
|
|
34
|
+
|
|
29
35
|
## [0.92.0](https://github.com/FantasticDevHQ/better-stripe/compare/v0.91.0...v0.92.0) (2026-10-30)
|
|
30
36
|
|
|
31
37
|
### Features
|
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@ billing, and Connect marketplaces. It provides checkout, subscriptions, webhook
|
|
|
5
5
|
syncing, marketplace fees and splits, payouts, refunds, and disputes, with React
|
|
6
6
|
hooks and headless UI components.
|
|
7
7
|
|
|
8
|
-
**Version**: `0.
|
|
8
|
+
**Version**: `0.93.0` <!-- x-release-please-version --> (pre-1.0). API may change between minor versions until 1.0.
|
|
9
9
|
|
|
10
10
|
Connect platforms use the default GA API version. Non-Connect merchants using
|
|
11
11
|
customer-only Accounts v2 need preview access and an explicit preview version.
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import type { GenericActionCtx, GenericDataModel } from "convex/server";
|
|
2
|
+
import type { Id } from "../../../../../component/_generated/dataModel.js";
|
|
3
|
+
import type { Component } from "../../../../helpers.js";
|
|
4
|
+
import { RenewalContextClient } from "../../../../renewalContextClient.js";
|
|
5
|
+
export type ClassActionInput = Readonly<{
|
|
6
|
+
actualActionCtx: GenericActionCtx<GenericDataModel>;
|
|
7
|
+
operationId: Id<"renewalOperations">;
|
|
8
|
+
}>;
|
|
9
|
+
type Bootstrap = Readonly<{
|
|
10
|
+
prototype: object;
|
|
11
|
+
select: () => unknown;
|
|
12
|
+
enter: (input: ClassActionInput) => unknown;
|
|
13
|
+
}>;
|
|
14
|
+
export declare const CLASS_ROOT_CONSTRUCTION_PERMIT: unique symbol;
|
|
15
|
+
/** Internal neutral base; construction alone grants no operational authority. */
|
|
16
|
+
export declare abstract class ClassOwnedActionRoot extends RenewalContextClient {
|
|
17
|
+
protected constructor(component: Component, permit: typeof CLASS_ROOT_CONSTRUCTION_PERMIT);
|
|
18
|
+
protected finishMaintainedRootConstruction(): void;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Called by the maintained constructor under trusted package-internal imports.
|
|
22
|
+
* Hostile code importing the private base and permit is outside this gate.
|
|
23
|
+
*/
|
|
24
|
+
export declare function finishClassRoot(actualRoot: object, raw: Bootstrap): void;
|
|
25
|
+
/** EMPTY profiles refuse before entry, client selection or Action reflection. */
|
|
26
|
+
export declare function captureMaintainedActionSelection(actualRoot: object, _input: ClassActionInput): Promise<never>;
|
|
27
|
+
/** Positive per-Action admission is not implemented by the inert bootstrap. */
|
|
28
|
+
export declare function beginClassAction(_actualRoot: object, _input: ClassActionInput): Promise<never>;
|
|
29
|
+
export {};
|
|
30
|
+
//# sourceMappingURL=classOwnedActionRoot.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"classOwnedActionRoot.d.ts","sourceRoot":"","sources":["../../../../../../src/client/billing/renewalAttach/internal/producer/classOwnedActionRoot.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AACxE,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,kDAAkD,CAAC;AAC3E,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,EAAE,oBAAoB,EAAE,MAAM,qCAAqC,CAAC;AAE3E,MAAM,MAAM,gBAAgB,GAAG,QAAQ,CAAC;IACtC,eAAe,EAAE,gBAAgB,CAAC,gBAAgB,CAAC,CAAC;IACpD,WAAW,EAAE,EAAE,CAAC,mBAAmB,CAAC,CAAC;CACtC,CAAC,CAAC;AACH,KAAK,SAAS,GAAG,QAAQ,CAAC;IACxB,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,OAAO,CAAC;IACtB,KAAK,EAAE,CAAC,KAAK,EAAE,gBAAgB,KAAK,OAAO,CAAC;CAC7C,CAAC,CAAC;AASH,eAAO,MAAM,8BAA8B,eAE1C,CAAC;AAKF,iFAAiF;AACjF,8BAAsB,oBAAqB,SAAQ,oBAAoB;IACrE,SAAS,aACP,SAAS,EAAE,SAAS,EACpB,MAAM,EAAE,OAAO,8BAA8B,EAK9C;IAED,SAAS,CAAC,gCAAgC,IAAI,IAAI,CAqBjD;CACF;AAQD;;;GAGG;AACH,wBAAgB,eAAe,CAAC,UAAU,EAAE,MAAM,EAAE,GAAG,EAAE,SAAS,GAAG,IAAI,CAyDxE;AAED,iFAAiF;AACjF,wBAAsB,gCAAgC,CACpD,UAAU,EAAE,MAAM,EAClB,MAAM,EAAE,gBAAgB,GACvB,OAAO,CAAC,KAAK,CAAC,CAShB;AAED,+EAA+E;AAC/E,wBAAsB,gBAAgB,CACpC,WAAW,EAAE,MAAM,EACnB,MAAM,EAAE,gBAAgB,GACvB,OAAO,CAAC,KAAK,CAAC,CAEhB"}
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
import { RenewalContextClient } from "../../../../renewalContextClient.js";
|
|
2
|
+
const roots = new WeakMap();
|
|
3
|
+
const pending = new WeakMap();
|
|
4
|
+
const finishing = new WeakSet();
|
|
5
|
+
const bootstrapSymbol = Symbol("betterstripe-class-root-bootstrap");
|
|
6
|
+
export const CLASS_ROOT_CONSTRUCTION_PERMIT = Symbol("betterstripe-root-permit");
|
|
7
|
+
function rootUnbound() {
|
|
8
|
+
throw Error("CLASS_ACTION_ROOT_UNBOUND");
|
|
9
|
+
}
|
|
10
|
+
/** Internal neutral base; construction alone grants no operational authority. */
|
|
11
|
+
export class ClassOwnedActionRoot extends RenewalContextClient {
|
|
12
|
+
constructor(component, permit) {
|
|
13
|
+
if (permit !== CLASS_ROOT_CONSTRUCTION_PERMIT)
|
|
14
|
+
rootUnbound();
|
|
15
|
+
super(component);
|
|
16
|
+
roots.set(this, Object.freeze({ phase: "awaiting", component }));
|
|
17
|
+
}
|
|
18
|
+
finishMaintainedRootConstruction() {
|
|
19
|
+
const cell = roots.get(this);
|
|
20
|
+
const bootstrap = pending.get(this);
|
|
21
|
+
const descriptor = Object.getOwnPropertyDescriptor(this, bootstrapSymbol);
|
|
22
|
+
if (!cell ||
|
|
23
|
+
cell.phase !== "awaiting" ||
|
|
24
|
+
!finishing.has(this) ||
|
|
25
|
+
!bootstrap ||
|
|
26
|
+
!descriptor ||
|
|
27
|
+
!("value" in descriptor) ||
|
|
28
|
+
descriptor.value !== bootstrap ||
|
|
29
|
+
descriptor.enumerable ||
|
|
30
|
+
descriptor.writable ||
|
|
31
|
+
!descriptor.configurable)
|
|
32
|
+
rootUnbound();
|
|
33
|
+
roots.set(this, Object.freeze({ phase: "ready", component: cell.component, bootstrap }));
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
const finalizerCandidate = Object.getOwnPropertyDescriptor(ClassOwnedActionRoot.prototype, "finishMaintainedRootConstruction")?.value;
|
|
37
|
+
if (typeof finalizerCandidate !== "function")
|
|
38
|
+
rootUnbound();
|
|
39
|
+
const actualFinalizer = finalizerCandidate;
|
|
40
|
+
/**
|
|
41
|
+
* Called by the maintained constructor under trusted package-internal imports.
|
|
42
|
+
* Hostile code importing the private base and permit is outside this gate.
|
|
43
|
+
*/
|
|
44
|
+
export function finishClassRoot(actualRoot, raw) {
|
|
45
|
+
const cell = roots.get(actualRoot);
|
|
46
|
+
if (!cell || cell.phase !== "awaiting")
|
|
47
|
+
rootUnbound();
|
|
48
|
+
try {
|
|
49
|
+
const keys = Reflect.ownKeys(raw);
|
|
50
|
+
const prototype = Object.getOwnPropertyDescriptor(raw, "prototype");
|
|
51
|
+
const select = Object.getOwnPropertyDescriptor(raw, "select");
|
|
52
|
+
const enter = Object.getOwnPropertyDescriptor(raw, "enter");
|
|
53
|
+
if (keys.length !== 3 ||
|
|
54
|
+
!keys.every((key) => typeof key === "string" &&
|
|
55
|
+
["prototype", "select", "enter"].includes(key)) ||
|
|
56
|
+
!prototype ||
|
|
57
|
+
!("value" in prototype) ||
|
|
58
|
+
!prototype.enumerable ||
|
|
59
|
+
prototype.value === null ||
|
|
60
|
+
typeof prototype.value !== "object" ||
|
|
61
|
+
!select ||
|
|
62
|
+
!("value" in select) ||
|
|
63
|
+
!select.enumerable ||
|
|
64
|
+
typeof select.value !== "function" ||
|
|
65
|
+
!enter ||
|
|
66
|
+
!("value" in enter) ||
|
|
67
|
+
!enter.enumerable ||
|
|
68
|
+
typeof enter.value !== "function" ||
|
|
69
|
+
roots.get(actualRoot) !== cell)
|
|
70
|
+
rootUnbound();
|
|
71
|
+
// Values are captured before the temporary descriptor exists; none is called.
|
|
72
|
+
const bootstrap = Object.freeze({
|
|
73
|
+
prototype: prototype.value,
|
|
74
|
+
select: select.value,
|
|
75
|
+
enter: enter.value,
|
|
76
|
+
});
|
|
77
|
+
pending.set(actualRoot, bootstrap);
|
|
78
|
+
Object.defineProperty(actualRoot, bootstrapSymbol, {
|
|
79
|
+
value: bootstrap,
|
|
80
|
+
enumerable: false,
|
|
81
|
+
writable: false,
|
|
82
|
+
configurable: true,
|
|
83
|
+
});
|
|
84
|
+
finishing.add(actualRoot);
|
|
85
|
+
Reflect.apply(actualFinalizer, actualRoot, []);
|
|
86
|
+
}
|
|
87
|
+
catch {
|
|
88
|
+
roots.set(actualRoot, Object.freeze({ phase: "failed" }));
|
|
89
|
+
rootUnbound();
|
|
90
|
+
}
|
|
91
|
+
finally {
|
|
92
|
+
finishing.delete(actualRoot);
|
|
93
|
+
pending.delete(actualRoot);
|
|
94
|
+
if (!Reflect.deleteProperty(actualRoot, bootstrapSymbol)) {
|
|
95
|
+
roots.set(actualRoot, Object.freeze({ phase: "failed" }));
|
|
96
|
+
rootUnbound();
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
/** EMPTY profiles refuse before entry, client selection or Action reflection. */
|
|
101
|
+
export async function captureMaintainedActionSelection(actualRoot, _input) {
|
|
102
|
+
const cell = roots.get(actualRoot);
|
|
103
|
+
if (!cell ||
|
|
104
|
+
cell.phase !== "ready" ||
|
|
105
|
+
Object.getPrototypeOf(actualRoot) !== cell.bootstrap.prototype)
|
|
106
|
+
rootUnbound();
|
|
107
|
+
throw Error("CLASS_ACTION_PROFILE_UNBOUND");
|
|
108
|
+
}
|
|
109
|
+
/** Positive per-Action admission is not implemented by the inert bootstrap. */
|
|
110
|
+
export async function beginClassAction(_actualRoot, _input) {
|
|
111
|
+
return rootUnbound();
|
|
112
|
+
}
|
|
113
|
+
//# sourceMappingURL=classOwnedActionRoot.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"classOwnedActionRoot.js","sourceRoot":"","sources":["../../../../../../src/client/billing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