@voltro/plugin-billing 0.55.0 → 0.57.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 +691 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.js +402 -376
- package/package.json +6 -6
package/dist/index.d.ts
CHANGED
|
@@ -1097,6 +1097,12 @@ declare interface ResolveProviderInput {
|
|
|
1097
1097
|
readonly env: NodeJS.ProcessEnv;
|
|
1098
1098
|
/** Price id → plan id, from the plugin's plan registry. */
|
|
1099
1099
|
readonly planForPriceId?: (priceId: string) => string | null;
|
|
1100
|
+
/** Where the mock-by-absence warning goes. Optional: a library caller
|
|
1101
|
+
* resolving a provider outside a boot has nowhere to put it, and a missing
|
|
1102
|
+
* logger must not be a reason to fail. */
|
|
1103
|
+
readonly log?: {
|
|
1104
|
+
readonly warn: (message: string) => void;
|
|
1105
|
+
};
|
|
1100
1106
|
}
|
|
1101
1107
|
|
|
1102
1108
|
/**
|