@jpool/bond-sdk 0.10.3 → 0.10.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.js CHANGED
@@ -3,11 +3,6 @@
3
3
  var anchor = require('@coral-xyz/anchor');
4
4
  var splToken = require('@solana/spl-token');
5
5
  var web3_js = require('@solana/web3.js');
6
- var bs58 = require('bs58');
7
-
8
- function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
9
-
10
- var bs58__default = /*#__PURE__*/_interopDefault(bs58);
11
6
 
12
7
  var __create = Object.create;
13
8
  var __defProp = Object.defineProperty;
@@ -4691,6 +4686,7 @@ function slotToEpoch(slot, cluster) {
4691
4686
  }
4692
4687
 
4693
4688
  // src/history.ts
4689
+ var { bs58 } = anchor.utils.bytes;
4694
4690
  var HistoryManager = class {
4695
4691
  program;
4696
4692
  connection;
@@ -4799,7 +4795,7 @@ var HistoryManager = class {
4799
4795
  };
4800
4796
  }
4801
4797
  try {
4802
- const buf = bs58__default.default.decode(data);
4798
+ const buf = bs58.decode(data);
4803
4799
  if (buf.length < 16) {
4804
4800
  return {
4805
4801
  type: null,