@audius/sdk 0.0.36 → 0.0.37

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/dist/legacy.js CHANGED
@@ -73,7 +73,7 @@ var abiDecoder__default = /*#__PURE__*/_interopDefaultLegacy(abiDecoder);
73
73
  var EthereumWallet__default = /*#__PURE__*/_interopDefaultLegacy(EthereumWallet);
74
74
  var AudiusData__namespace = /*#__PURE__*/_interopNamespace(AudiusData);
75
75
  var anchor__default = /*#__PURE__*/_interopDefaultLegacy(anchor);
76
- var solanaWeb3__namespace = /*#__PURE__*/_interopNamespace(solanaWeb3);
76
+ var solanaWeb3__default = /*#__PURE__*/_interopDefaultLegacy(solanaWeb3);
77
77
  var splToken__default = /*#__PURE__*/_interopDefaultLegacy(splToken);
78
78
  var borsh__default = /*#__PURE__*/_interopDefaultLegacy(borsh);
79
79
  var BN__default = /*#__PURE__*/_interopDefaultLegacy(BN);
@@ -33455,9 +33455,9 @@ var formatProviders = function formatProviders(providers) {
33455
33455
  };
33456
33456
 
33457
33457
  var name = "@audius/sdk";
33458
- var version = "0.0.36";
33458
+ var version = "0.0.37";
33459
33459
  var audius = {
33460
- releaseSHA: "6d1ca16dfb4944e5e5b83ee30e302fa4e6811da4"
33460
+ releaseSHA: "ce81e1601506bb4982a2d5617ecf220bc94ba76d"
33461
33461
  };
33462
33462
  var description = "";
33463
33463
  var main = "dist/index.cjs.js";
@@ -33500,7 +33500,7 @@ var dependencies = {
33500
33500
  "@improbable-eng/grpc-web-node-http-transport": "0.15.0",
33501
33501
  "@project-serum/anchor": "0.24.1",
33502
33502
  "@solana/spl-token": "0.1.8",
33503
- "@solana/web3.js": "1.53.0",
33503
+ "@solana/web3.js": "1.37.1",
33504
33504
  "abi-decoder": "2.4.0",
33505
33505
  ajv: "6.12.2",
33506
33506
  "async-retry": "1.3.1",
@@ -35950,7 +35950,7 @@ var SolanaWeb3Manager = /*#__PURE__*/function () {
35950
35950
  this.solanaWeb3Config = solanaWeb3Config;
35951
35951
  this.identityService = identityService;
35952
35952
  this.web3Manager = web3Manager;
35953
- this.solanaWeb3 = solanaWeb3__namespace;
35953
+ this.solanaWeb3 = solanaWeb3__default["default"];
35954
35954
  this.splToken = splToken__default["default"];
35955
35955
  }
35956
35956
 
@@ -50274,7 +50274,7 @@ var Wormhole = /*#__PURE__*/function () {
50274
50274
  wAudioAmount = wAudioFromWeiAudio(amount); // Generate a solana keypair derived from the hedgehog private key
50275
50275
  // NOTE: The into to fromSeed is a 32 bytes Uint8Array
50276
50276
 
50277
- rootSolanaAccount = solanaWeb3.Keypair.fromSeed((_this$hedgehog$wallet = this.hedgehog.wallet) === null || _this$hedgehog$wallet === void 0 ? void 0 : _this$hedgehog$wallet.getPrivateKey());
50277
+ rootSolanaAccount = this.solanaWeb3Manager.solanaWeb3.Keypair.fromSeed((_this$hedgehog$wallet = this.hedgehog.wallet) === null || _this$hedgehog$wallet === void 0 ? void 0 : _this$hedgehog$wallet.getPrivateKey());
50278
50278
  solanaAddress = rootSolanaAccount.publicKey.toString();
50279
50279
  logs.push("Root Solana Account: ".concat(solanaAddress)); // Find the token account owned by the root solana account and get the token account's info
50280
50280