@beabee/beabee-common 0.20.8 → 0.20.10
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/cjs/types/index.cjs +0 -2
- package/dist/esm/types/index.js +0 -1
- package/dist/types/types/index.d.ts +0 -1
- package/dist/types/types/payment-source-stripe-card.d.ts +8 -1
- package/dist/types/types/payment-source.d.ts +2 -2
- package/package.json +1 -1
- package/dist/cjs/types/payment-source-stripe-link.cjs +0 -16
- package/dist/esm/types/payment-source-stripe-link.js +0 -0
- package/dist/types/types/payment-source-stripe-link.d.ts +0 -4
package/dist/cjs/types/index.cjs
CHANGED
|
@@ -96,7 +96,6 @@ __reExport(types_exports, require("./payment-source-go-cardless-direct-debit.cjs
|
|
|
96
96
|
__reExport(types_exports, require("./payment-source-manual.cjs"), module.exports);
|
|
97
97
|
__reExport(types_exports, require("./payment-source-stripe-bacs.cjs"), module.exports);
|
|
98
98
|
__reExport(types_exports, require("./payment-source-stripe-card.cjs"), module.exports);
|
|
99
|
-
__reExport(types_exports, require("./payment-source-stripe-link.cjs"), module.exports);
|
|
100
99
|
__reExport(types_exports, require("./payment-source-stripe-paypal.cjs"), module.exports);
|
|
101
100
|
__reExport(types_exports, require("./payment-source-stripe-sepa.cjs"), module.exports);
|
|
102
101
|
__reExport(types_exports, require("./payment-source.cjs"), module.exports);
|
|
@@ -204,7 +203,6 @@ __reExport(types_exports, require("./validator.cjs"), module.exports);
|
|
|
204
203
|
...require("./payment-source-manual.cjs"),
|
|
205
204
|
...require("./payment-source-stripe-bacs.cjs"),
|
|
206
205
|
...require("./payment-source-stripe-card.cjs"),
|
|
207
|
-
...require("./payment-source-stripe-link.cjs"),
|
|
208
206
|
...require("./payment-source-stripe-paypal.cjs"),
|
|
209
207
|
...require("./payment-source-stripe-sepa.cjs"),
|
|
210
208
|
...require("./payment-source.cjs"),
|
package/dist/esm/types/index.js
CHANGED
|
@@ -79,7 +79,6 @@ export * from "./payment-source-go-cardless-direct-debit.js";
|
|
|
79
79
|
export * from "./payment-source-manual.js";
|
|
80
80
|
export * from "./payment-source-stripe-bacs.js";
|
|
81
81
|
export * from "./payment-source-stripe-card.js";
|
|
82
|
-
export * from "./payment-source-stripe-link.js";
|
|
83
82
|
export * from "./payment-source-stripe-paypal.js";
|
|
84
83
|
export * from "./payment-source-stripe-sepa.js";
|
|
85
84
|
export * from "./payment-source.js";
|
|
@@ -79,7 +79,6 @@ export * from "./payment-source-go-cardless-direct-debit.ts";
|
|
|
79
79
|
export * from "./payment-source-manual.ts";
|
|
80
80
|
export * from "./payment-source-stripe-bacs.ts";
|
|
81
81
|
export * from "./payment-source-stripe-card.ts";
|
|
82
|
-
export * from "./payment-source-stripe-link.ts";
|
|
83
82
|
export * from "./payment-source-stripe-paypal.ts";
|
|
84
83
|
export * from "./payment-source-stripe-sepa.ts";
|
|
85
84
|
export * from "./payment-source.ts";
|
|
@@ -1,7 +1,14 @@
|
|
|
1
1
|
import type { PaymentMethod } from "../data/index.ts";
|
|
2
|
-
export interface
|
|
2
|
+
export interface PaymentSourceStripeCardActual {
|
|
3
3
|
method: PaymentMethod.StripeCard;
|
|
4
|
+
isLink: false;
|
|
4
5
|
last4: string;
|
|
5
6
|
expiryMonth: number;
|
|
6
7
|
expiryYear: number;
|
|
7
8
|
}
|
|
9
|
+
export interface PaymentSourceStripeCardLink {
|
|
10
|
+
method: PaymentMethod.StripeCard;
|
|
11
|
+
isLink: true;
|
|
12
|
+
email: string;
|
|
13
|
+
}
|
|
14
|
+
export type PaymentSourceStripeCard = PaymentSourceStripeCardActual | PaymentSourceStripeCardLink;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { PaymentSourceGoCardlessDirectDebit, PaymentSourceManual, PaymentSourceStripeBACS, PaymentSourceStripeCard,
|
|
2
|
-
export type PaymentSource = PaymentSourceGoCardlessDirectDebit | PaymentSourceManual | PaymentSourceStripeBACS | PaymentSourceStripeCard |
|
|
1
|
+
import type { PaymentSourceGoCardlessDirectDebit, PaymentSourceManual, PaymentSourceStripeBACS, PaymentSourceStripeCard, PaymentSourceStripePayPal, PaymentSourceStripeSEPA } from "./index.ts";
|
|
2
|
+
export type PaymentSource = PaymentSourceGoCardlessDirectDebit | PaymentSourceManual | PaymentSourceStripeBACS | PaymentSourceStripeCard | PaymentSourceStripePayPal | PaymentSourceStripeSEPA;
|
package/package.json
CHANGED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __copyProps = (to, from, except, desc) => {
|
|
7
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
8
|
-
for (let key of __getOwnPropNames(from))
|
|
9
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
10
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
11
|
-
}
|
|
12
|
-
return to;
|
|
13
|
-
};
|
|
14
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
15
|
-
var payment_source_stripe_link_exports = {};
|
|
16
|
-
module.exports = __toCommonJS(payment_source_stripe_link_exports);
|
|
File without changes
|