@wishknish/knishio-client-ts 0.7.8 → 0.8.1
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/dist/index.cjs +2 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.iife.js +2 -1
- package/dist/index.iife.js.map +1 -1
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/libraries/crypto.ts +3 -2
- package/src/query/QueryActiveSession.ts +1 -0
package/dist/index.cjs
CHANGED
|
@@ -1923,7 +1923,7 @@ function generateSecret(seed = null, length = CRYPTO_CONSTANTS.SECRET_LENGTH) {
|
|
|
1923
1923
|
if (seed) {
|
|
1924
1924
|
const sponge = new JsSHA__default.default("SHAKE256", "TEXT");
|
|
1925
1925
|
sponge.update(seed);
|
|
1926
|
-
return sponge.getHash("HEX", { outputLen: length *
|
|
1926
|
+
return sponge.getHash("HEX", { outputLen: length * 4 }).toLowerCase();
|
|
1927
1927
|
} else {
|
|
1928
1928
|
return randomString(length);
|
|
1929
1929
|
}
|
|
@@ -8263,6 +8263,7 @@ var QueryActiveSession = class extends Query {
|
|
|
8263
8263
|
metaId
|
|
8264
8264
|
jsonData
|
|
8265
8265
|
createdAt
|
|
8266
|
+
updatedAt
|
|
8266
8267
|
}
|
|
8267
8268
|
}
|
|
8268
8269
|
`;
|