xrpl 4.3.0-smartescrow.0 → 4.3.0-smartescrow.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.
@@ -16975,10 +16975,12 @@ var FaucetNetwork;
16975
16975
  (function (FaucetNetwork) {
16976
16976
  FaucetNetwork["Testnet"] = "faucet.altnet.rippletest.net";
16977
16977
  FaucetNetwork["Devnet"] = "faucet.devnet.rippletest.net";
16978
+ FaucetNetwork["WasmDevnet"] = "wasmfaucet.devnet.rippletest.net";
16978
16979
  })(FaucetNetwork || (exports.FaucetNetwork = FaucetNetwork = {}));
16979
16980
  exports.FaucetNetworkPaths = {
16980
16981
  [FaucetNetwork.Testnet]: '/accounts',
16981
16982
  [FaucetNetwork.Devnet]: '/accounts',
16983
+ [FaucetNetwork.WasmDevnet]: '/accounts',
16982
16984
  };
16983
16985
  function getFaucetHost(client) {
16984
16986
  const connectionUrl = client.url;
@@ -16988,6 +16990,9 @@ function getFaucetHost(client) {
16988
16990
  if (connectionUrl.includes('sidechain-net2')) {
16989
16991
  throw new errors_1.XRPLFaucetError('Cannot fund an account on an issuing chain. Accounts must be created via the bridge.');
16990
16992
  }
16993
+ if (connectionUrl.includes('wasm')) {
16994
+ return FaucetNetwork.WasmDevnet;
16995
+ }
16991
16996
  if (connectionUrl.includes('devnet')) {
16992
16997
  return FaucetNetwork.Devnet;
16993
16998
  }