@fuel-ts/account 0.0.0-rc-2432-20240610171540 → 0.0.0-rc-2491-20240611075910

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.

Potentially problematic release.


This version of @fuel-ts/account might be problematic. Click here for more details.

package/dist/configs.d.ts CHANGED
@@ -1,4 +1,4 @@
1
1
  export declare const FUEL_NETWORK_URL: string;
2
- export declare const FUEL_DEVNET_NETWORK_URL: string;
3
- export declare const FUEL_TESTNET_NETWORK_URL: string;
2
+ export declare const DEVNET_NETWORK_URL = "https://devnet.fuel.network/v1/graphql";
3
+ export declare const TESTNET_NETWORK_URL = "https://testnet.fuel.network/v1/graphql";
4
4
  //# sourceMappingURL=configs.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"configs.d.ts","sourceRoot":"","sources":["../src/configs.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gBAAgB,EAAE,MAGS,CAAC;AAEzC,eAAO,MAAM,uBAAuB,EAAE,MAAiD,CAAC;AACxF,eAAO,MAAM,wBAAwB,EAAE,MAAkD,CAAC"}
1
+ {"version":3,"file":"configs.d.ts","sourceRoot":"","sources":["../src/configs.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gBAAgB,EAAE,MAGS,CAAC;AAEzC,eAAO,MAAM,kBAAkB,2CAA2C,CAAC;AAC3E,eAAO,MAAM,mBAAmB,4CAA4C,CAAC"}
@@ -2,7 +2,7 @@
2
2
  (() => {
3
3
  // src/configs.ts
4
4
  var FUEL_NETWORK_URL = typeof process !== "undefined" ? process?.env?.FUEL_NETWORK_URL || "http://127.0.0.1:4000/v1/graphql" : "http://127.0.0.1:4000/v1/graphql";
5
- var FUEL_DEVNET_NETWORK_URL = "https://devnet.fuel.network/v1/graphql";
6
- var FUEL_TESTNET_NETWORK_URL = "https://testnet.fuel.network/v1/graphql";
5
+ var DEVNET_NETWORK_URL = "https://devnet.fuel.network/v1/graphql";
6
+ var TESTNET_NETWORK_URL = "https://testnet.fuel.network/v1/graphql";
7
7
  })();
8
8
  //# sourceMappingURL=configs.global.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/configs.ts"],"sourcesContent":["export const FUEL_NETWORK_URL: string =\n typeof process !== 'undefined'\n ? process?.env?.FUEL_NETWORK_URL || 'http://127.0.0.1:4000/v1/graphql'\n : 'http://127.0.0.1:4000/v1/graphql';\n\nexport const FUEL_DEVNET_NETWORK_URL: string = 'https://devnet.fuel.network/v1/graphql';\nexport const FUEL_TESTNET_NETWORK_URL: string = 'https://testnet.fuel.network/v1/graphql';\n"],"mappings":";;;AAAO,MAAM,mBACX,OAAO,YAAY,cACf,SAAS,KAAK,oBAAoB,qCAClC;AAEC,MAAM,0BAAkC;AACxC,MAAM,2BAAmC;","names":[]}
1
+ {"version":3,"sources":["../src/configs.ts"],"sourcesContent":["export const FUEL_NETWORK_URL: string =\n typeof process !== 'undefined'\n ? process?.env?.FUEL_NETWORK_URL || 'http://127.0.0.1:4000/v1/graphql'\n : 'http://127.0.0.1:4000/v1/graphql';\n\nexport const DEVNET_NETWORK_URL = 'https://devnet.fuel.network/v1/graphql';\nexport const TESTNET_NETWORK_URL = 'https://testnet.fuel.network/v1/graphql';\n"],"mappings":";;;AAAO,MAAM,mBACX,OAAO,YAAY,cACf,SAAS,KAAK,oBAAoB,qCAClC;AAEC,MAAM,qBAAqB;AAC3B,MAAM,sBAAsB;","names":[]}
package/dist/configs.js CHANGED
@@ -20,18 +20,18 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
20
20
  // src/configs.ts
21
21
  var configs_exports = {};
22
22
  __export(configs_exports, {
23
- FUEL_DEVNET_NETWORK_URL: () => FUEL_DEVNET_NETWORK_URL,
23
+ DEVNET_NETWORK_URL: () => DEVNET_NETWORK_URL,
24
24
  FUEL_NETWORK_URL: () => FUEL_NETWORK_URL,
25
- FUEL_TESTNET_NETWORK_URL: () => FUEL_TESTNET_NETWORK_URL
25
+ TESTNET_NETWORK_URL: () => TESTNET_NETWORK_URL
26
26
  });
27
27
  module.exports = __toCommonJS(configs_exports);
28
28
  var FUEL_NETWORK_URL = typeof process !== "undefined" ? process?.env?.FUEL_NETWORK_URL || "http://127.0.0.1:4000/v1/graphql" : "http://127.0.0.1:4000/v1/graphql";
29
- var FUEL_DEVNET_NETWORK_URL = "https://devnet.fuel.network/v1/graphql";
30
- var FUEL_TESTNET_NETWORK_URL = "https://testnet.fuel.network/v1/graphql";
29
+ var DEVNET_NETWORK_URL = "https://devnet.fuel.network/v1/graphql";
30
+ var TESTNET_NETWORK_URL = "https://testnet.fuel.network/v1/graphql";
31
31
  // Annotate the CommonJS export names for ESM import in node:
32
32
  0 && (module.exports = {
33
- FUEL_DEVNET_NETWORK_URL,
33
+ DEVNET_NETWORK_URL,
34
34
  FUEL_NETWORK_URL,
35
- FUEL_TESTNET_NETWORK_URL
35
+ TESTNET_NETWORK_URL
36
36
  });
37
37
  //# sourceMappingURL=configs.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/configs.ts"],"sourcesContent":["export const FUEL_NETWORK_URL: string =\n typeof process !== 'undefined'\n ? process?.env?.FUEL_NETWORK_URL || 'http://127.0.0.1:4000/v1/graphql'\n : 'http://127.0.0.1:4000/v1/graphql';\n\nexport const FUEL_DEVNET_NETWORK_URL: string = 'https://devnet.fuel.network/v1/graphql';\nexport const FUEL_TESTNET_NETWORK_URL: string = 'https://testnet.fuel.network/v1/graphql';\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAO,IAAM,mBACX,OAAO,YAAY,cACf,SAAS,KAAK,oBAAoB,qCAClC;AAEC,IAAM,0BAAkC;AACxC,IAAM,2BAAmC;","names":[]}
1
+ {"version":3,"sources":["../src/configs.ts"],"sourcesContent":["export const FUEL_NETWORK_URL: string =\n typeof process !== 'undefined'\n ? process?.env?.FUEL_NETWORK_URL || 'http://127.0.0.1:4000/v1/graphql'\n : 'http://127.0.0.1:4000/v1/graphql';\n\nexport const DEVNET_NETWORK_URL = 'https://devnet.fuel.network/v1/graphql';\nexport const TESTNET_NETWORK_URL = 'https://testnet.fuel.network/v1/graphql';\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAO,IAAM,mBACX,OAAO,YAAY,cACf,SAAS,KAAK,oBAAoB,qCAClC;AAEC,IAAM,qBAAqB;AAC3B,IAAM,sBAAsB;","names":[]}
package/dist/configs.mjs CHANGED
@@ -1,10 +1,10 @@
1
1
  // src/configs.ts
2
2
  var FUEL_NETWORK_URL = typeof process !== "undefined" ? process?.env?.FUEL_NETWORK_URL || "http://127.0.0.1:4000/v1/graphql" : "http://127.0.0.1:4000/v1/graphql";
3
- var FUEL_DEVNET_NETWORK_URL = "https://devnet.fuel.network/v1/graphql";
4
- var FUEL_TESTNET_NETWORK_URL = "https://testnet.fuel.network/v1/graphql";
3
+ var DEVNET_NETWORK_URL = "https://devnet.fuel.network/v1/graphql";
4
+ var TESTNET_NETWORK_URL = "https://testnet.fuel.network/v1/graphql";
5
5
  export {
6
- FUEL_DEVNET_NETWORK_URL,
6
+ DEVNET_NETWORK_URL,
7
7
  FUEL_NETWORK_URL,
8
- FUEL_TESTNET_NETWORK_URL
8
+ TESTNET_NETWORK_URL
9
9
  };
10
10
  //# sourceMappingURL=configs.mjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/configs.ts"],"sourcesContent":["export const FUEL_NETWORK_URL: string =\n typeof process !== 'undefined'\n ? process?.env?.FUEL_NETWORK_URL || 'http://127.0.0.1:4000/v1/graphql'\n : 'http://127.0.0.1:4000/v1/graphql';\n\nexport const FUEL_DEVNET_NETWORK_URL: string = 'https://devnet.fuel.network/v1/graphql';\nexport const FUEL_TESTNET_NETWORK_URL: string = 'https://testnet.fuel.network/v1/graphql';\n"],"mappings":";AAAO,IAAM,mBACX,OAAO,YAAY,cACf,SAAS,KAAK,oBAAoB,qCAClC;AAEC,IAAM,0BAAkC;AACxC,IAAM,2BAAmC;","names":[]}
1
+ {"version":3,"sources":["../src/configs.ts"],"sourcesContent":["export const FUEL_NETWORK_URL: string =\n typeof process !== 'undefined'\n ? process?.env?.FUEL_NETWORK_URL || 'http://127.0.0.1:4000/v1/graphql'\n : 'http://127.0.0.1:4000/v1/graphql';\n\nexport const DEVNET_NETWORK_URL = 'https://devnet.fuel.network/v1/graphql';\nexport const TESTNET_NETWORK_URL = 'https://testnet.fuel.network/v1/graphql';\n"],"mappings":";AAAO,IAAM,mBACX,OAAO,YAAY,cACf,SAAS,KAAK,oBAAoB,qCAClC;AAEC,IAAM,qBAAqB;AAC3B,IAAM,sBAAsB;","names":[]}
@@ -28642,7 +28642,7 @@ spurious results.`);
28642
28642
  function getBuiltinVersions() {
28643
28643
  return {
28644
28644
  FORC: "0.60.0",
28645
- FUEL_CORE: "0.27.0",
28645
+ FUEL_CORE: "0.28.0",
28646
28646
  FUELS: "0.89.2"
28647
28647
  };
28648
28648
  }
@@ -36922,6 +36922,7 @@ ${ReceiptFragmentDoc}`;
36922
36922
  proofIndex
36923
36923
  }
36924
36924
  messageBlockHeader {
36925
+ version
36925
36926
  id
36926
36927
  daHeight
36927
36928
  consensusParametersVersion
@@ -36937,6 +36938,7 @@ ${ReceiptFragmentDoc}`;
36937
36938
  applicationHash
36938
36939
  }
36939
36940
  commitBlockHeader {
36941
+ version
36940
36942
  id
36941
36943
  daHeight
36942
36944
  consensusParametersVersion
@@ -37123,6 +37125,9 @@ ${ReceiptFragmentDoc}`;
37123
37125
  wqmm
37124
37126
  xor
37125
37127
  xori
37128
+ alocDependentCost {
37129
+ ...DependentCostFragment
37130
+ }
37126
37131
  call {
37127
37132
  ...DependentCostFragment
37128
37133
  }
@@ -37501,8 +37506,12 @@ ${MessageCoinFragmentDoc}`;
37501
37506
  }
37502
37507
  ${RelayedTransactionStatusFragmentDoc}`;
37503
37508
  var DryRunDocument = lib_default2`
37504
- mutation dryRun($encodedTransactions: [HexString!]!, $utxoValidation: Boolean) {
37505
- dryRun(txs: $encodedTransactions, utxoValidation: $utxoValidation) {
37509
+ mutation dryRun($encodedTransactions: [HexString!]!, $utxoValidation: Boolean, $gasPrice: U64) {
37510
+ dryRun(
37511
+ txs: $encodedTransactions
37512
+ utxoValidation: $utxoValidation
37513
+ gasPrice: $gasPrice
37514
+ ) {
37506
37515
  ...dryRunTransactionExecutionStatusFragment
37507
37516
  }
37508
37517
  }
@@ -41706,8 +41715,8 @@ Supported fuel-core version: ${supportedVersion}.`
41706
41715
  foundry: 31337
41707
41716
  },
41708
41717
  fuel: {
41709
- devnet: 0,
41710
- testnet: 0
41718
+ beta5: 0,
41719
+ devnet: 10
41711
41720
  }
41712
41721
  };
