@tangle-network/sandbox 0.64.28 → 0.64.29
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.js
CHANGED
|
@@ -8,7 +8,7 @@ import { i as profileChannelReference, n as SandboxLines, r as lineInstanceKey,
|
|
|
8
8
|
import { PublicTemplatePublishError, PublicTemplatesClient } from "./public-templates.js";
|
|
9
9
|
import { a as CollaborationClient, i as parseCollaborationDocumentId, n as buildCollaborationDocumentId, r as normalizeCollaborationPath, t as CollaborationFileBridge } from "./collaboration-Dgyl7F33.js";
|
|
10
10
|
import { i as parseLineApplicationResult, n as LINE_APPLICATION_REQUEST_MAX_BYTES, r as parseLineApplicationRequest, t as LINE_APPLICATION_REPLY_MAX_CHARS } from "./line-application-CvOBTLei.js";
|
|
11
|
-
import { s as TangleSandboxClient } from "./tangle-
|
|
11
|
+
import { s as TangleSandboxClient } from "./tangle-DKRo5PVb.js";
|
|
12
12
|
import { z } from "zod";
|
|
13
13
|
import { SANDBOX_SIZE_PRESET_NAMES, agentProfileConfidentialSchema, agentProfileSchema } from "@tangle-network/agent-interface";
|
|
14
14
|
//#region src/confidential.ts
|
package/dist/tangle/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { _ as SandboxCreateParamTypes, a as parseQuoteResponse, c as OperatorSession, d as TANGLE_JOBS_CONTRACT, f as ITangleJobsAbi, g as JsonResponseParamTypes, h as JOB_SANDBOX_DELETE, i as jobQuoteDigest, l as OperatorSessionError, m as JOB_SANDBOX_CREATE, n as fetchQuote, o as validateQuote, p as AgentSandboxBlueprintAbi, r as inputsHashOf, s as TangleSandboxClient, t as QuoteError, u as TANGLE_CHAIN_ID, v as SandboxCreateResponseParamTypes, y as SandboxIdParamTypes } from "../tangle-
|
|
1
|
+
import { _ as SandboxCreateParamTypes, a as parseQuoteResponse, c as OperatorSession, d as TANGLE_JOBS_CONTRACT, f as ITangleJobsAbi, g as JsonResponseParamTypes, h as JOB_SANDBOX_DELETE, i as jobQuoteDigest, l as OperatorSessionError, m as JOB_SANDBOX_CREATE, n as fetchQuote, o as validateQuote, p as AgentSandboxBlueprintAbi, r as inputsHashOf, s as TangleSandboxClient, t as QuoteError, u as TANGLE_CHAIN_ID, v as SandboxCreateResponseParamTypes, y as SandboxIdParamTypes } from "../tangle-DKRo5PVb.js";
|
|
2
2
|
export { AgentSandboxBlueprintAbi, ITangleJobsAbi, JOB_SANDBOX_CREATE, JOB_SANDBOX_DELETE, JsonResponseParamTypes, OperatorSession, OperatorSessionError, QuoteError, SandboxCreateParamTypes, SandboxCreateResponseParamTypes, SandboxIdParamTypes, TANGLE_CHAIN_ID, TANGLE_JOBS_CONTRACT, TangleSandboxClient, fetchQuote, inputsHashOf, jobQuoteDigest, parseQuoteResponse, validateQuote };
|
|
@@ -1147,10 +1147,10 @@ var TangleSandboxClient = class {
|
|
|
1147
1147
|
}
|
|
1148
1148
|
};
|
|
1149
1149
|
//#endregion
|
|
1150
|
-
//#region ../../../node_modules/.pnpm/viem@2.55.4_bufferutil@4.1.0_typescript@6.0.3_utf-8-validate@5.0.10_zod@4.6.
|
|
1150
|
+
//#region ../../../node_modules/.pnpm/viem@2.55.4_bufferutil@4.1.0_typescript@6.0.3_utf-8-validate@5.0.10_zod@4.6.6/node_modules/viem/_esm/errors/version.js
|
|
1151
1151
|
const version = "2.55.4";
|
|
1152
1152
|
//#endregion
|
|
1153
|
-
//#region ../../../node_modules/.pnpm/viem@2.55.4_bufferutil@4.1.0_typescript@6.0.3_utf-8-validate@5.0.10_zod@4.6.
|
|
1153
|
+
//#region ../../../node_modules/.pnpm/viem@2.55.4_bufferutil@4.1.0_typescript@6.0.3_utf-8-validate@5.0.10_zod@4.6.6/node_modules/viem/_esm/errors/base.js
|
|
1154
1154
|
let errorConfig = {
|
|
1155
1155
|
getDocsUrl: ({ docsBaseUrl, docsPath = "", docsSlug }) => docsPath ? `${docsBaseUrl ?? "https://viem.sh"}${docsPath}${docsSlug ? `#${docsSlug}` : ""}` : void 0,
|
|
1156
1156
|
version: `viem@${version}`
|
|
@@ -1232,7 +1232,7 @@ function walk(err, fn) {
|
|
|
1232
1232
|
return fn ? null : err;
|
|
1233
1233
|
}
|
|
1234
1234
|
//#endregion
|
|
1235
|
-
//#region ../../../node_modules/.pnpm/viem@2.55.4_bufferutil@4.1.0_typescript@6.0.3_utf-8-validate@5.0.10_zod@4.6.
|
|
1235
|
+
//#region ../../../node_modules/.pnpm/viem@2.55.4_bufferutil@4.1.0_typescript@6.0.3_utf-8-validate@5.0.10_zod@4.6.6/node_modules/viem/_esm/errors/address.js
|
|
1236
1236
|
var InvalidAddressError = class extends BaseError {
|
|
1237
1237
|
constructor({ address }) {
|
|
1238
1238
|
super(`Address "${address}" is invalid.`, {
|
|
@@ -1242,14 +1242,14 @@ var InvalidAddressError = class extends BaseError {
|
|
|
1242
1242
|
}
|
|
1243
1243
|
};
|
|
1244
1244
|
//#endregion
|
|
1245
|
-
//#region ../../../node_modules/.pnpm/viem@2.55.4_bufferutil@4.1.0_typescript@6.0.3_utf-8-validate@5.0.10_zod@4.6.
|
|
1245
|
+
//#region ../../../node_modules/.pnpm/viem@2.55.4_bufferutil@4.1.0_typescript@6.0.3_utf-8-validate@5.0.10_zod@4.6.6/node_modules/viem/_esm/utils/data/isHex.js
|
|
1246
1246
|
function isHex(value, { strict = true } = {}) {
|
|
1247
1247
|
if (!value) return false;
|
|
1248
1248
|
if (typeof value !== "string") return false;
|
|
1249
1249
|
return strict ? /^0x[0-9a-fA-F]*$/.test(value) : value.startsWith("0x");
|
|
1250
1250
|
}
|
|
1251
1251
|
//#endregion
|
|
1252
|
-
//#region ../../../node_modules/.pnpm/viem@2.55.4_bufferutil@4.1.0_typescript@6.0.3_utf-8-validate@5.0.10_zod@4.6.
|
|
1252
|
+
//#region ../../../node_modules/.pnpm/viem@2.55.4_bufferutil@4.1.0_typescript@6.0.3_utf-8-validate@5.0.10_zod@4.6.6/node_modules/viem/_esm/errors/data.js
|
|
1253
1253
|
var SliceOffsetOutOfBoundsError = class extends BaseError {
|
|
1254
1254
|
constructor({ offset, position, size }) {
|
|
1255
1255
|
super(`Slice ${position === "start" ? "starting" : "ending"} at offset "${offset}" is out-of-bounds (size: ${size}).`, { name: "SliceOffsetOutOfBoundsError" });
|
|
@@ -1261,7 +1261,7 @@ var SizeExceedsPaddingSizeError = class extends BaseError {
|
|
|
1261
1261
|
}
|
|
1262
1262
|
};
|
|
1263
1263
|
//#endregion
|
|
1264
|
-
//#region ../../../node_modules/.pnpm/viem@2.55.4_bufferutil@4.1.0_typescript@6.0.3_utf-8-validate@5.0.10_zod@4.6.
|
|
1264
|
+
//#region ../../../node_modules/.pnpm/viem@2.55.4_bufferutil@4.1.0_typescript@6.0.3_utf-8-validate@5.0.10_zod@4.6.6/node_modules/viem/_esm/utils/data/pad.js
|
|
1265
1265
|
function pad(hexOrBytes, { dir, size = 32 } = {}) {
|
|
1266
1266
|
if (typeof hexOrBytes === "string") return padHex(hexOrBytes, {
|
|
1267
1267
|
dir,
|
|
@@ -1297,7 +1297,7 @@ function padBytes(bytes, { dir, size = 32 } = {}) {
|
|
|
1297
1297
|
return paddedBytes;
|
|
1298
1298
|
}
|
|
1299
1299
|
//#endregion
|
|
1300
|
-
//#region ../../../node_modules/.pnpm/viem@2.55.4_bufferutil@4.1.0_typescript@6.0.3_utf-8-validate@5.0.10_zod@4.6.
|
|
1300
|
+
//#region ../../../node_modules/.pnpm/viem@2.55.4_bufferutil@4.1.0_typescript@6.0.3_utf-8-validate@5.0.10_zod@4.6.6/node_modules/viem/_esm/errors/encoding.js
|
|
1301
1301
|
var IntegerOutOfRangeError = class extends BaseError {
|
|
1302
1302
|
constructor({ max, min, signed, size, value }) {
|
|
1303
1303
|
super(`Number "${value}" is not in safe ${size ? `${size * 8}-bit ${signed ? "signed" : "unsigned"} ` : ""}integer range ${max ? `(${min} to ${max})` : `(above ${min})`}`, { name: "IntegerOutOfRangeError" });
|
|
@@ -1309,7 +1309,7 @@ var SizeOverflowError = class extends BaseError {
|
|
|
1309
1309
|
}
|
|
1310
1310
|
};
|
|
1311
1311
|
//#endregion
|
|
1312
|
-
//#region ../../../node_modules/.pnpm/viem@2.55.4_bufferutil@4.1.0_typescript@6.0.3_utf-8-validate@5.0.10_zod@4.6.
|
|
1312
|
+
//#region ../../../node_modules/.pnpm/viem@2.55.4_bufferutil@4.1.0_typescript@6.0.3_utf-8-validate@5.0.10_zod@4.6.6/node_modules/viem/_esm/utils/data/size.js
|
|
1313
1313
|
/**
|
|
1314
1314
|
* @description Retrieves the size of the value (in bytes).
|
|
1315
1315
|
*
|
|
@@ -1321,7 +1321,7 @@ function size(value) {
|
|
|
1321
1321
|
return value.length;
|
|
1322
1322
|
}
|
|
1323
1323
|
//#endregion
|
|
1324
|
-
//#region ../../../node_modules/.pnpm/viem@2.55.4_bufferutil@4.1.0_typescript@6.0.3_utf-8-validate@5.0.10_zod@4.6.
|
|
1324
|
+
//#region ../../../node_modules/.pnpm/viem@2.55.4_bufferutil@4.1.0_typescript@6.0.3_utf-8-validate@5.0.10_zod@4.6.6/node_modules/viem/_esm/utils/encoding/fromHex.js
|
|
1325
1325
|
function assertSize(hexOrBytes, { size: size$1 }) {
|
|
1326
1326
|
if (size(hexOrBytes) > size$1) throw new SizeOverflowError({
|
|
1327
1327
|
givenSize: size(hexOrBytes),
|
|
@@ -1388,7 +1388,7 @@ function hexToNumber(hex, opts = {}) {
|
|
|
1388
1388
|
return number;
|
|
1389
1389
|
}
|
|
1390
1390
|
//#endregion
|
|
1391
|
-
//#region ../../../node_modules/.pnpm/viem@2.55.4_bufferutil@4.1.0_typescript@6.0.3_utf-8-validate@5.0.10_zod@4.6.
|
|
1391
|
+
//#region ../../../node_modules/.pnpm/viem@2.55.4_bufferutil@4.1.0_typescript@6.0.3_utf-8-validate@5.0.10_zod@4.6.6/node_modules/viem/_esm/utils/encoding/toHex.js
|
|
1392
1392
|
const hexes = /* @__PURE__ */ Array.from({ length: 256 }, (_v, i) => i.toString(16).padStart(2, "0"));
|
|
1393
1393
|
/**
|
|
1394
1394
|
* Encodes a string, number, bigint, or ByteArray into a hex string
|
|
@@ -1550,7 +1550,7 @@ function stringToHex(value_, opts = {}) {
|
|
|
1550
1550
|
return bytesToHex(encoder$1.encode(value_), opts);
|
|
1551
1551
|
}
|
|
1552
1552
|
//#endregion
|
|
1553
|
-
//#region ../../../node_modules/.pnpm/viem@2.55.4_bufferutil@4.1.0_typescript@6.0.3_utf-8-validate@5.0.10_zod@4.6.
|
|
1553
|
+
//#region ../../../node_modules/.pnpm/viem@2.55.4_bufferutil@4.1.0_typescript@6.0.3_utf-8-validate@5.0.10_zod@4.6.6/node_modules/viem/_esm/utils/encoding/toBytes.js
|
|
1554
1554
|
const encoder = /* @__PURE__ */ new TextEncoder();
|
|
1555
1555
|
/**
|
|
1556
1556
|
* Encodes a UTF-8 string, hex value, bigint, number or boolean to a byte array.
|
|
@@ -1909,7 +1909,7 @@ const genShake = (suffix, blockLen, outputLen) => createXOFer((opts = {}) => new
|
|
|
1909
1909
|
genShake(31, 168, 128 / 8);
|
|
1910
1910
|
genShake(31, 136, 256 / 8);
|
|
1911
1911
|
//#endregion
|
|
1912
|
-
//#region ../../../node_modules/.pnpm/viem@2.55.4_bufferutil@4.1.0_typescript@6.0.3_utf-8-validate@5.0.10_zod@4.6.
|
|
1912
|
+
//#region ../../../node_modules/.pnpm/viem@2.55.4_bufferutil@4.1.0_typescript@6.0.3_utf-8-validate@5.0.10_zod@4.6.6/node_modules/viem/_esm/utils/hash/keccak256.js
|
|
1913
1913
|
function keccak256(value, to_) {
|
|
1914
1914
|
const to = to_ || "hex";
|
|
1915
1915
|
const bytes = keccak_256(isHex(value, { strict: false }) ? toBytes(value) : value);
|
|
@@ -1917,7 +1917,7 @@ function keccak256(value, to_) {
|
|
|
1917
1917
|
return toHex(bytes);
|
|
1918
1918
|
}
|
|
1919
1919
|
//#endregion
|
|
1920
|
-
//#region ../../../node_modules/.pnpm/viem@2.55.4_bufferutil@4.1.0_typescript@6.0.3_utf-8-validate@5.0.10_zod@4.6.
|
|
1920
|
+
//#region ../../../node_modules/.pnpm/viem@2.55.4_bufferutil@4.1.0_typescript@6.0.3_utf-8-validate@5.0.10_zod@4.6.6/node_modules/viem/_esm/utils/lru.js
|
|
1921
1921
|
/**
|
|
1922
1922
|
* Map with a LRU (Least recently used) policy.
|
|
1923
1923
|
*
|
|
@@ -1953,7 +1953,7 @@ var LruMap = class extends Map {
|
|
|
1953
1953
|
}
|
|
1954
1954
|
};
|
|
1955
1955
|
//#endregion
|
|
1956
|
-
//#region ../../../node_modules/.pnpm/viem@2.55.4_bufferutil@4.1.0_typescript@6.0.3_utf-8-validate@5.0.10_zod@4.6.
|
|
1956
|
+
//#region ../../../node_modules/.pnpm/viem@2.55.4_bufferutil@4.1.0_typescript@6.0.3_utf-8-validate@5.0.10_zod@4.6.6/node_modules/viem/_esm/utils/address/isAddress.js
|
|
1957
1957
|
const addressRegex = /^0x[a-fA-F0-9]{40}$/;
|
|
1958
1958
|
/** @internal */
|
|
1959
1959
|
const isAddressCache = /* @__PURE__ */ new LruMap(8192);
|
|
@@ -1971,7 +1971,7 @@ function isAddress(address, options) {
|
|
|
1971
1971
|
return result;
|
|
1972
1972
|
}
|
|
1973
1973
|
//#endregion
|
|
1974
|
-
//#region ../../../node_modules/.pnpm/viem@2.55.4_bufferutil@4.1.0_typescript@6.0.3_utf-8-validate@5.0.10_zod@4.6.
|
|
1974
|
+
//#region ../../../node_modules/.pnpm/viem@2.55.4_bufferutil@4.1.0_typescript@6.0.3_utf-8-validate@5.0.10_zod@4.6.6/node_modules/viem/_esm/utils/address/getAddress.js
|
|
1975
1975
|
const checksumAddressCache = /* @__PURE__ */ new LruMap(8192);
|
|
1976
1976
|
function checksumAddress(address_, chainId) {
|
|
1977
1977
|
if (checksumAddressCache.has(`${address_}.${chainId}`)) return checksumAddressCache.get(`${address_}.${chainId}`);
|
|
@@ -1991,7 +1991,7 @@ function getAddress(address, chainId) {
|
|
|
1991
1991
|
return checksumAddress(address, chainId);
|
|
1992
1992
|
}
|
|
1993
1993
|
//#endregion
|
|
1994
|
-
//#region ../../../node_modules/.pnpm/viem@2.55.4_bufferutil@4.1.0_typescript@6.0.3_utf-8-validate@5.0.10_zod@4.6.
|
|
1994
|
+
//#region ../../../node_modules/.pnpm/viem@2.55.4_bufferutil@4.1.0_typescript@6.0.3_utf-8-validate@5.0.10_zod@4.6.6/node_modules/viem/_esm/accounts/utils/publicKeyToAddress.js
|
|
1995
1995
|
/**
|
|
1996
1996
|
* @description Converts an ECDSA public key to an address.
|
|
1997
1997
|
*
|
|
@@ -2003,7 +2003,7 @@ function publicKeyToAddress(publicKey) {
|
|
|
2003
2003
|
return checksumAddress(`0x${keccak256(`0x${publicKey.substring(4)}`).substring(26)}`);
|
|
2004
2004
|
}
|
|
2005
2005
|
//#endregion
|
|
2006
|
-
//#region ../../../node_modules/.pnpm/viem@2.55.4_bufferutil@4.1.0_typescript@6.0.3_utf-8-validate@5.0.10_zod@4.6.
|
|
2006
|
+
//#region ../../../node_modules/.pnpm/viem@2.55.4_bufferutil@4.1.0_typescript@6.0.3_utf-8-validate@5.0.10_zod@4.6.6/node_modules/viem/_esm/errors/abi.js
|
|
2007
2007
|
var AbiEncodingArrayLengthMismatchError = class extends BaseError {
|
|
2008
2008
|
constructor({ expectedLength, givenLength, type }) {
|
|
2009
2009
|
super([
|
|
@@ -2046,7 +2046,7 @@ var InvalidArrayError = class extends BaseError {
|
|
|
2046
2046
|
}
|
|
2047
2047
|
};
|
|
2048
2048
|
//#endregion
|
|
2049
|
-
//#region ../../../node_modules/.pnpm/viem@2.55.4_bufferutil@4.1.0_typescript@6.0.3_utf-8-validate@5.0.10_zod@4.6.
|
|
2049
|
+
//#region ../../../node_modules/.pnpm/viem@2.55.4_bufferutil@4.1.0_typescript@6.0.3_utf-8-validate@5.0.10_zod@4.6.6/node_modules/viem/_esm/utils/data/slice.js
|
|
2050
2050
|
/**
|
|
2051
2051
|
* @description Returns a section of the hex or byte array given a start/end bytes offset.
|
|
2052
2052
|
*
|
|
@@ -2099,7 +2099,7 @@ function sliceHex(value_, start, end, { strict } = {}) {
|
|
|
2099
2099
|
return value;
|
|
2100
2100
|
}
|
|
2101
2101
|
//#endregion
|
|
2102
|
-
//#region ../../../node_modules/.pnpm/viem@2.55.4_bufferutil@4.1.0_typescript@6.0.3_utf-8-validate@5.0.10_zod@4.6.
|
|
2102
|
+
//#region ../../../node_modules/.pnpm/viem@2.55.4_bufferutil@4.1.0_typescript@6.0.3_utf-8-validate@5.0.10_zod@4.6.6/node_modules/viem/_esm/utils/data/concat.js
|
|
2103
2103
|
function concat(values) {
|
|
2104
2104
|
if (typeof values[0] === "string") return concatHex(values);
|
|
2105
2105
|
return concatBytes(values);
|
|
@@ -2119,11 +2119,11 @@ function concatHex(values) {
|
|
|
2119
2119
|
return `0x${values.reduce((acc, x) => acc + x.replace("0x", ""), "")}`;
|
|
2120
2120
|
}
|
|
2121
2121
|
//#endregion
|
|
2122
|
-
//#region ../../../node_modules/.pnpm/viem@2.55.4_bufferutil@4.1.0_typescript@6.0.3_utf-8-validate@5.0.10_zod@4.6.
|
|
2122
|
+
//#region ../../../node_modules/.pnpm/viem@2.55.4_bufferutil@4.1.0_typescript@6.0.3_utf-8-validate@5.0.10_zod@4.6.6/node_modules/viem/_esm/utils/regex.js
|
|
2123
2123
|
const bytesRegex = /^bytes([1-9]|1[0-9]|2[0-9]|3[0-2])?$/;
|
|
2124
2124
|
const integerRegex = /^(u?int)(8|16|24|32|40|48|56|64|72|80|88|96|104|112|120|128|136|144|152|160|168|176|184|192|200|208|216|224|232|240|248|256)?$/;
|
|
2125
2125
|
//#endregion
|
|
2126
|
-
//#region ../../../node_modules/.pnpm/viem@2.55.4_bufferutil@4.1.0_typescript@6.0.3_utf-8-validate@5.0.10_zod@4.6.
|
|
2126
|
+
//#region ../../../node_modules/.pnpm/viem@2.55.4_bufferutil@4.1.0_typescript@6.0.3_utf-8-validate@5.0.10_zod@4.6.6/node_modules/viem/_esm/utils/abi/encodeAbiParameters.js
|
|
2127
2127
|
/**
|
|
2128
2128
|
* @description Encodes a list of primitive values into an ABI-encoded hex value.
|
|
2129
2129
|
*
|
|
@@ -2360,20 +2360,20 @@ function isDynamicType(param) {
|
|
|
2360
2360
|
return false;
|
|
2361
2361
|
}
|
|
2362
2362
|
//#endregion
|
|
2363
|
-
//#region ../../../node_modules/.pnpm/viem@2.55.4_bufferutil@4.1.0_typescript@6.0.3_utf-8-validate@5.0.10_zod@4.6.
|
|
2363
|
+
//#region ../../../node_modules/.pnpm/viem@2.55.4_bufferutil@4.1.0_typescript@6.0.3_utf-8-validate@5.0.10_zod@4.6.6/node_modules/viem/_esm/utils/stringify.js
|
|
2364
2364
|
const stringify = (value, replacer, space) => JSON.stringify(value, (key, value_) => {
|
|
2365
2365
|
const value = typeof value_ === "bigint" ? value_.toString() : value_;
|
|
2366
2366
|
return typeof replacer === "function" ? replacer(key, value) : value;
|
|
2367
2367
|
}, space);
|
|
2368
2368
|
//#endregion
|
|
2369
|
-
//#region ../../../node_modules/.pnpm/viem@2.55.4_bufferutil@4.1.0_typescript@6.0.3_utf-8-validate@5.0.10_zod@4.6.
|
|
2369
|
+
//#region ../../../node_modules/.pnpm/viem@2.55.4_bufferutil@4.1.0_typescript@6.0.3_utf-8-validate@5.0.10_zod@4.6.6/node_modules/viem/_esm/utils/address/isAddressEqual.js
|
|
2370
2370
|
function isAddressEqual(a, b) {
|
|
2371
2371
|
if (!isAddress(a, { strict: false })) throw new InvalidAddressError({ address: a });
|
|
2372
2372
|
if (!isAddress(b, { strict: false })) throw new InvalidAddressError({ address: b });
|
|
2373
2373
|
return a.toLowerCase() === b.toLowerCase();
|
|
2374
2374
|
}
|
|
2375
2375
|
//#endregion
|
|
2376
|
-
//#region ../../../node_modules/.pnpm/viem@2.55.4_bufferutil@4.1.0_typescript@6.0.3_utf-8-validate@5.0.10_zod@4.6.
|
|
2376
|
+
//#region ../../../node_modules/.pnpm/viem@2.55.4_bufferutil@4.1.0_typescript@6.0.3_utf-8-validate@5.0.10_zod@4.6.6/node_modules/viem/_esm/utils/signature/recoverPublicKey.js
|
|
2377
2377
|
async function recoverPublicKey({ hash, signature }) {
|
|
2378
2378
|
const hashHex = isHex(hash) ? hash : toHex(hash);
|
|
2379
2379
|
const { secp256k1 } = await import("./secp256k1-CZAC_H2H.js");
|
|
@@ -2396,7 +2396,7 @@ function toRecoveryBit(yParityOrV) {
|
|
|
2396
2396
|
throw new Error("Invalid yParityOrV value");
|
|
2397
2397
|
}
|
|
2398
2398
|
//#endregion
|
|
2399
|
-
//#region ../../../node_modules/.pnpm/viem@2.55.4_bufferutil@4.1.0_typescript@6.0.3_utf-8-validate@5.0.10_zod@4.6.
|
|
2399
|
+
//#region ../../../node_modules/.pnpm/viem@2.55.4_bufferutil@4.1.0_typescript@6.0.3_utf-8-validate@5.0.10_zod@4.6.6/node_modules/viem/_esm/utils/signature/recoverAddress.js
|
|
2400
2400
|
async function recoverAddress({ hash, signature }) {
|
|
2401
2401
|
return publicKeyToAddress(await recoverPublicKey({
|
|
2402
2402
|
hash,
|
|
@@ -2404,7 +2404,7 @@ async function recoverAddress({ hash, signature }) {
|
|
|
2404
2404
|
}));
|
|
2405
2405
|
}
|
|
2406
2406
|
//#endregion
|
|
2407
|
-
//#region ../../../node_modules/.pnpm/viem@2.55.4_bufferutil@4.1.0_typescript@6.0.3_utf-8-validate@5.0.10_zod@4.6.
|
|
2407
|
+
//#region ../../../node_modules/.pnpm/viem@2.55.4_bufferutil@4.1.0_typescript@6.0.3_utf-8-validate@5.0.10_zod@4.6.6/node_modules/viem/_esm/errors/typedData.js
|
|
2408
2408
|
var InvalidDomainError = class extends BaseError {
|
|
2409
2409
|
constructor({ domain }) {
|
|
2410
2410
|
super(`Invalid domain "${stringify(domain)}".`, { metaMessages: ["Must be a valid EIP-712 domain."] });
|
|
@@ -2427,7 +2427,7 @@ var InvalidStructTypeError = class extends BaseError {
|
|
|
2427
2427
|
}
|
|
2428
2428
|
};
|
|
2429
2429
|
//#endregion
|
|
2430
|
-
//#region ../../../node_modules/.pnpm/viem@2.55.4_bufferutil@4.1.0_typescript@6.0.3_utf-8-validate@5.0.10_zod@4.6.
|
|
2430
|
+
//#region ../../../node_modules/.pnpm/viem@2.55.4_bufferutil@4.1.0_typescript@6.0.3_utf-8-validate@5.0.10_zod@4.6.6/node_modules/viem/_esm/utils/typedData.js
|
|
2431
2431
|
function validateTypedData(parameters) {
|
|
2432
2432
|
const { domain, message, primaryType, types } = parameters;
|
|
2433
2433
|
const validateData = (struct, data) => {
|
|
@@ -2497,7 +2497,7 @@ function validateReference(type) {
|
|
|
2497
2497
|
if (type === "address" || type === "bool" || type === "string" || type.startsWith("bytes") || type.startsWith("uint") || type.startsWith("int")) throw new InvalidStructTypeError({ type });
|
|
2498
2498
|
}
|
|
2499
2499
|
//#endregion
|
|
2500
|
-
//#region ../../../node_modules/.pnpm/viem@2.55.4_bufferutil@4.1.0_typescript@6.0.3_utf-8-validate@5.0.10_zod@4.6.
|
|
2500
|
+
//#region ../../../node_modules/.pnpm/viem@2.55.4_bufferutil@4.1.0_typescript@6.0.3_utf-8-validate@5.0.10_zod@4.6.6/node_modules/viem/_esm/utils/signature/hashTypedData.js
|
|
2501
2501
|
function hashTypedData(parameters) {
|
|
2502
2502
|
const { domain = {}, message, primaryType } = parameters;
|
|
2503
2503
|
const types = {
|
|
@@ -2602,7 +2602,7 @@ function encodeField({ types, name, type, value }) {
|
|
|
2602
2602
|
return [{ type }, value];
|
|
2603
2603
|
}
|
|
2604
2604
|
//#endregion
|
|
2605
|
-
//#region ../../../node_modules/.pnpm/viem@2.55.4_bufferutil@4.1.0_typescript@6.0.3_utf-8-validate@5.0.10_zod@4.6.
|
|
2605
|
+
//#region ../../../node_modules/.pnpm/viem@2.55.4_bufferutil@4.1.0_typescript@6.0.3_utf-8-validate@5.0.10_zod@4.6.6/node_modules/viem/_esm/utils/signature/recoverTypedDataAddress.js
|
|
2606
2606
|
async function recoverTypedDataAddress(parameters) {
|
|
2607
2607
|
const { domain, message, primaryType, signature, types } = parameters;
|
|
2608
2608
|
return recoverAddress({
|
|
@@ -2616,7 +2616,7 @@ async function recoverTypedDataAddress(parameters) {
|
|
|
2616
2616
|
});
|
|
2617
2617
|
}
|
|
2618
2618
|
//#endregion
|
|
2619
|
-
//#region ../../../node_modules/.pnpm/viem@2.55.4_bufferutil@4.1.0_typescript@6.0.3_utf-8-validate@5.0.10_zod@4.6.
|
|
2619
|
+
//#region ../../../node_modules/.pnpm/viem@2.55.4_bufferutil@4.1.0_typescript@6.0.3_utf-8-validate@5.0.10_zod@4.6.6/node_modules/viem/_esm/utils/signature/verifyTypedData.js
|
|
2620
2620
|
/**
|
|
2621
2621
|
* Verify that typed data was signed by the provided address.
|
|
2622
2622
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tangle-network/sandbox",
|
|
3
|
-
"version": "0.64.
|
|
3
|
+
"version": "0.64.29",
|
|
4
4
|
"description": "Client SDK for the Tangle Sandbox platform - build AI agent applications with dev containers",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": [
|
|
@@ -118,7 +118,7 @@
|
|
|
118
118
|
"@tangle-network/agent-core": "^0.11.0",
|
|
119
119
|
"@tangle-network/agent-interface": "^4.0.0",
|
|
120
120
|
"tar-stream": "3.2.1",
|
|
121
|
-
"zod": "4.6.
|
|
121
|
+
"zod": "4.6.6"
|
|
122
122
|
},
|
|
123
123
|
"peerDependencies": {
|
|
124
124
|
"@mastra/core": "^1.36.0",
|
|
@@ -163,13 +163,13 @@
|
|
|
163
163
|
"@repo/shared": "0.0.0",
|
|
164
164
|
"@tangle-network/agent-profile-materialize": "0.26.0",
|
|
165
165
|
"@tangle-network/cli-agent-registry": "0.10.2",
|
|
166
|
-
"@tangle-network/sdk": "4.0.16",
|
|
167
166
|
"@tangle-network/runtime-contracts": "0.19.0",
|
|
167
|
+
"@tangle-network/sdk": "4.0.16",
|
|
168
168
|
"@tangle-network/sse-core": "0.0.0"
|
|
169
169
|
},
|
|
170
170
|
"tangleRelease": {
|
|
171
|
-
"sourceSha": "
|
|
172
|
-
"mergedAt": "2026-10-
|
|
171
|
+
"sourceSha": "b66b40689425eb54bcb3c576be0ac54cf93770b1",
|
|
172
|
+
"mergedAt": "2026-10-23T18:31:26-06:00"
|
|
173
173
|
},
|
|
174
174
|
"scripts": {
|
|
175
175
|
"build": "node scripts/build-dist.mjs",
|