@xuda.io/xuda-worker-bundle-min 1.3.2272 → 1.3.2274

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.
Files changed (2) hide show
  1. package/index.js +0 -5
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -1051,11 +1051,6 @@ func.common.get_data_from_websocket = async function (SESSION_ID, serviceP, data
1051
1051
  };
1052
1052
 
1053
1053
  func.common.sha256 = async function (inputString) {
1054
- // const enc = new TextEncoder();
1055
- // const buf = await crypto.subtle.digest('SHA-256', enc.encode(str));
1056
- // const bytes = new Uint8Array(buf);
1057
- // return [...bytes].map((b) => b.toString(16).padStart(2, '0')).join('');
1058
-
1059
1054
  // 1. Create a hash buffer from the input string using SHA-256.
1060
1055
  // This part remains the same as it provides a strong, unique cryptographic starting point.
1061
1056
  const buffer = await crypto.subtle.digest('SHA-256', new TextEncoder().encode(inputString));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/xuda-worker-bundle-min",
3
- "version": "1.3.2272",
3
+ "version": "1.3.2274",
4
4
  "description": "xuda framework min",
5
5
  "main": "index.js",
6
6
  "scripts": {