@algorandfoundation/algokit-utils 9.0.0 → 9.0.1-beta.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/package.json CHANGED
@@ -6,7 +6,7 @@
6
6
  "**"
7
7
  ],
8
8
  "name": "@algorandfoundation/algokit-utils",
9
- "version": "9.0.0",
9
+ "version": "9.0.1-beta.1",
10
10
  "private": false,
11
11
  "description": "A set of core Algorand utilities written in TypeScript and released via npm that make it easier to build solutions on Algorand.",
12
12
  "author": "Algorand Foundation",
@@ -43,6 +43,7 @@
43
43
  "esbuild": "0.25.0"
44
44
  },
45
45
  "dependencies": {
46
+ "@algorandfoundation/tealscript": "^0.106.3",
46
47
  "buffer": "^6.0.3"
47
48
  },
48
49
  "peerDependencies": {
@@ -1065,11 +1065,9 @@ class AppClient {
1065
1065
  return new Map(await Promise.all(boxNames
1066
1066
  .filter((b) => util.binaryStartsWith(b.nameRaw, prefix))
1067
1067
  .map(async (b) => {
1068
- const encodedKey = buffer.Buffer.concat([prefix, b.nameRaw]);
1069
- const base64Key = buffer.Buffer.from(encodedKey).toString('base64');
1070
1068
  return [
1071
1069
  types_appArc56.getABIDecodedValue(b.nameRaw.slice(prefix.length), metadata.keyType, that._appSpec.structs),
1072
- types_appArc56.getABIDecodedValue(await that.getBoxValue(buffer.Buffer.from(base64Key, 'base64')), metadata.valueType, that._appSpec.structs),
1070
+ types_appArc56.getABIDecodedValue(await that.getBoxValue(b.nameRaw), metadata.valueType, that._appSpec.structs),
1073
1071
  ];
1074
1072
  })));
1075
1073
  },