@faire-auth/stripe 1.1.0 → 1.1.1
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/.turbo/turbo-build.log +13 -11
- package/dist/client.d.cts +19 -1
- package/dist/client.d.mts +19 -1
- package/dist/index-CWz-G_AJ.d.cts +1005 -0
- package/dist/index-D4yUrDJc.d.mts +1005 -0
- package/dist/index.d.cts +2 -315
- package/dist/index.d.mts +2 -315
- package/package.json +6 -6
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
$ tsdown
|
|
1
|
+
$ tsc -b && tsdown
|
|
2
2
|
ℹ tsdown v0.23.7 powered by rolldown v1.3.1
|
|
3
3
|
ℹ config file: /home/runner/work/faire-auth/faire-auth/packages/stripe/tsdown.config.ts
|
|
4
4
|
ℹ entry: ./src/index.ts, ./src/client.ts
|
|
@@ -14,16 +14,18 @@ $ tsdown
|
|
|
14
14
|
ℹ [CJS] dist/index.cjs 41.76 kB │ gzip: 7.87 kB
|
|
15
15
|
ℹ [CJS] dist/client.cjs 0.33 kB │ gzip: 0.24 kB
|
|
16
16
|
ℹ [CJS] 2 files, total: 42.09 kB
|
|
17
|
-
ℹ [CJS] dist/
|
|
18
|
-
ℹ [CJS] dist/
|
|
19
|
-
ℹ [CJS]
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
ℹ [ESM] dist/
|
|
23
|
-
ℹ [ESM] dist/
|
|
24
|
-
ℹ [ESM] dist/client.d.mts
|
|
25
|
-
ℹ [ESM]
|
|
26
|
-
|
|
17
|
+
ℹ [CJS] dist/client.d.cts 0.55 kB │ gzip: 0.31 kB
|
|
18
|
+
ℹ [CJS] dist/index.d.cts 0.17 kB │ gzip: 0.13 kB
|
|
19
|
+
ℹ [CJS] dist/index-CWz-G_AJ.d.cts 30.31 kB │ gzip: 3.87 kB
|
|
20
|
+
ℹ [CJS] 3 files, total: 31.04 kB
|
|
21
|
+
✔ Build complete in 2243ms
|
|
22
|
+
ℹ [ESM] dist/index.mjs 38.34 kB │ gzip: 7.34 kB
|
|
23
|
+
ℹ [ESM] dist/client.mjs 0.24 kB │ gzip: 0.19 kB
|
|
24
|
+
ℹ [ESM] dist/client.d.mts 0.55 kB │ gzip: 0.31 kB
|
|
25
|
+
ℹ [ESM] dist/index.d.mts 0.17 kB │ gzip: 0.13 kB
|
|
26
|
+
ℹ [ESM] dist/index-D4yUrDJc.d.mts 30.31 kB │ gzip: 3.88 kB
|
|
27
|
+
ℹ [ESM] 5 files, total: 69.61 kB
|
|
28
|
+
✔ Build complete in 2305ms
|
|
27
29
|
ℹ [publint] The package does not specify the [1m"engines.node"[22m field. Consumers may install it on an unsupported Node.js version. Consider adding the field with your actual minimum supported Node.js version. (This may be a breaking change)
|
|
28
30
|
ℹ [publint] The package appears to be consumed by bundlers but does not specify [1m"sideEffects"[22m. Consider adding [1m"sideEffects"[22m: [1mfalse[22m so bundlers can optimize tree-shaking if your package has no side effects.
|
|
29
31
|
ℹ [publint] The package [1mpublishes internal tests or config files[22m ([1m/src/stripe.test.ts[22m). You can use [1mpkg.files[22m to only publish certain files and save user bandwidth.
|
package/dist/client.d.cts
CHANGED
|
@@ -1,3 +1,21 @@
|
|
|
1
|
+
import { n as stripe } from "./index-CWz-G_AJ.cjs";
|
|
1
2
|
export declare const stripeClient: <O extends {
|
|
2
3
|
subscription: boolean;
|
|
3
|
-
}>(options?: O) =>
|
|
4
|
+
}>(options?: O) => {
|
|
5
|
+
id: "stripe-client";
|
|
6
|
+
$InferServerPlugin: ReturnType<typeof stripe<O["subscription"] extends true ? {
|
|
7
|
+
stripeClient: any;
|
|
8
|
+
stripeWebhookSecret: string;
|
|
9
|
+
subscription: {
|
|
10
|
+
enabled: true;
|
|
11
|
+
plans: [];
|
|
12
|
+
};
|
|
13
|
+
} : {
|
|
14
|
+
stripeClient: any;
|
|
15
|
+
stripeWebhookSecret: string;
|
|
16
|
+
}>>;
|
|
17
|
+
pathMethods: {
|
|
18
|
+
"/subscription/restore": "POST";
|
|
19
|
+
"/subscription/billing-portal": "POST";
|
|
20
|
+
};
|
|
21
|
+
};
|
package/dist/client.d.mts
CHANGED
|
@@ -1,3 +1,21 @@
|
|
|
1
|
+
import { n as stripe } from "./index-D4yUrDJc.mjs";
|
|
1
2
|
export declare const stripeClient: <O extends {
|
|
2
3
|
subscription: boolean;
|
|
3
|
-
}>(options?: O) =>
|
|
4
|
+
}>(options?: O) => {
|
|
5
|
+
id: "stripe-client";
|
|
6
|
+
$InferServerPlugin: ReturnType<typeof stripe<O["subscription"] extends true ? {
|
|
7
|
+
stripeClient: any;
|
|
8
|
+
stripeWebhookSecret: string;
|
|
9
|
+
subscription: {
|
|
10
|
+
enabled: true;
|
|
11
|
+
plans: [];
|
|
12
|
+
};
|
|
13
|
+
} : {
|
|
14
|
+
stripeClient: any;
|
|
15
|
+
stripeWebhookSecret: string;
|
|
16
|
+
}>>;
|
|
17
|
+
pathMethods: {
|
|
18
|
+
"/subscription/restore": "POST";
|
|
19
|
+
"/subscription/billing-portal": "POST";
|
|
20
|
+
};
|
|
21
|
+
};
|