@jup-ag/lend 0.2.0-beta.1 → 0.2.0-beta.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jup-ag/lend",
3
- "version": "0.2.0-beta.1",
3
+ "version": "0.2.0-beta.2",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "type": "module",
@@ -1,18 +0,0 @@
1
- import { PublicKey } from '@solana/web3.js';
2
-
3
- const DEX_PROGRAM_ID = new PublicKey("'jupZ4m2GqUCJ5iueMfzQf8khFfH31d4XAQt3RzCT9Vd");
4
- const getDex = (dexId) => {
5
- const id = Buffer.alloc(2);
6
- id.writeUInt16LE(dexId);
7
- return PublicKey.findProgramAddressSync(
8
- [Buffer.from("dex"), id],
9
- DEX_PROGRAM_ID
10
- )[0];
11
- };
12
-
13
- const dex = {
14
- __proto__: null,
15
- getDex: getDex
16
- };
17
-
18
- export { dex as d, getDex as g };