fk-platform-sdk 1.1.0-beta.2 → 1.1.0-beta.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.
@@ -50,6 +50,7 @@ export declare class OrderConfirmation implements AnalyticsEvent {
50
50
  export declare class PageViewEvent implements AnalyticsEvent {
51
51
  type: string;
52
52
  private readonly en;
53
+ private readonly _ev;
53
54
  private t;
54
55
  private ib;
55
56
  private rt?;
@@ -128,6 +128,7 @@ var PageViewEvent = /** @class */ (function () {
128
128
  function PageViewEvent(isBack, timestamp, responseType, hyperlocalEligible, pageMetaInfo, vertical, category) {
129
129
  this.type = "Travel.PageViewEvent";
130
130
  this.en = "PV";
131
+ this._ev = "3.9";
131
132
  this.t = timestamp;
132
133
  this.ib = isBack;
133
134
  this.rt = responseType;
@@ -17,6 +17,7 @@ export interface PartialNavigationContext {
17
17
  prevPageName?: string;
18
18
  prevPageType?: string;
19
19
  findingMethod?: string;
20
+ marketplace?: string;
20
21
  }
21
22
  export interface AnalyticsModule {
22
23
  pushEvent: (event: AnalyticsEvent) => void;
@@ -73,6 +73,7 @@ var AnalyticsModuleImpl = /** @class */ (function (_super) {
73
73
  var _this = this;
74
74
  this.nativeModuleCallbackManager.executeOnBridge(function (requestId) {
75
75
  var type = event.type;
76
+ delete event.type;
76
77
  var eventValidator = event.getValidator();
77
78
  if (eventValidator.isValid()) {
78
79
  _this.postMessage({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fk-platform-sdk",
3
- "version": "1.1.0-beta.2",
3
+ "version": "1.1.0-beta.4",
4
4
  "description": "SDK to enable external experience integration within flipkart app.",
5
5
  "main": "dist/index.js",
6
6
  "typings": "dist/index.d.ts",