Comparing version 3.1.3 to 3.1.4
{ | ||
"name": "hhgame", | ||
"version": "3.1.3", | ||
"version": "3.1.4", | ||
"description": "", | ||
@@ -47,2 +47,3 @@ "main": "index.js", | ||
"k8w-weapp-util": "^1.0.0", | ||
"kunit": "^1.2.2", | ||
"tsrpc-browser": "^1.2.0", | ||
@@ -53,2 +54,2 @@ "tsrpc-weapp": "^1.2.1", | ||
"typings": "index.d.ts" | ||
} | ||
} |
@@ -45,4 +45,11 @@ import TsRpcPtl from 'tsrpc-protocol'; | ||
screenSize: string; | ||
launchOption?: { | ||
launchQuery: any; | ||
scene?: number | string | null; | ||
referrerInfo?: any; | ||
}; | ||
clientTime?: Date; | ||
clientVersion?: string; | ||
} | ||
export interface ResSubmitAction { | ||
} |
@@ -43,4 +43,11 @@ import TsRpcPtl from 'tsrpc-protocol'; | ||
}; | ||
launchOption?: { | ||
launchQuery: any; | ||
scene?: number | string | null; | ||
referrerInfo?: any; | ||
}; | ||
clientTime?: Date; | ||
clientVersion?: string; | ||
} | ||
export interface ResSubmitAction1 { | ||
} |
@@ -114,2 +114,3 @@ "use strict"; | ||
this._launchOptions = tt.getLaunchOptionsSync(); | ||
console.log(" tt.getLaunchOptionsSync()", tt.getLaunchOptionsSync()); | ||
} | ||
@@ -116,0 +117,0 @@ else if (this.miniappUtils.isWXplatform()) { |
@@ -45,2 +45,3 @@ "use strict"; | ||
var v4_1 = __importDefault(require("uuid/v4")); | ||
var pj = require('../../package.json'); | ||
var StatApi = /** @class */ (function () { | ||
@@ -121,2 +122,9 @@ function StatApi(hhGame) { | ||
} | ||
params.launchOption = { | ||
scene: platformApi.launchOptions.scene, | ||
launchQuery: platformApi.launchOptions.query, | ||
referrerInfo: platformApi.launchOptions.referrerInfo | ||
}; | ||
params.clientTime = new Date(); | ||
params.clientVersion = pj.version; | ||
} | ||
@@ -123,0 +131,0 @@ return [4 /*yield*/, this.hhGame.apiClient.callApi(PtlSubmitAction1_1.default, params).catch(function (e) { |
335370
7574
6
+ Addedkunit@^1.2.2
+ Addedkunit@1.3.0(transitive)