@audius/sdk 0.0.38 → 0.0.39

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.
@@ -89,12 +89,13 @@ export declare class AudiusLibs {
89
89
  /**
90
90
  * Configures an internal web3 to use (via Hedgehog)
91
91
  */
92
- static configInternalWeb3(registryAddress: string, providers: provider, privateKey: string): {
92
+ static configInternalWeb3(registryAddress: string, providers: provider, privateKey?: string, entityManagerAddress?: string): {
93
93
  registryAddress: string;
94
+ entityManagerAddress: string | undefined;
94
95
  useExternalWeb3: boolean;
95
96
  internalWeb3Config: {
96
97
  web3ProviderEndpoints: string[] | (import("web3-core").HttpProvider | import("web3-core").AbstractProvider | import("web3-core").IpcProvider | import("web3-core").WebsocketProvider | null)[] | (import("web3-core").HttpProvider & any[]) | (import("web3-core").AbstractProvider & any[]) | (import("web3-core").IpcProvider & any[]) | (import("web3-core").WebsocketProvider & any[]);
97
- privateKey: string;
98
+ privateKey: string | undefined;
98
99
  };
99
100
  };
100
101
  /**
package/dist/index.cjs.js CHANGED
@@ -33455,9 +33455,9 @@ var formatProviders = function formatProviders(providers) {
33455
33455
  };
33456
33456
 
33457
33457
  var name = "@audius/sdk";
33458
- var version = "0.0.38";
33458
+ var version = "0.0.39";
33459
33459
  var audius = {
33460
- releaseSHA: "74503074cb96dea181ec2b218c5cb6d528c1db86"
33460
+ releaseSHA: "50f82fb3f32a51e7553ab9dd23582b4fad530648"
33461
33461
  };
33462
33462
  var description = "";
33463
33463
  var main = "dist/index.cjs.js";
package/dist/index.esm.js CHANGED
@@ -33409,9 +33409,9 @@ var formatProviders = function formatProviders(providers) {
33409
33409
  };
33410
33410
 
33411
33411
  var name = "@audius/sdk";
33412
- var version = "0.0.38";
33412
+ var version = "0.0.39";
33413
33413
  var audius = {
33414
- releaseSHA: "74503074cb96dea181ec2b218c5cb6d528c1db86"
33414
+ releaseSHA: "50f82fb3f32a51e7553ab9dd23582b4fad530648"
33415
33415
  };
33416
33416
  var description = "";
33417
33417
  var main = "dist/index.cjs.js";
package/dist/legacy.js CHANGED
@@ -33455,9 +33455,9 @@ var formatProviders = function formatProviders(providers) {
33455
33455
  };
33456
33456
 
33457
33457
  var name = "@audius/sdk";
33458
- var version = "0.0.38";
33458
+ var version = "0.0.39";
33459
33459
  var audius = {
33460
- releaseSHA: "74503074cb96dea181ec2b218c5cb6d528c1db86"
33460
+ releaseSHA: "50f82fb3f32a51e7553ab9dd23582b4fad530648"
33461
33461
  };
33462
33462
  var description = "";
33463
33463
  var main = "dist/index.cjs.js";
@@ -514,9 +514,9 @@ if (typeof window !== 'undefined' && window && window.Web3) {
514
514
  var LibsWeb3 = Web3;
515
515
 
516
516
  var name = "@audius/sdk";
517
- var version = "0.0.38";
517
+ var version = "0.0.39";
518
518
  var audius = {
519
- releaseSHA: "74503074cb96dea181ec2b218c5cb6d528c1db86"
519
+ releaseSHA: "50f82fb3f32a51e7553ab9dd23582b4fad530648"
520
520
  };
521
521
  var description = "";
522
522
  var main = "dist/index.cjs.js";
@@ -46997,7 +46997,7 @@ var AudiusLibs = /*#__PURE__*/function () {
46997
46997
 
46998
46998
  }, {
46999
46999
  key: "configInternalWeb3",
47000
- value: function configInternalWeb3(registryAddress, providers, privateKey) {
47000
+ value: function configInternalWeb3(registryAddress, providers, privateKey, entityManagerAddress) {
47001
47001
  var providerList;
47002
47002
 
47003
47003
  if (typeof providers === 'string') {
@@ -47012,6 +47012,7 @@ var AudiusLibs = /*#__PURE__*/function () {
47012
47012
 
47013
47013
  return {
47014
47014
  registryAddress: registryAddress,
47015
+ entityManagerAddress: entityManagerAddress,
47015
47016
  useExternalWeb3: false,
47016
47017
  internalWeb3Config: {
47017
47018
  web3ProviderEndpoints: providerList,