@dydxprotocol/v4-client-js 0.32.1 → 0.33.0

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.
Files changed (2) hide show
  1. package/LICENSE +836 -6
  2. package/package.json +2 -2
package/LICENSE CHANGED
@@ -1,11 +1,841 @@
1
- Proprietary License © 2023 dYdX Trading Inc.
1
+ Subject to your compliance with applicable law, you are granted the right to use the Licensed Work (defined below) under the terms of the below licenses; provided, however, that if you violate any such applicable law in your use of the Licensed Work, all of your rights and licenses to use (including any rights to reproduce, distribute, install or modify) the Licensed Work will automatically and immediately terminate.
2
2
 
3
- dYdX Trading Inc. ("dYdX") hereby grants you the right to access, copy and use the code in this repository (the "Licensed Code") solely for purposes of evaluating the Licensed Code and evaluating interoperability of the Licensed Code with your products and services.
3
+ Use of this software before the Change Date specified in the LICENSE file is governed by the Business Source License included in the LICENSE file and at https://spdx.org/licenses/BUSL-1.1.html.
4
4
 
5
- You agree not to (a) access, copy or use the Licensed Code for any purpose other than as expressly licensed above, (b) provide, disclose or distribute the Licensed Code to any third party, or (c) modify or creative derivative works of the Licensed Code. Any violation of these terms will automatically terminate your rights under these terms.
5
+ On and after the Change Date specified in the LICENSE file, use of this software will be governed by the Change License (GNU Affero GPL v3) as specified in the LICENSE file.
6
6
 
7
- All copies of the Licensed Code are subject to these terms. You must conspicuously display these terms on each copy of the Licensed Code.
8
7
 
9
- dYdX intends to make the Licensed Code available under an open source license in the near term. The terms of this license apply unless and until the Licensed Code is made available by dYdX under an open source license.
8
+ Business Source License 1.1
9
+ Business Source License text copyright © 2023 MariaDB plc, All Rights Reserved. “Business Source License” is a trademark of MariaDB plc.
10
+ Copyright (C) 2023 dYdX Trading Inc.
10
11
 
