@audius/sdk 1.0.3 → 1.0.4

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.cjs.js CHANGED
@@ -33508,9 +33508,9 @@ var formatProviders = function formatProviders(providers) {
33508
33508
  };
33509
33509
 
33510
33510
  var name = "@audius/sdk";
33511
- var version = "1.0.3";
33511
+ var version = "1.0.4";
33512
33512
  var audius = {
33513
- releaseSHA: "99bba7c240d878fe34ca2aefdf0a31c8a2b8c0cb"
33513
+ releaseSHA: "e6ca21697f2d23e30606d4f341f62fcacce560a6"
33514
33514
  };
33515
33515
  var description = "";
33516
33516
  var main = "dist/index.cjs.js";
@@ -34027,7 +34027,7 @@ function _getAccountNonce() {
34027
34027
  accInfo = _context2.sent;
34028
34028
 
34029
34029
  if (accInfo.value) {
34030
- nonceAccount = borsh__default["default"].deserialize(NonceAccountSchema, NonceAccount, accInfo.value.data);
34030
+ nonceAccount = borsh.deserialize(NonceAccountSchema, NonceAccount, accInfo.value.data);
34031
34031
  nonce = nonceAccount.nonce;
34032
34032
  }
34033
34033
 
@@ -34149,7 +34149,7 @@ function _transferWAudioBalance() {
34149
34149
  amount: amount,
34150
34150
  nonce: nonce
34151
34151
  });
34152
- serializedInstructionData = borsh__default["default"].serialize(transferInstructionDataSchema, instructionData);
34152
+ serializedInstructionData = borsh.serialize(transferInstructionDataSchema, instructionData);
34153
34153
  _SolanaUtils$signByte = SolanaUtils.signBytes(Buffer.from(serializedInstructionData), senderEthPrivateKey), signature = _SolanaUtils$signByte.signature, recoveryId = _SolanaUtils$signByte.recoveryId;
34154
34154
  secpTransactionInstruction = solanaWeb3.Secp256k1Program.createInstructionWithPublicKey({
34155
34155
  publicKey: Buffer.from(ethPubkey),
@@ -35574,7 +35574,7 @@ var evaluateAttestations = /*#__PURE__*/function () {
35574
35574
  id: transferId,
35575
35575
  ethRecipient: SolanaUtils.ethAddressToArray(recipientEthAddress)
35576
35576
  });
35577
- serializedInstructionData = borsh__default["default"].serialize(validateAttestationsInstructionSchema, instructionData);
35577
+ serializedInstructionData = borsh.serialize(validateAttestationsInstructionSchema, instructionData);
35578
35578
  serializedInstructionEnum = Buffer.from(Uint8Array.of.apply(Uint8Array, [EVALUATE_INSTRUCTION_ENUM_VALUE].concat(_toConsumableArray(serializedInstructionData))));
35579
35579
  transferInstruction = new solanaWeb3.TransactionInstruction({
35580
35580
  keys: accounts,
@@ -35669,7 +35669,7 @@ var generateSubmitAttestationInstruction = /*#__PURE__*/function () {
35669
35669
  instructionData = new SubmitAttestationInstructionData({
35670
35670
  transferId: transferId
35671
35671
  });
35672
- serializedInstructionData = borsh__default["default"].serialize(submitAttestationInstructionSchema, instructionData);
35672
+ serializedInstructionData = borsh.serialize(submitAttestationInstructionSchema, instructionData);
35673
35673
  serializedInstructionEnum = Buffer.from(Uint8Array.of.apply(Uint8Array, [SUBMIT_INSTRUCTION_ENUM_VALUE].concat(_toConsumableArray(serializedInstructionData))));
35674
35674
  return _context2.abrupt("return", new solanaWeb3.TransactionInstruction({
35675
35675
  keys: verifyInstructionAccounts,
@@ -35841,7 +35841,7 @@ var generateCreateSenderInstruction = /*#__PURE__*/function () {
35841
35841
  ethAddress: SolanaUtils.ethAddressToArray(senderEthAddress),
35842
35842
  operator: SolanaUtils.ethAddressToArray(operatorEthAddress)
35843
35843
  });
35844
- serializedInstructionData = borsh__default["default"].serialize(createSenderPublicInstructionSchema, createSenderPublicInstructionData);
35844
+ serializedInstructionData = borsh.serialize(createSenderPublicInstructionSchema, createSenderPublicInstructionData);
35845
35845
  serializedInstructionEnum = Buffer.from(Uint8Array.of.apply(Uint8Array, [CREATE_SENDER_PUBLIC_ENUM_VALUE].concat(_toConsumableArray(serializedInstructionData))));
35846
35846
  return _context4.abrupt("return", new solanaWeb3.TransactionInstruction({
35847
35847
  keys: createSenderInstructionAccounts,