@tap-payments/apple-pay-button 1.0.16 → 1.0.17

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.
Files changed (2) hide show
  1. package/README.md +3 -3
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -141,8 +141,8 @@ const App = () => {
141
141
  <meta http-equiv="X-UA-Compatible" content="IE=edge" />
142
142
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
143
143
  <title>apple pay button</title>
144
- <link rel="stylesheet" href="https://tap-sdks.b-cdn.net/apple-pay/build-1.0.15/main.css" />
145
- <script src="https://tap-sdks.b-cdn.net/apple-pay/build-1.0.15/main.js"></script>
144
+ <link rel="stylesheet" href="https://tap-sdks.b-cdn.net/apple-pay/build-1.0.17/main.css" />
145
+ <script src="https://tap-sdks.b-cdn.net/apple-pay/build-1.0.17/main.js"></script>
146
146
  </head>
147
147
 
148
148
  <body>
@@ -156,7 +156,7 @@ const App = () => {
156
156
  environment: Environment.Development,
157
157
  scope: Scope.TapToken,
158
158
  merchant: {
159
- domain: 'tp-txxxxxxxx',
159
+ domain: window.location.hostname,
160
160
  id: 'merchant_xxxxxxxxxx'
161
161
  },
162
162
  transaction: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tap-payments/apple-pay-button",
3
- "version": "1.0.16",
3
+ "version": "1.0.17",
4
4
  "description": "Apple Pay Button React Component",
5
5
  "main": "build/index.js",
6
6
  "module": "build/index.js",