@jup-ag/plugin 1.0.13 → 1.0.14

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.d.ts CHANGED
@@ -215,7 +215,7 @@ interface FormProps {
215
215
  }
216
216
 
217
217
  /** Built in support for these explorers */
218
- type DEFAULT_EXPLORER = 'Solana Explorer' | 'Solscan' | 'Solana Beach' | 'SolanaFM';
218
+ type DEFAULT_EXPLORER = 'Solana Explorer' | 'Solscan' | 'Solana Beach' | 'SolanaFM' | 'OrbMarkets';
219
219
 
220
220
  interface IInit {
221
221
  /** Configure Plugin's behaviour and allowed actions for your user */
package/dist/index.js CHANGED
@@ -84,7 +84,7 @@ var require_package = __commonJS({
84
84
  "package.json"(exports2, module2) {
85
85
  module2.exports = {
86
86
  name: "@jup-ag/plugin",
87
- version: "1.0.13",
87
+ version: "1.0.14",
88
88
  private: false,
89
89
  license: "MIT",
90
90
  scripts: {
@@ -2933,6 +2933,16 @@ var AVAILABLE_EXPLORER = [
2933
2933
  if (cluster === "testnet") return `https://solana.fm/address/${mint}?cluster=testnet-qn1`;
2934
2934
  return `https://solana.fm/address/${mint}`;
2935
2935
  }
2936
+ },
2937
+ {
2938
+ name: "OrbMarkets",
2939
+ url: "https://orbmarkets.io/",
2940
+ get: (txid, cluster = "mainnet-beta") => {
2941
+ return `https://orbmarkets.io/tx/${txid}`;
2942
+ },
2943
+ getToken: (mint, cluster = "mainnet-beta") => {
2944
+ return `https://orbmarkets.io/token/${mint}`;
2945
+ }
2936
2946
  }
2937
2947
  ];
2938
2948
  var PreferredExplorerContext = (0, import_react20.createContext)({