@monerium/sdk 2.0.16 → 2.0.18

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.es.js DELETED
@@ -1,782 +0,0 @@
1
- var ie = Object.defineProperty;
2
- var oe = (e, t, i) =>
3
- t in e
4
- ? ie(e, t, { enumerable: !0, configurable: !0, writable: !0, value: i })
5
- : (e[t] = i);
6
- var E = (e, t, i) => (oe(e, typeof t != "symbol" ? t + "" : t, i), i),
7
- j = (e, t, i) => {
8
- if (!t.has(e)) throw TypeError("Cannot " + i);
9
- };
10
- var I = (e, t, i) => (
11
- j(e, t, "read from private field"), i ? i.call(e) : t.get(e)
12
- ),
13
- P = (e, t, i) => {
14
- if (t.has(e))
15
- throw TypeError("Cannot add the same private member more than once");
16
- t instanceof WeakSet ? t.add(e) : t.set(e, i);
17
- },
18
- D = (e, t, i, c) => (
19
- j(e, t, "write to private field"), c ? c.call(e, i) : t.set(e, i), i
20
- );
21
- var x = (e, t, i) => (j(e, t, "access private method"), i);
22
- var U =
23
- typeof globalThis < "u"
24
- ? globalThis
25
- : typeof window < "u"
26
- ? window
27
- : typeof global < "u"
28
- ? global
29
- : typeof self < "u"
30
- ? self
31
- : {};
32
- function se(e) {
33
- if (e.__esModule) return e;
34
- var t = e.default;
35
- if (typeof t == "function") {
36
- var i = function c() {
37
- if (this instanceof c) {
38
- var y = [null];
39
- y.push.apply(y, arguments);
40
- var p = Function.bind.apply(t, y);
41
- return new p();
42
- }
43
- return t.apply(this, arguments);
44
- };
45
- i.prototype = t.prototype;
46
- } else i = {};
47
- return (
48
- Object.defineProperty(i, "__esModule", { value: !0 }),
49
- Object.keys(e).forEach(function (c) {
50
- var y = Object.getOwnPropertyDescriptor(e, c);
51
- Object.defineProperty(
52
- i,
53
- c,
54
- y.get
55
- ? y
56
- : {
57
- enumerable: !0,
58
- get: function () {
59
- return e[c];
60
- },
61
- }
62
- );
63
- }),
64
- i
65
- );
66
- }
67
- var M = {},
68
- ae = {
69
- get exports() {
70
- return M;
71
- },
72
- set exports(e) {
73
- M = e;
74
- },
75
- };
76
- function ce(e) {
77
- throw new Error(
78
- 'Could not dynamically require "' +
79
- e +
80
- '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.'
81
- );
82
- }
83
- var L = {},
84
- ue = {
85
- get exports() {
86
- return L;
87
- },
88
- set exports(e) {
89
- L = e;
90
- },
91
- };
92
- const fe = {},
93
- le = /* @__PURE__ */ Object.freeze(
94
- /* @__PURE__ */ Object.defineProperty(
95
- {
96
- __proto__: null,
97
- default: fe,
98
- },
99
- Symbol.toStringTag,
100
- { value: "Module" }
101
- )
102
- ),
103
- he = /* @__PURE__ */ se(le);
104
- var Q;
105
- function G() {
106
- return (
107
- Q ||
108
- ((Q = 1),
109
- (function (e, t) {
110
- (function (i, c) {
111
- e.exports = c();
112
- })(U, function () {
113
- var i =
114
- i ||
115
- (function (c, y) {
116
- var p;
117
- if (
118
- (typeof window < "u" && window.crypto && (p = window.crypto),
119
- typeof self < "u" && self.crypto && (p = self.crypto),
120
- typeof globalThis < "u" &&
121
- globalThis.crypto &&
122
- (p = globalThis.crypto),
123
- !p &&
124
- typeof window < "u" &&
125
- window.msCrypto &&
126
- (p = window.msCrypto),
127
- !p && typeof U < "u" && U.crypto && (p = U.crypto),
128
- !p && typeof ce == "function")
129
- )
130
- try {
131
- p = he;
132
- } catch {}
133
- var S = function () {
134
- if (p) {
135
- if (typeof p.getRandomValues == "function")
136
- try {
137
- return p.getRandomValues(new Uint32Array(1))[0];
138
- } catch {}
139
- if (typeof p.randomBytes == "function")
140
- try {
141
- return p.randomBytes(4).readInt32LE();
142
- } catch {}
143
- }
144
- throw new Error(
145
- "Native crypto module could not be used to get secure random number."
146
- );
147
- },
148
- k =
149
- Object.create ||
150
- (function () {
151
- function r() {}
152
- return function (n) {
153
- var s;
154
- return (
155
- (r.prototype = n),
156
- (s = new r()),
157
- (r.prototype = null),
158
- s
159
- );
160
- };
161
- })(),
162
- a = {},
163
- m = (a.lib = {}),
164
- v = (m.Base = (function () {
165
- return {
166
- extend: function (r) {
167
- var n = k(this);
168
- return (
169
- r && n.mixIn(r),
170
- (!n.hasOwnProperty("init") || this.init === n.init) &&
171
- (n.init = function () {
172
- n.$super.init.apply(this, arguments);
173
- }),
174
- (n.init.prototype = n),
175
- (n.$super = this),
176
- n
177
- );
178
- },
179
- create: function () {
180
- var r = this.extend();
181
- return r.init.apply(r, arguments), r;
182
- },
183
- init: function () {},
184
- mixIn: function (r) {
185
- for (var n in r) r.hasOwnProperty(n) && (this[n] = r[n]);
186
- r.hasOwnProperty("toString") &&
187
- (this.toString = r.toString);
188
- },
189
- clone: function () {
190
- return this.init.prototype.extend(this);
191
- },
192
- };
193
- })()),
194
- l = (m.WordArray = v.extend({
195
- init: function (r, n) {
196
- (r = this.words = r || []),
197
- n != y
198
- ? (this.sigBytes = n)
199
- : (this.sigBytes = r.length * 4);
200
- },
201
- toString: function (r) {
202
- return (r || f).stringify(this);
203
- },
204
- concat: function (r) {
205
- var n = this.words,
206
- s = r.words,
207
- u = this.sigBytes,
208
- g = r.sigBytes;
209
- if ((this.clamp(), u % 4))
210
- for (var w = 0; w < g; w++) {
211
- var b = (s[w >>> 2] >>> (24 - (w % 4) * 8)) & 255;
212
- n[(u + w) >>> 2] |= b << (24 - ((u + w) % 4) * 8);
213
- }
214
- else
215
- for (var B = 0; B < g; B += 4)
216
- n[(u + B) >>> 2] = s[B >>> 2];
217
- return (this.sigBytes += g), this;
218
- },
219
- clamp: function () {
220
- var r = this.words,
221
- n = this.sigBytes;
222
- (r[n >>> 2] &= 4294967295 << (32 - (n % 4) * 8)),
223
- (r.length = c.ceil(n / 4));
224
- },
225
- clone: function () {
226
- var r = v.clone.call(this);
227
- return (r.words = this.words.slice(0)), r;
228
- },
229
- random: function (r) {
230
- for (var n = [], s = 0; s < r; s += 4) n.push(S());
231
- return new l.init(n, r);
232
- },
233
- })),
234
- _ = (a.enc = {}),
235
- f = (_.Hex = {
236
- stringify: function (r) {
237
- for (
238
- var n = r.words, s = r.sigBytes, u = [], g = 0;
239
- g < s;
240
- g++
241
- ) {
242
- var w = (n[g >>> 2] >>> (24 - (g % 4) * 8)) & 255;
243
- u.push((w >>> 4).toString(16)),
244
- u.push((w & 15).toString(16));
245
- }
246
- return u.join("");
247
- },
248
- parse: function (r) {
249
- for (var n = r.length, s = [], u = 0; u < n; u += 2)
250
- s[u >>> 3] |=
251
- parseInt(r.substr(u, 2), 16) << (24 - (u % 8) * 4);
252
- return new l.init(s, n / 2);
253
- },
254
- }),
255
- d = (_.Latin1 = {
256
- stringify: function (r) {
257
- for (
258
- var n = r.words, s = r.sigBytes, u = [], g = 0;
259
- g < s;
260
- g++
261
- ) {
262
- var w = (n[g >>> 2] >>> (24 - (g % 4) * 8)) & 255;
263
- u.push(String.fromCharCode(w));
264
- }
265
- return u.join("");
266
- },
267
- parse: function (r) {
268
- for (var n = r.length, s = [], u = 0; u < n; u++)
269
- s[u >>> 2] |=
270
- (r.charCodeAt(u) & 255) << (24 - (u % 4) * 8);
271
- return new l.init(s, n);
272
- },
273
- }),
274
- o = (_.Utf8 = {
275
- stringify: function (r) {
276
- try {
277
- return decodeURIComponent(escape(d.stringify(r)));
278
- } catch {
279
- throw new Error("Malformed UTF-8 data");
280
- }
281
- },
282
- parse: function (r) {
283
- return d.parse(unescape(encodeURIComponent(r)));
284
- },
285
- }),
286
- h = (m.BufferedBlockAlgorithm = v.extend({
287
- reset: function () {
288
- (this._data = new l.init()), (this._nDataBytes = 0);
289
- },
290
- _append: function (r) {
291
- typeof r == "string" && (r = o.parse(r)),
292
- this._data.concat(r),
293
- (this._nDataBytes += r.sigBytes);
294
- },
295
- _process: function (r) {
296
- var n,
297
- s = this._data,
298
- u = s.words,
299
- g = s.sigBytes,
300
- w = this.blockSize,
301
- b = w * 4,
302
- B = g / b;
303
- r
304
- ? (B = c.ceil(B))
305
- : (B = c.max((B | 0) - this._minBufferSize, 0));
306
- var W = B * w,
307
- H = c.min(W * 4, g);
308
- if (W) {
309
- for (var $ = 0; $ < W; $ += w) this._doProcessBlock(u, $);
310
- (n = u.splice(0, W)), (s.sigBytes -= H);
311
- }
312
- return new l.init(n, H);
313
- },
314
- clone: function () {
315
- var r = v.clone.call(this);
316
- return (r._data = this._data.clone()), r;
317
- },
318
- _minBufferSize: 0,
319
- }));
320
- m.Hasher = h.extend({
321
- cfg: v.extend(),
322
- init: function (r) {
323
- (this.cfg = this.cfg.extend(r)), this.reset();
324
- },
325
- reset: function () {
326
- h.reset.call(this), this._doReset();
327
- },
328
- update: function (r) {
329
- return this._append(r), this._process(), this;
330
- },
331
- finalize: function (r) {
332
- r && this._append(r);
333
- var n = this._doFinalize();
334
- return n;
335
- },
336
- blockSize: 16,
337
- _createHelper: function (r) {
338
- return function (n, s) {
339
- return new r.init(s).finalize(n);
340
- };
341
- },
342
- _createHmacHelper: function (r) {
343
- return function (n, s) {
344
- return new C.HMAC.init(r, s).finalize(n);
345
- };
346
- },
347
- });
348
- var C = (a.algo = {});
349
- return a;
350
- })(Math);
351
- return i;
352
- });
353
- })(ue)),
354
- L
355
- );
356
- }
357
- (function (e, t) {
358
- (function (i, c) {
359
- e.exports = c(G());
360
- })(U, function (i) {
361
- return (
362
- (function () {
363
- var c = i,
364
- y = c.lib,
365
- p = y.WordArray,
366
- S = c.enc;
367
- S.Base64url = {
368
- stringify: function (a, m = !0) {
369
- var v = a.words,
370
- l = a.sigBytes,
371
- _ = m ? this._safe_map : this._map;
372
- a.clamp();
373
- for (var f = [], d = 0; d < l; d += 3)
374
- for (
375
- var o = (v[d >>> 2] >>> (24 - (d % 4) * 8)) & 255,
376
- h = (v[(d + 1) >>> 2] >>> (24 - ((d + 1) % 4) * 8)) & 255,
377
- C = (v[(d + 2) >>> 2] >>> (24 - ((d + 2) % 4) * 8)) & 255,
378
- r = (o << 16) | (h << 8) | C,
379
- n = 0;
380
- n < 4 && d + n * 0.75 < l;
381
- n++
382
- )
383
- f.push(_.charAt((r >>> (6 * (3 - n))) & 63));
384
- var s = _.charAt(64);
385
- if (s) for (; f.length % 4; ) f.push(s);
386
- return f.join("");
387
- },
388
- parse: function (a, m = !0) {
389
- var v = a.length,
390
- l = m ? this._safe_map : this._map,
391
- _ = this._reverseMap;
392
- if (!_) {
393
- _ = this._reverseMap = [];
394
- for (var f = 0; f < l.length; f++) _[l.charCodeAt(f)] = f;
395
- }
396
- var d = l.charAt(64);
397
- if (d) {
398
- var o = a.indexOf(d);
399
- o !== -1 && (v = o);
400
- }
401
- return k(a, v, _);
402
- },
403
- _map: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",
404
- _safe_map:
405
- "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_",
406
- };
407
- function k(a, m, v) {
408
- for (var l = [], _ = 0, f = 0; f < m; f++)
409
- if (f % 4) {
410
- var d = v[a.charCodeAt(f - 1)] << ((f % 4) * 2),
411
- o = v[a.charCodeAt(f)] >>> (6 - (f % 4) * 2),
412
- h = d | o;
413
- (l[_ >>> 2] |= h << (24 - (_ % 4) * 8)), _++;
414
- }
415
- return p.create(l, _);
416
- }
417
- })(),
418
- i.enc.Base64url
419
- );
420
- });
421
- })(ae);
422
- var V = {},
423
- pe = {
424
- get exports() {
425
- return V;
426
- },
427
- set exports(e) {
428
- V = e;
429
- },
430
- };
431
- (function (e, t) {
432
- (function (i, c) {
433
- e.exports = c(G());
434
- })(U, function (i) {
435
- return (
436
- (function (c) {
437
- var y = i,
438
- p = y.lib,
439
- S = p.WordArray,
440
- k = p.Hasher,
441
- a = y.algo,
442
- m = [],
443
- v = [];
444
- (function () {
445
- function f(C) {
446
- for (var r = c.sqrt(C), n = 2; n <= r; n++) if (!(C % n)) return !1;
447
- return !0;
448
- }
449
- function d(C) {
450
- return ((C - (C | 0)) * 4294967296) | 0;
451
- }
452
- for (var o = 2, h = 0; h < 64; )
453
- f(o) &&
454
- (h < 8 && (m[h] = d(c.pow(o, 1 / 2))),
455
- (v[h] = d(c.pow(o, 1 / 3))),
456
- h++),
457
- o++;
458
- })();
459
- var l = [],
460
- _ = (a.SHA256 = k.extend({
461
- _doReset: function () {
462
- this._hash = new S.init(m.slice(0));
463
- },
464
- _doProcessBlock: function (f, d) {
465
- for (
466
- var o = this._hash.words,
467
- h = o[0],
468
- C = o[1],
469
- r = o[2],
470
- n = o[3],
471
- s = o[4],
472
- u = o[5],
473
- g = o[6],
474
- w = o[7],
475
- b = 0;
476
- b < 64;
477
- b++
478
- ) {
479
- if (b < 16) l[b] = f[d + b] | 0;
480
- else {
481
- var B = l[b - 15],
482
- W =
483
- ((B << 25) | (B >>> 7)) ^
484
- ((B << 14) | (B >>> 18)) ^
485
- (B >>> 3),
486
- H = l[b - 2],
487
- $ =
488
- ((H << 15) | (H >>> 17)) ^
489
- ((H << 13) | (H >>> 19)) ^
490
- (H >>> 10);
491
- l[b] = W + l[b - 7] + $ + l[b - 16];
492
- }
493
- var Y = (s & u) ^ (~s & g),
494
- ee = (h & C) ^ (h & r) ^ (C & r),
495
- re =
496
- ((h << 30) | (h >>> 2)) ^
497
- ((h << 19) | (h >>> 13)) ^
498
- ((h << 10) | (h >>> 22)),
499
- te =
500
- ((s << 26) | (s >>> 6)) ^
501
- ((s << 21) | (s >>> 11)) ^
502
- ((s << 7) | (s >>> 25)),
503
- J = w + te + Y + v[b] + l[b],
504
- ne = re + ee;
505
- (w = g),
506
- (g = u),
507
- (u = s),
508
- (s = (n + J) | 0),
509
- (n = r),
510
- (r = C),
511
- (C = h),
512
- (h = (J + ne) | 0);
513
- }
514
- (o[0] = (o[0] + h) | 0),
515
- (o[1] = (o[1] + C) | 0),
516
- (o[2] = (o[2] + r) | 0),
517
- (o[3] = (o[3] + n) | 0),
518
- (o[4] = (o[4] + s) | 0),
519
- (o[5] = (o[5] + u) | 0),
520
- (o[6] = (o[6] + g) | 0),
521
- (o[7] = (o[7] + w) | 0);
522
- },
523
- _doFinalize: function () {
524
- var f = this._data,
525
- d = f.words,
526
- o = this._nDataBytes * 8,
527
- h = f.sigBytes * 8;
528
- return (
529
- (d[h >>> 5] |= 128 << (24 - (h % 32))),
530
- (d[(((h + 64) >>> 9) << 4) + 14] = c.floor(o / 4294967296)),
531
- (d[(((h + 64) >>> 9) << 4) + 15] = o),
532
- (f.sigBytes = d.length * 4),
533
- this._process(),
534
- this._hash
535
- );
536
- },
537
- clone: function () {
538
- var f = k.clone.call(this);
539
- return (f._hash = this._hash.clone()), f;
540
- },
541
- }));
542
- (y.SHA256 = k._createHelper(_)),
543
- (y.HmacSHA256 = k._createHmacHelper(_));
544
- })(Math),
545
- i.SHA256
546
- );
547
- });
548
- })(pe);
549
- var N = {},
550
- de = {
551
- get exports() {
552
- return N;
553
- },
554
- set exports(e) {
555
- N = e;
556
- },
557
- };
558
- (function (e, t) {
559
- (function (i, c) {
560
- e.exports = c(G());
561
- })(U, function (i) {
562
- return (
563
- (function () {
564
- if (typeof ArrayBuffer == "function") {
565
- var c = i,
566
- y = c.lib,
567
- p = y.WordArray,
568
- S = p.init,
569
- k = (p.init = function (a) {
570
- if (
571
- (a instanceof ArrayBuffer && (a = new Uint8Array(a)),
572
- (a instanceof Int8Array ||
573
- (typeof Uint8ClampedArray < "u" &&
574
- a instanceof Uint8ClampedArray) ||
575
- a instanceof Int16Array ||
576
- a instanceof Uint16Array ||
577
- a instanceof Int32Array ||
578
- a instanceof Uint32Array ||
579
- a instanceof Float32Array ||
580
- a instanceof Float64Array) &&
581
- (a = new Uint8Array(a.buffer, a.byteOffset, a.byteLength)),
582
- a instanceof Uint8Array)
583
- ) {
584
- for (var m = a.byteLength, v = [], l = 0; l < m; l++)
585
- v[l >>> 2] |= a[l] << (24 - (l % 4) * 8);
586
- S.call(this, v, m);
587
- } else S.apply(this, arguments);
588
- });
589
- k.prototype = p;
590
- }
591
- })(),
592
- i.lib.WordArray
593
- );
594
- });
595
- })(de);
596
- const ve = {
597
- environments: {
598
- production: {
599
- api: "https://api.monerium.app",
600
- web: "https://monerium.app",
601
- },
602
- sandbox: {
603
- api: "https://api.monerium.dev",
604
- web: "https://sandbox.monerium.dev",
605
- },
606
- },
607
- };
608
- var O, z, A, R, T, X, q, Z, F, K;
609
- class Se {
610
- constructor(t = "sandbox") {
611
- P(this, A);
612
- P(this, T);
613
- P(this, q);
614
- P(this, F);
615
- P(this, O, void 0);
616
- P(this, z, void 0);
617
- E(this, "codeVerifier");
618
- E(this, "bearerProfile");
619
- E(this, "pkceRequest", (t) => this.getAuthFlowURI(t));
620
- D(this, O, ve.environments[t]);
621
- }
622
- async auth(t) {
623
- let i;
624
- if (x(this, T, X).call(this, t))
625
- i = { ...t, grant_type: "authorization_code" };
626
- else if (x(this, q, Z).call(this, t))
627
- i = { ...t, grant_type: "refresh_token" };
628
- else if (x(this, F, K).call(this, t))
629
- i = { ...t, grant_type: "client_credentials" };
630
- else throw new Error("Authentication method could not be detected.");
631
- (this.bearerProfile = await x(this, A, R).call(
632
- this,
633
- "post",
634
- "auth/token",
635
- new URLSearchParams(i),
636
- !0
637
- )),
638
- D(this, z, `Bearer ${this.bearerProfile.access_token}`);
639
- }
640
- getAuthFlowURI(t) {
641
- this.codeVerifier = N.random(64).toString();
642
- const i = M.stringify(V(this.codeVerifier)),
643
- c = {
644
- ...t,
645
- client_id: t == null ? void 0 : t.client_id,
646
- code_challenge: i,
647
- code_challenge_method: "S256",
648
- response_type: "code",
649
- };
650
- return `${I(this, O).api}/auth?${new URLSearchParams(c)}`;
651
- }
652
- getAuthContext() {
653
- return x(this, A, R).call(this, "get", "auth/context");
654
- }
655
- getProfile(t) {
656
- return x(this, A, R).call(this, "get", `profiles/${t}`);
657
- }
658
- getBalances(t) {
659
- return t
660
- ? x(this, A, R).call(this, "get", `profiles/${t}/balances`)
661
- : x(this, A, R).call(this, "get", "balances");
662
- }
663
- getOrders(t) {
664
- const i = new URLSearchParams(t);
665
- return x(this, A, R).call(this, "get", `orders?${i}`);
666
- }
667
- getOrder(t) {
668
- return x(this, A, R).call(this, "get", `orders/${t}`);
669
- }
670
- getTokens() {
671
- return x(this, A, R).call(this, "get", "tokens");
672
- }
673
- linkAddress(t, i) {
674
- return x(this, A, R).call(
675
- this,
676
- "post",
677
- `profiles/${t}/addresses`,
678
- JSON.stringify(i)
679
- );
680
- }
681
- placeOrder(t, i) {
682
- return i
683
- ? x(this, A, R).call(
684
- this,
685
- "post",
686
- `profiles/${i}/orders`,
687
- JSON.stringify(t)
688
- )
689
- : x(this, A, R).call(this, "post", "orders", JSON.stringify(t));
690
- }
691
- uploadSupportingDocument(t) {
692
- const i = new URLSearchParams(t);
693
- return x(this, A, R).call(this, "post", "files/supporting-document", i, !0);
694
- }
695
- }
696
- (O = new WeakMap()),
697
- (z = new WeakMap()),
698
- (A = new WeakSet()),
699
- (R = async function (t, i, c, y) {
700
- const p = await fetch(`${I(this, O).api}/${i}`, {
701
- method: t,
702
- headers: {
703
- "Content-Type": `application/${y ? "x-www-form-urlencoded" : "json"}`,
704
- Authorization: I(this, z) || "",
705
- },
706
- body: c,
707
- }),
708
- S = await p.json();
709
- if (p.ok) return S;
710
- throw S;
711
- }),
712
- (T = new WeakSet()),
713
- (X = function (t) {
714
- return t.code != null;
715
- }),
716
- (q = new WeakSet()),
717
- (Z = function (t) {
718
- return t.refresh_token != null;
719
- }),
720
- (F = new WeakSet()),
721
- (K = function (t) {
722
- return t.client_secret != null;
723
- });
724
- var ge = /* @__PURE__ */ ((e) => (
725
- (e.eur = "eur"), (e.usd = "usd"), (e.gbp = "gbp"), (e.isk = "isk"), e
726
- ))(ge || {}),
727
- ye = /* @__PURE__ */ ((e) => (
728
- (e.corporate = "corporate"), (e.personal = "personal"), e
729
- ))(ye || {}),
730
- _e = /* @__PURE__ */ ((e) => ((e.read = "read"), (e.write = "write"), e))(
731
- _e || {}
732
- ),
733
- we = /* @__PURE__ */ ((e) => (
734
- (e.absent = "absent"),
735
- (e.submitted = "submitted"),
736
- (e.pending = "pending"),
737
- (e.confirmed = "confirmed"),
738
- e
739
- ))(we || {}),
740
- me = /* @__PURE__ */ ((e) => (
741
- (e.approved = "approved"),
742
- (e.rejected = "rejected"),
743
- (e.unknown = "unknown"),
744
- e
745
- ))(me || {}),
746
- be = /* @__PURE__ */ ((e) => ((e.iban = "iban"), (e.scan = "scan"), e))(
747
- be || {}
748
- ),
749
- Be = /* @__PURE__ */ ((e) => (
750
- (e.polygon = "polygon"), (e.ethereum = "ethereum"), (e.gnosis = "gnosis"), e
751
- ))(Be || {}),
752
- xe = /* @__PURE__ */ ((e) => (
753
- (e.mainnet = "mainnet"),
754
- (e.chiado = "chiado"),
755
- (e.goerli = "goerli"),
756
- (e.mumbai = "mumbai"),
757
- e
758
- ))(xe || {}),
759
- Ce = /* @__PURE__ */ ((e) => ((e.redeem = "redeem"), (e.issue = "issue"), e))(
760
- Ce || {}
761
- ),
762
- Ae = /* @__PURE__ */ ((e) => (
763
- (e.placed = "placed"),
764
- (e.pending = "pending"),
765
- (e.processed = "processed"),
766
- (e.rejected = "rejected"),
767
- e
768
- ))(Ae || {});
769
- export {
770
- Be as Chain,
771
- ge as Currency,
772
- me as KYCOutcome,
773
- we as KYCState,
774
- Se as MoneriumClient,
775
- xe as Network,
776
- Ce as OrderKind,
777
- Ae as OrderState,
778
- be as PaymentStandard,
779
- _e as Permission,
780
- ye as ProfileType,
781
- };
782
- //# sourceMappingURL=index.es.js.map