@alipay/ams-checkout 0.0.1764597614-dev.2 → 0.0.1765161958-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.
@@ -136,7 +136,7 @@ export function generateIframeSrc(_ref3) {
136
136
  var extendInfo = (paymentSessionObj === null || paymentSessionObj === void 0 ? void 0 : paymentSessionObj.extendInfo) || '';
137
137
  var mid = paymentSessionObj === null || paymentSessionObj === void 0 ? void 0 : paymentSessionObj.clientId;
138
138
  var hostSign = (paymentSession || '').split('&&')[1] || '';
139
- var baseUrl = _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, ELEMENT_ENVIRONMENT.DEV, 'http://page.alipay.net/page/antom-web-checkout-v2'), ELEMENT_ENVIRONMENT.TEST, 'http://page.test.alipay.net/page/antom-web-checkout-v2'), ELEMENT_ENVIRONMENT.SIT, 'http://page.test.alipay.net/page/antom-web-checkout-v2'), ELEMENT_ENVIRONMENT.PRE, 'https://pre.ac.alipay.com/page/antom-web-checkout-v2'), ELEMENT_ENVIRONMENT.SANDBOX, 'https://checkout.antom.com'), ELEMENT_ENVIRONMENT.PROD, 'https://checkout.antom.com');
139
+ var baseUrl = _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, ELEMENT_ENVIRONMENT.DEV, 'http://page.alipay.net/page/antom-web-checkout-v2'), ELEMENT_ENVIRONMENT.TEST, 'http://test.ac.alipay.com/page/antom-web-checkout-v2'), ELEMENT_ENVIRONMENT.SIT, 'http://test.ac.alipay.com/page/antom-web-checkout-v2'), ELEMENT_ENVIRONMENT.PRE, 'https://pre.ac.alipay.com/page/antom-web-checkout-v2'), ELEMENT_ENVIRONMENT.SANDBOX, 'https://checkout.antom.com'), ELEMENT_ENVIRONMENT.PROD, 'https://checkout.antom.com');
140
140
  var _env = (environment === null || environment === void 0 ? void 0 : environment.toLocaleUpperCase()) || ELEMENT_ENVIRONMENT.DEV;
141
141
  if (!link) {
142
142
  link = "".concat(baseUrl[_env]).concat(pageUrl);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alipay/ams-checkout",
3
- "version": "0.0.1764597614-dev.2",
3
+ "version": "0.0.1765161958-dev.1",
4
4
  "description": "",
5
5
  "author": "",
6
6
  "main": "esm/index.js",
@@ -22,8 +22,6 @@
22
22
  "ci": "tnpm run cov",
23
23
  "cov": "jest --coverage --silent",
24
24
  "dev": "father dev",
25
- "e2e": "nyc playwright test",
26
- "e2e:ui": "playwright test --ui",
27
25
  "format": "prettier --write --no-error-on-unmatched-pattern \"**/*.{js,jsx,ts,tsx,md,json,css,less}\"",
28
26
  "lint": "eslint ./src",
29
27
  "test": "jest --coverage --silent",
@@ -54,12 +52,10 @@
54
52
  },
55
53
  "devDependencies": {
56
54
  "@ali/ci": "^4.72.0",
57
- "@alipay/e2e-cli": "^1.3.0",
58
55
  "@babel/core": "^7.20.7",
59
56
  "@babel/preset-env": "^7.20.2",
60
57
  "@commitlint/cli": "^17.3.0",
61
58
  "@commitlint/config-conventional": "^17.3.0",
62
- "@playwright/test": "^1.55.1",
63
59
  "@testing-library/jest-dom": "^5.1.1",
64
60
  "@testing-library/react": "^9.5.0",
65
61
  "@types/jest": "^29.2.4",
@@ -69,14 +65,12 @@
69
65
  "babel-jest": "^29.3.1",
70
66
  "babel-loader": "^9.1.0",
71
67
  "babel-plugin-import": "^1.13.0",
72
- "dotenv": "^16.3.1",
73
68
  "dts-bundle-generator": "^6.13.0",
74
69
  "eslint": "^8.56.0",
75
70
  "eslint-plugin-prettier": "^5.1.3",
76
71
  "father": "^4.2.3",
77
72
  "jest": "^29.5.0",
78
73
  "jest-environment-jsdom": "^29.3.1",
79
- "nyc": "^17.1.0",
80
74
  "prettier": "^2.8.4",
81
75
  "prettier-plugin-organize-imports": "^3.2.3",
82
76
  "prettier-plugin-packagejson": "^2.4.5",