@audius/sdk 1.0.4 → 1.0.5

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/index.esm.js CHANGED
@@ -24,7 +24,7 @@ import { idl } from '@audius/anchor-audius-data';
24
24
  import anchor, { ProgramError, BN as BN$1 } from '@project-serum/anchor';
25
25
  import solanaWeb3, { PublicKey, SYSVAR_RENT_PUBKEY, SYSVAR_INSTRUCTIONS_PUBKEY, SystemProgram, Secp256k1Program, TransactionInstruction, Keypair, Transaction as Transaction$1, Connection, LAMPORTS_PER_SOL } from '@solana/web3.js';
26
26
  import splToken, { ASSOCIATED_TOKEN_PROGRAM_ID, Token, TOKEN_PROGRAM_ID } from '@solana/spl-token';
27
- import borsh, { serialize, deserialize } from 'borsh';
27
+ import { serialize, deserialize } from 'borsh';
28
28
  import BN from 'bn.js';
29
29
  import keccak256 from 'keccak256';
30
30
  import secp256k1 from 'secp256k1';
@@ -33462,9 +33462,9 @@ var formatProviders = function formatProviders(providers) {
33462
33462
  };
33463
33463
 
33464
33464
  var name = "@audius/sdk";
33465
- var version = "1.0.4";
33465
+ var version = "1.0.5";
33466
33466
  var audius = {
33467
- releaseSHA: "e6ca21697f2d23e30606d4f341f62fcacce560a6"
33467
+ releaseSHA: "cddbf59599ed672ba3047f94f910c983b2c45a1d"
33468
33468
  };
33469
33469
  var description = "";
33470
33470
  var main = "dist/index.cjs.js";
@@ -34207,7 +34207,7 @@ var createUserBankFrom = /*#__PURE__*/function () {
34207
34207
  instructionData = new CreateTokenAccountInstructionData({
34208
34208
  ethAddress: ethAddressArr
34209
34209
  });
34210
- serializedInstructionData = borsh.serialize(createTokenAccountInstructionSchema, instructionData); // 0th index in the Rust instruction enum
34210
+ serializedInstructionData = serialize(createTokenAccountInstructionSchema, instructionData); // 0th index in the Rust instruction enum
34211
34211
 
34212
34212
  serializedInstructionEnum = Uint8Array.of.apply(Uint8Array, [0].concat(_toConsumableArray(serializedInstructionData))); // Create the account we aim to generate
34213
34213
 
@@ -34335,7 +34335,7 @@ function _getTokenAccountInfo() {
34335
34335
  // NOTE: Our version of spl-token omits the second argument
34336
34336
  // in the type definitions even though it's actually available,
34337
34337
  // so we suppress error until we can upgrade.
34338
- // @ts-ignore
34338
+ // @ts-expect-error
34339
34339
 
34340
34340
  _context2.next = 4;
34341
34341
  return token.getAccountInfo(tokenAccountAddressKey, 'processed');