@htmlbricks/hb-checkout 0.71.36 → 0.72.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/README.md +1 -7
- package/main.iife.js +1 -1
- package/main.iife.js.map +1 -1
- package/manifest.json +3 -17
- package/package.json +1 -1
- package/types/webcomponent.type.d.json +0 -3
- package/types/webcomponent.type.d.ts +0 -2
- package/types/webcomponent_events.type.d.json +1 -9
package/manifest.json
CHANGED
|
@@ -7,13 +7,6 @@
|
|
|
7
7
|
"Events": {
|
|
8
8
|
"additionalProperties": false,
|
|
9
9
|
"properties": {
|
|
10
|
-
"completed": {
|
|
11
|
-
"enum": [
|
|
12
|
-
"yes",
|
|
13
|
-
"no"
|
|
14
|
-
],
|
|
15
|
-
"type": "string"
|
|
16
|
-
},
|
|
17
10
|
"paymentCompleted": {
|
|
18
11
|
"additionalProperties": false,
|
|
19
12
|
"properties": {
|
|
@@ -45,8 +38,7 @@
|
|
|
45
38
|
"required": [
|
|
46
39
|
"paymentCompleted",
|
|
47
40
|
"saveUser",
|
|
48
|
-
"saveShipment"
|
|
49
|
-
"completed"
|
|
41
|
+
"saveShipment"
|
|
50
42
|
],
|
|
51
43
|
"type": "object"
|
|
52
44
|
},
|
|
@@ -150,9 +142,6 @@
|
|
|
150
142
|
},
|
|
151
143
|
"type": "array"
|
|
152
144
|
},
|
|
153
|
-
"style": {
|
|
154
|
-
"type": "string"
|
|
155
|
-
},
|
|
156
145
|
"user": {
|
|
157
146
|
"$ref": "#/definitions/IUser"
|
|
158
147
|
}
|
|
@@ -358,9 +347,6 @@
|
|
|
358
347
|
"type": "array"
|
|
359
348
|
}
|
|
360
349
|
},
|
|
361
|
-
"setGateway": {
|
|
362
|
-
"action": "setGateway"
|
|
363
|
-
},
|
|
364
350
|
"completed": {
|
|
365
351
|
"control": {
|
|
366
352
|
"type": "radio"
|
|
@@ -660,7 +646,7 @@
|
|
|
660
646
|
}
|
|
661
647
|
}
|
|
662
648
|
],
|
|
663
|
-
"iifeIntegrity": "sha384-
|
|
649
|
+
"iifeIntegrity": "sha384-TgJFguMIyo6VGKh9DD2I4ReCLF+Z4paWYcn16CXx8+EYI80FNCGsHxX83J99D0ix",
|
|
664
650
|
"dependencies": [
|
|
665
651
|
{
|
|
666
652
|
"name": "hb-form",
|
|
@@ -813,5 +799,5 @@
|
|
|
813
799
|
"size": {},
|
|
814
800
|
"iifePath": "main.iife.js",
|
|
815
801
|
"repoName": "@htmlbricks/hb-checkout",
|
|
816
|
-
"version": "0.
|
|
802
|
+
"version": "0.72.0"
|
|
817
803
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@htmlbricks/hb-checkout",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.72.0",
|
|
4
4
|
"contributors": [],
|
|
5
5
|
"description": "End-to-end checkout flow: editable billing/shipping user profile (`hb-form`), shipment method choice, optional card form, Google Pay (`@google-pay/button-element`), and PayPal via `hb-payment-paypal` according to `gateways` and `payment` JSON. Parses string props into objects, merges card networks defaults, and tracks `completed` to switch between editable steps and a read-only confirmation summary with events for payment and form submissions.",
|
|
6
6
|
"licenses": [
|
|
@@ -46,7 +46,6 @@ export type IPayment = {
|
|
|
46
46
|
|
|
47
47
|
export type Component = {
|
|
48
48
|
id?: string;
|
|
49
|
-
style?: string;
|
|
50
49
|
shipments: IShipment[];
|
|
51
50
|
user?: IUser;
|
|
52
51
|
gateways: IGateway[];
|
|
@@ -58,5 +57,4 @@ export type Events = {
|
|
|
58
57
|
paymentCompleted: { total: number; method: string; completed: true };
|
|
59
58
|
saveUser: IUser;
|
|
60
59
|
saveShipment: IShipment;
|
|
61
|
-
completed: "yes" | "no";
|
|
62
60
|
};
|
|
@@ -5,13 +5,6 @@
|
|
|
5
5
|
"Events": {
|
|
6
6
|
"additionalProperties": false,
|
|
7
7
|
"properties": {
|
|
8
|
-
"completed": {
|
|
9
|
-
"enum": [
|
|
10
|
-
"yes",
|
|
11
|
-
"no"
|
|
12
|
-
],
|
|
13
|
-
"type": "string"
|
|
14
|
-
},
|
|
15
8
|
"paymentCompleted": {
|
|
16
9
|
"additionalProperties": false,
|
|
17
10
|
"properties": {
|
|
@@ -43,8 +36,7 @@
|
|
|
43
36
|
"required": [
|
|
44
37
|
"paymentCompleted",
|
|
45
38
|
"saveUser",
|
|
46
|
-
"saveShipment"
|
|
47
|
-
"completed"
|
|
39
|
+
"saveShipment"
|
|
48
40
|
],
|
|
49
41
|
"type": "object"
|
|
50
42
|
},
|