@xuda.io/runtime-bundle 1.0.1247 → 1.0.1249
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/js/xuda-runtime-bundle.js +2054 -1001
- package/js/xuda-runtime-bundle.min.js +1 -1
- package/js/xuda-runtime-slim.js +2066 -1013
- package/js/xuda-runtime-slim.min.es.js +2066 -1013
- package/js/xuda-runtime-slim.min.js +1 -1
- package/js/xuda-server-bundle.mjs +0 -5
- package/js/xuda-worker-bundle.js +0 -5
- package/js/xuda_common-bundle.js +0 -5
- package/package.json +1 -1
|
@@ -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/js/xuda-worker-bundle.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/js/xuda_common-bundle.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/runtime-bundle",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1249",
|
|
4
4
|
"description": "The Xuda Runtime Bundle refers to a collection of scripts and libraries packaged together to provide the necessary runtime environment for executing plugins or components in the Xuda platform. ",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"pub": "npm version patch --force && npm publish --access public"
|