41713
41722
 
@@ -41717,7 +41726,7 @@ Supported fuel-core version: ${supportedVersion}.`
41717
41726
  return CHAIN_IDS.eth.sepolia;
41718
41727
  }
41719
41728
  if (networkType === "fuel") {
41720
- return CHAIN_IDS.fuel.testnet;
41729
+ return CHAIN_IDS.fuel.devnet;
41721
41730
  }
41722
41731
  return void 0;
41723
41732
  };
@@ -41809,15 +41818,15 @@ Supported fuel-core version: ${supportedVersion}.`
41809
41818
  },
41810
41819
  {
41811
41820
  type: "fuel",
41812
- chainId: CHAIN_IDS.fuel.devnet,
41821
+ chainId: CHAIN_IDS.fuel.beta5,
41813
41822
  decimals: 9,
41814
- assetId: "0xf8f8b6283d7fa5b672b530cbb84fcccb4ff8dc40f8176ef4544ddb1f1952ad07"
41823
+ assetId: "0x0000000000000000000000000000000000000000000000000000000000000000"
41815
41824
  },
41816
41825
  {
41817
41826
  type: "fuel",
41818
- chainId: CHAIN_IDS.fuel.testnet,
41827
+ chainId: CHAIN_IDS.fuel.devnet,
41819
41828
  decimals: 9,
41820
- assetId: "0xf8f8b6283d7fa5b672b530cbb84fcccb4ff8dc40f8176ef4544ddb1f1952ad07"
41829
+ assetId: "0x0000000000000000000000000000000000000000000000000000000000000000"
41821
41830
  }
41822
41831
  ]
41823
41832
  }