@starfish-codes/hellgate 3.6.0 → 3.8.0
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/card/ui/typings.d.ts +1 -0
- package/dist/hellgate-sdk.mjs +3940 -3793
- package/dist/hellgate-sdk.umd.js +6 -6
- package/dist/hellgate.d.ts +2 -1
- package/package.json +17 -13
package/dist/hellgate.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Hellgate3DSHandler } from './3ds';
|
|
2
2
|
import { CardHandlerSessionInitState, HellgateCardHandler } from './card';
|
|
3
|
-
import { HellgateSession } from './session';
|
|
3
|
+
import { HellgateSession, SessionOnCloseHandler } from './session';
|
|
4
4
|
interface IDisposable {
|
|
5
5
|
dispose: () => void;
|
|
6
6
|
}
|
|
@@ -20,6 +20,7 @@ export declare class Hellgate<TCardHandler extends IDisposable = HellgateCardHan
|
|
|
20
20
|
constructor(session: HellgateSession, paymentFlowHandlers: PaymentFlowHandlers<TCardHandler, T3DSHandler>);
|
|
21
21
|
use<T extends keyof PaymentFlowHandlers>(paymentFlow: T): PaymentFlowHandlers<TCardHandler, T3DSHandler>[T];
|
|
22
22
|
dispose: () => void;
|
|
23
|
+
onSessionComplete: (fn: SessionOnCloseHandler) => void;
|
|
23
24
|
static init(sessionId: string, options?: Partial<HellgateOptions>): Promise<Hellgate<HellgateCardHandler, Hellgate3DSHandler>>;
|
|
24
25
|
protected static initHandlers(sessionId: string, options: Partial<HellgateOptions>): Promise<{
|
|
25
26
|
session: HellgateSession<import("./session").SessionStateDTO>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@starfish-codes/hellgate",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.8.0",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Starfish GmbH & Co. KG",
|
|
@@ -45,9 +45,9 @@
|
|
|
45
45
|
"@types/react-dom": "^18.2.22",
|
|
46
46
|
"@typescript-eslint/eslint-plugin": "^7.2.0",
|
|
47
47
|
"@typescript-eslint/parser": "^7.2.0",
|
|
48
|
-
"@vitest/browser": "^1.
|
|
49
|
-
"@vitest/coverage-istanbul": "^1.
|
|
50
|
-
"@vitest/ui": "^1.
|
|
48
|
+
"@vitest/browser": "^3.1.3",
|
|
49
|
+
"@vitest/coverage-istanbul": "^3.1.3",
|
|
50
|
+
"@vitest/ui": "^3.1.3",
|
|
51
51
|
"autoprefixer": "^10.4.18",
|
|
52
52
|
"clsx": "^2.1.0",
|
|
53
53
|
"commitizen": "^4.3.0",
|
|
@@ -61,25 +61,25 @@
|
|
|
61
61
|
"mobx-react": "^9.1.0",
|
|
62
62
|
"mobx-react-viewmodel": "^0.2.0",
|
|
63
63
|
"playwright": "^1.49.1",
|
|
64
|
-
"postcss": "^8.
|
|
65
|
-
"postcss-nesting": "^
|
|
64
|
+
"postcss": "^8.5.3",
|
|
65
|
+
"postcss-nesting": "^13.0.1",
|
|
66
66
|
"prettier": "^3.2.5",
|
|
67
67
|
"react": "^18.2.0",
|
|
68
68
|
"react-dom": "^18.2.0",
|
|
69
69
|
"react-hook-form": "^7.51.1",
|
|
70
70
|
"react-router-dom": "^6.22.3",
|
|
71
71
|
"rollup-plugin-typescript-paths": "^1.5.0",
|
|
72
|
-
"semantic-release": "^
|
|
72
|
+
"semantic-release": "^24.2.3",
|
|
73
73
|
"tailwindcss": "^3.4.1",
|
|
74
74
|
"tailwindcss-animate": "^1.0.7",
|
|
75
75
|
"typescript": "^5.4.2",
|
|
76
|
-
"vite": "^
|
|
77
|
-
"vite-plugin-checker": "^0.
|
|
78
|
-
"vite-plugin-svg-icons": "^
|
|
79
|
-
"vite-plugin-top-level-await": "^1.
|
|
80
|
-
"vitest": "^1.
|
|
76
|
+
"vite": "^6.3.5",
|
|
77
|
+
"vite-plugin-checker": "^0.9.3",
|
|
78
|
+
"vite-plugin-svg-icons-ng": "^1.4.0",
|
|
79
|
+
"vite-plugin-top-level-await": "^1.5.0",
|
|
80
|
+
"vitest": "^3.1.3",
|
|
81
81
|
"vitest-fetch-mock": "^0.2.2",
|
|
82
|
-
"webdriverio": "^
|
|
82
|
+
"webdriverio": "^9.12.7"
|
|
83
83
|
},
|
|
84
84
|
"dependencies": {
|
|
85
85
|
"@basis-theory/basis-theory-js": "^1.79.2",
|
|
@@ -88,6 +88,10 @@
|
|
|
88
88
|
"imask": "^7.5.0",
|
|
89
89
|
"jose": "^5.6.3"
|
|
90
90
|
},
|
|
91
|
+
"resolutions": {
|
|
92
|
+
"braces": "3.0.3",
|
|
93
|
+
"ws": "8.17.1"
|
|
94
|
+
},
|
|
91
95
|
"lint-staged": {
|
|
92
96
|
"*.ts*": [
|
|
93
97
|
"prettier --config .prettierrc --write",
|