stripe-experiment-sync 1.0.11 → 1.0.13
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-LFXGDVMC.js → chunk-2GSABFXH.js} +1 -1
- package/dist/{chunk-4MOFTZ53.js → chunk-5SS5ZEQF.js} +4 -20
- package/dist/{chunk-EVNKMOYA.js → chunk-O2N4AEQS.js} +36 -84
- package/dist/{chunk-XTL72K7K.js → chunk-RCU5ZXAX.js} +1 -1
- package/dist/cli/index.cjs +40 -105
- package/dist/cli/index.js +6 -7
- package/dist/cli/lib.cjs +38 -102
- package/dist/cli/lib.js +4 -4
- package/dist/index.cjs +1 -1
- package/dist/index.js +2 -2
- package/dist/supabase/index.cjs +36 -94
- package/dist/supabase/index.d.cts +6 -4
- package/dist/supabase/index.d.ts +6 -4
- package/dist/supabase/index.js +2 -2
- package/package.json +1 -1
|
@@ -17,6 +17,7 @@ declare class SupabaseSetupClient {
|
|
|
17
17
|
private api;
|
|
18
18
|
private projectRef;
|
|
19
19
|
private projectBaseUrl;
|
|
20
|
+
private accessToken;
|
|
20
21
|
constructor(options: DeployClientOptions);
|
|
21
22
|
/**
|
|
22
23
|
* Validate that the project exists and we have access
|
|
@@ -25,7 +26,7 @@ declare class SupabaseSetupClient {
|
|
|
25
26
|
/**
|
|
26
27
|
* Deploy an Edge Function
|
|
27
28
|
*/
|
|
28
|
-
deployFunction(name: string, code: string): Promise<void>;
|
|
29
|
+
deployFunction(name: string, code: string, verifyJwt?: boolean): Promise<void>;
|
|
29
30
|
/**
|
|
30
31
|
* Set secrets for Edge Functions
|
|
31
32
|
*/
|
|
@@ -91,9 +92,9 @@ declare class SupabaseSetupClient {
|
|
|
91
92
|
deleteSecret(name: string): Promise<void>;
|
|
92
93
|
/**
|
|
93
94
|
* Uninstall stripe-sync from a Supabase project
|
|
94
|
-
*
|
|
95
|
+
* Invokes the stripe-setup edge function's DELETE endpoint which handles cleanup
|
|
95
96
|
*/
|
|
96
|
-
uninstall(
|
|
97
|
+
uninstall(): Promise<void>;
|
|
97
98
|
/**
|
|
98
99
|
* Inject package version into Edge Function code
|
|
99
100
|
*/
|
|
@@ -112,7 +113,8 @@ declare function install(params: {
|
|
|
112
113
|
declare function uninstall(params: {
|
|
113
114
|
supabaseAccessToken: string;
|
|
114
115
|
supabaseProjectRef: string;
|
|
115
|
-
|
|
116
|
+
baseProjectUrl?: string;
|
|
117
|
+
baseManagementApiBaseUrl?: string;
|
|
116
118
|
}): Promise<void>;
|
|
117
119
|
|
|
118
120
|
declare const setupFunctionCode: string;
|
package/dist/supabase/index.d.ts
CHANGED
|
@@ -17,6 +17,7 @@ declare class SupabaseSetupClient {
|
|
|
17
17
|
private api;
|
|
18
18
|
private projectRef;
|
|
19
19
|
private projectBaseUrl;
|
|
20
|
+
private accessToken;
|
|
20
21
|
constructor(options: DeployClientOptions);
|
|
21
22
|
/**
|
|
22
23
|
* Validate that the project exists and we have access
|
|
@@ -25,7 +26,7 @@ declare class SupabaseSetupClient {
|
|
|
25
26
|
/**
|
|
26
27
|
* Deploy an Edge Function
|
|
27
28
|
*/
|
|
28
|
-
deployFunction(name: string, code: string): Promise<void>;
|
|
29
|
+
deployFunction(name: string, code: string, verifyJwt?: boolean): Promise<void>;
|
|
29
30
|
/**
|
|
30
31
|
* Set secrets for Edge Functions
|
|
31
32
|
*/
|
|
@@ -91,9 +92,9 @@ declare class SupabaseSetupClient {
|
|
|
91
92
|
deleteSecret(name: string): Promise<void>;
|
|
92
93
|
/**
|
|
93
94
|
* Uninstall stripe-sync from a Supabase project
|
|
94
|
-
*
|
|
95
|
+
* Invokes the stripe-setup edge function's DELETE endpoint which handles cleanup
|
|
95
96
|
*/
|
|
96
|
-
uninstall(
|
|
97
|
+
uninstall(): Promise<void>;
|
|
97
98
|
/**
|
|
98
99
|
* Inject package version into Edge Function code
|
|
99
100
|
*/
|
|
@@ -112,7 +113,8 @@ declare function install(params: {
|
|
|
112
113
|
declare function uninstall(params: {
|
|
113
114
|
supabaseAccessToken: string;
|
|
114
115
|
supabaseProjectRef: string;
|
|
115
|
-
|
|
116
|
+
baseProjectUrl?: string;
|
|
117
|
+
baseManagementApiBaseUrl?: string;
|
|
116
118
|
}): Promise<void>;
|
|
117
119
|
|
|
118
120
|
declare const setupFunctionCode: string;
|
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-O2N4AEQS.js";
|
|
13
|
+
import "../chunk-RCU5ZXAX.js";
|
|
14
14
|
export {
|
|
15
15
|
INSTALLATION_ERROR_SUFFIX,
|
|
16
16
|
INSTALLATION_INSTALLED_SUFFIX,
|