@taqueria/protocol 0.48.14 → 0.48.22

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@taqueria/protocol",
3
- "version": "0.48.14",
3
+ "version": "0.48.22",
4
4
  "description": "A TypeScript package which contains types that are to be shared between @taqueria/node-sdk and @taqueria/taqueria.",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -1493,7 +1493,6 @@ __export(SHA256_exports, {
1493
1493
  });
1494
1494
  var import_fluture17 = require("fluture");
1495
1495
  var import_rambda = require("rambda");
1496
- var import_util = require("util");
1497
1496
  var import_zod17 = require("zod");
1498
1497
  var eager2 = (f) => (0, import_fluture17.promise)(
1499
1498
  (0, import_fluture17.mapRej)((err) => new E_TaqError(err))(f)
@@ -1523,7 +1522,7 @@ var { schemas: generatedSchemas2, factory: factory2 } = Base_default({
1523
1522
  unknownErrMsg: (value) => `Something went wrong trying to parse the following as a SHA256 value, ${value}`
1524
1523
  });
1525
1524
  var toSHA256 = async (value) => {
1526
- const encoder = new import_util.TextEncoder();
1525
+ const encoder = new TextEncoder();
1527
1526
  const data = encoder.encode(value);
1528
1527
  const hash = await (await getSubtleCrypto()).digest("SHA-256", data);
1529
1528
  const hashArray = Array.from(new Uint8Array(hash));