@jup-ag/platform-list 1.2.18 → 1.2.19

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.
@@ -1,3 +1,6 @@
1
1
  import { PlatformRaw, ServiceRaw } from "../types";
2
2
  export declare const platform: PlatformRaw;
3
+ export declare const transferService: ServiceRaw;
4
+ export declare const vaultService: ServiceRaw;
5
+ export declare const airdropService: ServiceRaw;
3
6
  export declare const services: ServiceRaw[];
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.services = exports.platform = void 0;
3
+ exports.services = exports.airdropService = exports.vaultService = exports.transferService = exports.platform = void 0;
4
4
  const types_1 = require("../types");
5
5
  exports.platform = {
6
6
  id: "debridge",
@@ -43,26 +43,26 @@ const destContract = {
43
43
  address: "dst5MGcFPoBeREFAA5E3tU5ij8m5uVYwkzkSAbsLbNo",
44
44
  networkId: types_1.NetworkId.solana,
45
45
  };
46
- const transferService = {
46
+ exports.transferService = {
47
47
  id: `${exports.platform.id}-transfer`,
48
48
  name: "Transfer",
49
49
  platformId: exports.platform.id,
50
50
  contractsRaw: [transferContract],
51
51
  };
52
- const vaultService = {
52
+ exports.vaultService = {
53
53
  id: `${exports.platform.id}-vault`,
54
54
  name: "Vault",
55
55
  platformId: exports.platform.id,
56
56
  contractsRaw: [vaultContract],
57
57
  };
58
- const airdropService = {
58
+ exports.airdropService = {
59
59
  id: `${exports.platform.id}-airdrop`,
60
60
  name: "Airdrop",
61
61
  platformId: exports.platform.id,
62
62
  contractsRaw: [aidropContract],
63
63
  };
64
64
  exports.services = [
65
- transferService,
66
- vaultService,
67
- airdropService,
65
+ exports.transferService,
66
+ exports.vaultService,
67
+ exports.airdropService,
68
68
  ];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jup-ag/platform-list",
3
- "version": "1.2.18",
3
+ "version": "1.2.19",
4
4
  "private": false,
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -12,6 +12,10 @@
12
12
  ".": {
13
13
  "types": "./dist/index.d.ts",
14
14
  "default": "./dist/index.js"
15
+ },
16
+ "./platforms/*": {
17
+ "types": "./dist/platforms/*.d.ts",
18
+ "default": "./dist/platforms/*.js"
15
19
  }
16
20
  },
17
21
  "files": [
@@ -33,7 +37,7 @@
33
37
  "test": "jest",
34
38
  "test:ci": "jest",
35
39
  "test:watch": "jest --watch",
36
- "lint": "prettier --check .",
40
+ "lint": "prettier --check . && tsc --noEmit",
37
41
  "format": "prettier --write .",
38
42
  "preversion": "npm run build:index && npm run test:ci && npm run build:ci && npm run format && (npm run commit:index || true)"
39
43
  },