@xyo-network/xl1-protocol-sdk 1.28.5 → 1.29.0

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.
@@ -293,6 +293,7 @@ var registerCreatableProviderFactory = (registry, factory, labels, primary = fal
293
293
  const factoryClone = buildProviderFactory(factory, factory.defaultParams, labels);
294
294
  registry[factoryClone.defaultMoniker] = [factoryClone, ...registry[factoryClone.defaultMoniker] ?? []];
295
295
  for (const moniker of factoryClone.monikers) {
296
+ if (moniker === factoryClone.defaultMoniker) continue;
296
297
  registry[moniker] = isPrimaryForMoniker(moniker) ? [factoryClone, ...registry[moniker] ?? []] : [...registry[moniker] ?? [], factoryClone];
297
298
  }
298
299
  };