@render-foundation/utils 0.0.28 → 0.0.30

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,10 +1,14 @@
1
1
  import { AddressLookupTableAccount, Connection, Signer, TransactionInstruction } from "@solana/web3.js";
2
2
  import { RenderLogger } from "./logger";
3
3
  export interface TradeClient {
4
- createTradeInstructions(renderAmount: number): Promise<{
4
+ createTradeInstructions(f: {
5
+ renderAmount: number;
6
+ slippage?: number;
7
+ maxAccounts?: number;
8
+ }): Promise<{
5
9
  instructions: TransactionInstruction[];
6
10
  addressLookupTableAccounts: AddressLookupTableAccount[];
7
11
  }>;
8
12
  }
9
- export declare const jupClient: (connection: Connection, funder: Signer, logger?: RenderLogger) => TradeClient;
13
+ export declare const jupClient: (connection: Connection, funder: Signer, log?: RenderLogger) => TradeClient;
10
14
  //# sourceMappingURL=tradeClient.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"tradeClient.d.ts","sourceRoot":"","sources":["../../../src/tradeClient.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,yBAAyB,EACzB,UAAU,EAEV,MAAM,EAAE,sBAAsB,EAG/B,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAC,YAAY,EAAgB,MAAM,UAAU,CAAC;AASrD,MAAM,WAAW,WAAW;IAC1B,uBAAuB,CAAC,YAAY,EAAE,MAAM,GAAG,OAAO,CAAC;QACrD,YAAY,EAAE,sBAAsB,EAAE,CAAC;QACvC,0BAA0B,EAAE,yBAAyB,EAAE,CAAA;KACxD,CAAC,CAAA;CACH;AAQD,eAAO,MAAM,SAAS,eACR,UAAU,UACd,MAAM,WACN,YAAY,KACnB,WAgHF,CAAA"}
1
+ {"version":3,"file":"tradeClient.d.ts","sourceRoot":"","sources":["../../../src/tradeClient.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,yBAAyB,EACzB,UAAU,EAEV,MAAM,EAAE,sBAAsB,EAG/B,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAC,YAAY,EAAgB,MAAM,UAAU,CAAC;AASrD,MAAM,WAAW,WAAW;IAC1B,uBAAuB,CAAC,CAAC,EAAE;QACzB,YAAY,EAAE,MAAM,CAAC;QACrB,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,WAAW,CAAC,EAAE,MAAM,CAAA;KACrB,GAAG,OAAO,CAAC;QACV,YAAY,EAAE,sBAAsB,EAAE,CAAC;QACvC,0BAA0B,EAAE,yBAAyB,EAAE,CAAA;KACxD,CAAC,CAAA;CACH;AAQD,eAAO,MAAM,SAAS,eACR,UAAU,UACd,MAAM,QACT,YAAY,KAChB,WAsHF,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@render-foundation/utils",
3
- "version": "0.0.28",
3
+ "version": "0.0.30",
4
4
  "description": "Utils shared across Render libs",
5
5
  "publishConfig": {
6
6
  "access": "public",
package/CHANGELOG.md DELETED
@@ -1,310 +0,0 @@
1
- # Change Log
2
-
3
- All notable changes to this project will be documented in this file.
4
- See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
-
6
- ## [3.10.2](https://github.com/StrataFoundation/strata/compare/v3.10.1...v3.10.2) (2022-08-10)
7
-
8
- **Note:** Version bump only for package @strata-foundation/spl-utils
9
-
10
-
11
-
12
-
13
-
14
- # [3.10.0](https://github.com/StrataFoundation/strata/compare/v3.9.12...v3.10.0) (2022-08-04)
15
-
16
- **Note:** Version bump only for package @strata-foundation/spl-utils
17
-
18
-
19
-
20
-
21
-
22
- ## [3.9.5](https://github.com/StrataFoundation/strata/compare/v3.9.4...v3.9.5) (2022-07-26)
23
-
24
- **Note:** Version bump only for package @strata-foundation/spl-utils
25
-
26
-
27
-
28
-
29
-
30
- ## [3.9.3](https://github.com/StrataFoundation/strata/compare/v3.9.2...v3.9.3) (2022-07-25)
31
-
32
- **Note:** Version bump only for package @strata-foundation/spl-utils
33
-
34
-
35
-
36
-
37
-
38
- # [3.9.0](https://github.com/StrataFoundation/strata/compare/v3.8.2...v3.9.0) (2022-07-11)
39
-
40
- **Note:** Version bump only for package @strata-foundation/spl-utils
41
-
42
-
43
-
44
-
45
-
46
- ## [3.8.2](https://github.com/StrataFoundation/strata/compare/v3.8.1...v3.8.2) (2022-06-19)
47
-
48
- **Note:** Version bump only for package @strata-foundation/spl-utils
49
-
50
-
51
-
52
-
53
-
54
- ## [3.8.1](https://github.com/StrataFoundation/strata/compare/v3.8.0...v3.8.1) (2022-06-18)
55
-
56
- **Note:** Version bump only for package @strata-foundation/spl-utils
57
-
58
-
59
-
60
-
61
-
62
- # [3.7.0](https://github.com/StrataFoundation/strata/compare/v3.5.5...v3.7.0) (2022-06-02)
63
-
64
-
65
- ### Bug Fixes
66
-
67
- * **transactions:** remove subscription if available ([#230](https://github.com/StrataFoundation/strata/issues/230)) ([e99f05c](https://github.com/StrataFoundation/strata/commit/e99f05c02dd1f0176c8303608ea4859c68774cf4))
68
-
69
-
70
-
71
-
72
-
73
- ## [3.6.1](https://github.com/StrataFoundation/strata/compare/v3.6.0...v3.6.1) (2022-05-21)
74
-
75
- **Note:** Version bump only for package @strata-foundation/spl-utils
76
-
77
-
78
-
79
-
80
-
81
- ## [3.5.7](https://github.com/StrataFoundation/strata/compare/v3.5.5...v3.5.7) (2022-05-07)
82
-
83
-
84
- ### Bug Fixes
85
-
86
- * **transactions:** remove subscription if available ([#230](https://github.com/StrataFoundation/strata/issues/230)) ([e99f05c](https://github.com/StrataFoundation/strata/commit/e99f05c02dd1f0176c8303608ea4859c68774cf4))
87
-
88
-
89
-
90
-
91
-
92
- ## [3.5.5](https://github.com/StrataFoundation/strata/compare/v3.5.4...v3.5.5) (2022-04-19)
93
-
94
- **Note:** Version bump only for package @strata-foundation/spl-utils
95
-
96
-
97
-
98
-
99
-
100
- ## [3.5.4](https://github.com/StrataFoundation/strata/compare/v3.5.2...v3.5.4) (2022-04-18)
101
-
102
- **Note:** Version bump only for package @strata-foundation/spl-utils
103
-
104
-
105
-
106
-
107
-
108
- ## [3.5.3](https://github.com/StrataFoundation/strata/compare/v3.5.2...v3.5.3) (2022-04-18)
109
-
110
- **Note:** Version bump only for package @strata-foundation/spl-utils
111
-
112
-
113
-
114
-
115
-
116
- ## [3.4.5](https://github.com/StrataFoundation/strata/compare/v3.4.1...v3.4.5) (2022-03-29)
117
-
118
- **Note:** Version bump only for package @strata-foundation/spl-utils
119
-
120
-
121
-
122
-
123
-
124
- ## [3.4.3](https://github.com/StrataFoundation/strata/compare/v3.4.1...v3.4.3) (2022-03-26)
125
-
126
- **Note:** Version bump only for package @strata-foundation/spl-utils
127
-
128
-
129
-
130
-
131
-
132
- ## [3.4.2](https://github.com/StrataFoundation/strata/compare/v3.4.1...v3.4.2) (2022-03-26)
133
-
134
- **Note:** Version bump only for package @strata-foundation/spl-utils
135
-
136
-
137
-
138
-
139
-
140
- ## [3.4.1](https://github.com/StrataFoundation/strata/compare/v3.4.0...v3.4.1) (2022-03-25)
141
-
142
- **Note:** Version bump only for package @strata-foundation/spl-utils
143
-
144
-
145
-
146
-
147
-
148
- # [3.4.0](https://github.com/StrataFoundation/strata/compare/v3.3.6...v3.4.0) (2022-03-25)
149
-
150
- **Note:** Version bump only for package @strata-foundation/spl-utils
151
-
152
-
153
-
154
-
155
-
156
- ## [3.3.6](https://github.com/StrataFoundation/strata/compare/v3.3.4...v3.3.6) (2022-03-16)
157
-
158
- **Note:** Version bump only for package @strata-foundation/spl-utils
159
-
160
-
161
-
162
-
163
-
164
- ## [3.3.5](https://github.com/StrataFoundation/strata/compare/v3.3.4...v3.3.5) (2022-03-16)
165
-
166
- **Note:** Version bump only for package @strata-foundation/spl-utils
167
-
168
-
169
-
170
-
171
-
172
- ## [3.3.4](https://github.com/StrataFoundation/strata/compare/v3.3.2...v3.3.4) (2022-03-16)
173
-
174
- **Note:** Version bump only for package @strata-foundation/spl-utils
175
-
176
-
177
-
178
-
179
-
180
- ## [3.3.3](https://github.com/StrataFoundation/strata/compare/v3.3.2...v3.3.3) (2022-03-16)
181
-
182
- **Note:** Version bump only for package @strata-foundation/spl-utils
183
-
184
-
185
-
186
-
187
-
188
- # [3.3.0](https://github.com/StrataFoundation/strata/compare/v3.2.6...v3.3.0) (2022-03-04)
189
-
190
- **Note:** Version bump only for package @strata-foundation/spl-utils
191
-
192
-
193
-
194
-
195
-
196
- ## [3.2.6](https://github.com/StrataFoundation/strata/compare/v3.0.0...v3.2.6) (2022-03-03)
197
-
198
- **Note:** Version bump only for package @strata-foundation/spl-utils
199
-
200
-
201
-
202
-
203
-
204
- ## [3.2.4](https://github.com/StrataFoundation/strata/compare/v3.2.4-alpha.5...v3.2.4) (2022-02-12)
205
-
206
- **Note:** Version bump only for package @strata-foundation/spl-utils
207
-
208
-
209
-
210
-
211
-
212
- ## [3.2.3](https://github.com/StrataFoundation/strata/compare/v3.2.2...v3.2.3) (2022-02-09)
213
-
214
- **Note:** Version bump only for package @strata-foundation/spl-utils
215
-
216
-
217
-
218
-
219
-
220
- ## [3.2.2](https://github.com/StrataFoundation/strata/compare/v3.2.1...v3.2.2) (2022-02-08)
221
-
222
- **Note:** Version bump only for package @strata-foundation/spl-utils
223
-
224
-
225
-
226
-
227
-
228
- ## [3.2.1](https://github.com/StrataFoundation/strata/compare/v3.2.0...v3.2.1) (2022-02-08)
229
-
230
- **Note:** Version bump only for package @strata-foundation/spl-utils
231
-
232
-
233
-
234
-
235
-
236
- # [3.2.0](https://github.com/StrataFoundation/strata/compare/v3.1.0...v3.2.0) (2022-02-03)
237
-
238
- **Note:** Version bump only for package @strata-foundation/spl-utils
239
-
240
-
241
-
242
-
243
-
244
- # [3.1.0](https://github.com/StrataFoundation/strata/compare/v3.0.0...v3.1.0) (2022-01-29)
245
-
246
- **Note:** Version bump only for package @strata-foundation/spl-utils
247
-
248
-
249
-
250
-
251
-
252
- # [3.0.0](https://github.com/StrataFoundation/strata/compare/v2.2.0...v3.0.0) (2022-01-26)
253
-
254
- **Note:** Version bump only for package @strata-foundation/spl-utils
255
-
256
-
257
-
258
-
259
-
260
- # [2.2.0](https://github.com/StrataFoundation/strata/compare/v2.1.11...v2.2.0) (2022-01-25)
261
-
262
- **Note:** Version bump only for package @strata-foundation/spl-utils
263
-
264
-
265
-
266
-
267
-
268
- ## [2.1.7](https://github.com/StrataFoundation/strata/compare/v2.1.6...v2.1.7) (2022-01-20)
269
-
270
- **Note:** Version bump only for package @strata-foundation/spl-utils
271
-
272
-
273
-
274
-
275
-
276
- ## [2.1.2](https://github.com/StrataFoundation/strata/compare/v2.1.1...v2.1.2) (2022-01-17)
277
-
278
- **Note:** Version bump only for package @strata-foundation/spl-utils
279
-
280
-
281
-
282
-
283
-
284
- ## [2.1.1](https://github.com/StrataFoundation/strata/compare/v2.1.0...v2.1.1) (2022-01-12)
285
-
286
- **Note:** Version bump only for package @strata-foundation/spl-utils
287
-
288
-
289
-
290
-
291
-
292
- # [2.1.0](https://github.com/StrataFoundation/strata/compare/v2.0.6...v2.1.0) (2022-01-11)
293
-
294
- **Note:** Version bump only for package @strata-foundation/spl-utils
295
-
296
-
297
-
298
-
299
-
300
- # [2.0.0](https://github.com/StrataFoundation/strata/compare/v1.3.2...v2.0.0) (2021-12-24)
301
-
302
- **Note:** Version bump only for package @strata-foundation/spl-utils
303
-
304
-
305
-
306
-
307
-
308
- ## [1.3.2](https://github.com/StrataFoundation/strata/compare/v0.7.0...v1.3.2) (2021-12-15)
309
-
310
- **Note:** Version bump only for package @strata-foundation/spl-utils