Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
@intlsdk/report
Advanced tools
import Report, { Channel } from '@intlsdk/report';
// 初始化(生成新session_id)
Report.init({
env: 'sg', // 环境或后台域名,详见【env参数】
gameId: 11, // INTL 分配的游戏 ID
sigKey: 'xxx', // INTL一站式工作台分配的 SDK_KEY(与gameId匹配)
channelId: Channel.Guest, // 登录渠道 ID
appVersion: '1.2.3', // 业务应用版本号
openId: 'clzhu', // 用户ID
});
// 扩展选项(不生成新session_id)
Report.extend({ openId: 'clzhu' });
// 上报kv数据(兼容数组方式批量上报,详见下方示例)
Report.reportEvents({
eventName: 'xxx', // 自定义事件名称
// 以下为其他自定义字段,详见tlog文档
});
// 批量上报kv数据
Report.reportEvents([
{
eventName: 'xxx', // 自定义事件名称
// 以下为其他自定义字段,详见tlog文档
},
{
srcId: 1000, // 数据源ID,默认为200表示自定义事件上报
eventName: 'http', // 事件名称
// 以下为其他自定义字段,详见tlog文档
},
]);
env
参数兼容 2 种写法:区域标识简写
和完整url前缀
,满足https://{env}-dr.intlgame.com
格式的域名都可以使用区域标识简写
方式
sg
新加坡,与https://sg-dr.intlgame.com
(完整 url 前缀)等效,下同na
北美(azure)mos
俄罗斯jp
日本eu
欧洲aws-na
北美sa
南美lonelyfish
lonelyfish 现网独立集群us
硅谷(腾讯云)in
印度任意 url 域名前缀,必须含
https://
,示例:https://sg-dr.intlgame.com
,与sg
(区域标识简写)等效
FAQs
## Getting Started
We found that @intlsdk/report demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.