@jup-ag/platform-list 1.2.22 → 1.2.24

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,5 +1,10 @@
1
1
  import { PlatformRaw, ServiceRaw } from "../types";
2
2
  export declare const platform: PlatformRaw;
3
+ export declare const swiftContract: {
4
+ name: string;
5
+ address: string;
6
+ networkId: "solana";
7
+ };
3
8
  export declare const claimService: ServiceRaw;
4
9
  export declare const bridgeService: ServiceRaw;
5
10
  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.bridgeService = exports.claimService = exports.platform = void 0;
3
+ exports.services = exports.bridgeService = exports.claimService = exports.swiftContract = exports.platform = void 0;
4
4
  const types_1 = require("../types");
5
5
  exports.platform = {
6
6
  id: "mayan",
@@ -14,7 +14,7 @@ exports.platform = {
14
14
  },
15
15
  tags: ["bridge", "tool", "dapp"],
16
16
  };
17
- const contract = {
17
+ exports.swiftContract = {
18
18
  name: "Swift",
19
19
  address: "BLZRi6frs4X4DNLw56V4EXai1b6QVESN1BhHBTYM9VcY",
20
20
  networkId: types_1.NetworkId.solana,
@@ -23,7 +23,7 @@ exports.claimService = {
23
23
  id: `${exports.platform.id}-claim`,
24
24
  name: "Claim",
25
25
  platformId: exports.platform.id,
26
- contractsRaw: [contract],
26
+ contractsRaw: [exports.swiftContract],
27
27
  };
28
28
  exports.bridgeService = {
29
29
  id: `${exports.platform.id}-bridge`,
@@ -10,4 +10,13 @@ export declare const bubblegumContract: {
10
10
  address: string;
11
11
  networkId: "solana";
12
12
  };
13
+ export declare const candyMachineContract: {
14
+ name: string;
15
+ address: string;
16
+ networkId: "solana";
17
+ };
18
+ export declare const cnftService: ServiceRaw;
19
+ export declare const metadataService: ServiceRaw;
20
+ export declare const coreService: ServiceRaw;
21
+ export declare const candyMachineService: ServiceRaw;
13
22
  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.bubblegumContract = exports.metaplexContract = exports.platform = void 0;
3
+ exports.services = exports.candyMachineService = exports.coreService = exports.metadataService = exports.cnftService = exports.candyMachineContract = exports.bubblegumContract = exports.metaplexContract = exports.platform = void 0;
4
4
  const types_1 = require("../types");
5
5
  exports.platform = {
6
6
  id: "metaplex",
@@ -16,9 +16,13 @@ exports.platform = {
16
16
  tokens: ["METAewgxyPbgwsseH8T16a39CQ5VyVxZi9zXiDPY18m"],
17
17
  tags: ["tool", "dapp"],
18
18
  };
19
- // Contracts (exported for cross-platform use)
19
+ const coreContract = {
20
+ name: `Core`,
21
+ address: "CoREENxT6tW1HoK8ypY1SxRMZTcVPm7R94rH4PZNhX7d",
22
+ networkId: types_1.NetworkId.solana,
23
+ };
20
24
  exports.metaplexContract = {
21
- name: "Metaplex",
25
+ name: "Token Metadata",
22
26
  address: "metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s",
23
27
  networkId: types_1.NetworkId.solana,
24
28
  };
@@ -27,4 +31,38 @@ exports.bubblegumContract = {
27
31
  address: "BGUMAp9Gq7iTEuizy4pqaxsTyUCBK68MDfK752saRPUY",
28
32
  networkId: types_1.NetworkId.solana,
29
33
  };
30
- exports.services = [];
34
+ exports.candyMachineContract = {
35
+ name: `Candy Machine`,
36
+ address: "CMAGAKJ67e9hRZgfC5SFTbZH8MgEmtqazKXjmkaJjWTJ",
37
+ networkId: types_1.NetworkId.solana,
38
+ };
39
+ exports.cnftService = {
40
+ id: `${exports.platform.id}-cnft`,
41
+ name: "Bubblegum (cNFT)",
42
+ platformId: exports.platform.id,
43
+ contractsRaw: [exports.bubblegumContract],
44
+ };
45
+ exports.metadataService = {
46
+ id: `${exports.platform.id}-metadata`,
47
+ name: "Token Metadata",
48
+ platformId: exports.platform.id,
49
+ contractsRaw: [exports.metaplexContract],
50
+ };
51
+ exports.coreService = {
52
+ id: `${exports.platform.id}-core`,
53
+ name: "Core",
54
+ platformId: exports.platform.id,
55
+ contractsRaw: [coreContract],
56
+ };
57
+ exports.candyMachineService = {
58
+ id: `${exports.platform.id}-candy-machine`,
59
+ name: "Candy Machine",
60
+ platformId: exports.platform.id,
61
+ contractsRaw: [exports.candyMachineContract],
62
+ };
63
+ exports.services = [
64
+ exports.cnftService,
65
+ exports.metadataService,
66
+ exports.coreService,
67
+ exports.candyMachineService,
68
+ ];
@@ -17,15 +17,10 @@ exports.contract = {
17
17
  address: "617jbWo616ggkDxvW1Le8pV38XLbVSyWY8ae6QUmGBAU",
18
18
  networkId: types_1.NetworkId.solana,
19
19
  };
20
- const metaplexContract = {
21
- name: "Metaplex",
22
- address: "metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s",
23
- networkId: types_1.NetworkId.solana,
24
- };
25
20
  exports.solanaStakingService = {
26
21
  id: `${exports.platform.id}-marketplace`,
27
22
  name: "Marketplace",
28
23
  platformId: exports.platform.id,
29
- contractsRaw: [exports.contract, metaplexContract],
24
+ contractsRaw: [exports.contract],
30
25
  };
31
26
  exports.services = [exports.solanaStakingService];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jup-ag/platform-list",
3
- "version": "1.2.22",
3
+ "version": "1.2.24",
4
4
  "private": false,
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",