@joai/warps-adapter-fastset 1.1.0 → 1.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -175,11 +175,11 @@ function radix(num) {
175
175
  var genBase58 = /* @__NO_SIDE_EFFECTS__ */ (abc) => /* @__PURE__ */ chain(/* @__PURE__ */ radix(58), /* @__PURE__ */ alphabet(abc), /* @__PURE__ */ join(""));
176
176
  var base58 = /* @__PURE__ */ genBase58("123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz");
177
177
 
178
- // node_modules/@mysten/utils/dist/esm/b58.js
178
+ // ../../node_modules/@mysten/utils/dist/esm/b58.js
179
179
  var toBase58 = (buffer) => base58.encode(buffer);
180
180
  var fromBase58 = (str) => base58.decode(str);
181
181
 
182
- // node_modules/@mysten/utils/dist/esm/b64.js
182
+ // ../../node_modules/@mysten/utils/dist/esm/b64.js
183
183
  function fromBase64(base64String) {
184
184
  return Uint8Array.from(atob(base64String), (char) => char.charCodeAt(0));
185
185
  }
@@ -196,7 +196,7 @@ function toBase64(bytes) {
196
196
  return btoa(output);
197
197
  }
198
198
 
199
- // node_modules/@mysten/utils/dist/esm/hex.js
199
+ // ../../node_modules/@mysten/utils/dist/esm/hex.js
200
200
  function fromHex(hexStr) {
201
201
  const normalized = hexStr.startsWith("0x") ? hexStr.slice(2) : hexStr;
202
202
  const padded = normalized.length % 2 === 0 ? normalized : `0${normalized}`;
@@ -210,7 +210,7 @@ function toHex(bytes) {
210
210
  return bytes.reduce((str, byte) => str + byte.toString(16).padStart(2, "0"), "");
211
211
  }
212
212
 
213
- // node_modules/@mysten/bcs/dist/esm/uleb.js
213
+ // ../../node_modules/@mysten/bcs/dist/esm/uleb.js
214
214
  function ulebEncode(num) {
215
215
  let bigNum = BigInt(num);
216
216
  const arr = [];
@@ -253,7 +253,7 @@ function ulebDecode(arr) {
253
253
  };
254
254
  }
255
255
 
256
- // node_modules/@mysten/bcs/dist/esm/reader.js
256
+ // ../../node_modules/@mysten/bcs/dist/esm/reader.js
257
257
  var BcsReader = class {
258
258
  /**
259
259
  * @param {Uint8Array} data Data to use as a buffer.
@@ -366,7 +366,7 @@ var BcsReader = class {
366
366
  }
367
367
  };
368
368
 
369
- // node_modules/@mysten/bcs/dist/esm/utils.js
369
+ // ../../node_modules/@mysten/bcs/dist/esm/utils.js
370
370
  function encodeStr(data, encoding) {
371
371
  switch (encoding) {
372
372
  case "base58":
@@ -380,7 +380,7 @@ function encodeStr(data, encoding) {
380
380
  }
381
381
  }
382
382
 
383
- // node_modules/@mysten/bcs/dist/esm/writer.js
383
+ // ../../node_modules/@mysten/bcs/dist/esm/writer.js
384
384
  var BcsWriter = class {
385
385
  constructor({
386
386
  initialSize = 1024,
@@ -552,7 +552,7 @@ function toLittleEndian(bigint, size) {
552
552
  return result;
553
553
  }
554
554
 
555
- // node_modules/@mysten/bcs/dist/esm/bcs-type.js
555
+ // ../../node_modules/@mysten/bcs/dist/esm/bcs-type.js
556
556
  var __typeError = (msg) => {
557
557
  throw TypeError(msg);
558
558
  };
@@ -901,7 +901,7 @@ var BcsTuple = class extends BcsType {
901
901
  }
902
902
  };
903
903
 
904
- // node_modules/@mysten/bcs/dist/esm/bcs.js
904
+ // ../../node_modules/@mysten/bcs/dist/esm/bcs.js
905
905
  function fixedArray(size, type, options) {
906
906
  return new BcsType({
907
907
  read: (reader) => {
@@ -1692,6 +1692,12 @@ var WarpFastsetExecutor = class {
1692
1692
  async executeQuery(executable) {
1693
1693
  throw new Error("WarpFastsetExecutor: Not implemented");
1694
1694
  }
1695
+ async createDeployTransaction() {
1696
+ throw new Error("WarpFastsetExecutor: Contract deployment not supported");
1697
+ }
1698
+ async createUpgradeTransaction() {
1699
+ throw new Error("WarpFastsetExecutor: Contract upgrade not supported");
1700
+ }
1695
1701
  };
1696
1702
 
1697
1703
  // src/WarpFastsetExplorer.ts
@@ -1843,7 +1849,7 @@ var WarpFastsetOutput = class {
1843
1849
  this.chain = chain2;
1844
1850
  this.serializer = new WarpFastsetSerializer();
1845
1851
  }
1846
- async getActionExecution(warp, actionIndex, tx) {
1852
+ async getActionExecution(warp, actionIndex, tx, _resolvedInputs) {
1847
1853
  const success = this.isTransactionSuccessful(tx);
1848
1854
  const transactionHash = this.extractTransactionHash(tx);
1849
1855
  const blockNumber = this.extractBlockNumber(tx);