@bigcommerce/checkout-sdk 1.216.0 → 1.217.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.
@@ -36,45 +36,6 @@ service.initializePayment({
36
36
  });
37
37
  ```
38
38
 
39
- Additional options can be passed in to enable Masterpass (if configured for
40
- the account) and customize the fields.
41
-
42
- ```html
43
- <!-- This container is where Masterpass button will be inserted -->
44
- <div id="masterpass"></div>
45
- ```
46
-
47
- ```js
48
- service.initializePayment({
49
- methodId: 'squarev2',
50
- square: {
51
- cardNumber: {
52
- elementId: 'card-number',
53
- },
54
- cvv: {
55
- elementId: 'card-code',
56
- },
57
- expirationDate: {
58
- elementId: 'card-expiry',
59
- },
60
- postalCode: {
61
- elementId: 'card-code',
62
- },
63
- inputClass: 'form-input',
64
- inputStyles: [
65
- {
66
- color: '#333',
67
- fontSize: '13px',
68
- lineHeight: '20px',
69
- },
70
- ],
71
- masterpass: {
72
- elementId: 'masterpass',
73
- },
74
- },
75
- });
76
- ```
77
-
78
39
  ## Hierarchy
79
40
 
80
41
  * **SquarePaymentInitializeOptions**
@@ -88,7 +49,6 @@ service.initializePayment({
88
49
  * [expirationDate](squarepaymentinitializeoptions.md#expirationdate)
89
50
  * [inputClass](squarepaymentinitializeoptions.md#optional-inputclass)
90
51
  * [inputStyles](squarepaymentinitializeoptions.md#optional-inputstyles)
91
- * [masterpass](squarepaymentinitializeoptions.md#optional-masterpass)
92
52
  * [postalCode](squarepaymentinitializeoptions.md#postalcode)
93
53
 
94
54
  ### Methods
@@ -138,14 +98,6 @@ The set of CSS styles to apply to all form fields.
138
98
 
139
99
  ___
140
100
 
141
- ### `Optional` masterpass
142
-
143
- • **masterpass**? : *[SquareFormElement](squareformelement.md)*
144
-
145
- Initialize Masterpass placeholder ID
146
-
147
- ___
148
-
149
101
  ### postalCode
150
102
 
151
103
  • **postalCode**: *[SquareFormElement](squareformelement.md)*
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bigcommerce/checkout-sdk",
3
- "version": "1.216.0",
3
+ "version": "1.217.0",
4
4
  "description": "BigCommerce Checkout JavaScript SDK",
5
5
  "license": "MIT",
6
6
  "main": "dist/checkout-sdk.js",