@jup-ag/plugin 1.0.9 → 1.0.10

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
@@ -3,10 +3,10 @@ import { createStore } from 'jotai';
3
3
  import { CSSProperties } from 'react';
4
4
  import { Root } from 'react-dom/client';
5
5
  import { WalletContextState } from '@jup-ag/wallet-adapter';
6
- import JSBI from 'jsbi';
7
6
  import * as superstruct from 'superstruct';
8
7
  import { Infer } from 'superstruct';
9
8
  import { PublicKey } from '@solana/web3.js';
9
+ import JSBI from 'jsbi';
10
10
 
11
11
  declare const AGGREGATOR_SOURCES: {
12
12
  readonly METIS: "metis";
@@ -30,8 +30,6 @@ interface UltraQuoteResponse {
30
30
  outAmount: string;
31
31
  ammKey: string;
32
32
  label: string;
33
- feeAmount: JSBI;
34
- feeMint: string;
35
33
  };
36
34
  percent: number;
37
35
  }[];
@@ -61,8 +59,6 @@ declare const FormattedUltraQuoteResponse: superstruct.Struct<{
61
59
  ammKey: PublicKey;
62
60
  inAmount: JSBI;
63
61
  outAmount: JSBI;
64
- feeAmount: JSBI;
65
- feeMint: PublicKey;
66
62
  };
67
63
  percent: number;
68
64
  }[];
@@ -99,8 +95,6 @@ declare const FormattedUltraQuoteResponse: superstruct.Struct<{
99
95
  ammKey: PublicKey;
100
96
  inAmount: JSBI;
101
97
  outAmount: JSBI;
102
- feeAmount: JSBI;
103
- feeMint: PublicKey;
104
98
  };
105
99
  percent: number;
106
100
  }[], superstruct.Struct<{
@@ -111,8 +105,6 @@ declare const FormattedUltraQuoteResponse: superstruct.Struct<{
111
105
  ammKey: PublicKey;
112
106
  inAmount: JSBI;
113
107
  outAmount: JSBI;
114
- feeAmount: JSBI;
115
- feeMint: PublicKey;
116
108
  };
117
109
  percent: number;
118
110
  }, {
@@ -123,8 +115,6 @@ declare const FormattedUltraQuoteResponse: superstruct.Struct<{
123
115
  ammKey: PublicKey;
124
116
  inAmount: JSBI;
125
117
  outAmount: JSBI;
126
- feeAmount: JSBI;
127
- feeMint: PublicKey;
128
118
  }, {
129
119
  ammKey: superstruct.Struct<PublicKey, null>;
130
120
  label: superstruct.Struct<string, null>;
@@ -132,8 +122,6 @@ declare const FormattedUltraQuoteResponse: superstruct.Struct<{
132
122
  outputMint: superstruct.Struct<string, null>;
133
123
  inAmount: superstruct.Struct<JSBI, null>;
134
124
  outAmount: superstruct.Struct<JSBI, null>;
135
- feeAmount: superstruct.Struct<JSBI, null>;
136
- feeMint: superstruct.Struct<PublicKey, null>;
137
125
  }>;
138
126
  percent: superstruct.Struct<number, null>;
139
127
  }>>;
package/dist/index.js CHANGED
@@ -85,7 +85,7 @@ var require_package = __commonJS({
85
85
  "package.json"(exports2, module2) {
86
86
  module2.exports = {
87
87
  name: "@jup-ag/plugin",
88
- version: "1.0.9",
88
+ version: "1.0.10",
89
89
  private: false,
90
90
  license: "MIT",
91
91
  scripts: {
@@ -990,9 +990,7 @@ var SwapInfo = (0, import_superstruct.type)({
990
990
  inputMint: (0, import_superstruct.string)(),
991
991
  outputMint: (0, import_superstruct.string)(),
992
992
  inAmount: AmountFromString,
993
- outAmount: AmountFromString,
994
- feeAmount: AmountFromString,
995
- feeMint: PublicKeyFromString
993
+ outAmount: AmountFromString
996
994
  });
997
995
  var RoutePlanStep = (0, import_superstruct.type)({
998
996
  swapInfo: SwapInfo,