@fuel-ts/account 0.0.0-rc-2432-20240610171540 → 0.0.0-rc-2485-20240610194352

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,3 @@
1
1
  export declare const FUEL_NETWORK_URL: string;
2
- export declare const FUEL_DEVNET_NETWORK_URL: string;
3
2
  export declare const FUEL_TESTNET_NETWORK_URL: string;
4
3
  //# 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,wBAAwB,EAAE,MAAkD,CAAC"}
@@ -2,7 +2,6 @@
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
5
  var FUEL_TESTNET_NETWORK_URL = "https://testnet.fuel.network/v1/graphql";
7
6
  })();
8
7
  //# 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 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,2BAAmC;","names":[]}
package/dist/configs.js CHANGED
@@ -20,17 +20,14 @@ 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,
24
23
  FUEL_NETWORK_URL: () => FUEL_NETWORK_URL,
25
24
  FUEL_TESTNET_NETWORK_URL: () => FUEL_TESTNET_NETWORK_URL
26
25
  });
27
26
  module.exports = __toCommonJS(configs_exports);
28
27
  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
28
  var FUEL_TESTNET_NETWORK_URL = "https://testnet.fuel.network/v1/graphql";
31
29
  // Annotate the CommonJS export names for ESM import in node:
32
30
  0 && (module.exports = {
33
- FUEL_DEVNET_NETWORK_URL,
34
31
  FUEL_NETWORK_URL,
35
32
  FUEL_TESTNET_NETWORK_URL
36
33
  });
@@ -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 FUEL_TESTNET_NETWORK_URL: string = 'https://testnet.fuel.network/v1/graphql';\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAO,IAAM,mBACX,OAAO,YAAY,cACf,SAAS,KAAK,oBAAoB,qCAClC;AAEC,IAAM,2BAAmC;","names":[]}
package/dist/configs.mjs CHANGED
@@ -1,9 +1,7 @@
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
3
  var FUEL_TESTNET_NETWORK_URL = "https://testnet.fuel.network/v1/graphql";
5
4
  export {
6
- FUEL_DEVNET_NETWORK_URL,
7
5
  FUEL_NETWORK_URL,
8
6
  FUEL_TESTNET_NETWORK_URL
9
7
  };
@@ -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 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,2BAAmC;","names":[]}
@@ -31501,14 +31501,6 @@ If you are attempting to transform a hex value, please make sure it is being pas
31501
31501
  `function ${nameOrSignatureOrSelector} not found: ${JSON.stringify(fn)}.`
31502
31502
  );
31503
31503
  }
31504
- decodeFunctionData(functionFragment, data) {
31505
- const fragment = typeof functionFragment === "string" ? this.getFunction(functionFragment) : functionFragment;
31506
- return fragment.decodeArguments(data);
31507
- }
31508
- encodeFunctionData(functionFragment, values) {
31509
- const fragment = typeof functionFragment === "string" ? this.getFunction(functionFragment) : functionFragment;
31510
- return fragment.encodeArguments(values);
31511
- }
31512
31504
  // Decode the result of a function call
31513
31505
  decodeFunctionResult(functionFragment, data) {
31514
31506
  const fragment = typeof functionFragment === "string" ? this.getFunction(functionFragment) : functionFragment;
@@ -41706,8 +41698,8 @@ Supported fuel-core version: ${supportedVersion}.`
41706
41698
  foundry: 31337
41707
41699
  },
41708
41700
  fuel: {
41709
- devnet: 0,
41710
- testnet: 0
41701
+ beta5: 0,
41702
+ devnet: 10
41711
41703
  }
41712
41704
  };
41713
41705
 
@@ -41717,7 +41709,7 @@ Supported fuel-core version: ${supportedVersion}.`
41717
41709
  return CHAIN_IDS.eth.sepolia;
41718
41710
  }
41719
41711
  if (networkType === "fuel") {
41720
- return CHAIN_IDS.fuel.testnet;
41712
+ return CHAIN_IDS.fuel.devnet;
41721
41713
  }
41722
41714
  return void 0;
41723
41715
  };
@@ -41809,15 +41801,15 @@ Supported fuel-core version: ${supportedVersion}.`
41809
41801
  },
41810
41802
  {
41811
41803
  type: "fuel",
41812
- chainId: CHAIN_IDS.fuel.devnet,
41804
+ chainId: CHAIN_IDS.fuel.beta5,
41813
41805
  decimals: 9,
41814
- assetId: "0xf8f8b6283d7fa5b672b530cbb84fcccb4ff8dc40f8176ef4544ddb1f1952ad07"
41806
+ assetId: "0x0000000000000000000000000000000000000000000000000000000000000000"
41815
41807
  },
41816
41808
  {
41817
41809
  type: "fuel",
41818
- chainId: CHAIN_IDS.fuel.testnet,
41810
+ chainId: CHAIN_IDS.fuel.devnet,
41819
41811
  decimals: 9,
41820
- assetId: "0xf8f8b6283d7fa5b672b530cbb84fcccb4ff8dc40f8176ef4544ddb1f1952ad07"
41812
+ assetId: "0x0000000000000000000000000000000000000000000000000000000000000000"
41821
41813
  }
41822
41814
  ]
41823
41815
  }