@openocean.finance/openocean-sdk 0.5.11 → 0.5.13

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.
@@ -116,115 +116,6 @@ PERFORMANCE OF THIS SOFTWARE.
116
116
 
117
117
  /*! websocket-as-promised v0.7.0 */
118
118
 
119
- /**
120
- * Support for translating between Uint8Array instances and JavaScript
121
- * native types.
122
- *
123
- * {@link module:Layout~Layout|Layout} is the basis of a class
124
- * hierarchy that associates property names with sequences of encoded
125
- * bytes.
126
- *
127
- * Layouts are supported for these scalar (numeric) types:
128
- * * {@link module:Layout~UInt|Unsigned integers in little-endian
129
- * format} with {@link module:Layout.u8|8-bit}, {@link
130
- * module:Layout.u16|16-bit}, {@link module:Layout.u24|24-bit},
131
- * {@link module:Layout.u32|32-bit}, {@link
132
- * module:Layout.u40|40-bit}, and {@link module:Layout.u48|48-bit}
133
- * representation ranges;
134
- * * {@link module:Layout~UIntBE|Unsigned integers in big-endian
135
- * format} with {@link module:Layout.u16be|16-bit}, {@link
136
- * module:Layout.u24be|24-bit}, {@link module:Layout.u32be|32-bit},
137
- * {@link module:Layout.u40be|40-bit}, and {@link
138
- * module:Layout.u48be|48-bit} representation ranges;
139
- * * {@link module:Layout~Int|Signed integers in little-endian
140
- * format} with {@link module:Layout.s8|8-bit}, {@link
141
- * module:Layout.s16|16-bit}, {@link module:Layout.s24|24-bit},
142
- * {@link module:Layout.s32|32-bit}, {@link
143
- * module:Layout.s40|40-bit}, and {@link module:Layout.s48|48-bit}
144
- * representation ranges;
145
- * * {@link module:Layout~IntBE|Signed integers in big-endian format}
146
- * with {@link module:Layout.s16be|16-bit}, {@link
147
- * module:Layout.s24be|24-bit}, {@link module:Layout.s32be|32-bit},
148
- * {@link module:Layout.s40be|40-bit}, and {@link
149
- * module:Layout.s48be|48-bit} representation ranges;
150
- * * 64-bit integral values that decode to an exact (if magnitude is
151
- * less than 2^53) or nearby integral Number in {@link
152
- * module:Layout.nu64|unsigned little-endian}, {@link
153
- * module:Layout.nu64be|unsigned big-endian}, {@link
154
- * module:Layout.ns64|signed little-endian}, and {@link
155
- * module:Layout.ns64be|unsigned big-endian} encodings;
156
- * * 32-bit floating point values with {@link
157
- * module:Layout.f32|little-endian} and {@link
158
- * module:Layout.f32be|big-endian} representations;
159
- * * 64-bit floating point values with {@link
160
- * module:Layout.f64|little-endian} and {@link
161
- * module:Layout.f64be|big-endian} representations;
162
- * * {@link module:Layout.const|Constants} that take no space in the
163
- * encoded expression.
164
- *
165
- * and for these aggregate types:
166
- * * {@link module:Layout.seq|Sequence}s of instances of a {@link
167
- * module:Layout~Layout|Layout}, with JavaScript representation as
168
- * an Array and constant or data-dependent {@link
169
- * module:Layout~Sequence#count|length};
170
- * * {@link module:Layout.struct|Structure}s that aggregate a
171
- * heterogeneous sequence of {@link module:Layout~Layout|Layout}
172
- * instances, with JavaScript representation as an Object;
173
- * * {@link module:Layout.union|Union}s that support multiple {@link
174
- * module:Layout~VariantLayout|variant layouts} over a fixed
175
- * (padded) or variable (not padded) span of bytes, using an
176
- * unsigned integer at the start of the data or a separate {@link
177
- * module:Layout.unionLayoutDiscriminator|layout element} to
178
- * determine which layout to use when interpreting the buffer
179
- * contents;
180
- * * {@link module:Layout.bits|BitStructure}s that contain a sequence
181
- * of individual {@link
182
- * module:Layout~BitStructure#addField|BitField}s packed into an 8,
183
- * 16, 24, or 32-bit unsigned integer starting at the least- or
184
- * most-significant bit;
185
- * * {@link module:Layout.cstr|C strings} of varying length;
186
- * * {@link module:Layout.blob|Blobs} of fixed- or variable-{@link
187
- * module:Layout~Blob#length|length} raw data.
188
- *
189
- * All {@link module:Layout~Layout|Layout} instances are immutable
190
- * after construction, to prevent internal state from becoming
191
- * inconsistent.
192
- *
193
- * @local Layout
194
- * @local ExternalLayout
195
- * @local GreedyCount
196
- * @local OffsetLayout
197
- * @local UInt
198
- * @local UIntBE
199
- * @local Int
200
- * @local IntBE
201
- * @local NearUInt64
202
- * @local NearUInt64BE
203
- * @local NearInt64
204
- * @local NearInt64BE
205
- * @local Float
206
- * @local FloatBE
207
- * @local Double
208
- * @local DoubleBE
209
- * @local Sequence
210
- * @local Structure
211
- * @local UnionDiscriminator
212
- * @local UnionLayoutDiscriminator
213
- * @local Union
214
- * @local VariantLayout
215
- * @local BitStructure
216
- * @local BitField
217
- * @local Boolean
218
- * @local Blob
219
- * @local CString
220
- * @local Constant
221
- * @local bindConstructorLayout
222
- * @module Layout
223
- * @license MIT
224
- * @author Peter A. Bigot
225
- * @see {@link https://github.com/pabigot/buffer-layout|buffer-layout on GitHub}
226
- */
227
-
228
119
  /**
229
120
  * [js-sha256]{@link https://github.com/emn178/js-sha256}
230
121
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openocean.finance/openocean-sdk",
3
- "version": "0.5.11",
3
+ "version": "0.5.13",
4
4
  "description": "Openocean sdk",
5
5
  "main": "lib/index.js",
6
6
  "scripts": {
@@ -48,7 +48,7 @@
48
48
  "dependencies": {
49
49
  "@ethersproject/bignumber": "^5.1.1",
50
50
  "@jup-ag/core": "^1.0.0-beta.27",
51
- "@openocean.finance/wallet": "^0.4.57",
51
+ "@openocean.finance/wallet": "^0.4.58",
52
52
  "@solana/buffer-layout": "^4.0.0",
53
53
  "@walletconnect/web3-provider": "^1.7.8",
54
54
  "aptos": "^1.3.17",