@ensnode/ensnode-sdk 0.0.0-next-20260603114334 → 0.0.0-next-20260603190454

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/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2025 NameHash
3
+ Copyright (c) 2026 NameHash Inc.
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/dist/index.cjs CHANGED
@@ -39,6 +39,7 @@ __export(index_exports, {
39
39
  CurrencyIds: () => CurrencyIds,
40
40
  DEFAULT_ENSNODE_URL_MAINNET: () => DEFAULT_ENSNODE_URL_MAINNET,
41
41
  DEFAULT_ENSNODE_URL_SEPOLIA: () => DEFAULT_ENSNODE_URL_SEPOLIA,
42
+ DEFAULT_ENSNODE_URL_SEPOLIA_V2: () => DEFAULT_ENSNODE_URL_SEPOLIA_V2,
42
43
  ENCODED_REFERRER_BYTE_LENGTH: () => ENCODED_REFERRER_BYTE_LENGTH,
43
44
  ENCODED_REFERRER_BYTE_OFFSET: () => ENCODED_REFERRER_BYTE_OFFSET,
44
45
  ENSNamespaceIds: () => import_datasources11.ENSNamespaceIds,
@@ -3669,6 +3670,7 @@ var ClientError = class _ClientError extends Error {
3669
3670
  var import_datasources5 = require("@ensnode/datasources");
3670
3671
  var DEFAULT_ENSNODE_URL_MAINNET = "https://api.alpha.ensnode.io";
3671
3672
  var DEFAULT_ENSNODE_URL_SEPOLIA = "https://api.alpha-sepolia.ensnode.io";
3673
+ var DEFAULT_ENSNODE_URL_SEPOLIA_V2 = "https://api.v2-sepolia.ensnode.io";
3672
3674
  var getDefaultEnsNodeUrl = (namespace) => {
3673
3675
  const effectiveNamespace = namespace ?? import_datasources5.ENSNamespaceIds.Mainnet;
3674
3676
  switch (effectiveNamespace) {
@@ -3676,6 +3678,8 @@ var getDefaultEnsNodeUrl = (namespace) => {
3676
3678
  return new URL(DEFAULT_ENSNODE_URL_MAINNET);
3677
3679
  case import_datasources5.ENSNamespaceIds.Sepolia:
3678
3680
  return new URL(DEFAULT_ENSNODE_URL_SEPOLIA);
3681
+ case import_datasources5.ENSNamespaceIds.SepoliaV2:
3682
+ return new URL(DEFAULT_ENSNODE_URL_SEPOLIA_V2);
3679
3683
  default:
3680
3684
  throw new Error(
3681
3685
  `ENSNamespaceId ${effectiveNamespace} does not have a default ENSNode URL defined`