@proxy-checkout/server-js 0.0.4-pr-76.32.1 → 0.0.4-pr-76.34.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/dist/cjs/version.d.cts +2 -2
- package/dist/cjs/version.d.ts +2 -2
- package/dist/cjs/version.js +1 -1
- package/dist/cjs/webhook-events.d.cts +0 -5
- package/dist/cjs/webhook-events.d.ts +0 -5
- package/dist/cjs/webhook-events.js +0 -10
- package/dist/esm/version.d.ts +2 -2
- package/dist/esm/version.js +1 -1
- package/dist/esm/webhook-events.d.ts +0 -5
- package/dist/esm/webhook-events.js +0 -10
- package/package.json +1 -1
package/dist/cjs/version.d.cts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export declare const proxyCheckoutServerSdkName = "@proxy-checkout/server-js";
|
|
2
|
-
export declare const proxyCheckoutServerSdkVersion = "0.0.4-pr-76.
|
|
3
|
-
export declare const proxyCheckoutServerSdkUserAgent = "@proxy-checkout/server-js/0.0.4-pr-76.
|
|
2
|
+
export declare const proxyCheckoutServerSdkVersion = "0.0.4-pr-76.34.1";
|
|
3
|
+
export declare const proxyCheckoutServerSdkUserAgent = "@proxy-checkout/server-js/0.0.4-pr-76.34.1";
|
package/dist/cjs/version.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export declare const proxyCheckoutServerSdkName = "@proxy-checkout/server-js";
|
|
2
|
-
export declare const proxyCheckoutServerSdkVersion = "0.0.4-pr-76.
|
|
3
|
-
export declare const proxyCheckoutServerSdkUserAgent = "@proxy-checkout/server-js/0.0.4-pr-76.
|
|
2
|
+
export declare const proxyCheckoutServerSdkVersion = "0.0.4-pr-76.34.1";
|
|
3
|
+
export declare const proxyCheckoutServerSdkUserAgent = "@proxy-checkout/server-js/0.0.4-pr-76.34.1";
|
package/dist/cjs/version.js
CHANGED
|
@@ -2,5 +2,5 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.proxyCheckoutServerSdkUserAgent = exports.proxyCheckoutServerSdkVersion = exports.proxyCheckoutServerSdkName = void 0;
|
|
4
4
|
exports.proxyCheckoutServerSdkName = "@proxy-checkout/server-js";
|
|
5
|
-
exports.proxyCheckoutServerSdkVersion = "0.0.4-pr-76.
|
|
5
|
+
exports.proxyCheckoutServerSdkVersion = "0.0.4-pr-76.34.1";
|
|
6
6
|
exports.proxyCheckoutServerSdkUserAgent = `${exports.proxyCheckoutServerSdkName}/${exports.proxyCheckoutServerSdkVersion}`;
|
|
@@ -7,12 +7,7 @@
|
|
|
7
7
|
*/
|
|
8
8
|
export declare const PROXY_WEBHOOK_EVENT_TYPES: {
|
|
9
9
|
readonly paymentAttemptCancelled: "payment_attempt.cancelled";
|
|
10
|
-
readonly paymentAttemptDisputed: "payment_attempt.disputed";
|
|
11
|
-
readonly paymentAttemptDisputeLost: "payment_attempt.dispute_lost";
|
|
12
|
-
readonly paymentAttemptDisputeWon: "payment_attempt.dispute_won";
|
|
13
10
|
readonly paymentAttemptFailed: "payment_attempt.failed";
|
|
14
|
-
readonly paymentAttemptPartiallyRefunded: "payment_attempt.partially_refunded";
|
|
15
|
-
readonly paymentAttemptRefunded: "payment_attempt.refunded";
|
|
16
11
|
readonly paymentAttemptSucceeded: "payment_attempt.succeeded";
|
|
17
12
|
readonly sessionCancelled: "proxy_session.cancelled";
|
|
18
13
|
readonly sessionExpired: "proxy_session.expired";
|
|
@@ -7,12 +7,7 @@
|
|
|
7
7
|
*/
|
|
8
8
|
export declare const PROXY_WEBHOOK_EVENT_TYPES: {
|
|
9
9
|
readonly paymentAttemptCancelled: "payment_attempt.cancelled";
|
|
10
|
-
readonly paymentAttemptDisputed: "payment_attempt.disputed";
|
|
11
|
-
readonly paymentAttemptDisputeLost: "payment_attempt.dispute_lost";
|
|
12
|
-
readonly paymentAttemptDisputeWon: "payment_attempt.dispute_won";
|
|
13
10
|
readonly paymentAttemptFailed: "payment_attempt.failed";
|
|
14
|
-
readonly paymentAttemptPartiallyRefunded: "payment_attempt.partially_refunded";
|
|
15
|
-
readonly paymentAttemptRefunded: "payment_attempt.refunded";
|
|
16
11
|
readonly paymentAttemptSucceeded: "payment_attempt.succeeded";
|
|
17
12
|
readonly sessionCancelled: "proxy_session.cancelled";
|
|
18
13
|
readonly sessionExpired: "proxy_session.expired";
|
|
@@ -13,12 +13,7 @@ exports.isProxySubscriptionEvent = isProxySubscriptionEvent;
|
|
|
13
13
|
exports.isProxyPaymentAttemptEvent = isProxyPaymentAttemptEvent;
|
|
14
14
|
exports.PROXY_WEBHOOK_EVENT_TYPES = {
|
|
15
15
|
paymentAttemptCancelled: "payment_attempt.cancelled",
|
|
16
|
-
paymentAttemptDisputed: "payment_attempt.disputed",
|
|
17
|
-
paymentAttemptDisputeLost: "payment_attempt.dispute_lost",
|
|
18
|
-
paymentAttemptDisputeWon: "payment_attempt.dispute_won",
|
|
19
16
|
paymentAttemptFailed: "payment_attempt.failed",
|
|
20
|
-
paymentAttemptPartiallyRefunded: "payment_attempt.partially_refunded",
|
|
21
|
-
paymentAttemptRefunded: "payment_attempt.refunded",
|
|
22
17
|
paymentAttemptSucceeded: "payment_attempt.succeeded",
|
|
23
18
|
sessionCancelled: "proxy_session.cancelled",
|
|
24
19
|
sessionExpired: "proxy_session.expired",
|
|
@@ -47,12 +42,7 @@ const SUBSCRIPTION_EVENT_TYPES = new Set([
|
|
|
47
42
|
]);
|
|
48
43
|
const PAYMENT_ATTEMPT_EVENT_TYPES = new Set([
|
|
49
44
|
exports.PROXY_WEBHOOK_EVENT_TYPES.paymentAttemptCancelled,
|
|
50
|
-
exports.PROXY_WEBHOOK_EVENT_TYPES.paymentAttemptDisputeLost,
|
|
51
|
-
exports.PROXY_WEBHOOK_EVENT_TYPES.paymentAttemptDisputeWon,
|
|
52
|
-
exports.PROXY_WEBHOOK_EVENT_TYPES.paymentAttemptDisputed,
|
|
53
45
|
exports.PROXY_WEBHOOK_EVENT_TYPES.paymentAttemptFailed,
|
|
54
|
-
exports.PROXY_WEBHOOK_EVENT_TYPES.paymentAttemptPartiallyRefunded,
|
|
55
|
-
exports.PROXY_WEBHOOK_EVENT_TYPES.paymentAttemptRefunded,
|
|
56
46
|
exports.PROXY_WEBHOOK_EVENT_TYPES.paymentAttemptSucceeded,
|
|
57
47
|
]);
|
|
58
48
|
/** True for `proxy_session.*` events. */
|
package/dist/esm/version.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export declare const proxyCheckoutServerSdkName = "@proxy-checkout/server-js";
|
|
2
|
-
export declare const proxyCheckoutServerSdkVersion = "0.0.4-pr-76.
|
|
3
|
-
export declare const proxyCheckoutServerSdkUserAgent = "@proxy-checkout/server-js/0.0.4-pr-76.
|
|
2
|
+
export declare const proxyCheckoutServerSdkVersion = "0.0.4-pr-76.34.1";
|
|
3
|
+
export declare const proxyCheckoutServerSdkUserAgent = "@proxy-checkout/server-js/0.0.4-pr-76.34.1";
|
package/dist/esm/version.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export const proxyCheckoutServerSdkName = "@proxy-checkout/server-js";
|
|
2
|
-
export const proxyCheckoutServerSdkVersion = "0.0.4-pr-76.
|
|
2
|
+
export const proxyCheckoutServerSdkVersion = "0.0.4-pr-76.34.1";
|
|
3
3
|
export const proxyCheckoutServerSdkUserAgent = `${proxyCheckoutServerSdkName}/${proxyCheckoutServerSdkVersion}`;
|
|
@@ -7,12 +7,7 @@
|
|
|
7
7
|
*/
|
|
8
8
|
export declare const PROXY_WEBHOOK_EVENT_TYPES: {
|
|
9
9
|
readonly paymentAttemptCancelled: "payment_attempt.cancelled";
|
|
10
|
-
readonly paymentAttemptDisputed: "payment_attempt.disputed";
|
|
11
|
-
readonly paymentAttemptDisputeLost: "payment_attempt.dispute_lost";
|
|
12
|
-
readonly paymentAttemptDisputeWon: "payment_attempt.dispute_won";
|
|
13
10
|
readonly paymentAttemptFailed: "payment_attempt.failed";
|
|
14
|
-
readonly paymentAttemptPartiallyRefunded: "payment_attempt.partially_refunded";
|
|
15
|
-
readonly paymentAttemptRefunded: "payment_attempt.refunded";
|
|
16
11
|
readonly paymentAttemptSucceeded: "payment_attempt.succeeded";
|
|
17
12
|
readonly sessionCancelled: "proxy_session.cancelled";
|
|
18
13
|
readonly sessionExpired: "proxy_session.expired";
|
|
@@ -7,12 +7,7 @@
|
|
|
7
7
|
*/
|
|
8
8
|
export const PROXY_WEBHOOK_EVENT_TYPES = {
|
|
9
9
|
paymentAttemptCancelled: "payment_attempt.cancelled",
|
|
10
|
-
paymentAttemptDisputed: "payment_attempt.disputed",
|
|
11
|
-
paymentAttemptDisputeLost: "payment_attempt.dispute_lost",
|
|
12
|
-
paymentAttemptDisputeWon: "payment_attempt.dispute_won",
|
|
13
10
|
paymentAttemptFailed: "payment_attempt.failed",
|
|
14
|
-
paymentAttemptPartiallyRefunded: "payment_attempt.partially_refunded",
|
|
15
|
-
paymentAttemptRefunded: "payment_attempt.refunded",
|
|
16
11
|
paymentAttemptSucceeded: "payment_attempt.succeeded",
|
|
17
12
|
sessionCancelled: "proxy_session.cancelled",
|
|
18
13
|
sessionExpired: "proxy_session.expired",
|
|
@@ -41,12 +36,7 @@ const SUBSCRIPTION_EVENT_TYPES = new Set([
|
|
|
41
36
|
]);
|
|
42
37
|
const PAYMENT_ATTEMPT_EVENT_TYPES = new Set([
|
|
43
38
|
PROXY_WEBHOOK_EVENT_TYPES.paymentAttemptCancelled,
|
|
44
|
-
PROXY_WEBHOOK_EVENT_TYPES.paymentAttemptDisputeLost,
|
|
45
|
-
PROXY_WEBHOOK_EVENT_TYPES.paymentAttemptDisputeWon,
|
|
46
|
-
PROXY_WEBHOOK_EVENT_TYPES.paymentAttemptDisputed,
|
|
47
39
|
PROXY_WEBHOOK_EVENT_TYPES.paymentAttemptFailed,
|
|
48
|
-
PROXY_WEBHOOK_EVENT_TYPES.paymentAttemptPartiallyRefunded,
|
|
49
|
-
PROXY_WEBHOOK_EVENT_TYPES.paymentAttemptRefunded,
|
|
50
40
|
PROXY_WEBHOOK_EVENT_TYPES.paymentAttemptSucceeded,
|
|
51
41
|
]);
|
|
52
42
|
/** True for `proxy_session.*` events. */
|
package/package.json
CHANGED