@iota/ledgerjs-hw-app-iota 0.2.2 → 0.3.0

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/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # @iota/ledgerjs-hw-app-iota
2
2
 
3
+ ## 0.3.0
4
+
5
+ ### Minor Changes
6
+
7
+ - fc692a2: Remove option to pass `txn` as a hexadecimal string or Buffer
8
+ - fc692a2: Add `options` parameter to the `signTransaction` method for clear signing displays
9
+
3
10
  ## 0.2.2
4
11
 
5
12
  ### Patch Changes
package/README.md CHANGED
@@ -6,8 +6,6 @@
6
6
 
7
7
  `@iota/ledgerjs-hw-app-iota` is part of the **IOTA Rebased SDK**, designed specifically for interacting with the IOTA Rebased protocol.
8
8
 
9
- > **Note**: This package is currently supported **only in Testnet and Devnet**, it is **not yet supported in Mainnet**.
10
-
11
9
  [Ledger Hardware Wallet](https://www.ledger.com/) JavaScript bindings for [IOTA](https://iota.org/),
12
10
  based on [LedgerJS](https://github.com/LedgerHQ/ledgerjs).
13
11
 
@@ -33,10 +33,13 @@ export default class Iota {
33
33
  /**
34
34
  * Sign a transaction with the key at a BIP32 path.
35
35
  *
36
- * @param txn - The transaction; this can be any of a node Buffer, Uint8Array, or a hexadecimal string, encoding the form of the transaction appropriate for hashing and signing.
37
- * @param path - the path to use when signing the transaction.
36
+ * @param txn - The transaction bytes to sign.
37
+ * @param path - The path to use when signing the transaction.
38
+ * @param options - Additional options used for clear signing purposes.
38
39
  */
39
- signTransaction(path: string, txn: string | Buffer | Uint8Array): Promise<SignTransactionResult>;
40
+ signTransaction(path: string, txn: Uint8Array, options?: {
41
+ bcsObjects: Uint8Array[];
42
+ }): Promise<SignTransactionResult>;
40
43
  /**
41
44
  * Retrieve the app version on the attached Ledger device.
42
45
  */
package/dist/cjs/Iota.js CHANGED
@@ -40,7 +40,7 @@ __export(Iota_exports, {
40
40
  });
41
41
  module.exports = __toCommonJS(Iota_exports);
42
42
  var import_fast_sha256 = __toESM(require("fast-sha256"));
43
- var _verbose, _Iota_instances, sendChunks_fn, handleBlocksProtocol_fn, log_fn;
43
+ var _verbose, _Iota_instances, internalGetVersion_fn, sendChunks_fn, handleBlocksProtocol_fn, log_fn;
44
44
  var LedgerToHost = /* @__PURE__ */ ((LedgerToHost2) => {
45
45
  LedgerToHost2[LedgerToHost2["RESULT_ACCUMULATING"] = 0] = "RESULT_ACCUMULATING";
46
46
  LedgerToHost2[LedgerToHost2["RESULT_FINAL"] = 1] = "RESULT_FINAL";
@@ -98,40 +98,59 @@ class Iota {
98
98
  /**
99
99
  * Sign a transaction with the key at a BIP32 path.
100
100
  *
101
- * @param txn - The transaction; this can be any of a node Buffer, Uint8Array, or a hexadecimal string, encoding the form of the transaction appropriate for hashing and signing.
102
- * @param path - the path to use when signing the transaction.
101
+ * @param txn - The transaction bytes to sign.
102
+ * @param path - The path to use when signing the transaction.
103
+ * @param options - Additional options used for clear signing purposes.
103
104
  */
104
- async signTransaction(path, txn) {
105
+ async signTransaction(path, txn, options) {
105
106
  const cla = 0;
106
107
  const ins = 3;
107
108
  const p1 = 0;
108
109
  const p2 = 0;
109
110
  if (__privateGet(this, _verbose)) __privateMethod(this, _Iota_instances, log_fn).call(this, txn);
110
- const rawTxn = typeof txn == "string" ? Buffer.from(txn, "hex") : Buffer.from(txn);
111
+ const rawTxn = Buffer.from(txn);
111
112
  const hashSize = Buffer.alloc(4);
112
113
  hashSize.writeUInt32LE(rawTxn.length, 0);
114
+ const payloadTxn = Buffer.concat([hashSize, rawTxn]);
115
+ __privateMethod(this, _Iota_instances, log_fn).call(this, "Payload Txn", payloadTxn);
113
116
  const bip32KeyPayload = buildBip32KeyPayload(path);
114
- const payload_txn = Buffer.concat([hashSize, rawTxn]);
115
- __privateMethod(this, _Iota_instances, log_fn).call(this, "Payload Txn", payload_txn);
116
- const signature = await __privateMethod(this, _Iota_instances, sendChunks_fn).call(this, cla, ins, p1, p2, [payload_txn, bip32KeyPayload]);
117
- return {
118
- signature
119
- };
117
+ const payloads = [payloadTxn, bip32KeyPayload];
118
+ const { major } = await __privateMethod(this, _Iota_instances, internalGetVersion_fn).call(this);
119
+ const bcsObjects = options?.bcsObjects ?? [];
120
+ __privateMethod(this, _Iota_instances, log_fn).call(this, "Objects list length", bcsObjects.length);
121
+ __privateMethod(this, _Iota_instances, log_fn).call(this, "App version", major);
122
+ if (major > 0 && bcsObjects.length > 0) {
123
+ const numItems = Buffer.alloc(4);
124
+ numItems.writeUInt32LE(bcsObjects.length, 0);
125
+ let listData = Buffer.from(numItems);
126
+ for (const item of bcsObjects) {
127
+ const rawItem = Buffer.from(item);
128
+ const itemLen = Buffer.alloc(4);
129
+ itemLen.writeUInt32LE(rawItem.length, 0);
130
+ listData = Buffer.concat([listData, itemLen, rawItem]);
131
+ }
132
+ payloads.push(listData);
133
+ }
134
+ const signature = await __privateMethod(this, _Iota_instances, sendChunks_fn).call(this, cla, ins, p1, p2, payloads);
135
+ return { signature };
120
136
  }
121
137
  /**
122
138
  * Retrieve the app version on the attached Ledger device.
123
139
  */
124
140
  async getVersion() {
125
- const [major, minor, patch] = await __privateMethod(this, _Iota_instances, sendChunks_fn).call(this, 0, 0, 0, 0, Buffer.alloc(1));
126
- return {
127
- major,
128
- minor,
129
- patch
130
- };
141
+ return await __privateMethod(this, _Iota_instances, internalGetVersion_fn).call(this);
131
142
  }
132
143
  }
133
144
  _verbose = new WeakMap();
134
145
  _Iota_instances = new WeakSet();
146
+ internalGetVersion_fn = async function() {
147
+ const [major, minor, patch] = await __privateMethod(this, _Iota_instances, sendChunks_fn).call(this, 0, 0, 0, 0, Buffer.alloc(1));
148
+ return {
149
+ major,
150
+ minor,
151
+ patch
152
+ };
153
+ };
135
154
  sendChunks_fn = async function(cla, ins, p1, p2, payload, extraData = /* @__PURE__ */ new Map()) {
136
155
  const chunkSize = 180;
137
156
  if (!(payload instanceof Array)) {
@@ -159,7 +178,11 @@ sendChunks_fn = async function(cla, ins, p1, p2, payload, extraData = /* @__PURE
159
178
  lastHash = Buffer.alloc(32);
160
179
  }
161
180
  __privateMethod(this, _Iota_instances, log_fn).call(this, data);
162
- return await __privateMethod(this, _Iota_instances, handleBlocksProtocol_fn).call(this, cla, ins, p1, p2, Buffer.concat([Buffer.from([0 /* START */])].concat(parameterList)), data);
181
+ return await __privateMethod(this, _Iota_instances, handleBlocksProtocol_fn).call(this, cla, ins, p1, p2, Buffer.concat(
182
+ [Buffer.from([0 /* START */])].concat(
183
+ parameterList
184
+ )
185
+ ), data);
163
186
  };
164
187
  handleBlocksProtocol_fn = async function(cla, ins, p1, p2, initialPayload, data) {
165
188
  let payload = initialPayload;
@@ -194,7 +217,10 @@ handleBlocksProtocol_fn = async function(cla, ins, p1, p2, initialPayload, data)
194
217
  }
195
218
  break;
196
219
  case 3 /* PUT_CHUNK */:
197
- data.set(Buffer.from((0, import_fast_sha256.default)(rv_payload)).toString("hex"), rv_payload);
220
+ data.set(
221
+ Buffer.from((0, import_fast_sha256.default)(rv_payload)).toString("hex"),
222
+ rv_payload
223
+ );
198
224
  payload = Buffer.from([3 /* PUT_CHUNK_RESPONSE */]);
199
225
  break;
200
226
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/Iota.ts"],
4
- "sourcesContent": ["// Copyright (c) Mysten Labs, Inc.\n// Modifications Copyright (c) 2024 IOTA Stiftung\n// SPDX-License-Identifier: Apache-2.0\n/* eslint-disable no-restricted-globals */\n\nimport type Transport from '@ledgerhq/hw-transport';\nimport sha256 from 'fast-sha256';\n\nexport type GetPublicKeyResult = {\n publicKey: Uint8Array;\n address: Uint8Array;\n};\n\nexport type SignTransactionResult = {\n signature: Uint8Array;\n};\n\nexport type GetVersionResult = {\n major: number;\n minor: number;\n patch: number;\n};\n\nenum LedgerToHost {\n RESULT_ACCUMULATING = 0,\n RESULT_FINAL = 1,\n GET_CHUNK = 2,\n PUT_CHUNK = 3,\n}\n\nenum HostToLedger {\n START = 0,\n GET_CHUNK_RESPONSE_SUCCESS = 1,\n GET_CHUNK_RESPONSE_FAILURE = 2,\n PUT_CHUNK_RESPONSE = 3,\n RESULT_ACCUMULATING_RESPONSE = 4,\n}\n\n/**\n * Iota API\n *\n * @example\n * import Iota from \"@iota/ledgerjs-hw-app-iota\";\n * const iota = new Iota(transport)\n */\nexport default class Iota {\n transport: Transport;\n readonly #verbose: boolean;\n\n constructor(transport: Transport, scrambleKey = 'default_iota_scramble_key', verbose = false) {\n this.#verbose = verbose;\n this.transport = transport;\n this.transport.decorateAppAPIMethods(\n this,\n ['getPublicKey', 'signTransaction', 'getVersion'],\n scrambleKey,\n );\n }\n\n /**\n * Retrieves the public key associated with a particular BIP32 path from the Ledger app.\n *\n * @param path - the path to retrieve.\n * @param displayOnDevice - whether or not the address should be displayed on the device.\n *\n */\n async getPublicKey(path: string, displayOnDevice = false): Promise<GetPublicKeyResult> {\n const cla = 0x00;\n const ins = displayOnDevice ? 0x01 : 0x02;\n const p1 = 0;\n const p2 = 0;\n const payload = buildBip32KeyPayload(path);\n const response = await this.#sendChunks(cla, ins, p1, p2, payload);\n const keySize = response[0];\n const publicKey = response.slice(1, keySize + 1); // slice uses end index.\n let address: Uint8Array | null = null;\n if (response.length > keySize + 2) {\n const addressSize = response[keySize + 1];\n address = response.slice(keySize + 2, keySize + 2 + addressSize);\n }\n const res: GetPublicKeyResult = {\n publicKey: publicKey,\n address: address!,\n };\n return res;\n }\n\n /**\n * Sign a transaction with the key at a BIP32 path.\n *\n * @param txn - The transaction; this can be any of a node Buffer, Uint8Array, or a hexadecimal string, encoding the form of the transaction appropriate for hashing and signing.\n * @param path - the path to use when signing the transaction.\n */\n async signTransaction(\n path: string,\n txn: string | Buffer | Uint8Array,\n ): Promise<SignTransactionResult> {\n const cla = 0x00;\n const ins = 0x03;\n const p1 = 0;\n const p2 = 0;\n // Transaction payload is the byte length as uint32le followed by the bytes\n // Type guard not actually required but TypeScript can't tell that.\n if (this.#verbose) this.#log(txn);\n const rawTxn = typeof txn == 'string' ? Buffer.from(txn, 'hex') : Buffer.from(txn);\n const hashSize = Buffer.alloc(4);\n hashSize.writeUInt32LE(rawTxn.length, 0);\n // Bip32key payload same as getPublicKey\n const bip32KeyPayload = buildBip32KeyPayload(path);\n // These are just squashed together\n const payload_txn = Buffer.concat([hashSize, rawTxn]);\n this.#log('Payload Txn', payload_txn);\n // TODO batch this since the payload length can be uint32le.max long\n const signature = await this.#sendChunks(cla, ins, p1, p2, [payload_txn, bip32KeyPayload]);\n return {\n signature,\n };\n }\n\n /**\n * Retrieve the app version on the attached Ledger device.\n */\n async getVersion(): Promise<GetVersionResult> {\n const [major, minor, patch] = await this.#sendChunks(\n 0x00,\n 0x00,\n 0x00,\n 0x00,\n Buffer.alloc(1),\n );\n return {\n major,\n minor,\n patch,\n };\n }\n\n /**\n * Convert a raw payload into what is essentially a singly-linked list of chunks, which\n * allows the ledger to re-seek the data in a secure fashion.\n */\n async #sendChunks(\n cla: number,\n ins: number,\n p1: number,\n p2: number,\n payload: Buffer | Buffer[],\n // Constant (protocol dependent) data that the ledger may want to refer to\n // besides the payload.\n extraData: Map<String, Buffer> = new Map<String, Buffer>(),\n ): Promise<Buffer> {\n const chunkSize = 180;\n if (!(payload instanceof Array)) {\n payload = [payload];\n }\n const parameterList: Buffer[] = [];\n let data = new Map<String, Buffer>(extraData);\n for (let j = 0; j < payload.length; j++) {\n const chunkList: Buffer[] = [];\n for (let i = 0; i < payload[j].length; i += chunkSize) {\n const cur = payload[j].slice(i, i + chunkSize);\n chunkList.push(cur);\n }\n // Store the hash that points to the \"rest of the list of chunks\"\n let lastHash = Buffer.alloc(32);\n this.#log(lastHash);\n // Since we are doing a foldr, we process the last chunk first\n // We have to do it this way, because a block knows the hash of\n // the next block.\n data = chunkList.reduceRight((blocks, chunk) => {\n const linkedChunk = Buffer.concat([lastHash, chunk]);\n this.#log('Chunk: ', chunk);\n this.#log('linkedChunk: ', linkedChunk);\n lastHash = Buffer.from(sha256(linkedChunk));\n blocks.set(lastHash.toString('hex'), linkedChunk);\n return blocks;\n }, data);\n parameterList.push(lastHash);\n lastHash = Buffer.alloc(32);\n }\n this.#log(data);\n return await this.#handleBlocksProtocol(\n cla,\n ins,\n p1,\n p2,\n Buffer.concat([Buffer.from([HostToLedger.START])].concat(parameterList)),\n data,\n );\n }\n\n async #handleBlocksProtocol(\n cla: number,\n ins: number,\n p1: number,\n p2: number,\n initialPayload: Buffer,\n data: Map<String, Buffer>,\n ): Promise<Buffer> {\n let payload = initialPayload;\n let result = Buffer.alloc(0);\n let rv_instruction;\n do {\n this.#log('Sending payload to ledger: ', payload.toString('hex'));\n const rv = await this.transport.send(cla, ins, p1, p2, payload);\n this.#log('Received response: ', rv);\n rv_instruction = rv[0];\n const rv_payload = rv.slice(1, rv.length - 2); // Last two bytes are a return code.\n if (!(rv_instruction in LedgerToHost)) {\n throw new TypeError('Unknown instruction returned from ledger');\n }\n switch (rv_instruction) {\n case LedgerToHost.RESULT_ACCUMULATING:\n case LedgerToHost.RESULT_FINAL:\n result = Buffer.concat([result, rv_payload]);\n // Won't actually send this if we drop out of the loop for RESULT_FINAL\n payload = Buffer.from([HostToLedger.RESULT_ACCUMULATING_RESPONSE]);\n break;\n case LedgerToHost.GET_CHUNK:\n const chunk = data.get(rv_payload.toString('hex'));\n this.#log('Getting block ', rv_payload);\n this.#log('Found block ', chunk);\n if (chunk) {\n payload = Buffer.concat([\n Buffer.from([HostToLedger.GET_CHUNK_RESPONSE_SUCCESS]),\n chunk,\n ]);\n } else {\n payload = Buffer.from([HostToLedger.GET_CHUNK_RESPONSE_FAILURE]);\n }\n break;\n case LedgerToHost.PUT_CHUNK:\n data.set(Buffer.from(sha256(rv_payload)).toString('hex'), rv_payload);\n payload = Buffer.from([HostToLedger.PUT_CHUNK_RESPONSE]);\n break;\n }\n } while (rv_instruction !== LedgerToHost.RESULT_FINAL);\n return result;\n }\n\n #log(...args: any[]) {\n if (this.#verbose) console.log(args);\n }\n}\n\nfunction buildBip32KeyPayload(path: string): Buffer {\n const paths = splitPath(path);\n // Bip32Key payload is:\n // 1 byte with number of elements in u32 array path\n // Followed by the u32 array itself\n const payload = Buffer.alloc(1 + paths.length * 4);\n payload[0] = paths.length;\n paths.forEach((element, index) => {\n payload.writeUInt32LE(element, 1 + 4 * index);\n });\n return payload;\n}\n\n// TODO use bip32-path library\nfunction splitPath(path: string): number[] {\n const result: number[] = [];\n const components = path.split('/');\n components.forEach((element) => {\n let number = parseInt(element, 10);\n\n if (isNaN(number)) {\n return; // FIXME shouldn't it throws instead?\n }\n\n if (element.length > 1 && element[element.length - 1] === \"'\") {\n number += 0x80000000;\n }\n\n result.push(number);\n });\n return result;\n}\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAMA,yBAAmB;AANnB;AAuBA,IAAK,eAAL,kBAAKA,kBAAL;AACI,EAAAA,4BAAA,yBAAsB,KAAtB;AACA,EAAAA,4BAAA,kBAAe,KAAf;AACA,EAAAA,4BAAA,eAAY,KAAZ;AACA,EAAAA,4BAAA,eAAY,KAAZ;AAJC,SAAAA;AAAA,GAAA;AAOL,IAAK,eAAL,kBAAKC,kBAAL;AACI,EAAAA,4BAAA,WAAQ,KAAR;AACA,EAAAA,4BAAA,gCAA6B,KAA7B;AACA,EAAAA,4BAAA,gCAA6B,KAA7B;AACA,EAAAA,4BAAA,wBAAqB,KAArB;AACA,EAAAA,4BAAA,kCAA+B,KAA/B;AALC,SAAAA;AAAA,GAAA;AAeL,MAAO,KAAmB;AAAA,EAItB,YAAY,WAAsB,cAAc,6BAA6B,UAAU,OAAO;AAJlG;AAEI,uBAAS;AAGL,uBAAK,UAAW;AAChB,SAAK,YAAY;AACjB,SAAK,UAAU;AAAA,MACX;AAAA,MACA,CAAC,gBAAgB,mBAAmB,YAAY;AAAA,MAChD;AAAA,IACJ;AAAA,EACJ;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA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IAAI,IAAI;AACvC;AAGJ,SAAS,qBAAqB,MAAsB;AAChD,QAAM,QAAQ,UAAU,IAAI;AAI5B,QAAM,UAAU,OAAO,MAAM,IAAI,MAAM,SAAS,CAAC;AACjD,UAAQ,CAAC,IAAI,MAAM;AACnB,QAAM,QAAQ,CAAC,SAAS,UAAU;AAC9B,YAAQ,cAAc,SAAS,IAAI,IAAI,KAAK;AAAA,EAChD,CAAC;AACD,SAAO;AACX;AAGA,SAAS,UAAU,MAAwB;AACvC,QAAM,SAAmB,CAAC;AAC1B,QAAM,aAAa,KAAK,MAAM,GAAG;AACjC,aAAW,QAAQ,CAAC,YAAY;AAC5B,QAAI,SAAS,SAAS,SAAS,EAAE;AAEjC,QAAI,MAAM,MAAM,GAAG;AACf;AAAA,IACJ;AAEA,QAAI,QAAQ,SAAS,KAAK,QAAQ,QAAQ,SAAS,CAAC,MAAM,KAAK;AAC3D,gBAAU;AAAA,IACd;AAEA,WAAO,KAAK,MAAM;AAAA,EACtB,CAAC;AACD,SAAO;AACX;",
4
+ "sourcesContent": ["// Copyright (c) Mysten Labs, Inc.\n// Modifications Copyright (c) 2024 IOTA Stiftung\n// SPDX-License-Identifier: Apache-2.0\n\n/* eslint-disable no-restricted-globals */\n\nimport type Transport from '@ledgerhq/hw-transport';\nimport sha256 from 'fast-sha256';\n\nexport type GetPublicKeyResult = {\n publicKey: Uint8Array;\n address: Uint8Array;\n};\n\nexport type SignTransactionResult = {\n signature: Uint8Array;\n};\n\nexport type GetVersionResult = {\n major: number;\n minor: number;\n patch: number;\n};\n\nenum LedgerToHost {\n RESULT_ACCUMULATING = 0,\n RESULT_FINAL = 1,\n GET_CHUNK = 2,\n PUT_CHUNK = 3,\n}\n\nenum HostToLedger {\n START = 0,\n GET_CHUNK_RESPONSE_SUCCESS = 1,\n GET_CHUNK_RESPONSE_FAILURE = 2,\n PUT_CHUNK_RESPONSE = 3,\n RESULT_ACCUMULATING_RESPONSE = 4,\n}\n\n/**\n * Iota API\n *\n * @example\n * import Iota from \"@iota/ledgerjs-hw-app-iota\";\n * const iota = new Iota(transport)\n */\nexport default class Iota {\n transport: Transport;\n readonly #verbose: boolean;\n\n constructor(transport: Transport, scrambleKey = 'default_iota_scramble_key', verbose = false) {\n this.#verbose = verbose;\n this.transport = transport;\n this.transport.decorateAppAPIMethods(\n this,\n ['getPublicKey', 'signTransaction', 'getVersion'],\n scrambleKey,\n );\n }\n\n /**\n * Retrieves the public key associated with a particular BIP32 path from the Ledger app.\n *\n * @param path - the path to retrieve.\n * @param displayOnDevice - whether or not the address should be displayed on the device.\n *\n */\n async getPublicKey(path: string, displayOnDevice = false): Promise<GetPublicKeyResult> {\n const cla = 0x00;\n const ins = displayOnDevice ? 0x01 : 0x02;\n const p1 = 0;\n const p2 = 0;\n const payload = buildBip32KeyPayload(path);\n const response = await this.#sendChunks(cla, ins, p1, p2, payload);\n const keySize = response[0];\n\n const publicKey = response.slice(1, keySize + 1); // slice uses end index.\n let address: Uint8Array | null = null;\n if (response.length > keySize + 2) {\n const addressSize = response[keySize + 1];\n address = response.slice(keySize + 2, keySize + 2 + addressSize) as Uint8Array;\n }\n const res: GetPublicKeyResult = {\n publicKey: publicKey as Uint8Array,\n address: address!,\n };\n return res;\n }\n\n /**\n * Sign a transaction with the key at a BIP32 path.\n *\n * @param txn - The transaction bytes to sign.\n * @param path - The path to use when signing the transaction.\n * @param options - Additional options used for clear signing purposes.\n */\n async signTransaction(\n path: string,\n txn: Uint8Array,\n options?: {\n bcsObjects: Uint8Array[];\n },\n ): Promise<SignTransactionResult> {\n const cla = 0x00;\n const ins = 0x03;\n const p1 = 0;\n const p2 = 0;\n\n if (this.#verbose) this.#log(txn);\n\n // Transaction payload is the byte length as uint32le followed by the bytes\n const rawTxn = Buffer.from(txn);\n const hashSize = Buffer.alloc(4);\n hashSize.writeUInt32LE(rawTxn.length, 0);\n\n // Build transaction payload:\n const payloadTxn = Buffer.concat([hashSize, rawTxn] as Uint8Array[]);\n this.#log('Payload Txn', payloadTxn);\n\n const bip32KeyPayload = buildBip32KeyPayload(path);\n const payloads = [payloadTxn, bip32KeyPayload];\n\n // The public getVersion is decorated with a lock in the constructor:\n const { major } = await this.#internalGetVersion();\n const bcsObjects = options?.bcsObjects ?? [];\n\n this.#log('Objects list length', bcsObjects.length);\n this.#log('App version', major);\n\n if (major > 0 && bcsObjects.length > 0) {\n // Build object list payload:\n const numItems = Buffer.alloc(4);\n numItems.writeUInt32LE(bcsObjects.length, 0);\n\n let listData = Buffer.from(numItems as Uint8Array);\n\n // Add each item with its length prefix:\n for (const item of bcsObjects) {\n const rawItem = Buffer.from(item);\n const itemLen = Buffer.alloc(4);\n itemLen.writeUInt32LE(rawItem.length, 0);\n\n listData = Buffer.concat([listData, itemLen, rawItem] as Uint8Array[]);\n }\n\n payloads.push(listData);\n }\n\n // Send the chunks and return the signature\n const signature = await this.#sendChunks(cla, ins, p1, p2, payloads);\n return { signature: signature as Uint8Array };\n }\n\n /**\n * Retrieve the app version on the attached Ledger device.\n */\n async getVersion(): Promise<GetVersionResult> {\n return await this.#internalGetVersion();\n }\n\n async #internalGetVersion() {\n const [major, minor, patch] = await this.#sendChunks(\n 0x00,\n 0x00,\n 0x00,\n 0x00,\n Buffer.alloc(1),\n );\n return {\n major,\n minor,\n patch,\n };\n }\n\n /**\n * Convert a raw payload into what is essentially a singly-linked list of chunks, which\n * allows the ledger to re-seek the data in a secure fashion.\n */\n async #sendChunks(\n cla: number,\n ins: number,\n p1: number,\n p2: number,\n payload: Buffer | Buffer[],\n // Constant (protocol dependent) data that the ledger may want to refer to\n // besides the payload.\n extraData: Map<String, Buffer> = new Map<String, Buffer>(),\n ): Promise<Buffer> {\n const chunkSize = 180;\n if (!(payload instanceof Array)) {\n payload = [payload];\n }\n const parameterList: Buffer[] = [];\n let data = new Map<String, Buffer>(extraData);\n for (let j = 0; j < payload.length; j++) {\n const chunkList: Buffer[] = [];\n for (let i = 0; i < payload[j].length; i += chunkSize) {\n const cur = payload[j].slice(i, i + chunkSize);\n chunkList.push(cur);\n }\n // Store the hash that points to the \"rest of the list of chunks\"\n let lastHash = Buffer.alloc(32);\n this.#log(lastHash);\n // Since we are doing a foldr, we process the last chunk first\n // We have to do it this way, because a block knows the hash of\n // the next block.\n data = chunkList.reduceRight((blocks, chunk) => {\n const linkedChunk = Buffer.concat([lastHash, chunk] as Uint8Array[]);\n this.#log('Chunk: ', chunk);\n this.#log('linkedChunk: ', linkedChunk);\n lastHash = Buffer.from(sha256(linkedChunk as Uint8Array));\n blocks.set(lastHash.toString('hex'), linkedChunk);\n return blocks;\n }, data);\n parameterList.push(lastHash);\n lastHash = Buffer.alloc(32);\n }\n this.#log(data);\n return await this.#handleBlocksProtocol(\n cla,\n ins,\n p1,\n p2,\n Buffer.concat(\n ([Buffer.from([HostToLedger.START])] as Uint8Array[]).concat(\n parameterList as Uint8Array[],\n ),\n ),\n data,\n );\n }\n\n async #handleBlocksProtocol(\n cla: number,\n ins: number,\n p1: number,\n p2: number,\n initialPayload: Buffer,\n data: Map<String, Buffer>,\n ): Promise<Buffer> {\n let payload = initialPayload;\n let result = Buffer.alloc(0);\n let rv_instruction;\n do {\n this.#log('Sending payload to ledger: ', payload.toString('hex'));\n const rv = await this.transport.send(cla, ins, p1, p2, payload);\n this.#log('Received response: ', rv);\n rv_instruction = rv[0];\n const rv_payload = rv.slice(1, rv.length - 2); // Last two bytes are a return code.\n if (!(rv_instruction in LedgerToHost)) {\n throw new TypeError('Unknown instruction returned from ledger');\n }\n switch (rv_instruction) {\n case LedgerToHost.RESULT_ACCUMULATING:\n case LedgerToHost.RESULT_FINAL:\n result = Buffer.concat([result, rv_payload] as Uint8Array[]);\n // Won't actually send this if we drop out of the loop for RESULT_FINAL\n payload = Buffer.from([HostToLedger.RESULT_ACCUMULATING_RESPONSE]);\n break;\n case LedgerToHost.GET_CHUNK:\n const chunk = data.get(rv_payload.toString('hex'));\n this.#log('Getting block ', rv_payload);\n this.#log('Found block ', chunk);\n if (chunk) {\n payload = Buffer.concat([\n Buffer.from([HostToLedger.GET_CHUNK_RESPONSE_SUCCESS]),\n chunk,\n ] as Uint8Array[]);\n } else {\n payload = Buffer.from([HostToLedger.GET_CHUNK_RESPONSE_FAILURE]);\n }\n break;\n case LedgerToHost.PUT_CHUNK:\n data.set(\n Buffer.from(sha256(rv_payload as Uint8Array)).toString('hex'),\n rv_payload,\n );\n payload = Buffer.from([HostToLedger.PUT_CHUNK_RESPONSE]);\n break;\n }\n } while (rv_instruction !== LedgerToHost.RESULT_FINAL);\n return result;\n }\n\n #log(...args: any[]) {\n if (this.#verbose) console.log(args);\n }\n}\n\nfunction buildBip32KeyPayload(path: string): Buffer {\n const paths = splitPath(path);\n // Bip32Key payload is:\n // 1 byte with number of elements in u32 array path\n // Followed by the u32 array itself\n const payload = Buffer.alloc(1 + paths.length * 4);\n payload[0] = paths.length;\n paths.forEach((element, index) => {\n payload.writeUInt32LE(element, 1 + 4 * index);\n });\n return payload;\n}\n\n// TODO use bip32-path library\nfunction splitPath(path: string): number[] {\n const result: number[] = [];\n const components = path.split('/');\n components.forEach((element) => {\n let number = parseInt(element, 10);\n\n if (isNaN(number)) {\n return; // FIXME shouldn't it throws instead?\n }\n\n if (element.length > 1 && element[element.length - 1] === \"'\") {\n number += 0x80000000;\n }\n\n result.push(number);\n });\n return result;\n}\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAOA,yBAAmB;AAPnB;AAwBA,IAAK,eAAL,kBAAKA,kBAAL;AACI,EAAAA,4BAAA,yBAAsB,KAAtB;AACA,EAAAA,4BAAA,kBAAe,KAAf;AACA,EAAAA,4BAAA,eAAY,KAAZ;AACA,EAAAA,4BAAA,eAAY,KAAZ;AAJC,SAAAA;AAAA,GAAA;AAOL,IAAK,eAAL,kBAAKC,kBAAL;AACI,EAAAA,4BAAA,WAAQ,KAAR;AACA,EAAAA,4BAAA,gCAA6B,KAA7B;AACA,EAAAA,4BAAA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;AAC9B,YAAQ,cAAc,SAAS,IAAI,IAAI,KAAK;AAAA,EAChD,CAAC;AACD,SAAO;AACX;AAGA,SAAS,UAAU,MAAwB;AACvC,QAAM,SAAmB,CAAC;AAC1B,QAAM,aAAa,KAAK,MAAM,GAAG;AACjC,aAAW,QAAQ,CAAC,YAAY;AAC5B,QAAI,SAAS,SAAS,SAAS,EAAE;AAEjC,QAAI,MAAM,MAAM,GAAG;AACf;AAAA,IACJ;AAEA,QAAI,QAAQ,SAAS,KAAK,QAAQ,QAAQ,SAAS,CAAC,MAAM,KAAK;AAC3D,gBAAU;AAAA,IACd;AAEA,WAAO,KAAK,MAAM;AAAA,EACtB,CAAC;AACD,SAAO;AACX;",
6
6
  "names": ["LedgerToHost", "HostToLedger", "sha256"]
7
7
  }
@@ -33,10 +33,13 @@ export default class Iota {
33
33
  /**
34
34
  * Sign a transaction with the key at a BIP32 path.
35
35
  *
36
- * @param txn - The transaction; this can be any of a node Buffer, Uint8Array, or a hexadecimal string, encoding the form of the transaction appropriate for hashing and signing.
37
- * @param path - the path to use when signing the transaction.
36
+ * @param txn - The transaction bytes to sign.
37
+ * @param path - The path to use when signing the transaction.
38
+ * @param options - Additional options used for clear signing purposes.
38
39
  */
39
- signTransaction(path: string, txn: string | Buffer | Uint8Array): Promise<SignTransactionResult>;
40
+ signTransaction(path: string, txn: Uint8Array, options?: {
41
+ bcsObjects: Uint8Array[];
42
+ }): Promise<SignTransactionResult>;
40
43
  /**
41
44
  * Retrieve the app version on the attached Ledger device.
42
45
  */
package/dist/esm/Iota.js CHANGED
@@ -6,7 +6,7 @@ var __privateGet = (obj, member, getter) => (__accessCheck(obj, member, "read fr
6
6
  var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot add the same private member more than once") : member instanceof WeakSet ? member.add(obj) : member.set(obj, value);
7
7
  var __privateSet = (obj, member, value, setter) => (__accessCheck(obj, member, "write to private field"), setter ? setter.call(obj, value) : member.set(obj, value), value);
8
8
  var __privateMethod = (obj, member, method) => (__accessCheck(obj, member, "access private method"), method);
9
- var _verbose, _Iota_instances, sendChunks_fn, handleBlocksProtocol_fn, log_fn;
9
+ var _verbose, _Iota_instances, internalGetVersion_fn, sendChunks_fn, handleBlocksProtocol_fn, log_fn;
10
10
  import sha256 from "fast-sha256";
11
11
  var LedgerToHost = /* @__PURE__ */ ((LedgerToHost2) => {
12
12
  LedgerToHost2[LedgerToHost2["RESULT_ACCUMULATING"] = 0] = "RESULT_ACCUMULATING";
@@ -65,40 +65,59 @@ class Iota {
65
65
  /**
66
66
  * Sign a transaction with the key at a BIP32 path.
67
67
  *
68
- * @param txn - The transaction; this can be any of a node Buffer, Uint8Array, or a hexadecimal string, encoding the form of the transaction appropriate for hashing and signing.
69
- * @param path - the path to use when signing the transaction.
68
+ * @param txn - The transaction bytes to sign.
69
+ * @param path - The path to use when signing the transaction.
70
+ * @param options - Additional options used for clear signing purposes.
70
71
  */
71
- async signTransaction(path, txn) {
72
+ async signTransaction(path, txn, options) {
72
73
  const cla = 0;
73
74
  const ins = 3;
74
75
  const p1 = 0;
75
76
  const p2 = 0;
76
77
  if (__privateGet(this, _verbose)) __privateMethod(this, _Iota_instances, log_fn).call(this, txn);
77
- const rawTxn = typeof txn == "string" ? Buffer.from(txn, "hex") : Buffer.from(txn);
78
+ const rawTxn = Buffer.from(txn);
78
79
  const hashSize = Buffer.alloc(4);
79
80
  hashSize.writeUInt32LE(rawTxn.length, 0);
81
+ const payloadTxn = Buffer.concat([hashSize, rawTxn]);
82
+ __privateMethod(this, _Iota_instances, log_fn).call(this, "Payload Txn", payloadTxn);
80
83
  const bip32KeyPayload = buildBip32KeyPayload(path);
81
- const payload_txn = Buffer.concat([hashSize, rawTxn]);
82
- __privateMethod(this, _Iota_instances, log_fn).call(this, "Payload Txn", payload_txn);
83
- const signature = await __privateMethod(this, _Iota_instances, sendChunks_fn).call(this, cla, ins, p1, p2, [payload_txn, bip32KeyPayload]);
84
- return {
85
- signature
86
- };
84
+ const payloads = [payloadTxn, bip32KeyPayload];
85
+ const { major } = await __privateMethod(this, _Iota_instances, internalGetVersion_fn).call(this);
86
+ const bcsObjects = options?.bcsObjects ?? [];
87
+ __privateMethod(this, _Iota_instances, log_fn).call(this, "Objects list length", bcsObjects.length);
88
+ __privateMethod(this, _Iota_instances, log_fn).call(this, "App version", major);
89
+ if (major > 0 && bcsObjects.length > 0) {
90
+ const numItems = Buffer.alloc(4);
91
+ numItems.writeUInt32LE(bcsObjects.length, 0);
92
+ let listData = Buffer.from(numItems);
93
+ for (const item of bcsObjects) {
94
+ const rawItem = Buffer.from(item);
95
+ const itemLen = Buffer.alloc(4);
96
+ itemLen.writeUInt32LE(rawItem.length, 0);
97
+ listData = Buffer.concat([listData, itemLen, rawItem]);
98
+ }
99
+ payloads.push(listData);
100
+ }
101
+ const signature = await __privateMethod(this, _Iota_instances, sendChunks_fn).call(this, cla, ins, p1, p2, payloads);
102
+ return { signature };
87
103
  }
88
104
  /**
89
105
  * Retrieve the app version on the attached Ledger device.
90
106
  */
91
107
  async getVersion() {
92
- const [major, minor, patch] = await __privateMethod(this, _Iota_instances, sendChunks_fn).call(this, 0, 0, 0, 0, Buffer.alloc(1));
93
- return {
94
- major,
95
- minor,
96
- patch
97
- };
108
+ return await __privateMethod(this, _Iota_instances, internalGetVersion_fn).call(this);
98
109
  }
99
110
  }
100
111
  _verbose = new WeakMap();
101
112
  _Iota_instances = new WeakSet();
113
+ internalGetVersion_fn = async function() {
114
+ const [major, minor, patch] = await __privateMethod(this, _Iota_instances, sendChunks_fn).call(this, 0, 0, 0, 0, Buffer.alloc(1));
115
+ return {
116
+ major,
117
+ minor,
118
+ patch
119
+ };
120
+ };
102
121
  sendChunks_fn = async function(cla, ins, p1, p2, payload, extraData = /* @__PURE__ */ new Map()) {
103
122
  const chunkSize = 180;
104
123
  if (!(payload instanceof Array)) {
@@ -126,7 +145,11 @@ sendChunks_fn = async function(cla, ins, p1, p2, payload, extraData = /* @__PURE
126
145
  lastHash = Buffer.alloc(32);
127
146
  }
128
147
  __privateMethod(this, _Iota_instances, log_fn).call(this, data);
129
- return await __privateMethod(this, _Iota_instances, handleBlocksProtocol_fn).call(this, cla, ins, p1, p2, Buffer.concat([Buffer.from([0 /* START */])].concat(parameterList)), data);
148
+ return await __privateMethod(this, _Iota_instances, handleBlocksProtocol_fn).call(this, cla, ins, p1, p2, Buffer.concat(
149
+ [Buffer.from([0 /* START */])].concat(
150
+ parameterList
151
+ )
152
+ ), data);
130
153
  };
131
154
  handleBlocksProtocol_fn = async function(cla, ins, p1, p2, initialPayload, data) {
132
155
  let payload = initialPayload;
@@ -161,7 +184,10 @@ handleBlocksProtocol_fn = async function(cla, ins, p1, p2, initialPayload, data)
161
184
  }
162
185
  break;
163
186
  case 3 /* PUT_CHUNK */:
164
- data.set(Buffer.from(sha256(rv_payload)).toString("hex"), rv_payload);
187
+ data.set(
188
+ Buffer.from(sha256(rv_payload)).toString("hex"),
189
+ rv_payload
190
+ );
165
191
  payload = Buffer.from([3 /* PUT_CHUNK_RESPONSE */]);
166
192
  break;
167
193
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/Iota.ts"],
4
- "sourcesContent": ["// Copyright (c) Mysten Labs, Inc.\n// Modifications Copyright (c) 2024 IOTA Stiftung\n// SPDX-License-Identifier: Apache-2.0\n/* eslint-disable no-restricted-globals */\n\nimport type Transport from '@ledgerhq/hw-transport';\nimport sha256 from 'fast-sha256';\n\nexport type GetPublicKeyResult = {\n publicKey: Uint8Array;\n address: Uint8Array;\n};\n\nexport type SignTransactionResult = {\n signature: Uint8Array;\n};\n\nexport type GetVersionResult = {\n major: number;\n minor: number;\n patch: number;\n};\n\nenum LedgerToHost {\n RESULT_ACCUMULATING = 0,\n RESULT_FINAL = 1,\n GET_CHUNK = 2,\n PUT_CHUNK = 3,\n}\n\nenum HostToLedger {\n START = 0,\n GET_CHUNK_RESPONSE_SUCCESS = 1,\n GET_CHUNK_RESPONSE_FAILURE = 2,\n PUT_CHUNK_RESPONSE = 3,\n RESULT_ACCUMULATING_RESPONSE = 4,\n}\n\n/**\n * Iota API\n *\n * @example\n * import Iota from \"@iota/ledgerjs-hw-app-iota\";\n * const iota = new Iota(transport)\n */\nexport default class Iota {\n transport: Transport;\n readonly #verbose: boolean;\n\n constructor(transport: Transport, scrambleKey = 'default_iota_scramble_key', verbose = false) {\n this.#verbose = verbose;\n this.transport = transport;\n this.transport.decorateAppAPIMethods(\n this,\n ['getPublicKey', 'signTransaction', 'getVersion'],\n scrambleKey,\n );\n }\n\n /**\n * Retrieves the public key associated with a particular BIP32 path from the Ledger app.\n *\n * @param path - the path to retrieve.\n * @param displayOnDevice - whether or not the address should be displayed on the device.\n *\n */\n async getPublicKey(path: string, displayOnDevice = false): Promise<GetPublicKeyResult> {\n const cla = 0x00;\n const ins = displayOnDevice ? 0x01 : 0x02;\n const p1 = 0;\n const p2 = 0;\n const payload = buildBip32KeyPayload(path);\n const response = await this.#sendChunks(cla, ins, p1, p2, payload);\n const keySize = response[0];\n const publicKey = response.slice(1, keySize + 1); // slice uses end index.\n let address: Uint8Array | null = null;\n if (response.length > keySize + 2) {\n const addressSize = response[keySize + 1];\n address = response.slice(keySize + 2, keySize + 2 + addressSize);\n }\n const res: GetPublicKeyResult = {\n publicKey: publicKey,\n address: address!,\n };\n return res;\n }\n\n /**\n * Sign a transaction with the key at a BIP32 path.\n *\n * @param txn - The transaction; this can be any of a node Buffer, Uint8Array, or a hexadecimal string, encoding the form of the transaction appropriate for hashing and signing.\n * @param path - the path to use when signing the transaction.\n */\n async signTransaction(\n path: string,\n txn: string | Buffer | Uint8Array,\n ): Promise<SignTransactionResult> {\n const cla = 0x00;\n const ins = 0x03;\n const p1 = 0;\n const p2 = 0;\n // Transaction payload is the byte length as uint32le followed by the bytes\n // Type guard not actually required but TypeScript can't tell that.\n if (this.#verbose) this.#log(txn);\n const rawTxn = typeof txn == 'string' ? Buffer.from(txn, 'hex') : Buffer.from(txn);\n const hashSize = Buffer.alloc(4);\n hashSize.writeUInt32LE(rawTxn.length, 0);\n // Bip32key payload same as getPublicKey\n const bip32KeyPayload = buildBip32KeyPayload(path);\n // These are just squashed together\n const payload_txn = Buffer.concat([hashSize, rawTxn]);\n this.#log('Payload Txn', payload_txn);\n // TODO batch this since the payload length can be uint32le.max long\n const signature = await this.#sendChunks(cla, ins, p1, p2, [payload_txn, bip32KeyPayload]);\n return {\n signature,\n };\n }\n\n /**\n * Retrieve the app version on the attached Ledger device.\n */\n async getVersion(): Promise<GetVersionResult> {\n const [major, minor, patch] = await this.#sendChunks(\n 0x00,\n 0x00,\n 0x00,\n 0x00,\n Buffer.alloc(1),\n );\n return {\n major,\n minor,\n patch,\n };\n }\n\n /**\n * Convert a raw payload into what is essentially a singly-linked list of chunks, which\n * allows the ledger to re-seek the data in a secure fashion.\n */\n async #sendChunks(\n cla: number,\n ins: number,\n p1: number,\n p2: number,\n payload: Buffer | Buffer[],\n // Constant (protocol dependent) data that the ledger may want to refer to\n // besides the payload.\n extraData: Map<String, Buffer> = new Map<String, Buffer>(),\n ): Promise<Buffer> {\n const chunkSize = 180;\n if (!(payload instanceof Array)) {\n payload = [payload];\n }\n const parameterList: Buffer[] = [];\n let data = new Map<String, Buffer>(extraData);\n for (let j = 0; j < payload.length; j++) {\n const chunkList: Buffer[] = [];\n for (let i = 0; i < payload[j].length; i += chunkSize) {\n const cur = payload[j].slice(i, i + chunkSize);\n chunkList.push(cur);\n }\n // Store the hash that points to the \"rest of the list of chunks\"\n let lastHash = Buffer.alloc(32);\n this.#log(lastHash);\n // Since we are doing a foldr, we process the last chunk first\n // We have to do it this way, because a block knows the hash of\n // the next block.\n data = chunkList.reduceRight((blocks, chunk) => {\n const linkedChunk = Buffer.concat([lastHash, chunk]);\n this.#log('Chunk: ', chunk);\n this.#log('linkedChunk: ', linkedChunk);\n lastHash = Buffer.from(sha256(linkedChunk));\n blocks.set(lastHash.toString('hex'), linkedChunk);\n return blocks;\n }, data);\n parameterList.push(lastHash);\n lastHash = Buffer.alloc(32);\n }\n this.#log(data);\n return await this.#handleBlocksProtocol(\n cla,\n ins,\n p1,\n p2,\n Buffer.concat([Buffer.from([HostToLedger.START])].concat(parameterList)),\n data,\n );\n }\n\n async #handleBlocksProtocol(\n cla: number,\n ins: number,\n p1: number,\n p2: number,\n initialPayload: Buffer,\n data: Map<String, Buffer>,\n ): Promise<Buffer> {\n let payload = initialPayload;\n let result = Buffer.alloc(0);\n let rv_instruction;\n do {\n this.#log('Sending payload to ledger: ', payload.toString('hex'));\n const rv = await this.transport.send(cla, ins, p1, p2, payload);\n this.#log('Received response: ', rv);\n rv_instruction = rv[0];\n const rv_payload = rv.slice(1, rv.length - 2); // Last two bytes are a return code.\n if (!(rv_instruction in LedgerToHost)) {\n throw new TypeError('Unknown instruction returned from ledger');\n }\n switch (rv_instruction) {\n case LedgerToHost.RESULT_ACCUMULATING:\n case LedgerToHost.RESULT_FINAL:\n result = Buffer.concat([result, rv_payload]);\n // Won't actually send this if we drop out of the loop for RESULT_FINAL\n payload = Buffer.from([HostToLedger.RESULT_ACCUMULATING_RESPONSE]);\n break;\n case LedgerToHost.GET_CHUNK:\n const chunk = data.get(rv_payload.toString('hex'));\n this.#log('Getting block ', rv_payload);\n this.#log('Found block ', chunk);\n if (chunk) {\n payload = Buffer.concat([\n Buffer.from([HostToLedger.GET_CHUNK_RESPONSE_SUCCESS]),\n chunk,\n ]);\n } else {\n payload = Buffer.from([HostToLedger.GET_CHUNK_RESPONSE_FAILURE]);\n }\n break;\n case LedgerToHost.PUT_CHUNK:\n data.set(Buffer.from(sha256(rv_payload)).toString('hex'), rv_payload);\n payload = Buffer.from([HostToLedger.PUT_CHUNK_RESPONSE]);\n break;\n }\n } while (rv_instruction !== LedgerToHost.RESULT_FINAL);\n return result;\n }\n\n #log(...args: any[]) {\n if (this.#verbose) console.log(args);\n }\n}\n\nfunction buildBip32KeyPayload(path: string): Buffer {\n const paths = splitPath(path);\n // Bip32Key payload is:\n // 1 byte with number of elements in u32 array path\n // Followed by the u32 array itself\n const payload = Buffer.alloc(1 + paths.length * 4);\n payload[0] = paths.length;\n paths.forEach((element, index) => {\n payload.writeUInt32LE(element, 1 + 4 * index);\n });\n return payload;\n}\n\n// TODO use bip32-path library\nfunction splitPath(path: string): number[] {\n const result: number[] = [];\n const components = path.split('/');\n components.forEach((element) => {\n let number = parseInt(element, 10);\n\n if (isNaN(number)) {\n return; // FIXME shouldn't it throws instead?\n }\n\n if (element.length > 1 && element[element.length - 1] === \"'\") {\n number += 0x80000000;\n }\n\n result.push(number);\n });\n return result;\n}\n"],
5
- "mappings": ";;;;;;;;AAAA;AAMA,OAAO,YAAY;AAiBnB,IAAK,eAAL,kBAAKA,kBAAL;AACI,EAAAA,4BAAA,yBAAsB,KAAtB;AACA,EAAAA,4BAAA,kBAAe,KAAf;AACA,EAAAA,4BAAA,eAAY,KAAZ;AACA,EAAAA,4BAAA,eAAY,KAAZ;AAJC,SAAAA;AAAA,GAAA;AAOL,IAAK,eAAL,kBAAKC,kBAAL;AACI,EAAAA,4BAAA,WAAQ,KAAR;AACA,EAAAA,4BAAA,gCAA6B,KAA7B;AACA,EAAAA,4BAAA,gCAA6B,KAA7B;AACA,EAAAA,4BAAA,wBAAqB,KAArB;AACA,EAAAA,4BAAA,kCAA+B,KAA/B;AALC,SAAAA;AAAA,GAAA;AAeL,MAAO,KAAmB;AAAA,EAItB,YAAY,WAAsB,cAAc,6BAA6B,UAAU,OAAO;AAJlG;AAEI,uBAAS;AAGL,uBAAK,UAAW;AAChB,SAAK,YAAY;AACjB,SAAK,UAAU;AAAA,MACX;AAAA,MACA,CAAC,gBAAgB,mBAAmB,YAAY;AAAA,MAChD;AAAA,IACJ;AAAA,EACJ;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EASA,MAAM,aAAa,MAAc,kBAAkB,OAAoC;AACnF,UAAM,MAAM;AACZ,UAAM,MAAM,kBAAkB,IAAO;AACrC,UAAM,KAAK;AACX,UAAM,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AAC,IAAI,MAAM;AACnB,QAAM,QAAQ,CAAC,SAAS,UAAU;AAC9B,YAAQ,cAAc,SAAS,IAAI,IAAI,KAAK;AAAA,EAChD,CAAC;AACD,SAAO;AACX;AAGA,SAAS,UAAU,MAAwB;AACvC,QAAM,SAAmB,CAAC;AAC1B,QAAM,aAAa,KAAK,MAAM,GAAG;AACjC,aAAW,QAAQ,CAAC,YAAY;AAC5B,QAAI,SAAS,SAAS,SAAS,EAAE;AAEjC,QAAI,MAAM,MAAM,GAAG;AACf;AAAA,IACJ;AAEA,QAAI,QAAQ,SAAS,KAAK,QAAQ,QAAQ,SAAS,CAAC,MAAM,KAAK;AAC3D,gBAAU;AAAA,IACd;AAEA,WAAO,KAAK,MAAM;AAAA,EACtB,CAAC;AACD,SAAO;AACX;",
4
+ "sourcesContent": ["// Copyright (c) Mysten Labs, Inc.\n// Modifications Copyright (c) 2024 IOTA Stiftung\n// SPDX-License-Identifier: Apache-2.0\n\n/* eslint-disable no-restricted-globals */\n\nimport type Transport from '@ledgerhq/hw-transport';\nimport sha256 from 'fast-sha256';\n\nexport type GetPublicKeyResult = {\n publicKey: Uint8Array;\n address: Uint8Array;\n};\n\nexport type SignTransactionResult = {\n signature: Uint8Array;\n};\n\nexport type GetVersionResult = {\n major: number;\n minor: number;\n patch: number;\n};\n\nenum LedgerToHost {\n RESULT_ACCUMULATING = 0,\n RESULT_FINAL = 1,\n GET_CHUNK = 2,\n PUT_CHUNK = 3,\n}\n\nenum HostToLedger {\n START = 0,\n GET_CHUNK_RESPONSE_SUCCESS = 1,\n GET_CHUNK_RESPONSE_FAILURE = 2,\n PUT_CHUNK_RESPONSE = 3,\n RESULT_ACCUMULATING_RESPONSE = 4,\n}\n\n/**\n * Iota API\n *\n * @example\n * import Iota from \"@iota/ledgerjs-hw-app-iota\";\n * const iota = new Iota(transport)\n */\nexport default class Iota {\n transport: Transport;\n readonly #verbose: boolean;\n\n constructor(transport: Transport, scrambleKey = 'default_iota_scramble_key', verbose = false) {\n this.#verbose = verbose;\n this.transport = transport;\n this.transport.decorateAppAPIMethods(\n this,\n ['getPublicKey', 'signTransaction', 'getVersion'],\n scrambleKey,\n );\n }\n\n /**\n * Retrieves the public key associated with a particular BIP32 path from the Ledger app.\n *\n * @param path - the path to retrieve.\n * @param displayOnDevice - whether or not the address should be displayed on the device.\n *\n */\n async getPublicKey(path: string, displayOnDevice = false): Promise<GetPublicKeyResult> {\n const cla = 0x00;\n const ins = displayOnDevice ? 0x01 : 0x02;\n const p1 = 0;\n const p2 = 0;\n const payload = buildBip32KeyPayload(path);\n const response = await this.#sendChunks(cla, ins, p1, p2, payload);\n const keySize = response[0];\n\n const publicKey = response.slice(1, keySize + 1); // slice uses end index.\n let address: Uint8Array | null = null;\n if (response.length > keySize + 2) {\n const addressSize = response[keySize + 1];\n address = response.slice(keySize + 2, keySize + 2 + addressSize) as Uint8Array;\n }\n const res: GetPublicKeyResult = {\n publicKey: publicKey as Uint8Array,\n address: address!,\n };\n return res;\n }\n\n /**\n * Sign a transaction with the key at a BIP32 path.\n *\n * @param txn - The transaction bytes to sign.\n * @param path - The path to use when signing the transaction.\n * @param options - Additional options used for clear signing purposes.\n */\n async signTransaction(\n path: string,\n txn: Uint8Array,\n options?: {\n bcsObjects: Uint8Array[];\n },\n ): Promise<SignTransactionResult> {\n const cla = 0x00;\n const ins = 0x03;\n const p1 = 0;\n const p2 = 0;\n\n if (this.#verbose) this.#log(txn);\n\n // Transaction payload is the byte length as uint32le followed by the bytes\n const rawTxn = Buffer.from(txn);\n const hashSize = Buffer.alloc(4);\n hashSize.writeUInt32LE(rawTxn.length, 0);\n\n // Build transaction payload:\n const payloadTxn = Buffer.concat([hashSize, rawTxn] as Uint8Array[]);\n this.#log('Payload Txn', payloadTxn);\n\n const bip32KeyPayload = buildBip32KeyPayload(path);\n const payloads = [payloadTxn, bip32KeyPayload];\n\n // The public getVersion is decorated with a lock in the constructor:\n const { major } = await this.#internalGetVersion();\n const bcsObjects = options?.bcsObjects ?? [];\n\n this.#log('Objects list length', bcsObjects.length);\n this.#log('App version', major);\n\n if (major > 0 && bcsObjects.length > 0) {\n // Build object list payload:\n const numItems = Buffer.alloc(4);\n numItems.writeUInt32LE(bcsObjects.length, 0);\n\n let listData = Buffer.from(numItems as Uint8Array);\n\n // Add each item with its length prefix:\n for (const item of bcsObjects) {\n const rawItem = Buffer.from(item);\n const itemLen = Buffer.alloc(4);\n itemLen.writeUInt32LE(rawItem.length, 0);\n\n listData = Buffer.concat([listData, itemLen, rawItem] as Uint8Array[]);\n }\n\n payloads.push(listData);\n }\n\n // Send the chunks and return the signature\n const signature = await this.#sendChunks(cla, ins, p1, p2, payloads);\n return { signature: signature as Uint8Array };\n }\n\n /**\n * Retrieve the app version on the attached Ledger device.\n */\n async getVersion(): Promise<GetVersionResult> {\n return await this.#internalGetVersion();\n }\n\n async #internalGetVersion() {\n const [major, minor, patch] = await this.#sendChunks(\n 0x00,\n 0x00,\n 0x00,\n 0x00,\n Buffer.alloc(1),\n );\n return {\n major,\n minor,\n patch,\n };\n }\n\n /**\n * Convert a raw payload into what is essentially a singly-linked list of chunks, which\n * allows the ledger to re-seek the data in a secure fashion.\n */\n async #sendChunks(\n cla: number,\n ins: number,\n p1: number,\n p2: number,\n payload: Buffer | Buffer[],\n // Constant (protocol dependent) data that the ledger may want to refer to\n // besides the payload.\n extraData: Map<String, Buffer> = new Map<String, Buffer>(),\n ): Promise<Buffer> {\n const chunkSize = 180;\n if (!(payload instanceof Array)) {\n payload = [payload];\n }\n const parameterList: Buffer[] = [];\n let data = new Map<String, Buffer>(extraData);\n for (let j = 0; j < payload.length; j++) {\n const chunkList: Buffer[] = [];\n for (let i = 0; i < payload[j].length; i += chunkSize) {\n const cur = payload[j].slice(i, i + chunkSize);\n chunkList.push(cur);\n }\n // Store the hash that points to the \"rest of the list of chunks\"\n let lastHash = Buffer.alloc(32);\n this.#log(lastHash);\n // Since we are doing a foldr, we process the last chunk first\n // We have to do it this way, because a block knows the hash of\n // the next block.\n data = chunkList.reduceRight((blocks, chunk) => {\n const linkedChunk = Buffer.concat([lastHash, chunk] as Uint8Array[]);\n this.#log('Chunk: ', chunk);\n this.#log('linkedChunk: ', linkedChunk);\n lastHash = Buffer.from(sha256(linkedChunk as Uint8Array));\n blocks.set(lastHash.toString('hex'), linkedChunk);\n return blocks;\n }, data);\n parameterList.push(lastHash);\n lastHash = Buffer.alloc(32);\n }\n this.#log(data);\n return await this.#handleBlocksProtocol(\n cla,\n ins,\n p1,\n p2,\n Buffer.concat(\n ([Buffer.from([HostToLedger.START])] as Uint8Array[]).concat(\n parameterList as Uint8Array[],\n ),\n ),\n data,\n );\n }\n\n async #handleBlocksProtocol(\n cla: number,\n ins: number,\n p1: number,\n p2: number,\n initialPayload: Buffer,\n data: Map<String, Buffer>,\n ): Promise<Buffer> {\n let payload = initialPayload;\n let result = Buffer.alloc(0);\n let rv_instruction;\n do {\n this.#log('Sending payload to ledger: ', payload.toString('hex'));\n const rv = await this.transport.send(cla, ins, p1, p2, payload);\n this.#log('Received response: ', rv);\n rv_instruction = rv[0];\n const rv_payload = rv.slice(1, rv.length - 2); // Last two bytes are a return code.\n if (!(rv_instruction in LedgerToHost)) {\n throw new TypeError('Unknown instruction returned from ledger');\n }\n switch (rv_instruction) {\n case LedgerToHost.RESULT_ACCUMULATING:\n case LedgerToHost.RESULT_FINAL:\n result = Buffer.concat([result, rv_payload] as Uint8Array[]);\n // Won't actually send this if we drop out of the loop for RESULT_FINAL\n payload = Buffer.from([HostToLedger.RESULT_ACCUMULATING_RESPONSE]);\n break;\n case LedgerToHost.GET_CHUNK:\n const chunk = data.get(rv_payload.toString('hex'));\n this.#log('Getting block ', rv_payload);\n this.#log('Found block ', chunk);\n if (chunk) {\n payload = Buffer.concat([\n Buffer.from([HostToLedger.GET_CHUNK_RESPONSE_SUCCESS]),\n chunk,\n ] as Uint8Array[]);\n } else {\n payload = Buffer.from([HostToLedger.GET_CHUNK_RESPONSE_FAILURE]);\n }\n break;\n case LedgerToHost.PUT_CHUNK:\n data.set(\n Buffer.from(sha256(rv_payload as Uint8Array)).toString('hex'),\n rv_payload,\n );\n payload = Buffer.from([HostToLedger.PUT_CHUNK_RESPONSE]);\n break;\n }\n } while (rv_instruction !== LedgerToHost.RESULT_FINAL);\n return result;\n }\n\n #log(...args: any[]) {\n if (this.#verbose) console.log(args);\n }\n}\n\nfunction buildBip32KeyPayload(path: string): Buffer {\n const paths = splitPath(path);\n // Bip32Key payload is:\n // 1 byte with number of elements in u32 array path\n // Followed by the u32 array itself\n const payload = Buffer.alloc(1 + paths.length * 4);\n payload[0] = paths.length;\n paths.forEach((element, index) => {\n payload.writeUInt32LE(element, 1 + 4 * index);\n });\n return payload;\n}\n\n// TODO use bip32-path library\nfunction splitPath(path: string): number[] {\n const result: number[] = [];\n const components = path.split('/');\n components.forEach((element) => {\n let number = parseInt(element, 10);\n\n if (isNaN(number)) {\n return; // FIXME shouldn't it throws instead?\n }\n\n if (element.length > 1 && element[element.length - 1] === \"'\") {\n number += 0x80000000;\n }\n\n result.push(number);\n });\n return result;\n}\n"],
5
+ "mappings": ";;;;;;;;AAAA;AAOA,OAAO,YAAY;AAiBnB,IAAK,eAAL,kBAAKA,kBAAL;AACI,EAAAA,4BAAA,yBAAsB,KAAtB;AACA,EAAAA,4BAAA,kBAAe,KAAf;AACA,EAAAA,4BAAA,eAAY,KAAZ;AACA,EAAAA,4BAAA,eAAY,KAAZ;AAJC,SAAAA;AAAA,GAAA;AAOL,IAAK,eAAL,kBAAKC,kBAAL;AACI,EAAAA,4BAAA,WAAQ,KAAR;AACA,EAAAA,4BAAA,gCAA6B,KAA7B;AACA,EAAAA,4BAAA,gCAA6B,KAA7B;AACA,EAAAA,4BAAA,wBAAqB,KAArB;AACA,EAAAA,4BAAA,kCAA+B,KAA/B;AALC,SAAAA;AAAA,GAAA;AAeL,MAAO,KAAmB;AAAA,EAItB,YAAY,WAAsB,cAAc,6BAA6B,UAAU,OAAO;AAJlG;AAEI,uBAAS;AAGL,u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AAS,EAAE;AAEjC,QAAI,MAAM,MAAM,GAAG;AACf;AAAA,IACJ;AAEA,QAAI,QAAQ,SAAS,KAAK,QAAQ,QAAQ,SAAS,CAAC,MAAM,KAAK;AAC3D,gBAAU;AAAA,IACd;AAEA,WAAO,KAAK,MAAM;AAAA,EACtB,CAAC;AACD,SAAO;AACX;",
6
6
  "names": ["LedgerToHost", "HostToLedger"]
7
7
  }
@@ -1 +1 @@
1
- {"fileNames":["../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2015.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2016.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2017.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2018.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2019.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2020.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2021.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2022.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2023.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.esnext.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2015.core.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2016.intl.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2017.date.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2017.object.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2017.string.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2019.array.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2019.object.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2019.string.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2020.date.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2020.string.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2020.number.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2021.string.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2021.intl.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2022.array.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2022.error.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2022.intl.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2022.object.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2022.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2022.string.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2022.regexp.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2023.array.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2023.collection.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2023.intl.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.esnext.array.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.esnext.collection.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.esnext.intl.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.esnext.disposable.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.esnext.string.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.esnext.promise.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.esnext.decorators.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.esnext.object.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.esnext.regexp.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.esnext.iterator.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.decorators.legacy.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/assert.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/assert/strict.d.ts","../../../node_modules/.pnpm/buffer@6.0.3/node_modules/buffer/index.d.ts","../../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/header.d.ts","../../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/readable.d.ts","../../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/file.d.ts","../../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/fetch.d.ts","../../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/formdata.d.ts","../../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/connector.d.ts","../../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/client.d.ts","../../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/errors.d.ts","../../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/dispatcher.d.ts","../../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/global-dispatcher.d.ts","../../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/global-origin.d.ts","../../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/pool-stats.d.ts","../../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/pool.d.ts","../../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/handlers.d.ts","../../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/balanced-pool.d.ts","../../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/agent.d.ts","../../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/mock-interceptor.d.ts","../../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/mock-agent.d.ts","../../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/mock-client.d.ts","../../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/mock-pool.d.ts","../../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/mock-errors.d.ts","../../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/proxy-agent.d.ts","../../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/env-http-proxy-agent.d.ts","../../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/retry-handler.d.ts","../../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/retry-agent.d.ts","../../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/api.d.ts","../../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/interceptors.d.ts","../../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/util.d.ts","../../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/cookies.d.ts","../../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/patch.d.ts","../../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/websocket.d.ts","../../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/eventsource.d.ts","../../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/filereader.d.ts","../../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/diagnostics-channel.d.ts","../../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/content-type.d.ts","../../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/cache.d.ts","../../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/index.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/globals.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/async_hooks.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/buffer.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/child_process.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/cluster.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/console.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/constants.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/crypto.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/dgram.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/diagnostics_channel.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/dns.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/dns/promises.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/domain.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/dom-events.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/events.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/fs.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/fs/promises.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/http.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/http2.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/https.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/inspector.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/module.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/net.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/os.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/path.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/perf_hooks.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/process.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/punycode.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/querystring.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/readline.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/readline/promises.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/repl.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/sea.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/stream.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/stream/promises.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/stream/consumers.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/stream/web.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/string_decoder.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/test.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/timers.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/timers/promises.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/tls.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/trace_events.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/tty.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/url.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/util.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/v8.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/vm.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/wasi.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/worker_threads.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/zlib.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/globals.global.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/index.d.ts","../../../node_modules/.pnpm/@ledgerhq+devices@8.4.4/node_modules/@ledgerhq/devices/lib/index.d.ts","../../../node_modules/.pnpm/@ledgerhq+errors@6.19.1/node_modules/@ledgerhq/errors/lib/helpers.d.ts","../../../node_modules/.pnpm/@ledgerhq+errors@6.19.1/node_modules/@ledgerhq/errors/lib/index.d.ts","../../../node_modules/.pnpm/@ledgerhq+logs@6.12.0/node_modules/@ledgerhq/logs/lib/index.d.ts","../../../node_modules/.pnpm/@ledgerhq+hw-transport@6.31.4/node_modules/@ledgerhq/hw-transport/lib/Transport.d.ts","../../../node_modules/.pnpm/fast-sha256@1.3.0/node_modules/fast-sha256/sha256.d.ts","../src/Iota.ts"],"fileIdsList":[[168],[128,166,167,169,170],[74],[115],[116,121,150],[117,122,128,129,136,147,158],[117,118,128,136],[119,159],[120,121,129,137],[121,147,155],[122,124,128,136],[115,123],[124,125],[128],[126,128],[115,128],[128,129,130,147,158],[128,129,130,143,147,150],[113,163],[124,128,131,136,147,158],[128,129,131,132,136,147,155,158],[131,133,147,155,158],[74,75,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165],[128,134],[135,158,163],[124,128,136,147],[137],[138],[115,139],[74,75,115,116,117,118,119,120,121,122,123,124,125,126,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164],[141],[142],[128,143,144],[143,145,159,161],[116,128,147,148,149,150],[116,147,149],[147,148],[150],[151],[74,147],[128,153,154],[153,154],[121,136,147,155],[156],[136,157],[116,131,142,158],[121,159],[147,160],[135,161],[162],[116,121,128,130,139,147,158,161,163],[147,164],[85,89,158],[85,147,158],[80],[82,85,155,158],[136,155],[166],[80,166],[82,85,136,158],[77,78,81,84,116,128,147,158],[85,92],[77,83],[85,106,107],[81,85,116,150,158,166],[116,166],[106,116,166],[79,80,166],[85],[79,80,81,82,83,84,85,86,87,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,107,108,109,110,111,112],[85,100],[85,92,93],[83,85,93,94],[84],[77,80,85],[85,89,93,94],[89],[83,85,88,158],[77,82,85,92],[116,147],[80,85,106,116,163,166],[171,172]],"fileInfos":[{"version":"44e584d4f6444f58791784f1d530875970993129442a847597db702a073ca68c","affectsGlobalScope":true,"impliedFormat":1},{"version":"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","impliedFormat":1},{"version":"3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","impliedFormat":1},{"version":"9a68c0c07ae2fa71b44384a839b7b8d81662a236d4b9ac30916718f7510b1b2d","impliedFormat":1},{"version":"5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","impliedFormat":1},{"version":"68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","impliedFormat":1},{"version":"5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","impliedFormat":1},{"version":"feecb1be483ed332fad555aff858affd90a48ab19ba7272ee084704eb7167569","impliedFormat":1},{"version":"5514e54f17d6d74ecefedc73c504eadffdeda79c7ea205cf9febead32d45c4bc","impliedFormat":1},{"version":"27bdc30a0e32783366a5abeda841bc22757c1797de8681bbe81fbc735eeb1c10","impliedFormat":1},{"version":"abee51ebffafd50c07d76be5848a34abfe4d791b5745ef1e5648718722fab924","impliedFormat":1},{"version":"9e8ca8ed051c2697578c023d9c29d6df689a083561feba5c14aedee895853999","affectsGlobalScope":true,"impliedFormat":1},{"version":"6920e1448680767498a0b77c6a00a8e77d14d62c3da8967b171f1ddffa3c18e4","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true,"impliedFormat":1},{"version":"515d0b7b9bea2e31ea4ec968e9edd2c39d3eebf4a2d5cbd04e88639819ae3b71","affectsGlobalScope":true,"impliedFormat":1},{"version":"45d8ccb3dfd57355eb29749919142d4321a0aa4df6acdfc54e30433d7176600a","affectsGlobalScope":true,"impliedFormat":1},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true,"impliedFormat":1},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true,"impliedFormat":1},{"version":"93495ff27b8746f55d19fcbcdbaccc99fd95f19d057aed1bd2c0cafe1335fbf0","affectsGlobalScope":true,"impliedFormat":1},{"version":"6fc23bb8c3965964be8c597310a2878b53a0306edb71d4b5a4dfe760186bcc01","affectsGlobalScope":true,"impliedFormat":1},{"version":"ea011c76963fb15ef1cdd7ce6a6808b46322c527de2077b6cfdf23ae6f5f9ec7","affectsGlobalScope":true,"impliedFormat":1},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true,"impliedFormat":1},{"version":"69ab18c3b76cd9b1be3d188eaf8bba06112ebbe2f47f6c322b5105a6fbc45a2e","affectsGlobalScope":true,"impliedFormat":1},{"version":"4738f2420687fd85629c9efb470793bb753709c2379e5f85bc1815d875ceadcd","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true,"impliedFormat":1},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"9fc46429fbe091ac5ad2608c657201eb68b6f1b8341bd6d670047d32ed0a88fa","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac9538681b19688c8eae65811b329d3744af679e0bdfa5d842d0e32524c73e1c","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a969edff4bd52585473d24995c5ef223f6652d6ef46193309b3921d65dd4376","affectsGlobalScope":true,"impliedFormat":1},{"version":"9e9fbd7030c440b33d021da145d3232984c8bb7916f277e8ffd3dc2e3eae2bdb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true,"impliedFormat":1},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true,"impliedFormat":1},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true,"impliedFormat":1},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true,"impliedFormat":1},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true,"impliedFormat":1},{"version":"74f7fa2d027d5b33eb0471c8e82a6c87216223181ec31247c357a3e8e2fddc5b","affectsGlobalScope":true,"impliedFormat":1},{"version":"1a94697425a99354df73d9c8291e2ecd4dddd370aed4023c2d6dee6cccb32666","affectsGlobalScope":true,"impliedFormat":1},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true,"impliedFormat":1},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true,"impliedFormat":1},{"version":"bf14a426dbbf1022d11bd08d6b8e709a2e9d246f0c6c1032f3b2edb9a902adbe","affectsGlobalScope":true,"impliedFormat":1},{"version":"e3f9fc0ec0b96a9e642f11eda09c0be83a61c7b336977f8b9fdb1e9788e925fe","affectsGlobalScope":true,"impliedFormat":1},{"version":"59fb2c069260b4ba00b5643b907ef5d5341b167e7d1dbf58dfd895658bda2867","affectsGlobalScope":true,"impliedFormat":1},{"version":"479553e3779be7d4f68e9f40cdb82d038e5ef7592010100410723ceced22a0f7","affectsGlobalScope":true,"impliedFormat":1},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true,"impliedFormat":1},{"version":"af3dd424cf267428f30ccfc376f47a2c0114546b55c44d8c0f1d57d841e28d74","affectsGlobalScope":true,"impliedFormat":1},{"version":"995c005ab91a498455ea8dfb63aa9f83fa2ea793c3d8aa344be4a1678d06d399","affectsGlobalScope":true,"impliedFormat":1},{"version":"d3d7b04b45033f57351c8434f60b6be1ea71a2dfec2d0a0c3c83badbb0e3e693","affectsGlobalScope":true,"impliedFormat":1},{"version":"956d27abdea9652e8368ce029bb1e0b9174e9678a273529f426df4b3d90abd60","affectsGlobalScope":true,"impliedFormat":1},{"version":"4fa6ed14e98aa80b91f61b9805c653ee82af3502dc21c9da5268d3857772ca05","affectsGlobalScope":true,"impliedFormat":1},{"version":"e6633e05da3ff36e6da2ec170d0d03ccf33de50ca4dc6f5aeecb572cedd162fb","affectsGlobalScope":true,"impliedFormat":1},{"version":"15c1c3d7b2e46e0025417ed6d5f03f419e57e6751f87925ca19dc88297053fe6","affectsGlobalScope":true,"impliedFormat":1},{"version":"8444af78980e3b20b49324f4a16ba35024fef3ee069a0eb67616ea6ca821c47a","affectsGlobalScope":true,"impliedFormat":1},{"version":"caccc56c72713969e1cfe5c3d44e5bab151544d9d2b373d7dbe5a1e4166652be","affectsGlobalScope":true,"impliedFormat":1},{"version":"3287d9d085fbd618c3971944b65b4be57859f5415f495b33a6adc994edd2f004","affectsGlobalScope":true,"impliedFormat":1},{"version":"b4b67b1a91182421f5df999988c690f14d813b9850b40acd06ed44691f6727ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"9d540251809289a05349b70ab5f4b7b99f922af66ab3c39ba56a475dcf95d5ff","affectsGlobalScope":true,"impliedFormat":1},{"version":"436aaf437562f276ec2ddbee2f2cdedac7664c1e4c1d2c36839ddd582eeb3d0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e3c06ea092138bf9fa5e874a1fdbc9d54805d074bee1de31b99a11e2fec239d","affectsGlobalScope":true,"impliedFormat":1},{"version":"0b11f3ca66aa33124202c80b70cd203219c3d4460cfc165e0707aa9ec710fc53","affectsGlobalScope":true,"impliedFormat":1},{"version":"6a3f5a0129cc80cf439ab71164334d649b47059a4f5afca90282362407d0c87f","affectsGlobalScope":true,"impliedFormat":1},{"version":"811c71eee4aa0ac5f7adf713323a5c41b0cf6c4e17367a34fbce379e12bbf0a4","affectsGlobalScope":true,"impliedFormat":1},{"version":"51ad4c928303041605b4d7ae32e0c1ee387d43a24cd6f1ebf4a2699e1076d4fa","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a6282c8827e4b9a95f4bf4f5c205673ada31b982f50572d27103df8ceb8013c","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac77cb3e8c6d3565793eb90a8373ee8033146315a3dbead3bde8db5eaf5e5ec6","affectsGlobalScope":true,"impliedFormat":1},{"version":"d4b1d2c51d058fc21ec2629fff7a76249dec2e36e12960ea056e3ef89174080f","affectsGlobalScope":true,"impliedFormat":1},{"version":"2fef54945a13095fdb9b84f705f2b5994597640c46afeb2ce78352fab4cb3279","affectsGlobalScope":true,"impliedFormat":1},{"version":"56e4ed5aab5f5920980066a9409bfaf53e6d21d3f8d020c17e4de584d29600ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"61d6a2092f48af66dbfb220e31eea8b10bc02b6932d6e529005fd2d7b3281290","affectsGlobalScope":true,"impliedFormat":1},{"version":"33358442698bb565130f52ba79bfd3d4d484ac85fe33f3cb1759c54d18201393","affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true,"impliedFormat":1},{"version":"2db0dd3aaa2ed285950273ce96ae8a450b45423aa9da2d10e194570f1233fa6b","impliedFormat":1},{"version":"7394959e5a741b185456e1ef5d64599c36c60a323207450991e7a42e08911419","impliedFormat":1},{"version":"4967529644e391115ca5592184d4b63980569adf60ee685f968fd59ab1557188","impliedFormat":1},{"version":"5929864ce17fba74232584d90cb721a89b7ad277220627cc97054ba15a98ea8f","impliedFormat":1},{"version":"24bd580b5743dc56402c440dc7f9a4f5d592ad7a419f25414d37a7bfe11e342b","impliedFormat":1},{"version":"25c8056edf4314820382a5fdb4bb7816999acdcb929c8f75e3f39473b87e85bc","impliedFormat":1},{"version":"c464d66b20788266e5353b48dc4aa6bc0dc4a707276df1e7152ab0c9ae21fad8","impliedFormat":1},{"version":"78d0d27c130d35c60b5e5566c9f1e5be77caf39804636bc1a40133919a949f21","impliedFormat":1},{"version":"c6fd2c5a395f2432786c9cb8deb870b9b0e8ff7e22c029954fabdd692bff6195","impliedFormat":1},{"version":"1d6e127068ea8e104a912e42fc0a110e2aa5a66a356a917a163e8cf9a65e4a75","impliedFormat":1},{"version":"5ded6427296cdf3b9542de4471d2aa8d3983671d4cac0f4bf9c637208d1ced43","impliedFormat":1},{"version":"6bdc71028db658243775263e93a7db2fd2abfce3ca569c3cca5aee6ed5eb186d","impliedFormat":1},{"version":"cadc8aced301244057c4e7e73fbcae534b0f5b12a37b150d80e5a45aa4bebcbd","impliedFormat":1},{"version":"385aab901643aa54e1c36f5ef3107913b10d1b5bb8cbcd933d4263b80a0d7f20","impliedFormat":1},{"version":"9670d44354bab9d9982eca21945686b5c24a3f893db73c0dae0fd74217a4c219","impliedFormat":1},{"version":"0b8a9268adaf4da35e7fa830c8981cfa22adbbe5b3f6f5ab91f6658899e657a7","impliedFormat":1},{"version":"11396ed8a44c02ab9798b7dca436009f866e8dae3c9c25e8c1fbc396880bf1bb","impliedFormat":1},{"version":"ba7bc87d01492633cb5a0e5da8a4a42a1c86270e7b3d2dea5d156828a84e4882","impliedFormat":1},{"version":"4893a895ea92c85345017a04ed427cbd6a1710453338df26881a6019432febdd","impliedFormat":1},{"version":"c21dc52e277bcfc75fac0436ccb75c204f9e1b3fa5e12729670910639f27343e","impliedFormat":1},{"version":"13f6f39e12b1518c6650bbb220c8985999020fe0f21d818e28f512b7771d00f9","impliedFormat":1},{"version":"9b5369969f6e7175740bf51223112ff209f94ba43ecd3bb09eefff9fd675624a","impliedFormat":1},{"version":"4fe9e626e7164748e8769bbf74b538e09607f07ed17c2f20af8d680ee49fc1da","impliedFormat":1},{"version":"24515859bc0b836719105bb6cc3d68255042a9f02a6022b3187948b204946bd2","impliedFormat":1},{"version":"ea0148f897b45a76544ae179784c95af1bd6721b8610af9ffa467a518a086a43","impliedFormat":1},{"version":"24c6a117721e606c9984335f71711877293a9651e44f59f3d21c1ea0856f9cc9","impliedFormat":1},{"version":"dd3273ead9fbde62a72949c97dbec2247ea08e0c6952e701a483d74ef92d6a17","impliedFormat":1},{"version":"405822be75ad3e4d162e07439bac80c6bcc6dbae1929e179cf467ec0b9ee4e2e","impliedFormat":1},{"version":"0db18c6e78ea846316c012478888f33c11ffadab9efd1cc8bcc12daded7a60b6","impliedFormat":1},{"version":"4d2b0eb911816f66abe4970898f97a2cfc902bcd743cbfa5017fad79f7ef90d8","impliedFormat":1},{"version":"bd0532fd6556073727d28da0edfd1736417a3f9f394877b6d5ef6ad88fba1d1a","impliedFormat":1},{"version":"89167d696a849fce5ca508032aabfe901c0868f833a8625d5a9c6e861ef935d2","impliedFormat":1},{"version":"e53a3c2a9f624d90f24bf4588aacd223e7bec1b9d0d479b68d2f4a9e6011147f","impliedFormat":1},{"version":"24b8685c62562f5d98615c5a0c1d05f297cf5065f15246edfe99e81ec4c0e011","impliedFormat":1},{"version":"93507c745e8f29090efb99399c3f77bec07db17acd75634249dc92f961573387","impliedFormat":1},{"version":"339dc5265ee5ed92e536a93a04c4ebbc2128f45eeec6ed29f379e0085283542c","impliedFormat":1},{"version":"4732aec92b20fb28c5fe9ad99521fb59974289ed1e45aecb282616202184064f","impliedFormat":1},{"version":"2e85db9e6fd73cfa3d7f28e0ab6b55417ea18931423bd47b409a96e4a169e8e6","impliedFormat":1},{"version":"c46e079fe54c76f95c67fb89081b3e399da2c7d109e7dca8e4b58d83e332e605","impliedFormat":1},{"version":"bf67d53d168abc1298888693338cb82854bdb2e69ef83f8a0092093c2d562107","impliedFormat":1},{"version":"f1b470d3d219d67626631e2595976c1cfdfa17deabbf76c2fcdabefc5d5e8c51","affectsGlobalScope":true,"impliedFormat":1},{"version":"3d77c73be94570813f8cadd1f05ebc3dc5e2e4fdefe4d340ca20cd018724ee36","impliedFormat":1},{"version":"4323f5c688c35e5a17cb251d70ee2b279412c56a5f29c211b4ea84384d42d0be","affectsGlobalScope":true,"impliedFormat":1},{"version":"f3e58c4c18a031cbb17abec7a4ad0bd5ae9fc70c1f4ba1e7fb921ad87c504aca","impliedFormat":1},{"version":"a3e8bafb2af8e850c644f4be7f5156cf7d23b7bfdc3b786bd4d10ed40329649c","impliedFormat":1},{"version":"35ec8b6760fd7138bbf5809b84551e31028fb2ba7b6dc91d95d098bf212ca8b4","affectsGlobalScope":true,"impliedFormat":1},{"version":"a40826e8476694e90da94aa008283a7de50d1dafd37beada623863f1901cb7fb","impliedFormat":1},{"version":"c521f961c1606c94dc831992e659f426b6def6e2e6e327ee25d3c642eb393f95","affectsGlobalScope":true,"impliedFormat":1},{"version":"b0c0d1d13be149f790a75b381b413490f98558649428bb916fd2d71a3f47a134","impliedFormat":1},{"version":"3c884d9d9ec454bdf0d5a0b8465bf8297d2caa4d853851d92cc417ac6f30b969","impliedFormat":1},{"version":"5a369483ac4cfbdf0331c248deeb36140e6907db5e1daed241546b4a2055f82c","impliedFormat":1},{"version":"e8f5b5cc36615c17d330eaf8eebbc0d6bdd942c25991f96ef122f246f4ff722f","impliedFormat":1},{"version":"f0bd7e6d931657b59605c44112eaf8b980ba7f957a5051ed21cb93d978cf2f45","impliedFormat":1},{"version":"ee1ee365d88c4c6c0c0a5a5701d66ebc27ccd0bcfcfaa482c6e2e7fe7b98edf7","affectsGlobalScope":true,"impliedFormat":1},{"version":"9a30b7fefd7f8abbca4828d481c61c18e40fe5ff107e113b1c1fcd2c8dcf2743","affectsGlobalScope":true,"impliedFormat":1},{"version":"596572d40c1f13d8b57920d6d1a77c5ec6fe4952dc157f416f04a801cd3e2678","impliedFormat":1},{"version":"ad23fd126ff06e72728dd7bfc84326a8ca8cec2b9d2dac0193d42a777df0e7d8","impliedFormat":1},{"version":"a55fd4d49da86d2cc19de575beb1515184e55f5f3165e1482ff02fd99f900b5c","impliedFormat":1},{"version":"93bd413918fa921c8729cef45302b24d8b6c7855d72d5bf82d3972595ae8dcbf","impliedFormat":1},{"version":"4ff41188773cbf465807dd2f7059c7494cbee5115608efc297383832a1150c43","impliedFormat":1},{"version":"dccdf1677e531e33f8ac961a68bc537418c9a414797c1ea7e91307501cdc3f5e","impliedFormat":1},{"version":"7edec695cdb707c7146ac34c44ca364469c7ea504344b3206c686e79f61b61a2","affectsGlobalScope":true,"impliedFormat":1},{"version":"aba8aefa29914f531f49ba6b34212f7861022ad0b67a28c63a1d78264a8b1910","impliedFormat":1},{"version":"93f437e1398a4f06a984f441f7fa7a9f0535c04399619b5c22e0b87bdee182cb","impliedFormat":1},{"version":"d1b1295af3667779be43eb6d4fbaa342e656aa2c4b77a4ad3cf42ec55baeea00","impliedFormat":1},{"version":"70731d10d5311bd4cf710ef7f6539b62660f4b0bfdbb3f9fbe1d25fe6366a7fa","affectsGlobalScope":true,"impliedFormat":1},{"version":"a20f1e119615bf7632729fd89b6c0b5ffdc2df3b512d6304146294528e3ebe19","affectsGlobalScope":true,"impliedFormat":1},{"version":"9e043a1bc8fbf2a255bccf9bf27e0f1caf916c3b0518ea34aa72357c0afd42ec","impliedFormat":1},{"version":"137c2894e8f3e9672d401cc0a305dc7b1db7c69511cf6d3970fb53302f9eae09","impliedFormat":1},{"version":"dd9492e12a57068f08d70cb5eb5ceb39fa5bcf23be01af574270aeee95b982af","impliedFormat":1},{"version":"e432b0e3761ca9ba734bdd41e19a75fec1454ca8e9769bfdf8b31011854cf06a","impliedFormat":1},{"version":"f9d9d753d430ed050dc1bf2667a1bab711ccbb1c1507183d794cc195a5b085cc","impliedFormat":1},{"version":"9eece5e586312581ccd106d4853e861aaaa1a39f8e3ea672b8c3847eedd12f6e","impliedFormat":1},{"version":"78955c9259da94920609be3e589fc9253268b3fffa822e1e31d28ee2ce0b8a74","impliedFormat":1},{"version":"269929a24b2816343a178008ac9ae9248304d92a8ba8e233055e0ed6dbe6ef71","impliedFormat":1},{"version":"93452d394fdd1dc551ec62f5042366f011a00d342d36d50793b3529bfc9bd633","impliedFormat":1},{"version":"73aa178e8fb1449ef3666093d8dca25f96302a80ee45f8ff027df8e4792bf9fd","affectsGlobalScope":true,"impliedFormat":1},{"version":"1851a3b4db78664f83901bb9cac9e45e03a37bb5933cc5bf37e10bb7e91ab4eb","impliedFormat":1},{"version":"fdedf82878e4c744bc2a1c1e802ae407d63474da51f14a54babe039018e53d8f","affectsGlobalScope":true,"impliedFormat":1},{"version":"08353b04a3501d84fc8d7b49de99f6c1cc26026e6d9d697a18315f3bfe92ed03","affectsGlobalScope":true,"impliedFormat":1},{"version":"578d8bb6dcb2a1c03c4c3f8eb71abc9677e1a5c788b7f24848e3138ce17f3400","impliedFormat":1},{"version":"4f029899f9bae07e225c43aef893590541b2b43267383bf5e32e3a884d219ed5","impliedFormat":1},{"version":"ae56f65caf3be91108707bd8dfbccc2a57a91feb5daabf7165a06a945545ed26","impliedFormat":1},{"version":"a136d5de521da20f31631a0a96bf712370779d1c05b7015d7019a9b2a0446ca9","impliedFormat":1},{"version":"710ad93f8de29dc15e5892aa735e72348b62f40a6d1220f2849837d332f92885","affectsGlobalScope":true,"impliedFormat":1},{"version":"1f1da5d682cdb628890e4a8578fb9e8ab332e6a1a4b3a13fce08b7b4d45d192a","affectsGlobalScope":true,"impliedFormat":1},{"version":"efeedd8bbc5c0d53e760d8b120a010470722982e6ae14de8d1bcff66ebc2ae71","impliedFormat":1},{"version":"b718a94332858862943630649a310d6f8e9a09f86ae7215d8554e75bbbfd7817","impliedFormat":1},{"version":"d91a7d8b5655c42986f1bdfe2105c4408f472831c8f20cf11a8c3345b6b56c8c","impliedFormat":1},{"version":"616075a6ac578cf5a013ee12964188b4412823796ce0b202c6f1d2e4ca8480d7","affectsGlobalScope":true,"impliedFormat":1},{"version":"e8a979b8af001c9fc2e774e7809d233c8ca955a28756f52ee5dee88ccb0611d2","impliedFormat":1},{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true,"impliedFormat":1},{"version":"a42be67ed1ddaec743582f41fc219db96a1b69719fccac6d1464321178d610fc","impliedFormat":1},{"version":"33c87b17649b459b59153536eb1abb9b10d1c156bf2268af093f5a82ccd5472f","impliedFormat":1},{"version":"27f63388dc6a57fbaa695d0f94cd22297c05ccbc28ba2ec66f2eda7acc369cfd","impliedFormat":1},{"version":"fc6644d3d2013e50a6bdb0785a5c219d40b1975970467c2a1d38186a3dca975c","impliedFormat":1},{"version":"579c59e9af9a5f44d7b43e16ac19aa0ffa54595906d92ee27f6e9476defb8d1b","affectsGlobalScope":true,"impliedFormat":1},{"version":"f860395fe7f42570df392b3f7fcb0bf4adca90efca39c44c35058c37f65459ce","impliedFormat":1},{"version":"4c754320a6ff1e7ab0214c7ce852d236f33ed7b8540d611094f1ba663bfd1ef1","impliedFormat":1},{"version":"425a2ad6e6021e83b050ecc09d06630d3259102cba89e1d1251f435b6c95c5dd","signature":"001c9f526b627a4f074d8c56fc27be4bb172e37e7c70716dedc687dc98fe6730"}],"root":[173],"options":{"composite":true,"declaration":true,"emitDeclarationOnly":true,"esModuleInterop":true,"jsx":2,"module":99,"noFallthroughCasesInSwitch":true,"noImplicitReturns":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./esm","rootDir":"../src","skipLibCheck":true,"sourceMap":true,"strict":true,"target":7},"referencedMap":[[169,1],[171,2],[74,3],[75,3],[115,4],[116,5],[117,6],[118,7],[119,8],[120,9],[121,10],[122,11],[123,12],[124,13],[125,13],[127,14],[126,15],[128,16],[129,17],[130,18],[114,19],[131,20],[132,21],[133,22],[166,23],[134,24],[135,25],[136,26],[137,27],[138,28],[139,29],[140,30],[141,31],[142,32],[143,33],[144,33],[145,34],[147,35],[149,36],[148,37],[150,38],[151,39],[152,40],[153,41],[154,42],[155,43],[156,44],[157,45],[158,46],[159,47],[160,48],[161,49],[162,50],[163,51],[164,52],[92,53],[102,54],[91,53],[112,55],[83,56],[82,57],[111,58],[105,59],[110,60],[85,61],[99,62],[84,63],[108,64],[80,65],[79,66],[109,67],[81,68],[86,69],[90,69],[113,70],[103,71],[94,72],[95,73],[97,74],[93,75],[96,76],[106,58],[88,77],[89,78],[98,79],[78,80],[101,71],[100,69],[107,81],[173,82]],"latestChangedDtsFile":"./esm/Iota.d.ts","version":"5.6.2"}
1
+ {"fileNames":["../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2015.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2016.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2017.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2018.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2019.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2020.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2021.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2022.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2023.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.esnext.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2015.core.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2016.intl.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2017.date.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2017.object.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2017.string.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2019.array.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2019.object.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2019.string.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2020.date.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2020.string.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2020.number.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2021.string.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2021.intl.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2022.array.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2022.error.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2022.intl.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2022.object.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2022.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2022.string.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2022.regexp.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2023.array.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2023.collection.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2023.intl.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.esnext.array.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.esnext.collection.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.esnext.intl.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.esnext.disposable.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.esnext.string.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.esnext.promise.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.esnext.decorators.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.esnext.object.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.esnext.regexp.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.esnext.iterator.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.decorators.legacy.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/assert.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/assert/strict.d.ts","../../../node_modules/.pnpm/buffer@6.0.3/node_modules/buffer/index.d.ts","../../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/header.d.ts","../../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/readable.d.ts","../../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/file.d.ts","../../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/fetch.d.ts","../../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/formdata.d.ts","../../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/connector.d.ts","../../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/client.d.ts","../../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/errors.d.ts","../../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/dispatcher.d.ts","../../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/global-dispatcher.d.ts","../../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/global-origin.d.ts","../../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/pool-stats.d.ts","../../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/pool.d.ts","../../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/handlers.d.ts","../../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/balanced-pool.d.ts","../../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/agent.d.ts","../../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/mock-interceptor.d.ts","../../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/mock-agent.d.ts","../../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/mock-client.d.ts","../../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/mock-pool.d.ts","../../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/mock-errors.d.ts","../../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/proxy-agent.d.ts","../../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/env-http-proxy-agent.d.ts","../../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/retry-handler.d.ts","../../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/retry-agent.d.ts","../../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/api.d.ts","../../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/interceptors.d.ts","../../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/util.d.ts","../../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/cookies.d.ts","../../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/patch.d.ts","../../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/websocket.d.ts","../../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/eventsource.d.ts","../../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/filereader.d.ts","../../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/diagnostics-channel.d.ts","../../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/content-type.d.ts","../../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/cache.d.ts","../../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/index.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/globals.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/async_hooks.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/buffer.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/child_process.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/cluster.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/console.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/constants.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/crypto.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/dgram.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/diagnostics_channel.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/dns.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/dns/promises.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/domain.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/dom-events.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/events.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/fs.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/fs/promises.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/http.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/http2.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/https.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/inspector.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/module.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/net.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/os.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/path.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/perf_hooks.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/process.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/punycode.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/querystring.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/readline.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/readline/promises.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/repl.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/sea.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/stream.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/stream/promises.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/stream/consumers.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/stream/web.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/string_decoder.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/test.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/timers.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/timers/promises.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/tls.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/trace_events.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/tty.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/url.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/util.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/v8.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/vm.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/wasi.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/worker_threads.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/zlib.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/globals.global.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/index.d.ts","../../../node_modules/.pnpm/@ledgerhq+devices@8.4.4/node_modules/@ledgerhq/devices/lib/index.d.ts","../../../node_modules/.pnpm/@ledgerhq+errors@6.19.1/node_modules/@ledgerhq/errors/lib/helpers.d.ts","../../../node_modules/.pnpm/@ledgerhq+errors@6.19.1/node_modules/@ledgerhq/errors/lib/index.d.ts","../../../node_modules/.pnpm/@ledgerhq+logs@6.12.0/node_modules/@ledgerhq/logs/lib/index.d.ts","../../../node_modules/.pnpm/@ledgerhq+hw-transport@6.31.4/node_modules/@ledgerhq/hw-transport/lib/Transport.d.ts","../../../node_modules/.pnpm/fast-sha256@1.3.0/node_modules/fast-sha256/sha256.d.ts","../src/Iota.ts"],"fileIdsList":[[168],[128,166,167,169,170],[74],[115],[116,121,150],[117,122,128,129,136,147,158],[117,118,128,136],[119,159],[120,121,129,137],[121,147,155],[122,124,128,136],[115,123],[124,125],[128],[126,128],[115,128],[128,129,130,147,158],[128,129,130,143,147,150],[113,163],[124,128,131,136,147,158],[128,129,131,132,136,147,155,158],[131,133,147,155,158],[74,75,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165],[128,134],[135,158,163],[124,128,136,147],[137],[138],[115,139],[74,75,115,116,117,118,119,120,121,122,123,124,125,126,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164],[141],[142],[128,143,144],[143,145,159,161],[116,128,147,148,149,150],[116,147,149],[147,148],[150],[151],[74,147],[128,153,154],[153,154],[121,136,147,155],[156],[136,157],[116,131,142,158],[121,159],[147,160],[135,161],[162],[116,121,128,130,139,147,158,161,163],[147,164],[85,89,158],[85,147,158],[80],[82,85,155,158],[136,155],[166],[80,166],[82,85,136,158],[77,78,81,84,116,128,147,158],[85,92],[77,83],[85,106,107],[81,85,116,150,158,166],[116,166],[106,116,166],[79,80,166],[85],[79,80,81,82,83,84,85,86,87,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,107,108,109,110,111,112],[85,100],[85,92,93],[83,85,93,94],[84],[77,80,85],[85,89,93,94],[89],[83,85,88,158],[77,82,85,92],[116,147],[80,85,106,116,163,166],[171,172]],"fileInfos":[{"version":"44e584d4f6444f58791784f1d530875970993129442a847597db702a073ca68c","affectsGlobalScope":true,"impliedFormat":1},{"version":"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","impliedFormat":1},{"version":"3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","impliedFormat":1},{"version":"9a68c0c07ae2fa71b44384a839b7b8d81662a236d4b9ac30916718f7510b1b2d","impliedFormat":1},{"version":"5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","impliedFormat":1},{"version":"68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","impliedFormat":1},{"version":"5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","impliedFormat":1},{"version":"feecb1be483ed332fad555aff858affd90a48ab19ba7272ee084704eb7167569","impliedFormat":1},{"version":"5514e54f17d6d74ecefedc73c504eadffdeda79c7ea205cf9febead32d45c4bc","impliedFormat":1},{"version":"27bdc30a0e32783366a5abeda841bc22757c1797de8681bbe81fbc735eeb1c10","impliedFormat":1},{"version":"abee51ebffafd50c07d76be5848a34abfe4d791b5745ef1e5648718722fab924","impliedFormat":1},{"version":"9e8ca8ed051c2697578c023d9c29d6df689a083561feba5c14aedee895853999","affectsGlobalScope":true,"impliedFormat":1},{"version":"6920e1448680767498a0b77c6a00a8e77d14d62c3da8967b171f1ddffa3c18e4","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true,"impliedFormat":1},{"version":"515d0b7b9bea2e31ea4ec968e9edd2c39d3eebf4a2d5cbd04e88639819ae3b71","affectsGlobalScope":true,"impliedFormat":1},{"version":"45d8ccb3dfd57355eb29749919142d4321a0aa4df6acdfc54e30433d7176600a","affectsGlobalScope":true,"impliedFormat":1},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true,"impliedFormat":1},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true,"impliedFormat":1},{"version":"93495ff27b8746f55d19fcbcdbaccc99fd95f19d057aed1bd2c0cafe1335fbf0","affectsGlobalScope":true,"impliedFormat":1},{"version":"6fc23bb8c3965964be8c597310a2878b53a0306edb71d4b5a4dfe760186bcc01","affectsGlobalScope":true,"impliedFormat":1},{"version":"ea011c76963fb15ef1cdd7ce6a6808b46322c527de2077b6cfdf23ae6f5f9ec7","affectsGlobalScope":true,"impliedFormat":1},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true,"impliedFormat":1},{"version":"69ab18c3b76cd9b1be3d188eaf8bba06112ebbe2f47f6c322b5105a6fbc45a2e","affectsGlobalScope":true,"impliedFormat":1},{"version":"4738f2420687fd85629c9efb470793bb753709c2379e5f85bc1815d875ceadcd","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true,"impliedFormat":1},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"9fc46429fbe091ac5ad2608c657201eb68b6f1b8341bd6d670047d32ed0a88fa","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac9538681b19688c8eae65811b329d3744af679e0bdfa5d842d0e32524c73e1c","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a969edff4bd52585473d24995c5ef223f6652d6ef46193309b3921d65dd4376","affectsGlobalScope":true,"impliedFormat":1},{"version":"9e9fbd7030c440b33d021da145d3232984c8bb7916f277e8ffd3dc2e3eae2bdb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true,"impliedFormat":1},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true,"impliedFormat":1},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true,"impliedFormat":1},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true,"impliedFormat":1},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true,"impliedFormat":1},{"version":"74f7fa2d027d5b33eb0471c8e82a6c87216223181ec31247c357a3e8e2fddc5b","affectsGlobalScope":true,"impliedFormat":1},{"version":"1a94697425a99354df73d9c8291e2ecd4dddd370aed4023c2d6dee6cccb32666","affectsGlobalScope":true,"impliedFormat":1},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true,"impliedFormat":1},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true,"impliedFormat":1},{"version":"bf14a426dbbf1022d11bd08d6b8e709a2e9d246f0c6c1032f3b2edb9a902adbe","affectsGlobalScope":true,"impliedFormat":1},{"version":"e3f9fc0ec0b96a9e642f11eda09c0be83a61c7b336977f8b9fdb1e9788e925fe","affectsGlobalScope":true,"impliedFormat":1},{"version":"59fb2c069260b4ba00b5643b907ef5d5341b167e7d1dbf58dfd895658bda2867","affectsGlobalScope":true,"impliedFormat":1},{"version":"479553e3779be7d4f68e9f40cdb82d038e5ef7592010100410723ceced22a0f7","affectsGlobalScope":true,"impliedFormat":1},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true,"impliedFormat":1},{"version":"af3dd424cf267428f30ccfc376f47a2c0114546b55c44d8c0f1d57d841e28d74","affectsGlobalScope":true,"impliedFormat":1},{"version":"995c005ab91a498455ea8dfb63aa9f83fa2ea793c3d8aa344be4a1678d06d399","affectsGlobalScope":true,"impliedFormat":1},{"version":"d3d7b04b45033f57351c8434f60b6be1ea71a2dfec2d0a0c3c83badbb0e3e693","affectsGlobalScope":true,"impliedFormat":1},{"version":"956d27abdea9652e8368ce029bb1e0b9174e9678a273529f426df4b3d90abd60","affectsGlobalScope":true,"impliedFormat":1},{"version":"4fa6ed14e98aa80b91f61b9805c653ee82af3502dc21c9da5268d3857772ca05","affectsGlobalScope":true,"impliedFormat":1},{"version":"e6633e05da3ff36e6da2ec170d0d03ccf33de50ca4dc6f5aeecb572cedd162fb","affectsGlobalScope":true,"impliedFormat":1},{"version":"15c1c3d7b2e46e0025417ed6d5f03f419e57e6751f87925ca19dc88297053fe6","affectsGlobalScope":true,"impliedFormat":1},{"version":"8444af78980e3b20b49324f4a16ba35024fef3ee069a0eb67616ea6ca821c47a","affectsGlobalScope":true,"impliedFormat":1},{"version":"caccc56c72713969e1cfe5c3d44e5bab151544d9d2b373d7dbe5a1e4166652be","affectsGlobalScope":true,"impliedFormat":1},{"version":"3287d9d085fbd618c3971944b65b4be57859f5415f495b33a6adc994edd2f004","affectsGlobalScope":true,"impliedFormat":1},{"version":"b4b67b1a91182421f5df999988c690f14d813b9850b40acd06ed44691f6727ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"9d540251809289a05349b70ab5f4b7b99f922af66ab3c39ba56a475dcf95d5ff","affectsGlobalScope":true,"impliedFormat":1},{"version":"436aaf437562f276ec2ddbee2f2cdedac7664c1e4c1d2c36839ddd582eeb3d0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e3c06ea092138bf9fa5e874a1fdbc9d54805d074bee1de31b99a11e2fec239d","affectsGlobalScope":true,"impliedFormat":1},{"version":"0b11f3ca66aa33124202c80b70cd203219c3d4460cfc165e0707aa9ec710fc53","affectsGlobalScope":true,"impliedFormat":1},{"version":"6a3f5a0129cc80cf439ab71164334d649b47059a4f5afca90282362407d0c87f","affectsGlobalScope":true,"impliedFormat":1},{"version":"811c71eee4aa0ac5f7adf713323a5c41b0cf6c4e17367a34fbce379e12bbf0a4","affectsGlobalScope":true,"impliedFormat":1},{"version":"51ad4c928303041605b4d7ae32e0c1ee387d43a24cd6f1ebf4a2699e1076d4fa","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a6282c8827e4b9a95f4bf4f5c205673ada31b982f50572d27103df8ceb8013c","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac77cb3e8c6d3565793eb90a8373ee8033146315a3dbead3bde8db5eaf5e5ec6","affectsGlobalScope":true,"impliedFormat":1},{"version":"d4b1d2c51d058fc21ec2629fff7a76249dec2e36e12960ea056e3ef89174080f","affectsGlobalScope":true,"impliedFormat":1},{"version":"2fef54945a13095fdb9b84f705f2b5994597640c46afeb2ce78352fab4cb3279","affectsGlobalScope":true,"impliedFormat":1},{"version":"56e4ed5aab5f5920980066a9409bfaf53e6d21d3f8d020c17e4de584d29600ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"61d6a2092f48af66dbfb220e31eea8b10bc02b6932d6e529005fd2d7b3281290","affectsGlobalScope":true,"impliedFormat":1},{"version":"33358442698bb565130f52ba79bfd3d4d484ac85fe33f3cb1759c54d18201393","affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true,"impliedFormat":1},{"version":"2db0dd3aaa2ed285950273ce96ae8a450b45423aa9da2d10e194570f1233fa6b","impliedFormat":1},{"version":"7394959e5a741b185456e1ef5d64599c36c60a323207450991e7a42e08911419","impliedFormat":1},{"version":"4967529644e391115ca5592184d4b63980569adf60ee685f968fd59ab1557188","impliedFormat":1},{"version":"5929864ce17fba74232584d90cb721a89b7ad277220627cc97054ba15a98ea8f","impliedFormat":1},{"version":"24bd580b5743dc56402c440dc7f9a4f5d592ad7a419f25414d37a7bfe11e342b","impliedFormat":1},{"version":"25c8056edf4314820382a5fdb4bb7816999acdcb929c8f75e3f39473b87e85bc","impliedFormat":1},{"version":"c464d66b20788266e5353b48dc4aa6bc0dc4a707276df1e7152ab0c9ae21fad8","impliedFormat":1},{"version":"78d0d27c130d35c60b5e5566c9f1e5be77caf39804636bc1a40133919a949f21","impliedFormat":1},{"version":"c6fd2c5a395f2432786c9cb8deb870b9b0e8ff7e22c029954fabdd692bff6195","impliedFormat":1},{"version":"1d6e127068ea8e104a912e42fc0a110e2aa5a66a356a917a163e8cf9a65e4a75","impliedFormat":1},{"version":"5ded6427296cdf3b9542de4471d2aa8d3983671d4cac0f4bf9c637208d1ced43","impliedFormat":1},{"version":"6bdc71028db658243775263e93a7db2fd2abfce3ca569c3cca5aee6ed5eb186d","impliedFormat":1},{"version":"cadc8aced301244057c4e7e73fbcae534b0f5b12a37b150d80e5a45aa4bebcbd","impliedFormat":1},{"version":"385aab901643aa54e1c36f5ef3107913b10d1b5bb8cbcd933d4263b80a0d7f20","impliedFormat":1},{"version":"9670d44354bab9d9982eca21945686b5c24a3f893db73c0dae0fd74217a4c219","impliedFormat":1},{"version":"0b8a9268adaf4da35e7fa830c8981cfa22adbbe5b3f6f5ab91f6658899e657a7","impliedFormat":1},{"version":"11396ed8a44c02ab9798b7dca436009f866e8dae3c9c25e8c1fbc396880bf1bb","impliedFormat":1},{"version":"ba7bc87d01492633cb5a0e5da8a4a42a1c86270e7b3d2dea5d156828a84e4882","impliedFormat":1},{"version":"4893a895ea92c85345017a04ed427cbd6a1710453338df26881a6019432febdd","impliedFormat":1},{"version":"c21dc52e277bcfc75fac0436ccb75c204f9e1b3fa5e12729670910639f27343e","impliedFormat":1},{"version":"13f6f39e12b1518c6650bbb220c8985999020fe0f21d818e28f512b7771d00f9","impliedFormat":1},{"version":"9b5369969f6e7175740bf51223112ff209f94ba43ecd3bb09eefff9fd675624a","impliedFormat":1},{"version":"4fe9e626e7164748e8769bbf74b538e09607f07ed17c2f20af8d680ee49fc1da","impliedFormat":1},{"version":"24515859bc0b836719105bb6cc3d68255042a9f02a6022b3187948b204946bd2","impliedFormat":1},{"version":"ea0148f897b45a76544ae179784c95af1bd6721b8610af9ffa467a518a086a43","impliedFormat":1},{"version":"24c6a117721e606c9984335f71711877293a9651e44f59f3d21c1ea0856f9cc9","impliedFormat":1},{"version":"dd3273ead9fbde62a72949c97dbec2247ea08e0c6952e701a483d74ef92d6a17","impliedFormat":1},{"version":"405822be75ad3e4d162e07439bac80c6bcc6dbae1929e179cf467ec0b9ee4e2e","impliedFormat":1},{"version":"0db18c6e78ea846316c012478888f33c11ffadab9efd1cc8bcc12daded7a60b6","impliedFormat":1},{"version":"4d2b0eb911816f66abe4970898f97a2cfc902bcd743cbfa5017fad79f7ef90d8","impliedFormat":1},{"version":"bd0532fd6556073727d28da0edfd1736417a3f9f394877b6d5ef6ad88fba1d1a","impliedFormat":1},{"version":"89167d696a849fce5ca508032aabfe901c0868f833a8625d5a9c6e861ef935d2","impliedFormat":1},{"version":"e53a3c2a9f624d90f24bf4588aacd223e7bec1b9d0d479b68d2f4a9e6011147f","impliedFormat":1},{"version":"24b8685c62562f5d98615c5a0c1d05f297cf5065f15246edfe99e81ec4c0e011","impliedFormat":1},{"version":"93507c745e8f29090efb99399c3f77bec07db17acd75634249dc92f961573387","impliedFormat":1},{"version":"339dc5265ee5ed92e536a93a04c4ebbc2128f45eeec6ed29f379e0085283542c","impliedFormat":1},{"version":"4732aec92b20fb28c5fe9ad99521fb59974289ed1e45aecb282616202184064f","impliedFormat":1},{"version":"2e85db9e6fd73cfa3d7f28e0ab6b55417ea18931423bd47b409a96e4a169e8e6","impliedFormat":1},{"version":"c46e079fe54c76f95c67fb89081b3e399da2c7d109e7dca8e4b58d83e332e605","impliedFormat":1},{"version":"bf67d53d168abc1298888693338cb82854bdb2e69ef83f8a0092093c2d562107","impliedFormat":1},{"version":"f1b470d3d219d67626631e2595976c1cfdfa17deabbf76c2fcdabefc5d5e8c51","affectsGlobalScope":true,"impliedFormat":1},{"version":"3d77c73be94570813f8cadd1f05ebc3dc5e2e4fdefe4d340ca20cd018724ee36","impliedFormat":1},{"version":"4323f5c688c35e5a17cb251d70ee2b279412c56a5f29c211b4ea84384d42d0be","affectsGlobalScope":true,"impliedFormat":1},{"version":"f3e58c4c18a031cbb17abec7a4ad0bd5ae9fc70c1f4ba1e7fb921ad87c504aca","impliedFormat":1},{"version":"a3e8bafb2af8e850c644f4be7f5156cf7d23b7bfdc3b786bd4d10ed40329649c","impliedFormat":1},{"version":"35ec8b6760fd7138bbf5809b84551e31028fb2ba7b6dc91d95d098bf212ca8b4","affectsGlobalScope":true,"impliedFormat":1},{"version":"a40826e8476694e90da94aa008283a7de50d1dafd37beada623863f1901cb7fb","impliedFormat":1},{"version":"c521f961c1606c94dc831992e659f426b6def6e2e6e327ee25d3c642eb393f95","affectsGlobalScope":true,"impliedFormat":1},{"version":"b0c0d1d13be149f790a75b381b413490f98558649428bb916fd2d71a3f47a134","impliedFormat":1},{"version":"3c884d9d9ec454bdf0d5a0b8465bf8297d2caa4d853851d92cc417ac6f30b969","impliedFormat":1},{"version":"5a369483ac4cfbdf0331c248deeb36140e6907db5e1daed241546b4a2055f82c","impliedFormat":1},{"version":"e8f5b5cc36615c17d330eaf8eebbc0d6bdd942c25991f96ef122f246f4ff722f","impliedFormat":1},{"version":"f0bd7e6d931657b59605c44112eaf8b980ba7f957a5051ed21cb93d978cf2f45","impliedFormat":1},{"version":"ee1ee365d88c4c6c0c0a5a5701d66ebc27ccd0bcfcfaa482c6e2e7fe7b98edf7","affectsGlobalScope":true,"impliedFormat":1},{"version":"9a30b7fefd7f8abbca4828d481c61c18e40fe5ff107e113b1c1fcd2c8dcf2743","affectsGlobalScope":true,"impliedFormat":1},{"version":"596572d40c1f13d8b57920d6d1a77c5ec6fe4952dc157f416f04a801cd3e2678","impliedFormat":1},{"version":"ad23fd126ff06e72728dd7bfc84326a8ca8cec2b9d2dac0193d42a777df0e7d8","impliedFormat":1},{"version":"a55fd4d49da86d2cc19de575beb1515184e55f5f3165e1482ff02fd99f900b5c","impliedFormat":1},{"version":"93bd413918fa921c8729cef45302b24d8b6c7855d72d5bf82d3972595ae8dcbf","impliedFormat":1},{"version":"4ff41188773cbf465807dd2f7059c7494cbee5115608efc297383832a1150c43","impliedFormat":1},{"version":"dccdf1677e531e33f8ac961a68bc537418c9a414797c1ea7e91307501cdc3f5e","impliedFormat":1},{"version":"7edec695cdb707c7146ac34c44ca364469c7ea504344b3206c686e79f61b61a2","affectsGlobalScope":true,"impliedFormat":1},{"version":"aba8aefa29914f531f49ba6b34212f7861022ad0b67a28c63a1d78264a8b1910","impliedFormat":1},{"version":"93f437e1398a4f06a984f441f7fa7a9f0535c04399619b5c22e0b87bdee182cb","impliedFormat":1},{"version":"d1b1295af3667779be43eb6d4fbaa342e656aa2c4b77a4ad3cf42ec55baeea00","impliedFormat":1},{"version":"70731d10d5311bd4cf710ef7f6539b62660f4b0bfdbb3f9fbe1d25fe6366a7fa","affectsGlobalScope":true,"impliedFormat":1},{"version":"a20f1e119615bf7632729fd89b6c0b5ffdc2df3b512d6304146294528e3ebe19","affectsGlobalScope":true,"impliedFormat":1},{"version":"9e043a1bc8fbf2a255bccf9bf27e0f1caf916c3b0518ea34aa72357c0afd42ec","impliedFormat":1},{"version":"137c2894e8f3e9672d401cc0a305dc7b1db7c69511cf6d3970fb53302f9eae09","impliedFormat":1},{"version":"dd9492e12a57068f08d70cb5eb5ceb39fa5bcf23be01af574270aeee95b982af","impliedFormat":1},{"version":"e432b0e3761ca9ba734bdd41e19a75fec1454ca8e9769bfdf8b31011854cf06a","impliedFormat":1},{"version":"f9d9d753d430ed050dc1bf2667a1bab711ccbb1c1507183d794cc195a5b085cc","impliedFormat":1},{"version":"9eece5e586312581ccd106d4853e861aaaa1a39f8e3ea672b8c3847eedd12f6e","impliedFormat":1},{"version":"78955c9259da94920609be3e589fc9253268b3fffa822e1e31d28ee2ce0b8a74","impliedFormat":1},{"version":"269929a24b2816343a178008ac9ae9248304d92a8ba8e233055e0ed6dbe6ef71","impliedFormat":1},{"version":"93452d394fdd1dc551ec62f5042366f011a00d342d36d50793b3529bfc9bd633","impliedFormat":1},{"version":"73aa178e8fb1449ef3666093d8dca25f96302a80ee45f8ff027df8e4792bf9fd","affectsGlobalScope":true,"impliedFormat":1},{"version":"1851a3b4db78664f83901bb9cac9e45e03a37bb5933cc5bf37e10bb7e91ab4eb","impliedFormat":1},{"version":"fdedf82878e4c744bc2a1c1e802ae407d63474da51f14a54babe039018e53d8f","affectsGlobalScope":true,"impliedFormat":1},{"version":"08353b04a3501d84fc8d7b49de99f6c1cc26026e6d9d697a18315f3bfe92ed03","affectsGlobalScope":true,"impliedFormat":1},{"version":"578d8bb6dcb2a1c03c4c3f8eb71abc9677e1a5c788b7f24848e3138ce17f3400","impliedFormat":1},{"version":"4f029899f9bae07e225c43aef893590541b2b43267383bf5e32e3a884d219ed5","impliedFormat":1},{"version":"ae56f65caf3be91108707bd8dfbccc2a57a91feb5daabf7165a06a945545ed26","impliedFormat":1},{"version":"a136d5de521da20f31631a0a96bf712370779d1c05b7015d7019a9b2a0446ca9","impliedFormat":1},{"version":"710ad93f8de29dc15e5892aa735e72348b62f40a6d1220f2849837d332f92885","affectsGlobalScope":true,"impliedFormat":1},{"version":"1f1da5d682cdb628890e4a8578fb9e8ab332e6a1a4b3a13fce08b7b4d45d192a","affectsGlobalScope":true,"impliedFormat":1},{"version":"efeedd8bbc5c0d53e760d8b120a010470722982e6ae14de8d1bcff66ebc2ae71","impliedFormat":1},{"version":"b718a94332858862943630649a310d6f8e9a09f86ae7215d8554e75bbbfd7817","impliedFormat":1},{"version":"d91a7d8b5655c42986f1bdfe2105c4408f472831c8f20cf11a8c3345b6b56c8c","impliedFormat":1},{"version":"616075a6ac578cf5a013ee12964188b4412823796ce0b202c6f1d2e4ca8480d7","affectsGlobalScope":true,"impliedFormat":1},{"version":"e8a979b8af001c9fc2e774e7809d233c8ca955a28756f52ee5dee88ccb0611d2","impliedFormat":1},{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true,"impliedFormat":1},{"version":"a42be67ed1ddaec743582f41fc219db96a1b69719fccac6d1464321178d610fc","impliedFormat":1},{"version":"33c87b17649b459b59153536eb1abb9b10d1c156bf2268af093f5a82ccd5472f","impliedFormat":1},{"version":"27f63388dc6a57fbaa695d0f94cd22297c05ccbc28ba2ec66f2eda7acc369cfd","impliedFormat":1},{"version":"fc6644d3d2013e50a6bdb0785a5c219d40b1975970467c2a1d38186a3dca975c","impliedFormat":1},{"version":"579c59e9af9a5f44d7b43e16ac19aa0ffa54595906d92ee27f6e9476defb8d1b","affectsGlobalScope":true,"impliedFormat":1},{"version":"f860395fe7f42570df392b3f7fcb0bf4adca90efca39c44c35058c37f65459ce","impliedFormat":1},{"version":"4c754320a6ff1e7ab0214c7ce852d236f33ed7b8540d611094f1ba663bfd1ef1","impliedFormat":1},{"version":"9c4a5e8de5f04f7786db567a04261a952a64139d3dc3c2f85c0df72e01ef9f9d","signature":"3549a34092ceeef1f17a322d1176a403f458e7e498cf439d92cfae4dc2fb72e5"}],"root":[173],"options":{"composite":true,"declaration":true,"emitDeclarationOnly":true,"esModuleInterop":true,"jsx":2,"module":99,"noFallthroughCasesInSwitch":true,"noImplicitReturns":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./esm","rootDir":"../src","skipLibCheck":true,"sourceMap":true,"strict":true,"target":7},"referencedMap":[[169,1],[171,2],[74,3],[75,3],[115,4],[116,5],[117,6],[118,7],[119,8],[120,9],[121,10],[122,11],[123,12],[124,13],[125,13],[127,14],[126,15],[128,16],[129,17],[130,18],[114,19],[131,20],[132,21],[133,22],[166,23],[134,24],[135,25],[136,26],[137,27],[138,28],[139,29],[140,30],[141,31],[142,32],[143,33],[144,33],[145,34],[147,35],[149,36],[148,37],[150,38],[151,39],[152,40],[153,41],[154,42],[155,43],[156,44],[157,45],[158,46],[159,47],[160,48],[161,49],[162,50],[163,51],[164,52],[92,53],[102,54],[91,53],[112,55],[83,56],[82,57],[111,58],[105,59],[110,60],[85,61],[99,62],[84,63],[108,64],[80,65],[79,66],[109,67],[81,68],[86,69],[90,69],[113,70],[103,71],[94,72],[95,73],[97,74],[93,75],[96,76],[106,58],[88,77],[89,78],[98,79],[78,80],[101,71],[100,69],[107,81],[173,82]],"latestChangedDtsFile":"./esm/Iota.d.ts","version":"5.6.2"}
@@ -1 +1 @@
1
- {"fileNames":["../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2015.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2016.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2017.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2018.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2019.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2020.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2021.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2022.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2023.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.esnext.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2015.core.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2016.intl.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2017.date.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2017.object.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2017.string.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2019.array.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2019.object.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2019.string.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2020.date.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2020.string.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2020.number.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2021.string.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2021.intl.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2022.array.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2022.error.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2022.intl.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2022.object.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2022.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2022.string.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2022.regexp.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2023.array.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2023.collection.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2023.intl.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.esnext.array.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.esnext.collection.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.esnext.intl.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.esnext.disposable.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.esnext.string.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.esnext.promise.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.esnext.decorators.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.esnext.object.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.esnext.regexp.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.esnext.iterator.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.decorators.legacy.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/assert.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/assert/strict.d.ts","../../../node_modules/.pnpm/buffer@6.0.3/node_modules/buffer/index.d.ts","../../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/header.d.ts","../../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/readable.d.ts","../../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/file.d.ts","../../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/fetch.d.ts","../../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/formdata.d.ts","../../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/connector.d.ts","../../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/client.d.ts","../../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/errors.d.ts","../../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/dispatcher.d.ts","../../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/global-dispatcher.d.ts","../../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/global-origin.d.ts","../../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/pool-stats.d.ts","../../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/pool.d.ts","../../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/handlers.d.ts","../../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/balanced-pool.d.ts","../../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/agent.d.ts","../../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/mock-interceptor.d.ts","../../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/mock-agent.d.ts","../../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/mock-client.d.ts","../../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/mock-pool.d.ts","../../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/mock-errors.d.ts","../../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/proxy-agent.d.ts","../../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/env-http-proxy-agent.d.ts","../../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/retry-handler.d.ts","../../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/retry-agent.d.ts","../../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/api.d.ts","../../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/interceptors.d.ts","../../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/util.d.ts","../../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/cookies.d.ts","../../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/patch.d.ts","../../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/websocket.d.ts","../../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/eventsource.d.ts","../../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/filereader.d.ts","../../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/diagnostics-channel.d.ts","../../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/content-type.d.ts","../../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/cache.d.ts","../../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/index.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/globals.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/async_hooks.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/buffer.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/child_process.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/cluster.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/console.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/constants.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/crypto.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/dgram.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/diagnostics_channel.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/dns.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/dns/promises.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/domain.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/dom-events.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/events.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/fs.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/fs/promises.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/http.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/http2.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/https.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/inspector.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/module.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/net.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/os.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/path.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/perf_hooks.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/process.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/punycode.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/querystring.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/readline.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/readline/promises.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/repl.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/sea.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/stream.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/stream/promises.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/stream/consumers.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/stream/web.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/string_decoder.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/test.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/timers.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/timers/promises.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/tls.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/trace_events.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/tty.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/url.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/util.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/v8.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/vm.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/wasi.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/worker_threads.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/zlib.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/globals.global.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/index.d.ts","../../../node_modules/.pnpm/@ledgerhq+devices@8.4.4/node_modules/@ledgerhq/devices/lib/index.d.ts","../../../node_modules/.pnpm/@ledgerhq+errors@6.19.1/node_modules/@ledgerhq/errors/lib/helpers.d.ts","../../../node_modules/.pnpm/@ledgerhq+errors@6.19.1/node_modules/@ledgerhq/errors/lib/index.d.ts","../../../node_modules/.pnpm/@ledgerhq+logs@6.12.0/node_modules/@ledgerhq/logs/lib/index.d.ts","../../../node_modules/.pnpm/@ledgerhq+hw-transport@6.31.4/node_modules/@ledgerhq/hw-transport/lib/Transport.d.ts","../../../node_modules/.pnpm/fast-sha256@1.3.0/node_modules/fast-sha256/sha256.d.ts","../src/Iota.ts"],"fileIdsList":[[168],[128,166,167,169,170],[74],[115],[116,121,150],[117,122,128,129,136,147,158],[117,118,128,136],[119,159],[120,121,129,137],[121,147,155],[122,124,128,136],[115,123],[124,125],[128],[126,128],[115,128],[128,129,130,147,158],[128,129,130,143,147,150],[113,163],[124,128,131,136,147,158],[128,129,131,132,136,147,155,158],[131,133,147,155,158],[74,75,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165],[128,134],[135,158,163],[124,128,136,147],[137],[138],[115,139],[74,75,115,116,117,118,119,120,121,122,123,124,125,126,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164],[141],[142],[128,143,144],[143,145,159,161],[116,128,147,148,149,150],[116,147,149],[147,148],[150],[151],[74,147],[128,153,154],[153,154],[121,136,147,155],[156],[136,157],[116,131,142,158],[121,159],[147,160],[135,161],[162],[116,121,128,130,139,147,158,161,163],[147,164],[85,89,158],[85,147,158],[80],[82,85,155,158],[136,155],[166],[80,166],[82,85,136,158],[77,78,81,84,116,128,147,158],[85,92],[77,83],[85,106,107],[81,85,116,150,158,166],[116,166],[106,116,166],[79,80,166],[85],[79,80,81,82,83,84,85,86,87,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,107,108,109,110,111,112],[85,100],[85,92,93],[83,85,93,94],[84],[77,80,85],[85,89,93,94],[89],[83,85,88,158],[77,82,85,92],[116,147],[80,85,106,116,163,166],[171,172]],"fileInfos":[{"version":"44e584d4f6444f58791784f1d530875970993129442a847597db702a073ca68c","affectsGlobalScope":true,"impliedFormat":1},{"version":"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","impliedFormat":1},{"version":"3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","impliedFormat":1},{"version":"9a68c0c07ae2fa71b44384a839b7b8d81662a236d4b9ac30916718f7510b1b2d","impliedFormat":1},{"version":"5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","impliedFormat":1},{"version":"68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","impliedFormat":1},{"version":"5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","impliedFormat":1},{"version":"feecb1be483ed332fad555aff858affd90a48ab19ba7272ee084704eb7167569","impliedFormat":1},{"version":"5514e54f17d6d74ecefedc73c504eadffdeda79c7ea205cf9febead32d45c4bc","impliedFormat":1},{"version":"27bdc30a0e32783366a5abeda841bc22757c1797de8681bbe81fbc735eeb1c10","impliedFormat":1},{"version":"abee51ebffafd50c07d76be5848a34abfe4d791b5745ef1e5648718722fab924","impliedFormat":1},{"version":"9e8ca8ed051c2697578c023d9c29d6df689a083561feba5c14aedee895853999","affectsGlobalScope":true,"impliedFormat":1},{"version":"6920e1448680767498a0b77c6a00a8e77d14d62c3da8967b171f1ddffa3c18e4","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true,"impliedFormat":1},{"version":"515d0b7b9bea2e31ea4ec968e9edd2c39d3eebf4a2d5cbd04e88639819ae3b71","affectsGlobalScope":true,"impliedFormat":1},{"version":"45d8ccb3dfd57355eb29749919142d4321a0aa4df6acdfc54e30433d7176600a","affectsGlobalScope":true,"impliedFormat":1},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true,"impliedFormat":1},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true,"impliedFormat":1},{"version":"93495ff27b8746f55d19fcbcdbaccc99fd95f19d057aed1bd2c0cafe1335fbf0","affectsGlobalScope":true,"impliedFormat":1},{"version":"6fc23bb8c3965964be8c597310a2878b53a0306edb71d4b5a4dfe760186bcc01","affectsGlobalScope":true,"impliedFormat":1},{"version":"ea011c76963fb15ef1cdd7ce6a6808b46322c527de2077b6cfdf23ae6f5f9ec7","affectsGlobalScope":true,"impliedFormat":1},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true,"impliedFormat":1},{"version":"69ab18c3b76cd9b1be3d188eaf8bba06112ebbe2f47f6c322b5105a6fbc45a2e","affectsGlobalScope":true,"impliedFormat":1},{"version":"4738f2420687fd85629c9efb470793bb753709c2379e5f85bc1815d875ceadcd","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true,"impliedFormat":1},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"9fc46429fbe091ac5ad2608c657201eb68b6f1b8341bd6d670047d32ed0a88fa","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac9538681b19688c8eae65811b329d3744af679e0bdfa5d842d0e32524c73e1c","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a969edff4bd52585473d24995c5ef223f6652d6ef46193309b3921d65dd4376","affectsGlobalScope":true,"impliedFormat":1},{"version":"9e9fbd7030c440b33d021da145d3232984c8bb7916f277e8ffd3dc2e3eae2bdb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true,"impliedFormat":1},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true,"impliedFormat":1},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true,"impliedFormat":1},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true,"impliedFormat":1},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true,"impliedFormat":1},{"version":"74f7fa2d027d5b33eb0471c8e82a6c87216223181ec31247c357a3e8e2fddc5b","affectsGlobalScope":true,"impliedFormat":1},{"version":"1a94697425a99354df73d9c8291e2ecd4dddd370aed4023c2d6dee6cccb32666","affectsGlobalScope":true,"impliedFormat":1},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true,"impliedFormat":1},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true,"impliedFormat":1},{"version":"bf14a426dbbf1022d11bd08d6b8e709a2e9d246f0c6c1032f3b2edb9a902adbe","affectsGlobalScope":true,"impliedFormat":1},{"version":"e3f9fc0ec0b96a9e642f11eda09c0be83a61c7b336977f8b9fdb1e9788e925fe","affectsGlobalScope":true,"impliedFormat":1},{"version":"59fb2c069260b4ba00b5643b907ef5d5341b167e7d1dbf58dfd895658bda2867","affectsGlobalScope":true,"impliedFormat":1},{"version":"479553e3779be7d4f68e9f40cdb82d038e5ef7592010100410723ceced22a0f7","affectsGlobalScope":true,"impliedFormat":1},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true,"impliedFormat":1},{"version":"af3dd424cf267428f30ccfc376f47a2c0114546b55c44d8c0f1d57d841e28d74","affectsGlobalScope":true,"impliedFormat":1},{"version":"995c005ab91a498455ea8dfb63aa9f83fa2ea793c3d8aa344be4a1678d06d399","affectsGlobalScope":true,"impliedFormat":1},{"version":"d3d7b04b45033f57351c8434f60b6be1ea71a2dfec2d0a0c3c83badbb0e3e693","affectsGlobalScope":true,"impliedFormat":1},{"version":"956d27abdea9652e8368ce029bb1e0b9174e9678a273529f426df4b3d90abd60","affectsGlobalScope":true,"impliedFormat":1},{"version":"4fa6ed14e98aa80b91f61b9805c653ee82af3502dc21c9da5268d3857772ca05","affectsGlobalScope":true,"impliedFormat":1},{"version":"e6633e05da3ff36e6da2ec170d0d03ccf33de50ca4dc6f5aeecb572cedd162fb","affectsGlobalScope":true,"impliedFormat":1},{"version":"15c1c3d7b2e46e0025417ed6d5f03f419e57e6751f87925ca19dc88297053fe6","affectsGlobalScope":true,"impliedFormat":1},{"version":"8444af78980e3b20b49324f4a16ba35024fef3ee069a0eb67616ea6ca821c47a","affectsGlobalScope":true,"impliedFormat":1},{"version":"caccc56c72713969e1cfe5c3d44e5bab151544d9d2b373d7dbe5a1e4166652be","affectsGlobalScope":true,"impliedFormat":1},{"version":"3287d9d085fbd618c3971944b65b4be57859f5415f495b33a6adc994edd2f004","affectsGlobalScope":true,"impliedFormat":1},{"version":"b4b67b1a91182421f5df999988c690f14d813b9850b40acd06ed44691f6727ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"9d540251809289a05349b70ab5f4b7b99f922af66ab3c39ba56a475dcf95d5ff","affectsGlobalScope":true,"impliedFormat":1},{"version":"436aaf437562f276ec2ddbee2f2cdedac7664c1e4c1d2c36839ddd582eeb3d0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e3c06ea092138bf9fa5e874a1fdbc9d54805d074bee1de31b99a11e2fec239d","affectsGlobalScope":true,"impliedFormat":1},{"version":"0b11f3ca66aa33124202c80b70cd203219c3d4460cfc165e0707aa9ec710fc53","affectsGlobalScope":true,"impliedFormat":1},{"version":"6a3f5a0129cc80cf439ab71164334d649b47059a4f5afca90282362407d0c87f","affectsGlobalScope":true,"impliedFormat":1},{"version":"811c71eee4aa0ac5f7adf713323a5c41b0cf6c4e17367a34fbce379e12bbf0a4","affectsGlobalScope":true,"impliedFormat":1},{"version":"51ad4c928303041605b4d7ae32e0c1ee387d43a24cd6f1ebf4a2699e1076d4fa","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a6282c8827e4b9a95f4bf4f5c205673ada31b982f50572d27103df8ceb8013c","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac77cb3e8c6d3565793eb90a8373ee8033146315a3dbead3bde8db5eaf5e5ec6","affectsGlobalScope":true,"impliedFormat":1},{"version":"d4b1d2c51d058fc21ec2629fff7a76249dec2e36e12960ea056e3ef89174080f","affectsGlobalScope":true,"impliedFormat":1},{"version":"2fef54945a13095fdb9b84f705f2b5994597640c46afeb2ce78352fab4cb3279","affectsGlobalScope":true,"impliedFormat":1},{"version":"56e4ed5aab5f5920980066a9409bfaf53e6d21d3f8d020c17e4de584d29600ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"61d6a2092f48af66dbfb220e31eea8b10bc02b6932d6e529005fd2d7b3281290","affectsGlobalScope":true,"impliedFormat":1},{"version":"33358442698bb565130f52ba79bfd3d4d484ac85fe33f3cb1759c54d18201393","affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true,"impliedFormat":1},{"version":"2db0dd3aaa2ed285950273ce96ae8a450b45423aa9da2d10e194570f1233fa6b","impliedFormat":1},{"version":"7394959e5a741b185456e1ef5d64599c36c60a323207450991e7a42e08911419","impliedFormat":1},{"version":"4967529644e391115ca5592184d4b63980569adf60ee685f968fd59ab1557188","impliedFormat":1},{"version":"5929864ce17fba74232584d90cb721a89b7ad277220627cc97054ba15a98ea8f","impliedFormat":1},{"version":"24bd580b5743dc56402c440dc7f9a4f5d592ad7a419f25414d37a7bfe11e342b","impliedFormat":1},{"version":"25c8056edf4314820382a5fdb4bb7816999acdcb929c8f75e3f39473b87e85bc","impliedFormat":1},{"version":"c464d66b20788266e5353b48dc4aa6bc0dc4a707276df1e7152ab0c9ae21fad8","impliedFormat":1},{"version":"78d0d27c130d35c60b5e5566c9f1e5be77caf39804636bc1a40133919a949f21","impliedFormat":1},{"version":"c6fd2c5a395f2432786c9cb8deb870b9b0e8ff7e22c029954fabdd692bff6195","impliedFormat":1},{"version":"1d6e127068ea8e104a912e42fc0a110e2aa5a66a356a917a163e8cf9a65e4a75","impliedFormat":1},{"version":"5ded6427296cdf3b9542de4471d2aa8d3983671d4cac0f4bf9c637208d1ced43","impliedFormat":1},{"version":"6bdc71028db658243775263e93a7db2fd2abfce3ca569c3cca5aee6ed5eb186d","impliedFormat":1},{"version":"cadc8aced301244057c4e7e73fbcae534b0f5b12a37b150d80e5a45aa4bebcbd","impliedFormat":1},{"version":"385aab901643aa54e1c36f5ef3107913b10d1b5bb8cbcd933d4263b80a0d7f20","impliedFormat":1},{"version":"9670d44354bab9d9982eca21945686b5c24a3f893db73c0dae0fd74217a4c219","impliedFormat":1},{"version":"0b8a9268adaf4da35e7fa830c8981cfa22adbbe5b3f6f5ab91f6658899e657a7","impliedFormat":1},{"version":"11396ed8a44c02ab9798b7dca436009f866e8dae3c9c25e8c1fbc396880bf1bb","impliedFormat":1},{"version":"ba7bc87d01492633cb5a0e5da8a4a42a1c86270e7b3d2dea5d156828a84e4882","impliedFormat":1},{"version":"4893a895ea92c85345017a04ed427cbd6a1710453338df26881a6019432febdd","impliedFormat":1},{"version":"c21dc52e277bcfc75fac0436ccb75c204f9e1b3fa5e12729670910639f27343e","impliedFormat":1},{"version":"13f6f39e12b1518c6650bbb220c8985999020fe0f21d818e28f512b7771d00f9","impliedFormat":1},{"version":"9b5369969f6e7175740bf51223112ff209f94ba43ecd3bb09eefff9fd675624a","impliedFormat":1},{"version":"4fe9e626e7164748e8769bbf74b538e09607f07ed17c2f20af8d680ee49fc1da","impliedFormat":1},{"version":"24515859bc0b836719105bb6cc3d68255042a9f02a6022b3187948b204946bd2","impliedFormat":1},{"version":"ea0148f897b45a76544ae179784c95af1bd6721b8610af9ffa467a518a086a43","impliedFormat":1},{"version":"24c6a117721e606c9984335f71711877293a9651e44f59f3d21c1ea0856f9cc9","impliedFormat":1},{"version":"dd3273ead9fbde62a72949c97dbec2247ea08e0c6952e701a483d74ef92d6a17","impliedFormat":1},{"version":"405822be75ad3e4d162e07439bac80c6bcc6dbae1929e179cf467ec0b9ee4e2e","impliedFormat":1},{"version":"0db18c6e78ea846316c012478888f33c11ffadab9efd1cc8bcc12daded7a60b6","impliedFormat":1},{"version":"4d2b0eb911816f66abe4970898f97a2cfc902bcd743cbfa5017fad79f7ef90d8","impliedFormat":1},{"version":"bd0532fd6556073727d28da0edfd1736417a3f9f394877b6d5ef6ad88fba1d1a","impliedFormat":1},{"version":"89167d696a849fce5ca508032aabfe901c0868f833a8625d5a9c6e861ef935d2","impliedFormat":1},{"version":"e53a3c2a9f624d90f24bf4588aacd223e7bec1b9d0d479b68d2f4a9e6011147f","impliedFormat":1},{"version":"24b8685c62562f5d98615c5a0c1d05f297cf5065f15246edfe99e81ec4c0e011","impliedFormat":1},{"version":"93507c745e8f29090efb99399c3f77bec07db17acd75634249dc92f961573387","impliedFormat":1},{"version":"339dc5265ee5ed92e536a93a04c4ebbc2128f45eeec6ed29f379e0085283542c","impliedFormat":1},{"version":"4732aec92b20fb28c5fe9ad99521fb59974289ed1e45aecb282616202184064f","impliedFormat":1},{"version":"2e85db9e6fd73cfa3d7f28e0ab6b55417ea18931423bd47b409a96e4a169e8e6","impliedFormat":1},{"version":"c46e079fe54c76f95c67fb89081b3e399da2c7d109e7dca8e4b58d83e332e605","impliedFormat":1},{"version":"bf67d53d168abc1298888693338cb82854bdb2e69ef83f8a0092093c2d562107","impliedFormat":1},{"version":"f1b470d3d219d67626631e2595976c1cfdfa17deabbf76c2fcdabefc5d5e8c51","affectsGlobalScope":true,"impliedFormat":1},{"version":"3d77c73be94570813f8cadd1f05ebc3dc5e2e4fdefe4d340ca20cd018724ee36","impliedFormat":1},{"version":"4323f5c688c35e5a17cb251d70ee2b279412c56a5f29c211b4ea84384d42d0be","affectsGlobalScope":true,"impliedFormat":1},{"version":"f3e58c4c18a031cbb17abec7a4ad0bd5ae9fc70c1f4ba1e7fb921ad87c504aca","impliedFormat":1},{"version":"a3e8bafb2af8e850c644f4be7f5156cf7d23b7bfdc3b786bd4d10ed40329649c","impliedFormat":1},{"version":"35ec8b6760fd7138bbf5809b84551e31028fb2ba7b6dc91d95d098bf212ca8b4","affectsGlobalScope":true,"impliedFormat":1},{"version":"a40826e8476694e90da94aa008283a7de50d1dafd37beada623863f1901cb7fb","impliedFormat":1},{"version":"c521f961c1606c94dc831992e659f426b6def6e2e6e327ee25d3c642eb393f95","affectsGlobalScope":true,"impliedFormat":1},{"version":"b0c0d1d13be149f790a75b381b413490f98558649428bb916fd2d71a3f47a134","impliedFormat":1},{"version":"3c884d9d9ec454bdf0d5a0b8465bf8297d2caa4d853851d92cc417ac6f30b969","impliedFormat":1},{"version":"5a369483ac4cfbdf0331c248deeb36140e6907db5e1daed241546b4a2055f82c","impliedFormat":1},{"version":"e8f5b5cc36615c17d330eaf8eebbc0d6bdd942c25991f96ef122f246f4ff722f","impliedFormat":1},{"version":"f0bd7e6d931657b59605c44112eaf8b980ba7f957a5051ed21cb93d978cf2f45","impliedFormat":1},{"version":"ee1ee365d88c4c6c0c0a5a5701d66ebc27ccd0bcfcfaa482c6e2e7fe7b98edf7","affectsGlobalScope":true,"impliedFormat":1},{"version":"9a30b7fefd7f8abbca4828d481c61c18e40fe5ff107e113b1c1fcd2c8dcf2743","affectsGlobalScope":true,"impliedFormat":1},{"version":"596572d40c1f13d8b57920d6d1a77c5ec6fe4952dc157f416f04a801cd3e2678","impliedFormat":1},{"version":"ad23fd126ff06e72728dd7bfc84326a8ca8cec2b9d2dac0193d42a777df0e7d8","impliedFormat":1},{"version":"a55fd4d49da86d2cc19de575beb1515184e55f5f3165e1482ff02fd99f900b5c","impliedFormat":1},{"version":"93bd413918fa921c8729cef45302b24d8b6c7855d72d5bf82d3972595ae8dcbf","impliedFormat":1},{"version":"4ff41188773cbf465807dd2f7059c7494cbee5115608efc297383832a1150c43","impliedFormat":1},{"version":"dccdf1677e531e33f8ac961a68bc537418c9a414797c1ea7e91307501cdc3f5e","impliedFormat":1},{"version":"7edec695cdb707c7146ac34c44ca364469c7ea504344b3206c686e79f61b61a2","affectsGlobalScope":true,"impliedFormat":1},{"version":"aba8aefa29914f531f49ba6b34212f7861022ad0b67a28c63a1d78264a8b1910","impliedFormat":1},{"version":"93f437e1398a4f06a984f441f7fa7a9f0535c04399619b5c22e0b87bdee182cb","impliedFormat":1},{"version":"d1b1295af3667779be43eb6d4fbaa342e656aa2c4b77a4ad3cf42ec55baeea00","impliedFormat":1},{"version":"70731d10d5311bd4cf710ef7f6539b62660f4b0bfdbb3f9fbe1d25fe6366a7fa","affectsGlobalScope":true,"impliedFormat":1},{"version":"a20f1e119615bf7632729fd89b6c0b5ffdc2df3b512d6304146294528e3ebe19","affectsGlobalScope":true,"impliedFormat":1},{"version":"9e043a1bc8fbf2a255bccf9bf27e0f1caf916c3b0518ea34aa72357c0afd42ec","impliedFormat":1},{"version":"137c2894e8f3e9672d401cc0a305dc7b1db7c69511cf6d3970fb53302f9eae09","impliedFormat":1},{"version":"dd9492e12a57068f08d70cb5eb5ceb39fa5bcf23be01af574270aeee95b982af","impliedFormat":1},{"version":"e432b0e3761ca9ba734bdd41e19a75fec1454ca8e9769bfdf8b31011854cf06a","impliedFormat":1},{"version":"f9d9d753d430ed050dc1bf2667a1bab711ccbb1c1507183d794cc195a5b085cc","impliedFormat":1},{"version":"9eece5e586312581ccd106d4853e861aaaa1a39f8e3ea672b8c3847eedd12f6e","impliedFormat":1},{"version":"78955c9259da94920609be3e589fc9253268b3fffa822e1e31d28ee2ce0b8a74","impliedFormat":1},{"version":"269929a24b2816343a178008ac9ae9248304d92a8ba8e233055e0ed6dbe6ef71","impliedFormat":1},{"version":"93452d394fdd1dc551ec62f5042366f011a00d342d36d50793b3529bfc9bd633","impliedFormat":1},{"version":"73aa178e8fb1449ef3666093d8dca25f96302a80ee45f8ff027df8e4792bf9fd","affectsGlobalScope":true,"impliedFormat":1},{"version":"1851a3b4db78664f83901bb9cac9e45e03a37bb5933cc5bf37e10bb7e91ab4eb","impliedFormat":1},{"version":"fdedf82878e4c744bc2a1c1e802ae407d63474da51f14a54babe039018e53d8f","affectsGlobalScope":true,"impliedFormat":1},{"version":"08353b04a3501d84fc8d7b49de99f6c1cc26026e6d9d697a18315f3bfe92ed03","affectsGlobalScope":true,"impliedFormat":1},{"version":"578d8bb6dcb2a1c03c4c3f8eb71abc9677e1a5c788b7f24848e3138ce17f3400","impliedFormat":1},{"version":"4f029899f9bae07e225c43aef893590541b2b43267383bf5e32e3a884d219ed5","impliedFormat":1},{"version":"ae56f65caf3be91108707bd8dfbccc2a57a91feb5daabf7165a06a945545ed26","impliedFormat":1},{"version":"a136d5de521da20f31631a0a96bf712370779d1c05b7015d7019a9b2a0446ca9","impliedFormat":1},{"version":"710ad93f8de29dc15e5892aa735e72348b62f40a6d1220f2849837d332f92885","affectsGlobalScope":true,"impliedFormat":1},{"version":"1f1da5d682cdb628890e4a8578fb9e8ab332e6a1a4b3a13fce08b7b4d45d192a","affectsGlobalScope":true,"impliedFormat":1},{"version":"efeedd8bbc5c0d53e760d8b120a010470722982e6ae14de8d1bcff66ebc2ae71","impliedFormat":1},{"version":"b718a94332858862943630649a310d6f8e9a09f86ae7215d8554e75bbbfd7817","impliedFormat":1},{"version":"d91a7d8b5655c42986f1bdfe2105c4408f472831c8f20cf11a8c3345b6b56c8c","impliedFormat":1},{"version":"616075a6ac578cf5a013ee12964188b4412823796ce0b202c6f1d2e4ca8480d7","affectsGlobalScope":true,"impliedFormat":1},{"version":"e8a979b8af001c9fc2e774e7809d233c8ca955a28756f52ee5dee88ccb0611d2","impliedFormat":1},{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true,"impliedFormat":1},{"version":"a42be67ed1ddaec743582f41fc219db96a1b69719fccac6d1464321178d610fc","impliedFormat":1},{"version":"33c87b17649b459b59153536eb1abb9b10d1c156bf2268af093f5a82ccd5472f","impliedFormat":1},{"version":"27f63388dc6a57fbaa695d0f94cd22297c05ccbc28ba2ec66f2eda7acc369cfd","impliedFormat":1},{"version":"fc6644d3d2013e50a6bdb0785a5c219d40b1975970467c2a1d38186a3dca975c","impliedFormat":1},{"version":"579c59e9af9a5f44d7b43e16ac19aa0ffa54595906d92ee27f6e9476defb8d1b","affectsGlobalScope":true,"impliedFormat":1},{"version":"f860395fe7f42570df392b3f7fcb0bf4adca90efca39c44c35058c37f65459ce","impliedFormat":1},{"version":"4c754320a6ff1e7ab0214c7ce852d236f33ed7b8540d611094f1ba663bfd1ef1","impliedFormat":1},{"version":"425a2ad6e6021e83b050ecc09d06630d3259102cba89e1d1251f435b6c95c5dd","signature":"001c9f526b627a4f074d8c56fc27be4bb172e37e7c70716dedc687dc98fe6730"}],"root":[173],"options":{"composite":true,"declaration":true,"emitDeclarationOnly":true,"esModuleInterop":true,"jsx":2,"module":1,"noFallthroughCasesInSwitch":true,"noImplicitReturns":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./cjs","rootDir":"../src","skipLibCheck":true,"sourceMap":true,"strict":true,"target":7},"referencedMap":[[169,1],[171,2],[74,3],[75,3],[115,4],[116,5],[117,6],[118,7],[119,8],[120,9],[121,10],[122,11],[123,12],[124,13],[125,13],[127,14],[126,15],[128,16],[129,17],[130,18],[114,19],[131,20],[132,21],[133,22],[166,23],[134,24],[135,25],[136,26],[137,27],[138,28],[139,29],[140,30],[141,31],[142,32],[143,33],[144,33],[145,34],[147,35],[149,36],[148,37],[150,38],[151,39],[152,40],[153,41],[154,42],[155,43],[156,44],[157,45],[158,46],[159,47],[160,48],[161,49],[162,50],[163,51],[164,52],[92,53],[102,54],[91,53],[112,55],[83,56],[82,57],[111,58],[105,59],[110,60],[85,61],[99,62],[84,63],[108,64],[80,65],[79,66],[109,67],[81,68],[86,69],[90,69],[113,70],[103,71],[94,72],[95,73],[97,74],[93,75],[96,76],[106,58],[88,77],[89,78],[98,79],[78,80],[101,71],[100,69],[107,81],[173,82]],"latestChangedDtsFile":"./cjs/Iota.d.ts","version":"5.6.2"}
1
+ {"fileNames":["../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2015.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2016.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2017.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2018.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2019.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2020.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2021.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2022.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2023.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.esnext.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2015.core.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2016.intl.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2017.date.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2017.object.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2017.string.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2019.array.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2019.object.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2019.string.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2020.date.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2020.string.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2020.number.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2021.string.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2021.intl.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2022.array.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2022.error.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2022.intl.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2022.object.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2022.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2022.string.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2022.regexp.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2023.array.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2023.collection.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2023.intl.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.esnext.array.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.esnext.collection.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.esnext.intl.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.esnext.disposable.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.esnext.string.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.esnext.promise.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.esnext.decorators.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.esnext.object.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.esnext.regexp.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.esnext.iterator.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.decorators.legacy.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/assert.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/assert/strict.d.ts","../../../node_modules/.pnpm/buffer@6.0.3/node_modules/buffer/index.d.ts","../../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/header.d.ts","../../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/readable.d.ts","../../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/file.d.ts","../../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/fetch.d.ts","../../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/formdata.d.ts","../../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/connector.d.ts","../../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/client.d.ts","../../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/errors.d.ts","../../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/dispatcher.d.ts","../../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/global-dispatcher.d.ts","../../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/global-origin.d.ts","../../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/pool-stats.d.ts","../../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/pool.d.ts","../../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/handlers.d.ts","../../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/balanced-pool.d.ts","../../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/agent.d.ts","../../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/mock-interceptor.d.ts","../../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/mock-agent.d.ts","../../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/mock-client.d.ts","../../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/mock-pool.d.ts","../../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/mock-errors.d.ts","../../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/proxy-agent.d.ts","../../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/env-http-proxy-agent.d.ts","../../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/retry-handler.d.ts","../../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/retry-agent.d.ts","../../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/api.d.ts","../../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/interceptors.d.ts","../../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/util.d.ts","../../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/cookies.d.ts","../../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/patch.d.ts","../../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/websocket.d.ts","../../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/eventsource.d.ts","../../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/filereader.d.ts","../../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/diagnostics-channel.d.ts","../../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/content-type.d.ts","../../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/cache.d.ts","../../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/index.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/globals.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/async_hooks.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/buffer.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/child_process.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/cluster.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/console.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/constants.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/crypto.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/dgram.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/diagnostics_channel.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/dns.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/dns/promises.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/domain.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/dom-events.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/events.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/fs.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/fs/promises.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/http.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/http2.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/https.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/inspector.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/module.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/net.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/os.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/path.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/perf_hooks.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/process.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/punycode.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/querystring.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/readline.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/readline/promises.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/repl.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/sea.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/stream.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/stream/promises.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/stream/consumers.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/stream/web.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/string_decoder.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/test.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/timers.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/timers/promises.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/tls.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/trace_events.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/tty.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/url.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/util.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/v8.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/vm.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/wasi.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/worker_threads.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/zlib.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/globals.global.d.ts","../../../node_modules/.pnpm/@types+node@20.16.9/node_modules/@types/node/index.d.ts","../../../node_modules/.pnpm/@ledgerhq+devices@8.4.4/node_modules/@ledgerhq/devices/lib/index.d.ts","../../../node_modules/.pnpm/@ledgerhq+errors@6.19.1/node_modules/@ledgerhq/errors/lib/helpers.d.ts","../../../node_modules/.pnpm/@ledgerhq+errors@6.19.1/node_modules/@ledgerhq/errors/lib/index.d.ts","../../../node_modules/.pnpm/@ledgerhq+logs@6.12.0/node_modules/@ledgerhq/logs/lib/index.d.ts","../../../node_modules/.pnpm/@ledgerhq+hw-transport@6.31.4/node_modules/@ledgerhq/hw-transport/lib/Transport.d.ts","../../../node_modules/.pnpm/fast-sha256@1.3.0/node_modules/fast-sha256/sha256.d.ts","../src/Iota.ts"],"fileIdsList":[[168],[128,166,167,169,170],[74],[115],[116,121,150],[117,122,128,129,136,147,158],[117,118,128,136],[119,159],[120,121,129,137],[121,147,155],[122,124,128,136],[115,123],[124,125],[128],[126,128],[115,128],[128,129,130,147,158],[128,129,130,143,147,150],[113,163],[124,128,131,136,147,158],[128,129,131,132,136,147,155,158],[131,133,147,155,158],[74,75,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165],[128,134],[135,158,163],[124,128,136,147],[137],[138],[115,139],[74,75,115,116,117,118,119,120,121,122,123,124,125,126,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164],[141],[142],[128,143,144],[143,145,159,161],[116,128,147,148,149,150],[116,147,149],[147,148],[150],[151],[74,147],[128,153,154],[153,154],[121,136,147,155],[156],[136,157],[116,131,142,158],[121,159],[147,160],[135,161],[162],[116,121,128,130,139,147,158,161,163],[147,164],[85,89,158],[85,147,158],[80],[82,85,155,158],[136,155],[166],[80,166],[82,85,136,158],[77,78,81,84,116,128,147,158],[85,92],[77,83],[85,106,107],[81,85,116,150,158,166],[116,166],[106,116,166],[79,80,166],[85],[79,80,81,82,83,84,85,86,87,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,107,108,109,110,111,112],[85,100],[85,92,93],[83,85,93,94],[84],[77,80,85],[85,89,93,94],[89],[83,85,88,158],[77,82,85,92],[116,147],[80,85,106,116,163,166],[171,172]],"fileInfos":[{"version":"44e584d4f6444f58791784f1d530875970993129442a847597db702a073ca68c","affectsGlobalScope":true,"impliedFormat":1},{"version":"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","impliedFormat":1},{"version":"3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","impliedFormat":1},{"version":"9a68c0c07ae2fa71b44384a839b7b8d81662a236d4b9ac30916718f7510b1b2d","impliedFormat":1},{"version":"5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","impliedFormat":1},{"version":"68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","impliedFormat":1},{"version":"5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","impliedFormat":1},{"version":"feecb1be483ed332fad555aff858affd90a48ab19ba7272ee084704eb7167569","impliedFormat":1},{"version":"5514e54f17d6d74ecefedc73c504eadffdeda79c7ea205cf9febead32d45c4bc","impliedFormat":1},{"version":"27bdc30a0e32783366a5abeda841bc22757c1797de8681bbe81fbc735eeb1c10","impliedFormat":1},{"version":"abee51ebffafd50c07d76be5848a34abfe4d791b5745ef1e5648718722fab924","impliedFormat":1},{"version":"9e8ca8ed051c2697578c023d9c29d6df689a083561feba5c14aedee895853999","affectsGlobalScope":true,"impliedFormat":1},{"version":"6920e1448680767498a0b77c6a00a8e77d14d62c3da8967b171f1ddffa3c18e4","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true,"impliedFormat":1},{"version":"515d0b7b9bea2e31ea4ec968e9edd2c39d3eebf4a2d5cbd04e88639819ae3b71","affectsGlobalScope":true,"impliedFormat":1},{"version":"45d8ccb3dfd57355eb29749919142d4321a0aa4df6acdfc54e30433d7176600a","affectsGlobalScope":true,"impliedFormat":1},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true,"impliedFormat":1},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true,"impliedFormat":1},{"version":"93495ff27b8746f55d19fcbcdbaccc99fd95f19d057aed1bd2c0cafe1335fbf0","affectsGlobalScope":true,"impliedFormat":1},{"version":"6fc23bb8c3965964be8c597310a2878b53a0306edb71d4b5a4dfe760186bcc01","affectsGlobalScope":true,"impliedFormat":1},{"version":"ea011c76963fb15ef1cdd7ce6a6808b46322c527de2077b6cfdf23ae6f5f9ec7","affectsGlobalScope":true,"impliedFormat":1},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true,"impliedFormat":1},{"version":"69ab18c3b76cd9b1be3d188eaf8bba06112ebbe2f47f6c322b5105a6fbc45a2e","affectsGlobalScope":true,"impliedFormat":1},{"version":"4738f2420687fd85629c9efb470793bb753709c2379e5f85bc1815d875ceadcd","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true,"impliedFormat":1},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"9fc46429fbe091ac5ad2608c657201eb68b6f1b8341bd6d670047d32ed0a88fa","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac9538681b19688c8eae65811b329d3744af679e0bdfa5d842d0e32524c73e1c","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a969edff4bd52585473d24995c5ef223f6652d6ef46193309b3921d65dd4376","affectsGlobalScope":true,"impliedFormat":1},{"version":"9e9fbd7030c440b33d021da145d3232984c8bb7916f277e8ffd3dc2e3eae2bdb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true,"impliedFormat":1},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true,"impliedFormat":1},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true,"impliedFormat":1},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true,"impliedFormat":1},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true,"impliedFormat":1},{"version":"74f7fa2d027d5b33eb0471c8e82a6c87216223181ec31247c357a3e8e2fddc5b","affectsGlobalScope":true,"impliedFormat":1},{"version":"1a94697425a99354df73d9c8291e2ecd4dddd370aed4023c2d6dee6cccb32666","affectsGlobalScope":true,"impliedFormat":1},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true,"impliedFormat":1},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true,"impliedFormat":1},{"version":"bf14a426dbbf1022d11bd08d6b8e709a2e9d246f0c6c1032f3b2edb9a902adbe","affectsGlobalScope":true,"impliedFormat":1},{"version":"e3f9fc0ec0b96a9e642f11eda09c0be83a61c7b336977f8b9fdb1e9788e925fe","affectsGlobalScope":true,"impliedFormat":1},{"version":"59fb2c069260b4ba00b5643b907ef5d5341b167e7d1dbf58dfd895658bda2867","affectsGlobalScope":true,"impliedFormat":1},{"version":"479553e3779be7d4f68e9f40cdb82d038e5ef7592010100410723ceced22a0f7","affectsGlobalScope":true,"impliedFormat":1},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true,"impliedFormat":1},{"version":"af3dd424cf267428f30ccfc376f47a2c0114546b55c44d8c0f1d57d841e28d74","affectsGlobalScope":true,"impliedFormat":1},{"version":"995c005ab91a498455ea8dfb63aa9f83fa2ea793c3d8aa344be4a1678d06d399","affectsGlobalScope":true,"impliedFormat":1},{"version":"d3d7b04b45033f57351c8434f60b6be1ea71a2dfec2d0a0c3c83badbb0e3e693","affectsGlobalScope":true,"impliedFormat":1},{"version":"956d27abdea9652e8368ce029bb1e0b9174e9678a273529f426df4b3d90abd60","affectsGlobalScope":true,"impliedFormat":1},{"version":"4fa6ed14e98aa80b91f61b9805c653ee82af3502dc21c9da5268d3857772ca05","affectsGlobalScope":true,"impliedFormat":1},{"version":"e6633e05da3ff36e6da2ec170d0d03ccf33de50ca4dc6f5aeecb572cedd162fb","affectsGlobalScope":true,"impliedFormat":1},{"version":"15c1c3d7b2e46e0025417ed6d5f03f419e57e6751f87925ca19dc88297053fe6","affectsGlobalScope":true,"impliedFormat":1},{"version":"8444af78980e3b20b49324f4a16ba35024fef3ee069a0eb67616ea6ca821c47a","affectsGlobalScope":true,"impliedFormat":1},{"version":"caccc56c72713969e1cfe5c3d44e5bab151544d9d2b373d7dbe5a1e4166652be","affectsGlobalScope":true,"impliedFormat":1},{"version":"3287d9d085fbd618c3971944b65b4be57859f5415f495b33a6adc994edd2f004","affectsGlobalScope":true,"impliedFormat":1},{"version":"b4b67b1a91182421f5df999988c690f14d813b9850b40acd06ed44691f6727ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"9d540251809289a05349b70ab5f4b7b99f922af66ab3c39ba56a475dcf95d5ff","affectsGlobalScope":true,"impliedFormat":1},{"version":"436aaf437562f276ec2ddbee2f2cdedac7664c1e4c1d2c36839ddd582eeb3d0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e3c06ea092138bf9fa5e874a1fdbc9d54805d074bee1de31b99a11e2fec239d","affectsGlobalScope":true,"impliedFormat":1},{"version":"0b11f3ca66aa33124202c80b70cd203219c3d4460cfc165e0707aa9ec710fc53","affectsGlobalScope":true,"impliedFormat":1},{"version":"6a3f5a0129cc80cf439ab71164334d649b47059a4f5afca90282362407d0c87f","affectsGlobalScope":true,"impliedFormat":1},{"version":"811c71eee4aa0ac5f7adf713323a5c41b0cf6c4e17367a34fbce379e12bbf0a4","affectsGlobalScope":true,"impliedFormat":1},{"version":"51ad4c928303041605b4d7ae32e0c1ee387d43a24cd6f1ebf4a2699e1076d4fa","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a6282c8827e4b9a95f4bf4f5c205673ada31b982f50572d27103df8ceb8013c","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac77cb3e8c6d3565793eb90a8373ee8033146315a3dbead3bde8db5eaf5e5ec6","affectsGlobalScope":true,"impliedFormat":1},{"version":"d4b1d2c51d058fc21ec2629fff7a76249dec2e36e12960ea056e3ef89174080f","affectsGlobalScope":true,"impliedFormat":1},{"version":"2fef54945a13095fdb9b84f705f2b5994597640c46afeb2ce78352fab4cb3279","affectsGlobalScope":true,"impliedFormat":1},{"version":"56e4ed5aab5f5920980066a9409bfaf53e6d21d3f8d020c17e4de584d29600ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"61d6a2092f48af66dbfb220e31eea8b10bc02b6932d6e529005fd2d7b3281290","affectsGlobalScope":true,"impliedFormat":1},{"version":"33358442698bb565130f52ba79bfd3d4d484ac85fe33f3cb1759c54d18201393","affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true,"impliedFormat":1},{"version":"2db0dd3aaa2ed285950273ce96ae8a450b45423aa9da2d10e194570f1233fa6b","impliedFormat":1},{"version":"7394959e5a741b185456e1ef5d64599c36c60a323207450991e7a42e08911419","impliedFormat":1},{"version":"4967529644e391115ca5592184d4b63980569adf60ee685f968fd59ab1557188","impliedFormat":1},{"version":"5929864ce17fba74232584d90cb721a89b7ad277220627cc97054ba15a98ea8f","impliedFormat":1},{"version":"24bd580b5743dc56402c440dc7f9a4f5d592ad7a419f25414d37a7bfe11e342b","impliedFormat":1},{"version":"25c8056edf4314820382a5fdb4bb7816999acdcb929c8f75e3f39473b87e85bc","impliedFormat":1},{"version":"c464d66b20788266e5353b48dc4aa6bc0dc4a707276df1e7152ab0c9ae21fad8","impliedFormat":1},{"version":"78d0d27c130d35c60b5e5566c9f1e5be77caf39804636bc1a40133919a949f21","impliedFormat":1},{"version":"c6fd2c5a395f2432786c9cb8deb870b9b0e8ff7e22c029954fabdd692bff6195","impliedFormat":1},{"version":"1d6e127068ea8e104a912e42fc0a110e2aa5a66a356a917a163e8cf9a65e4a75","impliedFormat":1},{"version":"5ded6427296cdf3b9542de4471d2aa8d3983671d4cac0f4bf9c637208d1ced43","impliedFormat":1},{"version":"6bdc71028db658243775263e93a7db2fd2abfce3ca569c3cca5aee6ed5eb186d","impliedFormat":1},{"version":"cadc8aced301244057c4e7e73fbcae534b0f5b12a37b150d80e5a45aa4bebcbd","impliedFormat":1},{"version":"385aab901643aa54e1c36f5ef3107913b10d1b5bb8cbcd933d4263b80a0d7f20","impliedFormat":1},{"version":"9670d44354bab9d9982eca21945686b5c24a3f893db73c0dae0fd74217a4c219","impliedFormat":1},{"version":"0b8a9268adaf4da35e7fa830c8981cfa22adbbe5b3f6f5ab91f6658899e657a7","impliedFormat":1},{"version":"11396ed8a44c02ab9798b7dca436009f866e8dae3c9c25e8c1fbc396880bf1bb","impliedFormat":1},{"version":"ba7bc87d01492633cb5a0e5da8a4a42a1c86270e7b3d2dea5d156828a84e4882","impliedFormat":1},{"version":"4893a895ea92c85345017a04ed427cbd6a1710453338df26881a6019432febdd","impliedFormat":1},{"version":"c21dc52e277bcfc75fac0436ccb75c204f9e1b3fa5e12729670910639f27343e","impliedFormat":1},{"version":"13f6f39e12b1518c6650bbb220c8985999020fe0f21d818e28f512b7771d00f9","impliedFormat":1},{"version":"9b5369969f6e7175740bf51223112ff209f94ba43ecd3bb09eefff9fd675624a","impliedFormat":1},{"version":"4fe9e626e7164748e8769bbf74b538e09607f07ed17c2f20af8d680ee49fc1da","impliedFormat":1},{"version":"24515859bc0b836719105bb6cc3d68255042a9f02a6022b3187948b204946bd2","impliedFormat":1},{"version":"ea0148f897b45a76544ae179784c95af1bd6721b8610af9ffa467a518a086a43","impliedFormat":1},{"version":"24c6a117721e606c9984335f71711877293a9651e44f59f3d21c1ea0856f9cc9","impliedFormat":1},{"version":"dd3273ead9fbde62a72949c97dbec2247ea08e0c6952e701a483d74ef92d6a17","impliedFormat":1},{"version":"405822be75ad3e4d162e07439bac80c6bcc6dbae1929e179cf467ec0b9ee4e2e","impliedFormat":1},{"version":"0db18c6e78ea846316c012478888f33c11ffadab9efd1cc8bcc12daded7a60b6","impliedFormat":1},{"version":"4d2b0eb911816f66abe4970898f97a2cfc902bcd743cbfa5017fad79f7ef90d8","impliedFormat":1},{"version":"bd0532fd6556073727d28da0edfd1736417a3f9f394877b6d5ef6ad88fba1d1a","impliedFormat":1},{"version":"89167d696a849fce5ca508032aabfe901c0868f833a8625d5a9c6e861ef935d2","impliedFormat":1},{"version":"e53a3c2a9f624d90f24bf4588aacd223e7bec1b9d0d479b68d2f4a9e6011147f","impliedFormat":1},{"version":"24b8685c62562f5d98615c5a0c1d05f297cf5065f15246edfe99e81ec4c0e011","impliedFormat":1},{"version":"93507c745e8f29090efb99399c3f77bec07db17acd75634249dc92f961573387","impliedFormat":1},{"version":"339dc5265ee5ed92e536a93a04c4ebbc2128f45eeec6ed29f379e0085283542c","impliedFormat":1},{"version":"4732aec92b20fb28c5fe9ad99521fb59974289ed1e45aecb282616202184064f","impliedFormat":1},{"version":"2e85db9e6fd73cfa3d7f28e0ab6b55417ea18931423bd47b409a96e4a169e8e6","impliedFormat":1},{"version":"c46e079fe54c76f95c67fb89081b3e399da2c7d109e7dca8e4b58d83e332e605","impliedFormat":1},{"version":"bf67d53d168abc1298888693338cb82854bdb2e69ef83f8a0092093c2d562107","impliedFormat":1},{"version":"f1b470d3d219d67626631e2595976c1cfdfa17deabbf76c2fcdabefc5d5e8c51","affectsGlobalScope":true,"impliedFormat":1},{"version":"3d77c73be94570813f8cadd1f05ebc3dc5e2e4fdefe4d340ca20cd018724ee36","impliedFormat":1},{"version":"4323f5c688c35e5a17cb251d70ee2b279412c56a5f29c211b4ea84384d42d0be","affectsGlobalScope":true,"impliedFormat":1},{"version":"f3e58c4c18a031cbb17abec7a4ad0bd5ae9fc70c1f4ba1e7fb921ad87c504aca","impliedFormat":1},{"version":"a3e8bafb2af8e850c644f4be7f5156cf7d23b7bfdc3b786bd4d10ed40329649c","impliedFormat":1},{"version":"35ec8b6760fd7138bbf5809b84551e31028fb2ba7b6dc91d95d098bf212ca8b4","affectsGlobalScope":true,"impliedFormat":1},{"version":"a40826e8476694e90da94aa008283a7de50d1dafd37beada623863f1901cb7fb","impliedFormat":1},{"version":"c521f961c1606c94dc831992e659f426b6def6e2e6e327ee25d3c642eb393f95","affectsGlobalScope":true,"impliedFormat":1},{"version":"b0c0d1d13be149f790a75b381b413490f98558649428bb916fd2d71a3f47a134","impliedFormat":1},{"version":"3c884d9d9ec454bdf0d5a0b8465bf8297d2caa4d853851d92cc417ac6f30b969","impliedFormat":1},{"version":"5a369483ac4cfbdf0331c248deeb36140e6907db5e1daed241546b4a2055f82c","impliedFormat":1},{"version":"e8f5b5cc36615c17d330eaf8eebbc0d6bdd942c25991f96ef122f246f4ff722f","impliedFormat":1},{"version":"f0bd7e6d931657b59605c44112eaf8b980ba7f957a5051ed21cb93d978cf2f45","impliedFormat":1},{"version":"ee1ee365d88c4c6c0c0a5a5701d66ebc27ccd0bcfcfaa482c6e2e7fe7b98edf7","affectsGlobalScope":true,"impliedFormat":1},{"version":"9a30b7fefd7f8abbca4828d481c61c18e40fe5ff107e113b1c1fcd2c8dcf2743","affectsGlobalScope":true,"impliedFormat":1},{"version":"596572d40c1f13d8b57920d6d1a77c5ec6fe4952dc157f416f04a801cd3e2678","impliedFormat":1},{"version":"ad23fd126ff06e72728dd7bfc84326a8ca8cec2b9d2dac0193d42a777df0e7d8","impliedFormat":1},{"version":"a55fd4d49da86d2cc19de575beb1515184e55f5f3165e1482ff02fd99f900b5c","impliedFormat":1},{"version":"93bd413918fa921c8729cef45302b24d8b6c7855d72d5bf82d3972595ae8dcbf","impliedFormat":1},{"version":"4ff41188773cbf465807dd2f7059c7494cbee5115608efc297383832a1150c43","impliedFormat":1},{"version":"dccdf1677e531e33f8ac961a68bc537418c9a414797c1ea7e91307501cdc3f5e","impliedFormat":1},{"version":"7edec695cdb707c7146ac34c44ca364469c7ea504344b3206c686e79f61b61a2","affectsGlobalScope":true,"impliedFormat":1},{"version":"aba8aefa29914f531f49ba6b34212f7861022ad0b67a28c63a1d78264a8b1910","impliedFormat":1},{"version":"93f437e1398a4f06a984f441f7fa7a9f0535c04399619b5c22e0b87bdee182cb","impliedFormat":1},{"version":"d1b1295af3667779be43eb6d4fbaa342e656aa2c4b77a4ad3cf42ec55baeea00","impliedFormat":1},{"version":"70731d10d5311bd4cf710ef7f6539b62660f4b0bfdbb3f9fbe1d25fe6366a7fa","affectsGlobalScope":true,"impliedFormat":1},{"version":"a20f1e119615bf7632729fd89b6c0b5ffdc2df3b512d6304146294528e3ebe19","affectsGlobalScope":true,"impliedFormat":1},{"version":"9e043a1bc8fbf2a255bccf9bf27e0f1caf916c3b0518ea34aa72357c0afd42ec","impliedFormat":1},{"version":"137c2894e8f3e9672d401cc0a305dc7b1db7c69511cf6d3970fb53302f9eae09","impliedFormat":1},{"version":"dd9492e12a57068f08d70cb5eb5ceb39fa5bcf23be01af574270aeee95b982af","impliedFormat":1},{"version":"e432b0e3761ca9ba734bdd41e19a75fec1454ca8e9769bfdf8b31011854cf06a","impliedFormat":1},{"version":"f9d9d753d430ed050dc1bf2667a1bab711ccbb1c1507183d794cc195a5b085cc","impliedFormat":1},{"version":"9eece5e586312581ccd106d4853e861aaaa1a39f8e3ea672b8c3847eedd12f6e","impliedFormat":1},{"version":"78955c9259da94920609be3e589fc9253268b3fffa822e1e31d28ee2ce0b8a74","impliedFormat":1},{"version":"269929a24b2816343a178008ac9ae9248304d92a8ba8e233055e0ed6dbe6ef71","impliedFormat":1},{"version":"93452d394fdd1dc551ec62f5042366f011a00d342d36d50793b3529bfc9bd633","impliedFormat":1},{"version":"73aa178e8fb1449ef3666093d8dca25f96302a80ee45f8ff027df8e4792bf9fd","affectsGlobalScope":true,"impliedFormat":1},{"version":"1851a3b4db78664f83901bb9cac9e45e03a37bb5933cc5bf37e10bb7e91ab4eb","impliedFormat":1},{"version":"fdedf82878e4c744bc2a1c1e802ae407d63474da51f14a54babe039018e53d8f","affectsGlobalScope":true,"impliedFormat":1},{"version":"08353b04a3501d84fc8d7b49de99f6c1cc26026e6d9d697a18315f3bfe92ed03","affectsGlobalScope":true,"impliedFormat":1},{"version":"578d8bb6dcb2a1c03c4c3f8eb71abc9677e1a5c788b7f24848e3138ce17f3400","impliedFormat":1},{"version":"4f029899f9bae07e225c43aef893590541b2b43267383bf5e32e3a884d219ed5","impliedFormat":1},{"version":"ae56f65caf3be91108707bd8dfbccc2a57a91feb5daabf7165a06a945545ed26","impliedFormat":1},{"version":"a136d5de521da20f31631a0a96bf712370779d1c05b7015d7019a9b2a0446ca9","impliedFormat":1},{"version":"710ad93f8de29dc15e5892aa735e72348b62f40a6d1220f2849837d332f92885","affectsGlobalScope":true,"impliedFormat":1},{"version":"1f1da5d682cdb628890e4a8578fb9e8ab332e6a1a4b3a13fce08b7b4d45d192a","affectsGlobalScope":true,"impliedFormat":1},{"version":"efeedd8bbc5c0d53e760d8b120a010470722982e6ae14de8d1bcff66ebc2ae71","impliedFormat":1},{"version":"b718a94332858862943630649a310d6f8e9a09f86ae7215d8554e75bbbfd7817","impliedFormat":1},{"version":"d91a7d8b5655c42986f1bdfe2105c4408f472831c8f20cf11a8c3345b6b56c8c","impliedFormat":1},{"version":"616075a6ac578cf5a013ee12964188b4412823796ce0b202c6f1d2e4ca8480d7","affectsGlobalScope":true,"impliedFormat":1},{"version":"e8a979b8af001c9fc2e774e7809d233c8ca955a28756f52ee5dee88ccb0611d2","impliedFormat":1},{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true,"impliedFormat":1},{"version":"a42be67ed1ddaec743582f41fc219db96a1b69719fccac6d1464321178d610fc","impliedFormat":1},{"version":"33c87b17649b459b59153536eb1abb9b10d1c156bf2268af093f5a82ccd5472f","impliedFormat":1},{"version":"27f63388dc6a57fbaa695d0f94cd22297c05ccbc28ba2ec66f2eda7acc369cfd","impliedFormat":1},{"version":"fc6644d3d2013e50a6bdb0785a5c219d40b1975970467c2a1d38186a3dca975c","impliedFormat":1},{"version":"579c59e9af9a5f44d7b43e16ac19aa0ffa54595906d92ee27f6e9476defb8d1b","affectsGlobalScope":true,"impliedFormat":1},{"version":"f860395fe7f42570df392b3f7fcb0bf4adca90efca39c44c35058c37f65459ce","impliedFormat":1},{"version":"4c754320a6ff1e7ab0214c7ce852d236f33ed7b8540d611094f1ba663bfd1ef1","impliedFormat":1},{"version":"9c4a5e8de5f04f7786db567a04261a952a64139d3dc3c2f85c0df72e01ef9f9d","signature":"3549a34092ceeef1f17a322d1176a403f458e7e498cf439d92cfae4dc2fb72e5"}],"root":[173],"options":{"composite":true,"declaration":true,"emitDeclarationOnly":true,"esModuleInterop":true,"jsx":2,"module":1,"noFallthroughCasesInSwitch":true,"noImplicitReturns":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./cjs","rootDir":"../src","skipLibCheck":true,"sourceMap":true,"strict":true,"target":7},"referencedMap":[[169,1],[171,2],[74,3],[75,3],[115,4],[116,5],[117,6],[118,7],[119,8],[120,9],[121,10],[122,11],[123,12],[124,13],[125,13],[127,14],[126,15],[128,16],[129,17],[130,18],[114,19],[131,20],[132,21],[133,22],[166,23],[134,24],[135,25],[136,26],[137,27],[138,28],[139,29],[140,30],[141,31],[142,32],[143,33],[144,33],[145,34],[147,35],[149,36],[148,37],[150,38],[151,39],[152,40],[153,41],[154,42],[155,43],[156,44],[157,45],[158,46],[159,47],[160,48],[161,49],[162,50],[163,51],[164,52],[92,53],[102,54],[91,53],[112,55],[83,56],[82,57],[111,58],[105,59],[110,60],[85,61],[99,62],[84,63],[108,64],[80,65],[79,66],[109,67],[81,68],[86,69],[90,69],[113,70],[103,71],[94,72],[95,73],[97,74],[93,75],[96,76],[106,58],[88,77],[89,78],[98,79],[78,80],[101,71],[100,69],[107,81],[173,82]],"latestChangedDtsFile":"./cjs/Iota.d.ts","version":"5.6.2"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iota/ledgerjs-hw-app-iota",
3
- "version": "0.2.2",
3
+ "version": "0.3.0",
4
4
  "description": "Ledger Hardware Wallet IOTA Application API",
5
5
  "keywords": [
6
6
  "Ledger",
package/src/Iota.ts CHANGED
@@ -1,6 +1,7 @@
1
1
  // Copyright (c) Mysten Labs, Inc.
2
2
  // Modifications Copyright (c) 2024 IOTA Stiftung
3
3
  // SPDX-License-Identifier: Apache-2.0
4
+
4
5
  /* eslint-disable no-restricted-globals */
5
6
 
6
7
  import type Transport from '@ledgerhq/hw-transport';
@@ -72,14 +73,15 @@ export default class Iota {
72
73
  const payload = buildBip32KeyPayload(path);
73
74
  const response = await this.#sendChunks(cla, ins, p1, p2, payload);
74
75
  const keySize = response[0];
76
+
75
77
  const publicKey = response.slice(1, keySize + 1); // slice uses end index.
76
78
  let address: Uint8Array | null = null;
77
79
  if (response.length > keySize + 2) {
78
80
  const addressSize = response[keySize + 1];
79
- address = response.slice(keySize + 2, keySize + 2 + addressSize);
81
+ address = response.slice(keySize + 2, keySize + 2 + addressSize) as Uint8Array;
80
82
  }
81
83
  const res: GetPublicKeyResult = {
82
- publicKey: publicKey,
84
+ publicKey: publicKey as Uint8Array,
83
85
  address: address!,
84
86
  };
85
87
  return res;
@@ -88,39 +90,75 @@ export default class Iota {
88
90
  /**
89
91
  * Sign a transaction with the key at a BIP32 path.
90
92
  *
91
- * @param txn - The transaction; this can be any of a node Buffer, Uint8Array, or a hexadecimal string, encoding the form of the transaction appropriate for hashing and signing.
92
- * @param path - the path to use when signing the transaction.
93
+ * @param txn - The transaction bytes to sign.
94
+ * @param path - The path to use when signing the transaction.
95
+ * @param options - Additional options used for clear signing purposes.
93
96
  */
94
97
  async signTransaction(
95
98
  path: string,
96
- txn: string | Buffer | Uint8Array,
99
+ txn: Uint8Array,
100
+ options?: {
101
+ bcsObjects: Uint8Array[];
102
+ },
97
103
  ): Promise<SignTransactionResult> {
98
104
  const cla = 0x00;
99
105
  const ins = 0x03;
100
106
  const p1 = 0;
101
107
  const p2 = 0;
102
- // Transaction payload is the byte length as uint32le followed by the bytes
103
- // Type guard not actually required but TypeScript can't tell that.
108
+
104
109
  if (this.#verbose) this.#log(txn);
105
- const rawTxn = typeof txn == 'string' ? Buffer.from(txn, 'hex') : Buffer.from(txn);
110
+
111
+ // Transaction payload is the byte length as uint32le followed by the bytes
112
+ const rawTxn = Buffer.from(txn);
106
113
  const hashSize = Buffer.alloc(4);
107
114
  hashSize.writeUInt32LE(rawTxn.length, 0);
108
- // Bip32key payload same as getPublicKey
115
+
116
+ // Build transaction payload:
117
+ const payloadTxn = Buffer.concat([hashSize, rawTxn] as Uint8Array[]);
118
+ this.#log('Payload Txn', payloadTxn);
119
+
109
120
  const bip32KeyPayload = buildBip32KeyPayload(path);
110
- // These are just squashed together
111
- const payload_txn = Buffer.concat([hashSize, rawTxn]);
112
- this.#log('Payload Txn', payload_txn);
113
- // TODO batch this since the payload length can be uint32le.max long
114
- const signature = await this.#sendChunks(cla, ins, p1, p2, [payload_txn, bip32KeyPayload]);
115
- return {
116
- signature,
117
- };
121
+ const payloads = [payloadTxn, bip32KeyPayload];
122
+
123
+ // The public getVersion is decorated with a lock in the constructor:
124
+ const { major } = await this.#internalGetVersion();
125
+ const bcsObjects = options?.bcsObjects ?? [];
126
+
127
+ this.#log('Objects list length', bcsObjects.length);
128
+ this.#log('App version', major);
129
+
130
+ if (major > 0 && bcsObjects.length > 0) {
131
+ // Build object list payload:
132
+ const numItems = Buffer.alloc(4);
133
+ numItems.writeUInt32LE(bcsObjects.length, 0);
134
+
135
+ let listData = Buffer.from(numItems as Uint8Array);
136
+
137
+ // Add each item with its length prefix:
138
+ for (const item of bcsObjects) {
139
+ const rawItem = Buffer.from(item);
140
+ const itemLen = Buffer.alloc(4);
141
+ itemLen.writeUInt32LE(rawItem.length, 0);
142
+
143
+ listData = Buffer.concat([listData, itemLen, rawItem] as Uint8Array[]);
144
+ }
145
+
146
+ payloads.push(listData);
147
+ }
148
+
149
+ // Send the chunks and return the signature
150
+ const signature = await this.#sendChunks(cla, ins, p1, p2, payloads);
151
+ return { signature: signature as Uint8Array };
118
152
  }
119
153
 
120
154
  /**
121
155
  * Retrieve the app version on the attached Ledger device.
122
156
  */
123
157
  async getVersion(): Promise<GetVersionResult> {
158
+ return await this.#internalGetVersion();
159
+ }
160
+
161
+ async #internalGetVersion() {
124
162
  const [major, minor, patch] = await this.#sendChunks(
125
163
  0x00,
126
164
  0x00,
@@ -168,10 +206,10 @@ export default class Iota {
168
206
  // We have to do it this way, because a block knows the hash of
169
207
  // the next block.
170
208
  data = chunkList.reduceRight((blocks, chunk) => {
171
- const linkedChunk = Buffer.concat([lastHash, chunk]);
209
+ const linkedChunk = Buffer.concat([lastHash, chunk] as Uint8Array[]);
172
210
  this.#log('Chunk: ', chunk);
173
211
  this.#log('linkedChunk: ', linkedChunk);
174
- lastHash = Buffer.from(sha256(linkedChunk));
212
+ lastHash = Buffer.from(sha256(linkedChunk as Uint8Array));
175
213
  blocks.set(lastHash.toString('hex'), linkedChunk);
176
214
  return blocks;
177
215
  }, data);
@@ -184,7 +222,11 @@ export default class Iota {
184
222
  ins,
185
223
  p1,
186
224
  p2,
187
- Buffer.concat([Buffer.from([HostToLedger.START])].concat(parameterList)),
225
+ Buffer.concat(
226
+ ([Buffer.from([HostToLedger.START])] as Uint8Array[]).concat(
227
+ parameterList as Uint8Array[],
228
+ ),
229
+ ),
188
230
  data,
189
231
  );
190
232
  }
@@ -212,7 +254,7 @@ export default class Iota {
212
254
  switch (rv_instruction) {
213
255
  case LedgerToHost.RESULT_ACCUMULATING:
214
256
  case LedgerToHost.RESULT_FINAL:
215
- result = Buffer.concat([result, rv_payload]);
257
+ result = Buffer.concat([result, rv_payload] as Uint8Array[]);
216
258
  // Won't actually send this if we drop out of the loop for RESULT_FINAL
217
259
  payload = Buffer.from([HostToLedger.RESULT_ACCUMULATING_RESPONSE]);
218
260
  break;
@@ -224,13 +266,16 @@ export default class Iota {
224
266
  payload = Buffer.concat([
225
267
  Buffer.from([HostToLedger.GET_CHUNK_RESPONSE_SUCCESS]),
226
268
  chunk,
227
- ]);
269
+ ] as Uint8Array[]);
228
270
  } else {
229
271
  payload = Buffer.from([HostToLedger.GET_CHUNK_RESPONSE_FAILURE]);
230
272
  }
231
273
  break;
232
274
  case LedgerToHost.PUT_CHUNK:
233
- data.set(Buffer.from(sha256(rv_payload)).toString('hex'), rv_payload);
275
+ data.set(
276
+ Buffer.from(sha256(rv_payload as Uint8Array)).toString('hex'),
277
+ rv_payload,
278
+ );
234
279
  payload = Buffer.from([HostToLedger.PUT_CHUNK_RESPONSE]);
235
280
  break;
236
281
  }