stripe-experiment-sync 1.0.7 → 1.0.8-beta.1765872477
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/dist/{chunk-SX3HLE4H.js → chunk-E2HSDYSR.js} +39 -25
- package/dist/{chunk-7JWRDXNB.js → chunk-E7LIOBPP.js} +195 -23
- package/dist/{chunk-YXQZXR7S.js → chunk-M3MYAMG2.js} +1 -1
- package/dist/{chunk-3P5TZKWU.js → chunk-XDVV7YHP.js} +102 -63
- package/dist/cli/index.cjs +333 -106
- package/dist/cli/index.js +10 -6
- package/dist/cli/lib.cjs +327 -104
- package/dist/cli/lib.d.cts +5 -6
- package/dist/cli/lib.d.ts +5 -6
- package/dist/cli/lib.js +4 -4
- package/dist/index.cjs +196 -23
- package/dist/index.d.cts +53 -1
- package/dist/index.d.ts +53 -1
- package/dist/index.js +4 -2
- package/dist/migrations/0058_improve_sync_runs_status.sql +36 -0
- package/dist/supabase/index.cjs +39 -25
- package/dist/supabase/index.d.cts +6 -1
- package/dist/supabase/index.d.ts +6 -1
- package/dist/supabase/index.js +2 -2
- package/package.json +1 -1
package/dist/supabase/index.d.ts
CHANGED
|
@@ -93,12 +93,17 @@ declare class SupabaseSetupClient {
|
|
|
93
93
|
* Removes all Edge Functions, secrets, database resources, and Stripe webhooks
|
|
94
94
|
*/
|
|
95
95
|
uninstall(stripeSecretKey: string): Promise<void>;
|
|
96
|
-
|
|
96
|
+
/**
|
|
97
|
+
* Inject package version into Edge Function code
|
|
98
|
+
*/
|
|
99
|
+
private injectPackageVersion;
|
|
100
|
+
install(stripeKey: string, packageVersion?: string): Promise<void>;
|
|
97
101
|
}
|
|
98
102
|
declare function install(params: {
|
|
99
103
|
supabaseAccessToken: string;
|
|
100
104
|
supabaseProjectRef: string;
|
|
101
105
|
stripeKey: string;
|
|
106
|
+
packageVersion?: string;
|
|
102
107
|
baseProjectUrl?: string;
|
|
103
108
|
baseManagementApiUrl?: string;
|
|
104
109
|
}): Promise<void>;
|
package/dist/supabase/index.js
CHANGED
|
@@ -9,8 +9,8 @@ import {
|
|
|
9
9
|
uninstall,
|
|
10
10
|
webhookFunctionCode,
|
|
11
11
|
workerFunctionCode
|
|
12
|
-
} from "../chunk-
|
|
13
|
-
import "../chunk-
|
|
12
|
+
} from "../chunk-E2HSDYSR.js";
|
|
13
|
+
import "../chunk-M3MYAMG2.js";
|
|
14
14
|
export {
|
|
15
15
|
INSTALLATION_ERROR_SUFFIX,
|
|
16
16
|
INSTALLATION_INSTALLED_SUFFIX,
|