@alipay/ams-checkout 0.0.1716362599-dev.0 → 0.0.1716362599-dev.2

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.
@@ -24,7 +24,7 @@ var CKP_PAYMENT_PAGE_HOST = {
24
24
 
25
25
  // for local development
26
26
 
27
- var CKP_PAGE_ADDRESS = '/page/antom-web-checkout-v2/checkout-page/pages/result/index.html';
27
+ var CKP_PAGE_ADDRESS = '/page/antom-web-checkout-v2/checkout-page/pages/payment/index.html';
28
28
  var getCKPPageAddress = function getCKPPageAddress(env) {
29
29
  switch (env) {
30
30
  case 'dev':
@@ -133,7 +133,7 @@ export function createCKPEmbeddedApp(props) {
133
133
  var ckp = document.createElement('antom-checkout-page');
134
134
  ckp.setAttribute('session', session);
135
135
  ckp.setAttribute('language', lang);
136
- ckp.setAttribute('env', props.env);
136
+ ckp.setAttribute('env', props.env || 'prod');
137
137
  ckp.setEventListener(eventListener);
138
138
  appRoot.appendChild(ckp);
139
139
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alipay/ams-checkout",
3
- "version": "0.0.1716362599-dev.0",
3
+ "version": "0.0.1716362599-dev.2",
4
4
  "description": "",
5
5
  "author": "",
6
6
  "main": "esm/index.js",