@alipay/ams-checkout 0.0.1745390310-dev.0 → 0.0.1745390310-dev.1

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.
@@ -26,6 +26,7 @@ import { LogConfig, Logger } from "../../../util/logger";
26
26
  import { BusManager, BusMessage } from "../../bus";
27
27
  import CoreInstance from "../../instance/index";
28
28
  var CKP_PAYMENT_PAGE_HOST = {
29
+ LOCAL: 'http://localhost:5173',
29
30
  DEV: 'https://dev.page.alipay.net',
30
31
  TEST: 'https://test.page.alipay.net',
31
32
  PRE: 'https://pre.ac.alipay.com',
@@ -35,9 +36,12 @@ var CKP_PAYMENT_PAGE_HOST = {
35
36
  // for local development
36
37
 
37
38
  var CKP_PAGE_ADDRESS = '/page/antom-web-checkout-v2/checkout-page/pages/payment/index.html';
39
+ var CKP_PAGE_LOCAL = '/checkout-page/src/pages/payment/index.html';
38
40
  var CKP_PAGE_NEW_ADDRESS = '/checkout-page/pages/payment/index.html';
39
41
  export var getCKPPageAddress = function getCKPPageAddress(env) {
40
42
  switch (env) {
43
+ case 'local':
44
+ return "".concat(CKP_PAYMENT_PAGE_HOST.LOCAL).concat(CKP_PAGE_LOCAL);
41
45
  case 'dev':
42
46
  return "".concat(CKP_PAYMENT_PAGE_HOST.DEV).concat(CKP_PAGE_ADDRESS);
43
47
  case 'sit':
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alipay/ams-checkout",
3
- "version": "0.0.1745390310-dev.0",
3
+ "version": "0.0.1745390310-dev.1",
4
4
  "description": "",
5
5
  "author": "",
6
6
  "main": "esm/index.js",