11
- These terms do not grant you any right in any trademarks, service marks or logos of dYdX or its affiliates. TO THE EXTENT PERMITTED BY APPLICABLE LAW, THE LICENSED CODE IS PROVIDED "AS IS". DYDX HEREBY DISCLAIMS ALL WARRANTIES AND CONDITIONS, EXPRESS OR IMPLIED, INCLUDING (WITHOUT LIMITATION) WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT AND TITLE.
12
+ Parameters
13
+ Licensor: dYdX Trading Inc.
14
+ Licensed Work: dydxprotocol/cosmos-sdk, dydxprotocol/cometbft, dydxprotocol/v4-chain, dydxprotocol/v4-clients, dydxprotocol/v4-web, dydxprotocol/v4-abacus, dydxprotocol/v4-localization, dydxprotocol/v4-documentation, and any dYdX or dYdX Trading Inc. github repository reflecting a copy of this license, or link to this license.
15
+ Additional Use Grant: None
16
+ Change Date: On the later to occur of (i) the release of the Licensed Work labeled “dYdX Version 1.0 Affero GPL”, and which includes a document uploaded to the relevant github repository stating “The software in this repository is Version 1.0, subject to Affero GPL license”, and (ii) September 30, 2023 (approximate projected release of “Version 1.0” of this software).
17
+ Change License: GNU Affero GPL License v3
18
+
19
+ License text copyright © 2023 MariaDB plc, All Rights Reserved. “Business Source License” is a trademark of MariaDB plc.
20
+ Terms
21
+ The Licensor hereby grants you the right to copy, modify, create derivative works, redistribute, and make non-production use of the Licensed Work. The Licensor may make an Additional Use Grant, above, permitting limited production use.
22
+ Effective on the Change Date, or the fourth anniversary of the first publicly available distribution of a specific version of the Licensed Work under this License, whichever comes first, the Licensor hereby grants you rights under the terms of the Change License, and the rights granted in the paragraph above terminate.
23
+ If your use of the Licensed Work does not comply with the requirements currently in effect as described in this License, you must purchase a commercial license from the Licensor, its affiliated entities, or authorized resellers, or you must refrain from using the Licensed Work.
24
+ All copies of the original and modified Licensed Work, and derivative works of the Licensed Work, are subject to this License. This License applies separately for each version of the Licensed Work and the Change Date may vary for each version of the Licensed Work released by Licensor.
25
+ You must conspicuously display this License on each original or modified copy of the Licensed Work. If you receive the Licensed Work in original or modified form from a third party, the terms and conditions set forth in this License apply to your use of that work.
26
+ Any use of the Licensed Work in violation of this License will automatically terminate your rights under this License for the current and all other versions of the Licensed Work.
27
+ This License does not grant you any right in any trademark or logo of Licensor or its affiliates (provided that you may use a trademark or logo of Licensor as expressly required by this License).TO THE EXTENT PERMITTED BY APPLICABLE LAW, THE LICENSED WORK IS PROVIDED ON AN “AS IS” BASIS. LICENSOR HEREBY DISCLAIMS ALL WARRANTIES AND CONDITIONS, EXPRESS OR IMPLIED, INCLUDING (WITHOUT LIMITATION) WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, AND TITLE. MariaDB hereby grants you permission to use this License’s text to license your works, and to refer to it using the trademark “Business Source License”, as long as you comply with the Covenants of Licensor below.
28
+ Covenants of Licensor
29
+ In consideration of the right to use this License’s text and the “Business Source License” name and trademark, Licensor covenants to MariaDB, and to all other recipients of the licensed work to be provided by Licensor:
30
+ To specify as the Change License the GPL Version 2.0 or any later version, or a license that is compatible with GPL Version 2.0 or a later version, where “compatible” means that software provided under the Change License can be included in a program with software provided under GPL Version 2.0 or a later version. Licensor may specify additional Change Licenses without limitation.
31
+ To either: (a) specify an additional grant of rights to use that does not impose any additional restriction on the right granted in this License, as the Additional Use Grant; or (b) insert the text “None” to specify a Change Date. Not to modify this License in any other way.
32
+ Notice
33
+ The Business Source License (this document, or the “License”) is not an Open Source license. However, the Licensed Work will eventually be made available under an Open Source License, as stated in this License.
34
+
35
+
36
+
37
+
38
+
39
+
40
+ OPEN SOURCE LICENSE BELOW - TO BE APPLIED AFTER THE CHANGE DATE.
41
+
42
+
43
+ Copyright (C) 2023 dYdX Trading Inc.
44
+
45
+ Subject to your compliance with applicable law, you are granted the right to use the Licensed Work (defined below) under the terms of the GNU Affero General Public License as set forth below; provided, however, that if you violate any such applicable law in your use of the Licensed Work, all of your rights and licenses to use (including any rights to reproduce, distribute, install or modify) the Licensed Work will automatically and immediately terminate.
46
+
47
+
48
+ The GNU Affero General Public License
49
+ Version 3, 19 November 2007
50
+
51
+
52
+ Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
53
+ Everyone is permitted to copy and distribute verbatim copies
54
+ of this license document, but changing it is not allowed.
55
+
56
+
57
+ Preamble
58
+
59
+
60
+
61
+ The GNU Affero General Public License is a free, copyleft license for
62
+ software and other kinds of works, specifically designed to ensure
63
+ cooperation with the community in the case of network server software.
64
+
65
+
66
+ The licenses for most software and other practical works are designed
67
+ to take away your freedom to share and change the works. By contrast,
68
+ our General Public Licenses are intended to guarantee your freedom to
69
+ share and change all versions of a program--to make sure it remains free
70
+ software for all its users.
71
+
72
+
73
+ When we speak of free software, we are referring to freedom, not
74
+ price. Our General Public Licenses are designed to make sure that you
75
+ have the freedom to distribute copies of free software (and charge for
76
+ them if you wish), that you receive source code or can get it if you
77
+ want it, that you can change the software or use pieces of it in new
78
+ free programs, and that you know you can do these things.
79
+
80
+
81
+ Developers that use our General Public Licenses protect your rights
82
+ with two steps: (1) assert copyright on the software, and (2) offer
83
+ you this License which gives you legal permission to copy, distribute
84
+ and/or modify the software.
85
+
86
+
87
+ A secondary benefit of defending all users' freedom is that
88
+ improvements made in alternate versions of the program, if they
89
+ receive widespread use, become available for other developers to
90
+ incorporate. Many developers of free software are heartened and
91
+ encouraged by the resulting cooperation. However, in the case of
92
+ software used on network servers, this result may fail to come about.
93
+ The GNU General Public License permits making a modified version and
94
+ letting the public access it on a server without ever releasing its
95
+ source code to the public.
96
+
97
+
98
+ The GNU Affero General Public License is designed specifically to
99
+ ensure that, in such cases, the modified source code becomes available
100
+ to the community. It requires the operator of a network server to
101
+ provide the source code of the modified version running there to the
102
+ users of that server. Therefore, public use of a modified version, on
103
+ a publicly accessible server, gives the public access to the source
104
+ code of the modified version.
105
+
106
+
107
+ An older license, called the Affero General Public License and
108
+ published by Affero, was designed to accomplish similar goals. This is
109
+ a different license, not a version of the Affero GPL, but Affero has
110
+ released a new version of the Affero GPL which permits relicensing under
111
+ this license.
112
+
113
+
114
+ The precise terms and conditions for copying, distribution and
115
+ modification follow.
116
+
117
+
118
+
119
+ TERMS AND CONDITIONS
120
+
121
+
122
+ 0. Definitions.
123
+
124
+
125
+ "This License" refers to version 3 of the GNU Affero General Public License.
126
+
127
+
128
+ "Copyright" also means copyright-like laws that apply to other kinds of
129
+ works, such as semiconductor masks.
130
+
131
+
132
+ "The Program" refers to any copyrightable work licensed under this
133
+ License. Each licensee is addressed as "you". "Licensees" and
134
+ "recipients" may be individuals or organizations.
135
+
136
+
137
+ To "modify" a work means to copy from or adapt all or part of the work
138
+ in a fashion requiring copyright permission, other than the making of an
139
+ exact copy. The resulting work is called a "modified version" of the
140
+ earlier work or a work "based on" the earlier work.
141
+
142
+
143
+ A "covered work" means either the unmodified Program or a work based
144
+ on the Program.
145
+
146
+
147
+ To "propagate" a work means to do anything with it that, without
148
+ permission, would make you directly or secondarily liable for
149
+ infringement under applicable copyright law, except executing it on a
150
+ computer or modifying a private copy. Propagation includes copying,
151
+ distribution (with or without modification), making available to the
152
+ public, and in some countries other activities as well.
153
+
154
+
155
+
156
+ To "convey" a work means any kind of propagation that enables other
157
+ parties to make or receive copies. Mere interaction with a user through
158
+ a computer network, with no transfer of a copy, is not conveying.
159
+
160
+
161
+
162
+ An interactive user interface displays "Appropriate Legal Notices"
163
+ to the extent that it includes a convenient and prominently visible
164
+ feature that (1) displays an appropriate copyright notice, and (2)
165
+ tells the user that there is no warranty for the work (except to the
166
+ extent that warranties are provided), that licensees may convey the
167
+ work under this License, and how to view a copy of this License. If
168
+ the interface presents a list of user commands or options, such as a
169
+ menu, a prominent item in the list meets this criterion.
170
+
171
+
172
+
173
+ 1. Source Code.
174
+
175
+
176
+
177
+ The "source code" for a work means the preferred form of the work
178
+ for making modifications to it. "Object code" means any non-source
179
+ form of a work.
180
+
181
+
182
+
183
+ A "Standard Interface" means an interface that either is an official
184
+ standard defined by a recognized standards body, or, in the case of
185
+ interfaces specified for a particular programming language, one that
186
+ is widely used among developers working in that language.
187
+
188
+
189
+
190
+ The "System Libraries" of an executable work include anything, other
191
+ than the work as a whole, that (a) is included in the normal form of
192
+ packaging a Major Component, but which is not part of that Major
193
+ Component, and (b) serves only to enable use of the work with that
194
+ Major Component, or to implement a Standard Interface for which an
195
+ implementation is available to the public in source code form. A
196
+ "Major Component", in this context, means a major essential component
197
+ (kernel, window system, and so on) of the specific operating system
198
+ (if any) on which the executable work runs, or a compiler used to
199
+ produce the work, or an object code interpreter used to run it.
200
+
201
+
202
+
203
+ The "Corresponding Source" for a work in object code form means all
204
+ the source code needed to generate, install, and (for an executable
205
+ work) run the object code and to modify the work, including scripts to
206
+ control those activities. However, it does not include the work's
207
+ System Libraries, or general-purpose tools or generally available free
208
+ programs which are used unmodified in performing those activities but
209
+ which are not part of the work. For example, Corresponding Source
210
+ includes interface definition files associated with source files for
211
+ the work, and the source code for shared libraries and dynamically
212
+ linked subprograms that the work is specifically designed to require,
213
+ such as by intimate data communication or control flow between those
214
+ subprograms and other parts of the work.
215
+
216
+
217
+
218
+ The Corresponding Source need not include anything that users
219
+ can regenerate automatically from other parts of the Corresponding
220
+ Source.
221
+
222
+
223
+
224
+ The Corresponding Source for a work in source code form is that
225
+ same work.
226
+
227
+
228
+ 2. Basic Permissions.
229
+
230
+
231
+
232
+ All rights granted under this License are granted for the term of
233
+ copyright on the Program, and are irrevocable provided the stated
234
+ conditions are met. This License explicitly affirms your unlimited
235
+ permission to run the unmodified Program. The output from running a
236
+ covered work is covered by this License only if the output, given its
237
+ content, constitutes a covered work. This License acknowledges your
238
+ rights of fair use or other equivalent, as provided by copyright law.
239
+
240
+
241
+
242
+ You may make, run and propagate covered works that you do not
243
+ convey, without conditions so long as your license otherwise remains
244
+ in force. You may convey covered works to others for the sole purpose
245
+ of having them make modifications exclusively for you, or provide you
246
+ with facilities for running those works, provided that you comply with
247
+ the terms of this License in conveying all material for which you do
248
+ not control copyright. Those thus making or running the covered works
249
+ for you must do so exclusively on your behalf, under your direction
250
+ and control, on terms that prohibit them from making any copies of
251
+ your copyrighted material outside their relationship with you.
252
+
253
+
254
+
255
+ Conveying under any other circumstances is permitted solely under
256
+ the conditions stated below. Sublicensing is not allowed; Section 10
257
+ makes it unnecessary.
258
+
259
+
260
+ 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
261
+
262
+
263
+ No covered work shall be deemed part of an effective technological
264
+ measure under any applicable law fulfilling obligations under article
265
+ 11 of the WIPO copyright treaty adopted on 20 December 1996, or
266
+ similar laws prohibiting or restricting circumvention of such
267
+ measures.
268
+
269
+
270
+ When you convey a covered work, you waive any legal power to forbid
271
+ circumvention of technological measures to the extent such circumvention
272
+ is effected by exercising rights under this License with respect to
273
+ the covered work, and you disclaim any intention to limit operation or
274
+ modification of the work as a means of enforcing, against the work's
275
+ users, your or third parties' legal rights to forbid circumvention of
276
+ technological measures.
277
+
278
+
279
+
280
+ 4. Conveying Verbatim Copies.
281
+
282
+
283
+ You may convey verbatim copies of the Program's source code as you
284
+ receive it, in any medium, provided that you conspicuously and
285
+ appropriately publish on each copy an appropriate copyright notice;
286
+ keep intact all notices stating that this License and any
287
+ non-permissive terms added in accord with Section 7 apply to the code;
288
+ keep intact all notices of the absence of any warranty; and give all
289
+ recipients a copy of this License along with the Program.
290
+
291
+
292
+ You may charge any price or no price for each copy that you convey,
293
+ and you may offer support or warranty protection for a fee.
294
+
295
+
296
+ 5. Conveying Modified Source Versions.
297
+
298
+
299
+ You may convey a work based on the Program, or the modifications to
300
+ produce it from the Program, in the form of source code under the
301
+ terms of Section 4, provided that you also meet all of these conditions:
302
+
303
+
304
+
305
+ a) The work must carry prominent notices stating that you modified
306
+ it, and giving a relevant date.
307
+
308
+
309
+ b) The work must carry prominent notices stating that it is
310
+ released under this License and any conditions added under Section
311
+ 7. This requirement modifies the requirement in Section 4 to
312
+ "keep intact all notices".
313
+
314
+
315
+ c) You must license the entire work, as a whole, under this
316
+ License to anyone who comes into possession of a copy. This
317
+ License will therefore apply, along with any applicable Section 7
318
+ additional terms, to the whole of the work, and all its parts,
319
+ regardless of how they are packaged. This License gives no
320
+ permission to license the work in any other way, but it does not
321
+ invalidate such permission if you have separately received it.
322
+
323
+
324
+ d) If the work has interactive user interfaces, each must display
325
+ Appropriate Legal Notices; however, if the Program has interactive
326
+ interfaces that do not display Appropriate Legal Notices, your
327
+ work need not make them do so.
328
+
329
+
330
+
331
+ A compilation of a covered work with other separate and independent
332
+ works, which are not by their nature extensions of the covered work,
333
+ and which are not combined with it such as to form a larger program,
334
+ in or on a volume of a storage or distribution medium, is called an
335
+ "aggregate" if the compilation and its resulting copyright are not
336
+ used to limit the access or legal rights of the compilation's users
337
+ beyond what the individual works permit. Inclusion of a covered work
338
+ in an aggregate does not cause this License to apply to the other
339
+ parts of the aggregate.
340
+
341
+
342
+
343
+ 6. Conveying Non-Source Forms.
344
+
345
+
346
+
347
+ You may convey a covered work in object code form under the terms
348
+ of Sections 4 and 5, provided that you also convey the
349
+ machine-readable Corresponding Source under the terms of this License,
350
+ in one of these ways:
351
+
352
+
353
+
354
+ a) Convey the object code in, or embodied in, a physical product
355
+ (including a physical distribution medium), accompanied by the
356
+ Corresponding Source fixed on a durable physical medium
357
+ customarily used for software interchange.
358
+
359
+
360
+
361
+ b) Convey the object code in, or embodied in, a physical product
362
+ (including a physical distribution medium), accompanied by a
363
+ written offer, valid for at least three years and valid for as
364
+ long as you offer spare parts or customer support for that product
365
+ model, to give anyone who possesses the object code either (1) a
366
+ copy of the Corresponding Source for all the software in the
367
+ product that is covered by this License, on a durable physical
368
+ medium customarily used for software interchange, for a price no
369
+ more than your reasonable cost of physically performing this
370
+ conveying of source, or (2) access to copy the
371
+ Corresponding Source from a network server at no charge.
372
+
373
+
374
+
375
+ c) Convey individual copies of the object code with a copy of the
376
+ written offer to provide the Corresponding Source. This
377
+ alternative is allowed only occasionally and noncommercially, and
378
+ only if you received the object code with such an offer, in accord
379
+ with Subsection 6b.
380
+
381
+
382
+
383
+ d) Convey the object code by offering access from a designated
384
+ place (gratis or for a charge), and offer equivalent access to the
385
+ Corresponding Source in the same way through the same place at no
386
+ further charge. You need not require recipients to copy the
387
+ Corresponding Source along with the object code. If the place to
388
+ copy the object code is a network server, the Corresponding Source
389
+ may be on a different server (operated by you or a third party)
390
+ that supports equivalent copying facilities, provided you maintain
391
+ clear directions next to the object code saying where to find the
392
+ Corresponding Source. Regardless of what server hosts the
393
+ Corresponding Source, you remain obligated to ensure that it is
394
+ available for as long as needed to satisfy these requirements.
395
+
396
+
397
+
398
+ e) Convey the object code using peer-to-peer transmission, provided
399
+ you inform other peers where the object code and Corresponding
400
+ Source of the work are being offered to the general public at no
401
+ charge under Subsection 6d.
402
+
403
+
404
+
405
+ A separable portion of the object code, whose source code is excluded
406
+ from the Corresponding Source as a System Library, need not be
407
+ included in conveying the object code work.
408
+
409
+
410
+
411
+ A "User Product" is either (1) a "consumer product", which means any
412
+ tangible personal property which is normally used for personal, family,
413
+ or household purposes, or (2) anything designed or sold for incorporation
414
+ into a dwelling. In determining whether a product is a consumer product,
415
+ doubtful cases shall be resolved in favor of coverage. For a particular
416
+ product received by a particular user, "normally used" refers to a
417
+ typical or common use of that class of product, regardless of the status
418
+ of the particular user or of the way in which the particular user
419
+ actually uses, or expects or is expected to use, the product. A product
420
+ is a consumer product regardless of whether the product has substantial
421
+ commercial, industrial or non-consumer uses, unless such uses represent
422
+ the only significant mode of use of the product.
423
+
424
+
425
+
426
+ "Installation Information" for a User Product means any methods,
427
+ procedures, authorization keys, or other information required to install
428
+ and execute modified versions of a covered work in that User Product from
429
+ a modified version of its Corresponding Source. The information must
430
+ suffice to ensure that the continued functioning of the modified object
431
+ code is in no case prevented or interfered with solely because
432
+ modification has been made.
433
+
434
+
435
+
436
+ If you convey an object code work under this section in, or with, or
437
+ specifically for use in, a User Product, and the conveying occurs as
438
+ part of a transaction in which the right of possession and use of the
439
+ User Product is transferred to the recipient in perpetuity or for a
440
+ fixed term (regardless of how the transaction is characterized), the
441
+ Corresponding Source conveyed under this section must be accompanied
442
+ by the Installation Information. But this requirement does not apply
443
+ if neither you nor any third party retains the ability to install
444
+ modified object code on the User Product (for example, the work has
445
+ been installed in ROM).
446
+
447
+
448
+
449
+ The requirement to provide Installation Information does not include a
450
+ requirement to continue to provide support service, warranty, or updates
451
+ for a work that has been modified or installed by the recipient, or for
452
+ the User Product in which it has been modified or installed. Access to a
453
+ network may be denied when the modification itself materially and
454
+ adversely affects the operation of the network or violates the rules and
455
+ protocols for communication across the network.
456
+
457
+
458
+
459
+ Corresponding Source conveyed, and Installation Information provided,
460
+ in accord with this section must be in a format that is publicly
461
+ documented (and with an implementation available to the public in
462
+ source code form), and must require no special password or key for
463
+ unpacking, reading or copying.
464
+
465
+
466
+
467
+ 7. Additional Terms.
468
+
469
+
470
+
471
+ "Additional permissions" are terms that supplement the terms of this
472
+ License by making exceptions from one or more of its conditions.
473
+ Additional permissions that are applicable to the entire Program shall
474
+ be treated as though they were included in this License, to the extent
475
+ that they are valid under applicable law. If additional permissions
476
+ apply only to part of the Program, that part may be used separately
477
+ under those permissions, but the entire Program remains governed by
478
+ this License without regard to the additional permissions.
479
+
480
+
481
+
482
+ When you convey a copy of a covered work, you may at your option
483
+ remove any additional permissions from that copy, or from any part of
484
+ it. (Additional permissions may be written to require their own
485
+ removal in certain cases when you modify the work.) You may place
486
+ additional permissions on material, added by you to a covered work,
487
+ for which you have or can give appropriate copyright permission.
488
+
489
+
490
+
491
+ Notwithstanding any other provision of this License, for material you
492
+ add to a covered work, you may (if authorized by the copyright holders of
493
+ that material) supplement the terms of this License with terms:
494
+
495
+
496
+
497
+ a) Disclaiming warranty or limiting liability differently from the
498
+ terms of Sections 15 and 16 of this License; or
499
+
500
+
501
+
502
+ b) Requiring preservation of specified reasonable legal notices or
503
+ author attributions in that material or in the Appropriate Legal
504
+ Notices displayed by works containing it; or
505
+
506
+
507
+
508
+ c) Prohibiting misrepresentation of the origin of that material, or
509
+ requiring that modified versions of such material be marked in
510
+ reasonable ways as different from the original version; or
511
+
512
+
513
+
514
+ d) Limiting the use for publicity purposes of names of licensors or
515
+ authors of the material; or
516
+
517
+
518
+
519
+ e) Declining to grant rights under trademark law for use of some
520
+ trade names, trademarks, or service marks; or
521
+
522
+
523
+
524
+ f) Requiring indemnification of licensors and authors of that
525
+ material by anyone who conveys the material (or modified versions of
526
+ it) with contractual assumptions of liability to the recipient, for
527
+ any liability that these contractual assumptions directly impose on
528
+ those licensors and authors.
529
+
530
+
531
+
532
+ All other non-permissive additional terms are considered "further
533
+ restrictions" within the meaning of Section 10. If the Program as you
534
+ received it, or any part of it, contains a notice stating that it is
535
+ governed by this License along with a term that is a further
536
+ restriction, you may remove that term. If a license document contains
537
+ a further restriction but permits relicensing or conveying under this
538
+ License, you may add to a covered work material governed by the terms
539
+ of that license document, provided that the further restriction does
540
+ not survive such relicensing or conveying.
541
+
542
+
543
+
544
+ If you add terms to a covered work in accord with this section, you
545
+ must place, in the relevant source files, a statement of the
546
+ additional terms that apply to those files, or a notice indicating
547
+ where to find the applicable terms.
548
+
549
+
550
+
551
+ Additional terms, permissive or non-permissive, may be stated in the
552
+ form of a separately written license, or stated as exceptions;
553
+ the above requirements apply either way.
554
+
555
+
556
+
557
+ 8. Termination.
558
+
559
+
560
+
561
+ You may not propagate or modify a covered work except as expressly
562
+ provided under this License. Any attempt otherwise to propagate or
563
+ modify it is void, and will automatically terminate your rights under
564
+ this License (including any patent licenses granted under the third
565
+ paragraph of Section 11).
566
+
567
+
568
+
569
+ However, if you cease all violation of this License, then your
570
+ license from a particular copyright holder is reinstated (a)
571
+ provisionally, unless and until the copyright holder explicitly and
572
+ finally terminates your license, and (b) permanently, if the copyright
573
+ holder fails to notify you of the violation by some reasonable means
574
+ prior to 60 days after the cessation.
575
+
576
+
577
+
578
+ Moreover, your license from a particular copyright holder is
579
+ reinstated permanently if the copyright holder notifies you of the
580
+ violation by some reasonable means, this is the first time you have
581
+ received notice of violation of this License (for any work) from that
582
+ copyright holder, and you cure the violation prior to 30 days after
583
+ your receipt of the notice.
584
+
585
+
586
+
587
+ Termination of your rights under this section does not terminate the
588
+ licenses of parties who have received copies or rights from you under
589
+ this License. If your rights have been terminated and not permanently
590
+ reinstated, you do not qualify to receive new licenses for the same
591
+ material under Section 10.
592
+
593
+
594
+
595
+ 9. Acceptance Not Required for Having Copies.
596
+
597
+
598
+
599
+ You are not required to accept this License in order to receive or
600
+ run a copy of the Program. Ancillary propagation of a covered work
601
+ occurring solely as a consequence of using peer-to-peer transmission
602
+ to receive a copy likewise does not require acceptance. However,
603
+ nothing other than this License grants you permission to propagate or
604
+ modify any covered work. These actions infringe copyright if you do
605
+ not accept this License. Therefore, by modifying or propagating a
606
+ covered work, you indicate your acceptance of this License to do so.
607
+
608
+
609
+
610
+ 10. Automatic Licensing of Downstream Recipients.
611
+
612
+
613
+
614
+ Each time you convey a covered work, the recipient automatically
615
+ receives a license from the original licensors, to run, modify and
616
+ propagate that work, subject to this License. You are not responsible
617
+ for enforcing compliance by third parties with this License.
618
+
619
+
620
+
621
+ An "entity transaction" is a transaction transferring control of an
622
+ organization, or substantially all assets of one, or subdividing an
623
+ organization, or merging organizations. If propagation of a covered
624
+ work results from an entity transaction, each party to that
625
+ transaction who receives a copy of the work also receives whatever
626
+ licenses to the work the party's predecessor in interest had or could
627
+ give under the previous paragraph, plus a right to possession of the
628
+ Corresponding Source of the work from the predecessor in interest, if
629
+ the predecessor has it or can get it with reasonable efforts.
630
+
631
+
632
+
633
+ You may not impose any further restrictions on the exercise of the
634
+ rights granted or affirmed under this License. For example, you may
635
+ not impose a license fee, royalty, or other charge for exercise of
636
+ rights granted under this License, and you may not initiate litigation
637
+ (including a cross-claim or counterclaim in a lawsuit) alleging that
638
+ any patent claim is infringed by making, using, selling, offering for
639
+ sale, or importing the Program or any portion of it.
640
+
641
+
642
+
643
+ 11. Patents.
644
+
645
+
646
+
647
+ A "contributor" is a copyright holder who authorizes use under this
648
+ License of the Program or a work on which the Program is based. The
649
+ work thus licensed is called the contributor's "contributor version".
650
+
651
+
652
+
653
+ A contributor's "essential patent claims" are all patent claims
654
+ owned or controlled by the contributor, whether already acquired or
655
+ hereafter acquired, that would be infringed by some manner, permitted
656
+ by this License, of making, using, or selling its contributor version,
657
+ but do not include claims that would be infringed only as a
658
+ consequence of further modification of the contributor version. For
659
+ purposes of this definition, "control" includes the right to grant
660
+ patent sublicenses in a manner consistent with the requirements of
661
+ this License.
662
+
663
+
664
+
665
+ Each contributor grants you a non-exclusive, worldwide, royalty-free
666
+ patent license under the contributor's essential patent claims, to
667
+ make, use, sell, offer for sale, import and otherwise run, modify and
668
+ propagate the contents of its contributor version.
669
+
670
+
671
+
672
+ In the following three paragraphs, a "patent license" is any express
673
+ agreement or commitment, however denominated, not to enforce a patent
674
+ (such as an express permission to practice a patent or covenant not to
675
+ sue for patent infringement). To "grant" such a patent license to a
676
+ party means to make such an agreement or commitment not to enforce a
677
+ patent against the party.
678
+
679
+
680
+
681
+ If you convey a covered work, knowingly relying on a patent license,
682
+ and the Corresponding Source of the work is not available for anyone
683
+ to copy, free of charge and under the terms of this License, through a
684
+ publicly available network server or other readily accessible means,
685
+ then you must either (1) cause the Corresponding Source to be so
686
+ available, or (2) arrange to deprive yourself of the benefit of the
687
+ patent license for this particular work, or (3) arrange, in a manner
688
+ consistent with the requirements of this License, to extend the patent
689
+ license to downstream recipients. "Knowingly relying" means you have
690
+ actual knowledge that, but for the patent license, your conveying the
691
+ covered work in a country, or your recipient's use of the covered work
692
+ in a country, would infringe one or more identifiable patents in that
693
+ country that you have reason to believe are valid.
694
+
695
+
696
+
697
+ If, pursuant to or in connection with a single transaction or
698
+ arrangement, you convey, or propagate by procuring conveyance of, a
699
+ covered work, and grant a patent license to some of the parties
700
+ receiving the covered work authorizing them to use, propagate, modify
701
+ or convey a specific copy of the covered work, then the patent license
702
+ you grant is automatically extended to all recipients of the covered
703
+ work and works based on it.
704
+
705
+
706
+
707
+ A patent license is "discriminatory" if it does not include within
708
+ the scope of its coverage, prohibits the exercise of, or is
709
+ conditioned on the non-exercise of one or more of the rights that are
710
+ specifically granted under this License. You may not convey a covered
711
+ work if you are a party to an arrangement with a third party that is
712
+ in the business of distributing software, under which you make payment
713
+ to the third party based on the extent of your activity of conveying
714
+ the work, and under which the third party grants, to any of the
715
+ parties who would receive the covered work from you, a discriminatory
716
+ patent license (a) in connection with copies of the covered work
717
+ conveyed by you (or copies made from those copies), or (b) primarily
718
+ for and in connection with specific products or compilations that
719
+ contain the covered work, unless you entered into that arrangement,
720
+ or that patent license was granted, prior to 28 March 2007.
721
+
722
+
723
+
724
+ Nothing in this License shall be construed as excluding or limiting
725
+ any implied license or other defenses to infringement that may
726
+ otherwise be available to you under applicable patent law.
727
+
728
+
729
+
730
+ 12. No Surrender of Others' Freedom.
731
+
732
+
733
+
734
+ If conditions are imposed on you (whether by court order, agreement or
735
+ otherwise) that contradict the conditions of this License, they do not
736
+ excuse you from the conditions of this License. If you cannot convey a
737
+ covered work so as to satisfy simultaneously your obligations under this
738
+ License and any other pertinent obligations, then as a consequence you may
739
+ not convey it at all. For example, if you agree to terms that obligate you
740
+ to collect a royalty for further conveying from those to whom you convey
741
+ the Program, the only way you could satisfy both those terms and this
742
+ License would be to refrain entirely from conveying the Program.
743
+
744
+
745
+
746
+ 13. Remote Network Interaction; Use with the GNU General Public License.
747
+
748
+
749
+
750
+ Notwithstanding any other provision of this License, if you modify the
751
+ Program, your modified version must prominently offer all users
752
+ interacting with it remotely through a computer network (if your version
753
+ supports such interaction) an opportunity to receive the Corresponding
754
+ Source of your version by providing access to the Corresponding Source
755
+ from a network server at no charge, through some standard or customary
756
+ means of facilitating copying of software. This Corresponding Source
757
+ shall include the Corresponding Source for any work covered by version 3
758
+ of the GNU General Public License that is incorporated pursuant to the
759
+ following paragraph.
760
+ Notwithstanding any other provision of this License, you have
761
+ permission to link or combine any covered work with a work licensed
762
+ under version 3 of the GNU General Public License into a single
763
+ combined work, and to convey the resulting work. The terms of this
764
+ License will continue to apply to the part which is the covered work,
765
+ but the work with which it is combined will remain governed by version
766
+ 3 of the GNU General Public License.
767
+
768
+
769
+
770
+ 14. Revised Versions of this License.
771
+
772
+
773
+
774
+ The Free Software Foundation may publish revised and/or new versions of
775
+ the GNU Affero General Public License from time to time. Such new versions
776
+ will be similar in spirit to the present version, but may differ in detail to
777
+ address new problems or concerns.
778
+
779
+
780
+
781
+ Each version is given a distinguishing version number. If the
782
+ Program specifies that a certain numbered version of the GNU Affero General
783
+ Public License "or any later version" applies to it, you have the
784
+ option of following the terms and conditions either of that numbered
785
+ version or of any later version published by the Free Software
786
+ Foundation. If the Program does not specify a version number of the
787
+ GNU Affero General Public License, you may choose any version ever published
788
+ by the Free Software Foundation.
789
+
790
+
791
+
792
+ If the Program specifies that a proxy can decide which future
793
+ versions of the GNU Affero General Public License can be used, that proxy's
794
+ public statement of acceptance of a version permanently authorizes you
795
+ to choose that version for the Program.
796
+
797
+
798
+
799
+ Later license versions may give you additional or different
800
+ permissions. However, no additional obligations are imposed on any
801
+ author or copyright holder as a result of your choosing to follow a
802
+ later version.
803
+
804
+
805
+
806
+ 15. Disclaimer of Warranty.
807
+
808
+
809
+
810
+ THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
811
+ APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
812
+ HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
813
+ OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
814
+ THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
815
+ PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
816
+ IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
817
+ ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
818
+
819
+
820
+
821
+ 16. Limitation of Liability.
822
+ IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
823
+ WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
824
+ THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
825
+ GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
826
+ USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
827
+ DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
828
+ PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
829
+ EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
830
+ SUCH DAMAGES.
831
+ 17. Interpretation of Sections 15 and 16.
832
+ If the disclaimer of warranty and limitation of liability provided
833
+ above cannot be given local legal effect according to their terms,
834
+ reviewing courts shall apply local law that most closely approximates
835
+ an absolute waiver of all civil liability in connection with the
836
+ Program, unless a warranty or assumption of liability accompanies a
837
+ copy of the Program in return for a fee.
838
+
839
+
840
+ For more information about this software, see https://dydx.exchange.
841
+ Copyright (C) 2023 dYdX Trading Inc.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dydxprotocol/v4-client-js",
3
- "version": "0.32.1",
3
+ "version": "0.33.0",
4
4
  "description": "General client library for the new dYdX system (v4 decentralized)",
5
5
  "main": "build/src/index.js",
6
6
  "scripts": {
@@ -23,7 +23,7 @@
23
23
  "url": "git+https://github.com/dydxprotocol/v4-clients.git"
24
24
  },
25
25
  "author": "dYdX Trading Inc.",
26
- "license": "Apache-2.0",
26
+ "license": "BSL-1.1",
27
27
  "bugs": {
28
28
  "url": "https://github.com/dydxprotocol/v4-clients/issues"
29
29
  },