@alipay/ams-checkout 0.0.1764297596-dev.3 → 0.0.1764297596-dev.4

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.
@@ -7,6 +7,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
7
7
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
8
8
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
9
9
  function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
10
+ import json from "../../package.json";
10
11
  import { LogComplianceProcessor } from "../foundation/service/log/processor";
11
12
  import { SPM_MAP } from "./spm-map";
12
13
  export var Logger = /*#__PURE__*/function () {
@@ -253,6 +254,7 @@ export var LogConfig = {
253
254
  productId: 'ANTOM_SDK',
254
255
  version: 'iteration/20231021',
255
256
  mdata: {
256
- firstLogTime: Date.now()
257
+ firstLogTime: Date.now(),
258
+ sdkVersion: json === null || json === void 0 ? void 0 : json.version
257
259
  }
258
260
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alipay/ams-checkout",
3
- "version": "0.0.1764297596-dev.3",
3
+ "version": "0.0.1764297596-dev.4",
4
4
  "description": "",
5
5
  "author": "",
6
6
  "main": "esm/index.js",