@joai/warps-adapter-fastset 1.1.0 → 1.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- import { WarpChainAsset, ChainAdapterFactory, AdapterWarpExecutor, WarpClientConfig, WarpChainInfo, WarpExecutable, WarpAdapterGenericTransaction, AdapterWarpWallet, WarpWalletDetails, WarpWalletProvider } from '@joai/warps';
1
+ import { ChainAdapterFactory, WarpChainAsset, AdapterWarpExecutor, WarpClientConfig, WarpChainInfo, WarpExecutable, WarpAdapterGenericTransaction, AdapterWarpWallet, WarpWalletDetails, WarpWalletProvider } from '@joai/warps';
2
2
 
3
3
  declare const NativeTokenSet: WarpChainAsset;
4
4
  declare const FastsetAdapter: ChainAdapterFactory;
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { WarpChainAsset, ChainAdapterFactory, AdapterWarpExecutor, WarpClientConfig, WarpChainInfo, WarpExecutable, WarpAdapterGenericTransaction, AdapterWarpWallet, WarpWalletDetails, WarpWalletProvider } from '@joai/warps';
1
+ import { ChainAdapterFactory, WarpChainAsset, AdapterWarpExecutor, WarpClientConfig, WarpChainInfo, WarpExecutable, WarpAdapterGenericTransaction, AdapterWarpWallet, WarpWalletDetails, WarpWalletProvider } from '@joai/warps';
2
2
 
3
3
  declare const NativeTokenSet: WarpChainAsset;
4
4
  declare const FastsetAdapter: ChainAdapterFactory;
package/dist/index.js CHANGED
@@ -210,11 +210,11 @@ function radix(num) {
210
210
  var genBase58 = /* @__NO_SIDE_EFFECTS__ */ (abc) => /* @__PURE__ */ chain(/* @__PURE__ */ radix(58), /* @__PURE__ */ alphabet(abc), /* @__PURE__ */ join(""));
211
211
  var base58 = /* @__PURE__ */ genBase58("123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz");
212
212
 
213
- // node_modules/@mysten/utils/dist/esm/b58.js
213
+ // ../../node_modules/@mysten/utils/dist/esm/b58.js
214
214
  var toBase58 = (buffer) => base58.encode(buffer);
215
215
  var fromBase58 = (str) => base58.decode(str);
216
216
 
217
- // node_modules/@mysten/utils/dist/esm/b64.js
217
+ // ../../node_modules/@mysten/utils/dist/esm/b64.js
218
218
  function fromBase64(base64String) {
219
219
  return Uint8Array.from(atob(base64String), (char) => char.charCodeAt(0));
220
220
  }
@@ -231,7 +231,7 @@ function toBase64(bytes) {
231
231
  return btoa(output);
232
232
  }
233
233
 
234
- // node_modules/@mysten/utils/dist/esm/hex.js
234
+ // ../../node_modules/@mysten/utils/dist/esm/hex.js
235
235
  function fromHex(hexStr) {
236
236
  const normalized = hexStr.startsWith("0x") ? hexStr.slice(2) : hexStr;
237
237
  const padded = normalized.length % 2 === 0 ? normalized : `0${normalized}`;
@@ -245,7 +245,7 @@ function toHex(bytes) {
245
245
  return bytes.reduce((str, byte) => str + byte.toString(16).padStart(2, "0"), "");
246
246
  }
247
247
 
248
- // node_modules/@mysten/bcs/dist/esm/uleb.js
248
+ // ../../node_modules/@mysten/bcs/dist/esm/uleb.js
249
249
  function ulebEncode(num) {
250
250
  let bigNum = BigInt(num);
251
251
  const arr = [];
@@ -288,7 +288,7 @@ function ulebDecode(arr) {
288
288
  };
289
289
  }
290
290
 
291
- // node_modules/@mysten/bcs/dist/esm/reader.js
291
+ // ../../node_modules/@mysten/bcs/dist/esm/reader.js
292
292
  var BcsReader = class {
293
293
  /**
294
294
  * @param {Uint8Array} data Data to use as a buffer.
@@ -401,7 +401,7 @@ var BcsReader = class {
401
401
  }
402
402
  };
403
403
 
404
- // node_modules/@mysten/bcs/dist/esm/utils.js
404
+ // ../../node_modules/@mysten/bcs/dist/esm/utils.js
405
405
  function encodeStr(data, encoding) {
406
406
  switch (encoding) {
407
407
  case "base58":
@@ -415,7 +415,7 @@ function encodeStr(data, encoding) {
415
415
  }
416
416
  }
417
417
 
418
- // node_modules/@mysten/bcs/dist/esm/writer.js
418
+ // ../../node_modules/@mysten/bcs/dist/esm/writer.js
419
419
  var BcsWriter = class {
420
420
  constructor({
421
421
  initialSize = 1024,
@@ -587,7 +587,7 @@ function toLittleEndian(bigint, size) {
587
587
  return result;
588
588
  }
589
589
 
590
- // node_modules/@mysten/bcs/dist/esm/bcs-type.js
590
+ // ../../node_modules/@mysten/bcs/dist/esm/bcs-type.js
591
591
  var __typeError = (msg) => {
592
592
  throw TypeError(msg);
593
593
  };
@@ -936,7 +936,7 @@ var BcsTuple = class extends BcsType {
936
936
  }
937
937
  };
938
938
 
939
- // node_modules/@mysten/bcs/dist/esm/bcs.js
939
+ // ../../node_modules/@mysten/bcs/dist/esm/bcs.js
940
940
  function fixedArray(size, type, options) {
941
941
  return new BcsType({
942
942
  read: (reader) => {
@@ -1868,7 +1868,7 @@ var WarpFastsetOutput = class {
1868
1868
  this.chain = chain2;
1869
1869
  this.serializer = new WarpFastsetSerializer();
1870
1870
  }
1871
- async getActionExecution(warp, actionIndex, tx) {
1871
+ async getActionExecution(warp, actionIndex, tx, _resolvedInputs) {
1872
1872
  const success = this.isTransactionSuccessful(tx);
1873
1873
  const transactionHash = this.extractTransactionHash(tx);
1874
1874
  const blockNumber = this.extractBlockNumber(tx);