New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

hhgame

Package Overview
Dependencies
Maintainers
2
Versions
159
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hhgame - npm Package Compare versions

Comparing version 3.0.14 to 3.0.15

2

package.json
{
"name": "hhgame",
"version": "3.0.14",
"version": "3.0.15",
"description": "",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -1,3 +0,3 @@

export declare type PlatformTypeStr = 'Browser' | MiniappType | MinigameType;
export declare type PlatformTypeStr = 'Browser' | 'Weapp' | 'QQapp' | 'Baiduapp' | 'TTapp' | 'Biliapp' | 'Oppoapp' | 'Vivoapp' | 'Wegame' | 'QQgame' | 'Baidugame' | 'TTgame' | 'Biligame' | 'Oppogame' | 'Vivogame';
export declare type MiniappType = 'Weapp' | 'QQapp' | 'Baiduapp' | 'TTapp' | 'Biliapp' | 'Oppoapp' | 'Vivoapp';
export declare type MinigameType = 'Wegame' | 'QQgame' | 'Baidugame' | 'TTgame' | 'Biligame' | 'Oppogame' | 'Vivogame';

@@ -1,4 +0,4 @@

import TsRpcPtl from "tsrpc-protocol";
import TsRpcPtl from 'tsrpc-protocol';
import CurrentUser from '../../../models/CurrentUser';
import BaseRequest from "../../BaseRequest";
import BaseRequest from '../../BaseRequest';
import { PlatformTypeStr } from '../../../models/PlatformType';

@@ -5,0 +5,0 @@ /**

@@ -1,4 +0,4 @@

import TsRpcPtl from "tsrpc-protocol";
import TsRpcPtl from 'tsrpc-protocol';
import BaseRequest from '../BaseRequest';
import { PlatformTypeStr } from "../../models/PlatformType";
import { PlatformTypeStr } from '../../models/PlatformType';
/**

@@ -5,0 +5,0 @@ * @deprecated

@@ -1,4 +0,4 @@

import TsRpcPtl from "tsrpc-protocol";
import TsRpcPtl from 'tsrpc-protocol';
import BaseRequest from '../BaseRequest';
import { PlatformTypeStr } from "../../models/PlatformType";
import { PlatformTypeStr } from '../../models/PlatformType';
declare const PtlSubmitAction1: TsRpcPtl<ReqSubmitAction1, ResSubmitAction1>;

@@ -5,0 +5,0 @@ export default PtlSubmitAction1;

@@ -1,2 +0,2 @@

import HHGame from "../..";
import HHGame from '../..';
export interface CachedConfigItem {

@@ -3,0 +3,0 @@ key: string;

@@ -90,3 +90,5 @@ "use strict";

output = {};
cachedData = configKeys.map(function (v) { return Object.assign({ key: v }, k8w_local_storage_1.default.getItem(LS_CACHE_PREFIX + v)); });
cachedData = configKeys.map(function (v) {
return Object.assign({ key: v }, k8w_local_storage_1.default.getItem(LS_CACHE_PREFIX + v));
});
console.debug('cachedData', cachedData);

@@ -101,3 +103,5 @@ now = Date.now();

}); })
})];
})
// 更新本地缓存的数据
];
case 1:

@@ -117,3 +121,5 @@ serverData = _a.sent();

_a.label = 2;
case 2: return [2 /*return*/, cachedData.filter(function (v) { return v.data != undefined; }).reduce(function (result, v) {
case 2: return [2 /*return*/, cachedData
.filter(function (v) { return v.data != undefined; })
.reduce(function (result, v) {
result[v.key] = v.data;

@@ -120,0 +126,0 @@ return result;

@@ -132,3 +132,3 @@ "use strict";

this._launchOptions = {
scene: 0,
scene: null,
query: {

@@ -135,0 +135,0 @@ from: '',

@@ -259,2 +259,3 @@ "use strict";

// 使用token进行服务端对接
res.data.code = res.data.token;
rs(res.data);

@@ -261,0 +262,0 @@ }

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc