@audius/sdk 3.0.8-beta.4 → 3.0.8-beta.6

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/.nvmrc CHANGED
@@ -1 +1 @@
1
- 18.17
1
+ v18.17.0
@@ -61,6 +61,7 @@ declare type AudiusLibsConfig = {
61
61
  preferHigherPatchForPrimary: boolean;
62
62
  preferHigherPatchForSecondaries: boolean;
63
63
  localStorage: LocalStorage;
64
+ useDiscoveryRelay: boolean;
64
65
  };
65
66
  export declare class AudiusLibs {
66
67
  /**
@@ -170,6 +171,7 @@ export declare class AudiusLibs {
170
171
  preferHigherPatchForPrimary: boolean;
171
172
  preferHigherPatchForSecondaries: boolean;
172
173
  localStorage: LocalStorage;
174
+ useDiscoveryRelay: boolean;
173
175
  /**
174
176
  * Constructs an Audius Libs instance with configs.
175
177
  * Unless default-valued, all configs are optional.
@@ -180,7 +182,7 @@ export declare class AudiusLibs {
180
182
  * })
181
183
  * await audius.init()
182
184
  */
183
- constructor({ web3Config, ethWeb3Config, solanaWeb3Config, identityServiceConfig, discoveryProviderConfig, creatorNodeConfig, comstockConfig, wormholeConfig, hedgehogConfig, isServer, logger, isDebug, preferHigherPatchForPrimary, preferHigherPatchForSecondaries, localStorage }: AudiusLibsConfig);
185
+ constructor({ web3Config, ethWeb3Config, solanaWeb3Config, identityServiceConfig, discoveryProviderConfig, creatorNodeConfig, comstockConfig, wormholeConfig, hedgehogConfig, isServer, logger, isDebug, preferHigherPatchForPrimary, preferHigherPatchForSecondaries, localStorage, useDiscoveryRelay, }: AudiusLibsConfig);
184
186
  /** Init services based on presence of a relevant config. */
185
187
  init(): Promise<void>;
186
188
  }