k2-im 0.2.6 → 0.2.7

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.
package/README.md CHANGED
@@ -39,6 +39,8 @@ const encrypted = crypto.encryptAes(new TextEncoder().encode(JSON.stringify(payl
39
39
 
40
40
  H5 的 `common/net/crypto` 仅保留原函数名的兼容转发,不再保存另一份 WASM 或生成胶水。PC 的 workspace 协议客户端仍直接消费 `@k2/crypto/browser`,其请求客户端由宿主注入 IM,共享该实现的模块缓存。请求 WASM 与消息 RSA/TEA、媒体指纹 `hash-wasm` 职责不同。
41
41
 
42
+ 请求 WASM 使用固定协议基准生成不依赖 SIMD 的标量制品;local/public 构建均校验实际携带的字节。来源、可复现转换和新旧协议对照见 [请求加密制品](../crypto/README.md)。这项兼容修复不等于所有旧版 iOS 已完成产品验收。
43
+
42
44
  可以运行 `node scripts/check-im-request-crypto.mjs --consumer-root <已安装 SDK 的消费者目录>` 检查独立入口的真实 Rspack 依赖图;生成页面验证普通请求初始化后,延后加载 IM 并发请求不会再次获取和实例化 WASM。此验证使用合成数据和 mock transport,不代表真实后端或首屏耗时测试。
43
45
 
44
46
  ## 国际化(i18n)
Binary file
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "k2-im",
3
3
  "type": "module",
4
- "version": "0.2.6",
4
+ "version": "0.2.7",
5
5
  "private": false,
6
6
  "license": "MIT",
7
7
  "publishConfig": {