@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.
@@ -25,7 +25,7 @@ import { Transaction } from 'ethereumjs-tx';
25
25
  import splToken, { ASSOCIATED_TOKEN_PROGRAM_ID, Token, TOKEN_PROGRAM_ID } from '@solana/spl-token';
26
26
  import anchor, { BN as BN$1 } from '@project-serum/anchor';
27
27
  import { idl } from '@audius/anchor-audius-data';
28
- import borsh, { serialize, deserialize } from 'borsh';
28
+ import { serialize, deserialize } from 'borsh';
29
29
  import BN from 'bn.js';
30
30
  import keccak256 from 'keccak256';
31
31
  import secp256k1 from 'secp256k1';
@@ -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 = "1.0.4";
517
+ var version = "1.0.5";
518
518
  var audius = {
519
- releaseSHA: "e6ca21697f2d23e30606d4f341f62fcacce560a6"
519
+ releaseSHA: "cddbf59599ed672ba3047f94f910c983b2c45a1d"
520
520
  };
521
521
  var description = "";
522
522
  var main = "dist/index.cjs.js";
@@ -31580,7 +31580,7 @@ var createUserBankFrom = /*#__PURE__*/function () {
31580
31580
  instructionData = new CreateTokenAccountInstructionData({
31581
31581
  ethAddress: ethAddressArr
31582
31582
  });
31583
- serializedInstructionData = borsh.serialize(createTokenAccountInstructionSchema, instructionData); // 0th index in the Rust instruction enum
31583
+ serializedInstructionData = serialize(createTokenAccountInstructionSchema, instructionData); // 0th index in the Rust instruction enum
31584
31584
 
31585
31585
  serializedInstructionEnum = Uint8Array.of.apply(Uint8Array, [0].concat(_toConsumableArray(serializedInstructionData))); // Create the account we aim to generate
31586
31586
 
@@ -31708,7 +31708,7 @@ function _getTokenAccountInfo() {
31708
31708
  // NOTE: Our version of spl-token omits the second argument
31709
31709
  // in the type definitions even though it's actually available,
31710
31710
  // so we suppress error until we can upgrade.
31711
- // @ts-ignore
31711
+ // @ts-expect-error
31712
31712
 
31713
31713
  _context2.next = 4;
31714
31714
  return token.getAccountInfo(tokenAccountAddressKey, 'processed');