diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 304ee12..135b8b3 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -15,7 +15,7 @@ jobs: strategy: matrix: - node-version: [14.x, 15.x, 16.x] + node-version: [18.x, 20.x] # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ steps: diff --git a/docs/assets/icons.js b/docs/assets/icons.js new file mode 100644 index 0000000..979dff4 --- /dev/null +++ b/docs/assets/icons.js @@ -0,0 +1,21 @@ +(function () { + addIcons(); + function addIcons() { + if (document.readyState === 'loading') + return document.addEventListener('DOMContentLoaded', addIcons); + const svg = document.body.appendChild( + document.createElementNS('http://www.w3.org/2000/svg', 'svg') + ); + svg.innerHTML = `""`; + svg.style.display = 'none'; + if (location.protocol === 'file:') updateUseElements(); + } + + function updateUseElements() { + document.querySelectorAll('use').forEach((el) => { + if (el.getAttribute('href').includes('#icon-')) { + el.setAttribute('href', el.getAttribute('href').replace(/.*#/, '#')); + } + }); + } +})(); diff --git a/docs/assets/icons.svg b/docs/assets/icons.svg new file mode 100644 index 0000000..e371b8b --- /dev/null +++ b/docs/assets/icons.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/docs/assets/main.js b/docs/assets/main.js index f10c917..fd9fbd6 100644 --- a/docs/assets/main.js +++ b/docs/assets/main.js @@ -1,51 +1,56 @@ 'use strict'; -'use strict'; +window.translations = { + copy: 'Copy', + copied: 'Copied!', + normally_hidden: 'This member is normally hidden due to your filter settings.' +}; +('use strict'); (() => { - var Se = Object.create; - var re = Object.defineProperty; - var we = Object.getOwnPropertyDescriptor; - var Te = Object.getOwnPropertyNames; - var ke = Object.getPrototypeOf, - Qe = Object.prototype.hasOwnProperty; - var Pe = (t, e) => () => ( + var Pe = Object.create; + var ie = Object.defineProperty; + var Oe = Object.getOwnPropertyDescriptor; + var _e = Object.getOwnPropertyNames; + var Re = Object.getPrototypeOf, + Me = Object.prototype.hasOwnProperty; + var Fe = (t, e) => () => ( e || t((e = { exports: {} }).exports, e), e.exports ); - var Ie = (t, e, r, n) => { + var De = (t, e, n, r) => { if ((e && typeof e == 'object') || typeof e == 'function') - for (let i of Te(e)) - !Qe.call(t, i) && - i !== r && - re(t, i, { + for (let i of _e(e)) + !Me.call(t, i) && + i !== n && + ie(t, i, { get: () => e[i], - enumerable: !(n = we(e, i)) || n.enumerable + enumerable: !(r = Oe(e, i)) || r.enumerable }); return t; }; - var Ce = (t, e, r) => ( - (r = t != null ? Se(ke(t)) : {}), - Ie( + var Ae = (t, e, n) => ( + (n = t != null ? Pe(Re(t)) : {}), + De( e || !t || !t.__esModule - ? re(r, 'default', { value: t, enumerable: !0 }) - : r, + ? ie(n, 'default', { value: t, enumerable: !0 }) + : n, t ) ); - var ae = Pe((se, oe) => { + var ue = Fe((ae, le) => { (function () { var t = function (e) { - var r = new t.Builder(); + var n = new t.Builder(); return ( - r.pipeline.add(t.trimmer, t.stopWordFilter, t.stemmer), - r.searchPipeline.add(t.stemmer), - e.call(r, r), - r.build() + n.pipeline.add(t.trimmer, t.stopWordFilter, t.stemmer), + n.searchPipeline.add(t.stemmer), + e.call(n, n), + n.build() ); }; t.version = '2.3.9'; (t.utils = {}), (t.utils.warn = (function (e) { - return function (r) { - e.console && console.warn && console.warn(r); + return function (n) { + e.console && console.warn && console.warn(n); }; })(this)), (t.utils.asString = function (e) { @@ -54,14 +59,14 @@ (t.utils.clone = function (e) { if (e == null) return e; for ( - var r = Object.create(null), n = Object.keys(e), i = 0; - i < n.length; + var n = Object.create(null), r = Object.keys(e), i = 0; + i < r.length; i++ ) { - var s = n[i], + var s = r[i], o = e[s]; if (Array.isArray(o)) { - r[s] = o.slice(); + n[s] = o.slice(); continue; } if ( @@ -69,25 +74,25 @@ typeof o == 'number' || typeof o == 'boolean' ) { - r[s] = o; + n[s] = o; continue; } throw new TypeError( 'clone is not deep and does not support nested objects' ); } - return r; + return n; }), - (t.FieldRef = function (e, r, n) { - (this.docRef = e), (this.fieldName = r), (this._stringValue = n); + (t.FieldRef = function (e, n, r) { + (this.docRef = e), (this.fieldName = n), (this._stringValue = r); }), (t.FieldRef.joiner = '/'), (t.FieldRef.fromString = function (e) { - var r = e.indexOf(t.FieldRef.joiner); - if (r === -1) throw 'malformed field ref string'; - var n = e.slice(0, r), - i = e.slice(r + 1); - return new t.FieldRef(i, n, e); + var n = e.indexOf(t.FieldRef.joiner); + if (n === -1) throw 'malformed field ref string'; + var r = e.slice(0, n), + i = e.slice(n + 1); + return new t.FieldRef(i, r, e); }), (t.FieldRef.prototype.toString = function () { return ( @@ -100,7 +105,7 @@ (t.Set = function (e) { if (((this.elements = Object.create(null)), e)) { this.length = e.length; - for (var r = 0; r < this.length; r++) this.elements[e[r]] = !0; + for (var n = 0; n < this.length; n++) this.elements[e[n]] = !0; } else this.length = 0; }), (t.Set.complete = { @@ -129,19 +134,19 @@ return !!this.elements[e]; }), (t.Set.prototype.intersect = function (e) { - var r, - n, + var n, + r, i, s = []; if (e === t.Set.complete) return this; if (e === t.Set.empty) return e; this.length < e.length - ? ((r = this), (n = e)) - : ((r = e), (n = this)), - (i = Object.keys(r.elements)); + ? ((n = this), (r = e)) + : ((n = e), (r = this)), + (i = Object.keys(n.elements)); for (var o = 0; o < i.length; o++) { var a = i[o]; - a in n.elements && s.push(a); + a in r.elements && s.push(a); } return new t.Set(s); }), @@ -154,14 +159,14 @@ Object.keys(this.elements).concat(Object.keys(e.elements)) ); }), - (t.idf = function (e, r) { - var n = 0; - for (var i in e) i != '_index' && (n += Object.keys(e[i]).length); - var s = (r - n + 0.5) / (n + 0.5); + (t.idf = function (e, n) { + var r = 0; + for (var i in e) i != '_index' && (r += Object.keys(e[i]).length); + var s = (n - r + 0.5) / (r + 0.5); return Math.log(1 + Math.abs(s)); }), - (t.Token = function (e, r) { - (this.str = e || ''), (this.metadata = r || {}); + (t.Token = function (e, n) { + (this.str = e || ''), (this.metadata = n || {}); }), (t.Token.prototype.toString = function () { return this.str; @@ -173,38 +178,38 @@ return ( (e = e || - function (r) { - return r; + function (n) { + return n; }), new t.Token(e(this.str, this.metadata), this.metadata) ); }); - (t.tokenizer = function (e, r) { + (t.tokenizer = function (e, n) { if (e == null || e == null) return []; if (Array.isArray(e)) return e.map(function (m) { return new t.Token( t.utils.asString(m).toLowerCase(), - t.utils.clone(r) + t.utils.clone(n) ); }); for ( - var n = e.toString().toLowerCase(), - i = n.length, + var r = e.toString().toLowerCase(), + i = r.length, s = [], o = 0, a = 0; o <= i; o++ ) { - var l = n.charAt(o), + var l = r.charAt(o), u = o - a; if (l.match(t.tokenizer.separator) || o == i) { if (u > 0) { - var d = t.utils.clone(r) || {}; + var d = t.utils.clone(n) || {}; (d.position = [a, u]), (d.index = s.length), - s.push(new t.Token(n.slice(a, o), d)); + s.push(new t.Token(r.slice(a, o), d)); } a = o + 1; } @@ -216,15 +221,15 @@ this._stack = []; }), (t.Pipeline.registeredFunctions = Object.create(null)), - (t.Pipeline.registerFunction = function (e, r) { - r in this.registeredFunctions && - t.utils.warn('Overwriting existing registered function: ' + r), - (e.label = r), + (t.Pipeline.registerFunction = function (e, n) { + n in this.registeredFunctions && + t.utils.warn('Overwriting existing registered function: ' + n), + (e.label = n), (t.Pipeline.registeredFunctions[e.label] = e); }), (t.Pipeline.warnIfFunctionNotRegistered = function (e) { - var r = e.label && e.label in this.registeredFunctions; - r || + var n = e.label && e.label in this.registeredFunctions; + n || t.utils.warn( `Function is not registered with pipeline. This may cause problems when serialising the index. `, @@ -232,41 +237,41 @@ ); }), (t.Pipeline.load = function (e) { - var r = new t.Pipeline(); + var n = new t.Pipeline(); return ( - e.forEach(function (n) { - var i = t.Pipeline.registeredFunctions[n]; - if (i) r.add(i); - else throw new Error('Cannot load unregistered function: ' + n); + e.forEach(function (r) { + var i = t.Pipeline.registeredFunctions[r]; + if (i) n.add(i); + else throw new Error('Cannot load unregistered function: ' + r); }), - r + n ); }), (t.Pipeline.prototype.add = function () { var e = Array.prototype.slice.call(arguments); - e.forEach(function (r) { - t.Pipeline.warnIfFunctionNotRegistered(r), this._stack.push(r); + e.forEach(function (n) { + t.Pipeline.warnIfFunctionNotRegistered(n), this._stack.push(n); }, this); }), - (t.Pipeline.prototype.after = function (e, r) { - t.Pipeline.warnIfFunctionNotRegistered(r); - var n = this._stack.indexOf(e); - if (n == -1) throw new Error('Cannot find existingFn'); - (n = n + 1), this._stack.splice(n, 0, r); + (t.Pipeline.prototype.after = function (e, n) { + t.Pipeline.warnIfFunctionNotRegistered(n); + var r = this._stack.indexOf(e); + if (r == -1) throw new Error('Cannot find existingFn'); + (r = r + 1), this._stack.splice(r, 0, n); }), - (t.Pipeline.prototype.before = function (e, r) { - t.Pipeline.warnIfFunctionNotRegistered(r); - var n = this._stack.indexOf(e); - if (n == -1) throw new Error('Cannot find existingFn'); - this._stack.splice(n, 0, r); + (t.Pipeline.prototype.before = function (e, n) { + t.Pipeline.warnIfFunctionNotRegistered(n); + var r = this._stack.indexOf(e); + if (r == -1) throw new Error('Cannot find existingFn'); + this._stack.splice(r, 0, n); }), (t.Pipeline.prototype.remove = function (e) { - var r = this._stack.indexOf(e); - r != -1 && this._stack.splice(r, 1); + var n = this._stack.indexOf(e); + n != -1 && this._stack.splice(n, 1); }), (t.Pipeline.prototype.run = function (e) { - for (var r = this._stack.length, n = 0; n < r; n++) { - for (var i = this._stack[n], s = [], o = 0; o < e.length; o++) { + for (var n = this._stack.length, r = 0; r < n; r++) { + for (var i = this._stack[r], s = [], o = 0; o < e.length; o++) { var a = i(e[o], o, e); if (!(a == null || a === '')) if (Array.isArray(a)) @@ -277,9 +282,9 @@ } return e; }), - (t.Pipeline.prototype.runString = function (e, r) { - var n = new t.Token(e, r); - return this.run([n]).map(function (i) { + (t.Pipeline.prototype.runString = function (e, n) { + var r = new t.Token(e, n); + return this.run([r]).map(function (i) { return i.toString(); }); }), @@ -297,46 +302,46 @@ (t.Vector.prototype.positionForIndex = function (e) { if (this.elements.length == 0) return 0; for ( - var r = 0, - n = this.elements.length / 2, - i = n - r, + var n = 0, + r = this.elements.length / 2, + i = r - n, s = Math.floor(i / 2), o = this.elements[s * 2]; - i > 1 && (o < e && (r = s), o > e && (n = s), o != e); + i > 1 && (o < e && (n = s), o > e && (r = s), o != e); ) - (i = n - r), - (s = r + Math.floor(i / 2)), + (i = r - n), + (s = n + Math.floor(i / 2)), (o = this.elements[s * 2]); if (o == e || o > e) return s * 2; if (o < e) return (s + 1) * 2; }), - (t.Vector.prototype.insert = function (e, r) { - this.upsert(e, r, function () { + (t.Vector.prototype.insert = function (e, n) { + this.upsert(e, n, function () { throw 'duplicate index'; }); }), - (t.Vector.prototype.upsert = function (e, r, n) { + (t.Vector.prototype.upsert = function (e, n, r) { this._magnitude = 0; var i = this.positionForIndex(e); this.elements[i] == e - ? (this.elements[i + 1] = n(this.elements[i + 1], r)) - : this.elements.splice(i, 0, e, r); + ? (this.elements[i + 1] = r(this.elements[i + 1], n)) + : this.elements.splice(i, 0, e, n); }), (t.Vector.prototype.magnitude = function () { if (this._magnitude) return this._magnitude; - for (var e = 0, r = this.elements.length, n = 1; n < r; n += 2) { - var i = this.elements[n]; + for (var e = 0, n = this.elements.length, r = 1; r < n; r += 2) { + var i = this.elements[r]; e += i * i; } return (this._magnitude = Math.sqrt(e)); }), (t.Vector.prototype.dot = function (e) { for ( - var r = 0, - n = this.elements, + var n = 0, + r = this.elements, i = e.elements, - s = n.length, + s = r.length, o = i.length, a = 0, l = 0, @@ -345,25 +350,25 @@ u < s && d < o; ) - (a = n[u]), + (a = r[u]), (l = i[d]), a < l ? (u += 2) : a > l ? (d += 2) - : a == l && ((r += n[u + 1] * i[d + 1]), (u += 2), (d += 2)); - return r; + : a == l && ((n += r[u + 1] * i[d + 1]), (u += 2), (d += 2)); + return n; }), (t.Vector.prototype.similarity = function (e) { return this.dot(e) / this.magnitude() || 0; }), (t.Vector.prototype.toArray = function () { for ( - var e = new Array(this.elements.length / 2), r = 1, n = 0; - r < this.elements.length; - r += 2, n++ + var e = new Array(this.elements.length / 2), n = 1, r = 0; + n < this.elements.length; + n += 2, r++ ) - e[n] = this.elements[r]; + e[r] = this.elements[n]; return e; }), (t.Vector.prototype.toJSON = function () { @@ -393,7 +398,7 @@ biliti: 'ble', logi: 'log' }, - r = { + n = { icate: 'ic', ative: '', alize: 'al', @@ -402,23 +407,23 @@ ful: '', ness: '' }, - n = '[^aeiou]', + r = '[^aeiou]', i = '[aeiouy]', - s = n + '[^aeiouy]*', + s = r + '[^aeiouy]*', o = i + '[aeiou]*', a = '^(' + s + ')?' + o + s, l = '^(' + s + ')?' + o + s + '(' + o + ')?$', u = '^(' + s + ')?' + o + s + o + s, d = '^(' + s + ')?' + i, m = new RegExp(a), - y = new RegExp(u), + p = new RegExp(u), b = new RegExp(l), g = new RegExp(d), - E = /^(.+?)(ss|i)es$/, + L = /^(.+?)(ss|i)es$/, f = /^(.+?)([^s])s$/, - p = /^(.+?)eed$/, - w = /^(.+?)(ed|ing)$/, - S = /.$/, + y = /^(.+?)eed$/, + S = /^(.+?)(ed|ing)$/, + w = /.$/, k = /(at|bl|iz)$/, _ = new RegExp('([^aeiouylsz])\\1$'), B = new RegExp('^' + s + i + '[^aeiouwxy]$'), @@ -429,72 +434,72 @@ V = /^(.+?)(al|ance|ence|er|ic|able|ible|ant|ement|ment|ent|ou|ism|ate|iti|ous|ive|ize)$/, $ = /^(.+?)(s|t)(ion)$/, - I = /^(.+?)e$/, + C = /^(.+?)e$/, z = /ll$/, W = new RegExp('^' + s + i + '[^aeiouwxy]$'), H = function (c) { - var v, C, T, h, x, O, F; + var v, P, T, h, x, O, M; if (c.length < 3) return c; if ( ((T = c.substr(0, 1)), T == 'y' && (c = T.toUpperCase() + c.substr(1)), - (h = E), + (h = L), (x = f), h.test(c) ? (c = c.replace(h, '$1$2')) : x.test(c) && (c = c.replace(x, '$1$2')), - (h = p), - (x = w), + (h = y), + (x = S), h.test(c)) ) { - var L = h.exec(c); - (h = m), h.test(L[1]) && ((h = S), (c = c.replace(h, ''))); + var E = h.exec(c); + (h = m), h.test(E[1]) && ((h = w), (c = c.replace(h, ''))); } else if (x.test(c)) { - var L = x.exec(c); - (v = L[1]), + var E = x.exec(c); + (v = E[1]), (x = g), x.test(v) && ((c = v), (x = k), (O = _), - (F = B), + (M = B), x.test(c) ? (c = c + 'e') : O.test(c) - ? ((h = S), (c = c.replace(h, ''))) - : F.test(c) && (c = c + 'e')); + ? ((h = w), (c = c.replace(h, ''))) + : M.test(c) && (c = c + 'e')); } if (((h = A), h.test(c))) { - var L = h.exec(c); - (v = L[1]), (c = v + 'i'); + var E = h.exec(c); + (v = E[1]), (c = v + 'i'); } if (((h = j), h.test(c))) { - var L = h.exec(c); - (v = L[1]), (C = L[2]), (h = m), h.test(v) && (c = v + e[C]); + var E = h.exec(c); + (v = E[1]), (P = E[2]), (h = m), h.test(v) && (c = v + e[P]); } if (((h = q), h.test(c))) { - var L = h.exec(c); - (v = L[1]), (C = L[2]), (h = m), h.test(v) && (c = v + r[C]); + var E = h.exec(c); + (v = E[1]), (P = E[2]), (h = m), h.test(v) && (c = v + n[P]); } if (((h = V), (x = $), h.test(c))) { - var L = h.exec(c); - (v = L[1]), (h = y), h.test(v) && (c = v); + var E = h.exec(c); + (v = E[1]), (h = p), h.test(v) && (c = v); } else if (x.test(c)) { - var L = x.exec(c); - (v = L[1] + L[2]), (x = y), x.test(v) && (c = v); + var E = x.exec(c); + (v = E[1] + E[2]), (x = p), x.test(v) && (c = v); } - if (((h = I), h.test(c))) { - var L = h.exec(c); - (v = L[1]), - (h = y), + if (((h = C), h.test(c))) { + var E = h.exec(c); + (v = E[1]), + (h = p), (x = b), (O = W), (h.test(v) || (x.test(v) && !O.test(v))) && (c = v); } return ( (h = z), - (x = y), - h.test(c) && x.test(c) && ((h = S), (c = c.replace(h, ''))), + (x = p), + h.test(c) && x.test(c) && ((h = w), (c = c.replace(h, ''))), T == 'y' && (c = T.toLowerCase() + c.substr(1)), c ); @@ -505,11 +510,11 @@ })()), t.Pipeline.registerFunction(t.stemmer, 'stemmer'); (t.generateStopWordFilter = function (e) { - var r = e.reduce(function (n, i) { - return (n[i] = i), n; + var n = e.reduce(function (r, i) { + return (r[i] = i), r; }, {}); - return function (n) { - if (n && r[n.toString()] !== n.toString()) return n; + return function (r) { + if (r && n[r.toString()] !== r.toString()) return r; }; }), (t.stopWordFilter = t.generateStopWordFilter([ @@ -635,8 +640,8 @@ ])), t.Pipeline.registerFunction(t.stopWordFilter, 'stopWordFilter'); (t.trimmer = function (e) { - return e.update(function (r) { - return r.replace(/^\W+/, '').replace(/\W+$/, ''); + return e.update(function (n) { + return n.replace(/^\W+/, '').replace(/\W+$/, ''); }); }), t.Pipeline.registerFunction(t.trimmer, 'trimmer'); @@ -649,22 +654,22 @@ (t.TokenSet._nextId = 1), (t.TokenSet.fromArray = function (e) { for ( - var r = new t.TokenSet.Builder(), n = 0, i = e.length; - n < i; - n++ + var n = new t.TokenSet.Builder(), r = 0, i = e.length; + r < i; + r++ ) - r.insert(e[n]); - return r.finish(), r.root; + n.insert(e[r]); + return n.finish(), n.root; }), (t.TokenSet.fromClause = function (e) { return 'editDistance' in e ? t.TokenSet.fromFuzzyString(e.term, e.editDistance) : t.TokenSet.fromString(e.term); }), - (t.TokenSet.fromFuzzyString = function (e, r) { + (t.TokenSet.fromFuzzyString = function (e, n) { for ( - var n = new t.TokenSet(), - i = [{ node: n, editsRemaining: r, str: e }]; + var r = new t.TokenSet(), + i = [{ node: r, editsRemaining: n, str: e }]; i.length; ) { @@ -719,46 +724,46 @@ if (s.str.length > 1) { var d = s.str.charAt(0), m = s.str.charAt(1), - y; + p; m in s.node.edges - ? (y = s.node.edges[m]) - : ((y = new t.TokenSet()), (s.node.edges[m] = y)), - s.str.length == 1 && (y.final = !0), + ? (p = s.node.edges[m]) + : ((p = new t.TokenSet()), (s.node.edges[m] = p)), + s.str.length == 1 && (p.final = !0), i.push({ - node: y, + node: p, editsRemaining: s.editsRemaining - 1, str: d + s.str.slice(2) }); } } } - return n; + return r; }), (t.TokenSet.fromString = function (e) { for ( - var r = new t.TokenSet(), n = r, i = 0, s = e.length; + var n = new t.TokenSet(), r = n, i = 0, s = e.length; i < s; i++ ) { var o = e[i], a = i == s - 1; - if (o == '*') (r.edges[o] = r), (r.final = a); + if (o == '*') (n.edges[o] = n), (n.final = a); else { var l = new t.TokenSet(); - (l.final = a), (r.edges[o] = l), (r = l); + (l.final = a), (n.edges[o] = l), (n = l); } } - return n; + return r; }), (t.TokenSet.prototype.toArray = function () { - for (var e = [], r = [{ prefix: '', node: this }]; r.length; ) { - var n = r.pop(), - i = Object.keys(n.node.edges), + for (var e = [], n = [{ prefix: '', node: this }]; n.length; ) { + var r = n.pop(), + i = Object.keys(r.node.edges), s = i.length; - n.node.final && (n.prefix.charAt(0), e.push(n.prefix)); + r.node.final && (r.prefix.charAt(0), e.push(r.prefix)); for (var o = 0; o < s; o++) { var a = i[o]; - r.push({ prefix: n.prefix.concat(a), node: n.node.edges[a] }); + n.push({ prefix: r.prefix.concat(a), node: r.node.edges[a] }); } } return e; @@ -767,13 +772,13 @@ if (this._str) return this._str; for ( var e = this.final ? '1' : '0', - r = Object.keys(this.edges).sort(), - n = r.length, + n = Object.keys(this.edges).sort(), + r = n.length, i = 0; - i < n; + i < r; i++ ) { - var s = r[i], + var s = n[i], o = this.edges[s]; e = e + s + o.id; } @@ -781,39 +786,39 @@ }), (t.TokenSet.prototype.intersect = function (e) { for ( - var r = new t.TokenSet(), - n = void 0, - i = [{ qNode: e, output: r, node: this }]; + var n = new t.TokenSet(), + r = void 0, + i = [{ qNode: e, output: n, node: this }]; i.length; ) { - n = i.pop(); + r = i.pop(); for ( - var s = Object.keys(n.qNode.edges), + var s = Object.keys(r.qNode.edges), o = s.length, - a = Object.keys(n.node.edges), + a = Object.keys(r.node.edges), l = a.length, u = 0; u < o; u++ ) for (var d = s[u], m = 0; m < l; m++) { - var y = a[m]; - if (y == d || d == '*') { - var b = n.node.edges[y], - g = n.qNode.edges[d], - E = b.final && g.final, + var p = a[m]; + if (p == d || d == '*') { + var b = r.node.edges[p], + g = r.qNode.edges[d], + L = b.final && g.final, f = void 0; - y in n.output.edges - ? ((f = n.output.edges[y]), (f.final = f.final || E)) + p in r.output.edges + ? ((f = r.output.edges[p]), (f.final = f.final || L)) : ((f = new t.TokenSet()), - (f.final = E), - (n.output.edges[y] = f)), + (f.final = L), + (r.output.edges[p] = f)), i.push({ qNode: g, output: f, node: b }); } } } - return r; + return n; }), (t.TokenSet.Builder = function () { (this.previousWord = ''), @@ -822,8 +827,8 @@ (this.minimizedNodes = {}); }), (t.TokenSet.Builder.prototype.insert = function (e) { - var r, - n = 0; + var n, + r = 0; if (e < this.previousWord) throw new Error('Out of order word insertion'); for ( @@ -833,30 +838,30 @@ e[i] == this.previousWord[i]; i++ ) - n++; - this.minimize(n), + r++; + this.minimize(r), this.uncheckedNodes.length == 0 - ? (r = this.root) - : (r = this.uncheckedNodes[this.uncheckedNodes.length - 1].child); - for (var i = n; i < e.length; i++) { + ? (n = this.root) + : (n = this.uncheckedNodes[this.uncheckedNodes.length - 1].child); + for (var i = r; i < e.length; i++) { var s = new t.TokenSet(), o = e[i]; - (r.edges[o] = s), - this.uncheckedNodes.push({ parent: r, char: o, child: s }), - (r = s); + (n.edges[o] = s), + this.uncheckedNodes.push({ parent: n, char: o, child: s }), + (n = s); } - (r.final = !0), (this.previousWord = e); + (n.final = !0), (this.previousWord = e); }), (t.TokenSet.Builder.prototype.finish = function () { this.minimize(0); }), (t.TokenSet.Builder.prototype.minimize = function (e) { - for (var r = this.uncheckedNodes.length - 1; r >= e; r--) { - var n = this.uncheckedNodes[r], - i = n.child.toString(); + for (var n = this.uncheckedNodes.length - 1; n >= e; n--) { + var r = this.uncheckedNodes[n], + i = r.child.toString(); i in this.minimizedNodes - ? (n.parent.edges[n.char] = this.minimizedNodes[i]) - : ((n.child._str = i), (this.minimizedNodes[i] = n.child)), + ? (r.parent.edges[r.char] = this.minimizedNodes[i]) + : ((r.child._str = i), (this.minimizedNodes[i] = r.child)), this.uncheckedNodes.pop(); } }); @@ -868,15 +873,15 @@ (this.pipeline = e.pipeline); }), (t.Index.prototype.search = function (e) { - return this.query(function (r) { - var n = new t.QueryParser(e, r); - n.parse(); + return this.query(function (n) { + var r = new t.QueryParser(e, n); + r.parse(); }); }), (t.Index.prototype.query = function (e) { for ( - var r = new t.Query(this.fields), - n = Object.create(null), + var n = new t.Query(this.fields), + r = Object.create(null), i = Object.create(null), s = Object.create(null), o = Object.create(null), @@ -886,61 +891,61 @@ l++ ) i[this.fields[l]] = new t.Vector(); - e.call(r, r); - for (var l = 0; l < r.clauses.length; l++) { - var u = r.clauses[l], + e.call(n, n); + for (var l = 0; l < n.clauses.length; l++) { + var u = n.clauses[l], d = null, m = t.Set.empty; u.usePipeline ? (d = this.pipeline.runString(u.term, { fields: u.fields })) : (d = [u.term]); - for (var y = 0; y < d.length; y++) { - var b = d[y]; + for (var p = 0; p < d.length; p++) { + var b = d[p]; u.term = b; var g = t.TokenSet.fromClause(u), - E = this.tokenSet.intersect(g).toArray(); - if (E.length === 0 && u.presence === t.Query.presence.REQUIRED) { + L = this.tokenSet.intersect(g).toArray(); + if (L.length === 0 && u.presence === t.Query.presence.REQUIRED) { for (var f = 0; f < u.fields.length; f++) { - var p = u.fields[f]; - o[p] = t.Set.empty; + var y = u.fields[f]; + o[y] = t.Set.empty; } break; } - for (var w = 0; w < E.length; w++) + for (var S = 0; S < L.length; S++) for ( - var S = E[w], k = this.invertedIndex[S], _ = k._index, f = 0; + var w = L[S], k = this.invertedIndex[w], _ = k._index, f = 0; f < u.fields.length; f++ ) { - var p = u.fields[f], - B = k[p], + var y = u.fields[f], + B = k[y], A = Object.keys(B), - j = S + '/' + p, + j = w + '/' + y, q = new t.Set(A); if ( (u.presence == t.Query.presence.REQUIRED && ((m = m.union(q)), - o[p] === void 0 && (o[p] = t.Set.complete)), + o[y] === void 0 && (o[y] = t.Set.complete)), u.presence == t.Query.presence.PROHIBITED) ) { - a[p] === void 0 && (a[p] = t.Set.empty), - (a[p] = a[p].union(q)); + a[y] === void 0 && (a[y] = t.Set.empty), + (a[y] = a[y].union(q)); continue; } if ( - (i[p].upsert(_, u.boost, function (Ee, be) { - return Ee + be; + (i[y].upsert(_, u.boost, function (Ie, Ce) { + return Ie + Ce; }), !s[j]) ) { for (var V = 0; V < A.length; V++) { var $ = A[V], - I = new t.FieldRef($, p), + C = new t.FieldRef($, y), z = B[$], W; - (W = n[I]) === void 0 - ? (n[I] = new t.MatchData(S, p, z)) - : W.add(S, p, z); + (W = r[C]) === void 0 + ? (r[C] = new t.MatchData(w, y, z)) + : W.add(w, y, z); } s[j] = !0; } @@ -948,8 +953,8 @@ } if (u.presence === t.Query.presence.REQUIRED) for (var f = 0; f < u.fields.length; f++) { - var p = u.fields[f]; - o[p] = o[p].intersect(m); + var y = u.fields[f]; + o[y] = o[y].intersect(m); } } for ( @@ -957,18 +962,18 @@ l < this.fields.length; l++ ) { - var p = this.fields[l]; - o[p] && (H = H.intersect(o[p])), a[p] && (R = R.union(a[p])); + var y = this.fields[l]; + o[y] && (H = H.intersect(o[y])), a[y] && (R = R.union(a[y])); } - var c = Object.keys(n), + var c = Object.keys(r), v = [], - C = Object.create(null); - if (r.isNegated()) { + P = Object.create(null); + if (n.isNegated()) { c = Object.keys(this.fieldVectors); for (var l = 0; l < c.length; l++) { - var I = c[l], - T = t.FieldRef.fromString(I); - n[I] = new t.MatchData(); + var C = c[l], + T = t.FieldRef.fromString(C); + r[C] = new t.MatchData(); } } for (var l = 0; l < c.length; l++) { @@ -977,39 +982,39 @@ if (H.contains(h) && !R.contains(h)) { var x = this.fieldVectors[T], O = i[T.fieldName].similarity(x), - F; - if ((F = C[h]) !== void 0) - (F.score += O), F.matchData.combine(n[T]); + M; + if ((M = P[h]) !== void 0) + (M.score += O), M.matchData.combine(r[T]); else { - var L = { ref: h, score: O, matchData: n[T] }; - (C[h] = L), v.push(L); + var E = { ref: h, score: O, matchData: r[T] }; + (P[h] = E), v.push(E); } } } - return v.sort(function (xe, Le) { - return Le.score - xe.score; + return v.sort(function (ke, Qe) { + return Qe.score - ke.score; }); }), (t.Index.prototype.toJSON = function () { var e = Object.keys(this.invertedIndex) .sort() - .map(function (n) { - return [n, this.invertedIndex[n]]; + .map(function (r) { + return [r, this.invertedIndex[r]]; }, this), - r = Object.keys(this.fieldVectors).map(function (n) { - return [n, this.fieldVectors[n].toJSON()]; + n = Object.keys(this.fieldVectors).map(function (r) { + return [r, this.fieldVectors[r].toJSON()]; }, this); return { version: t.version, fields: this.fields, - fieldVectors: r, + fieldVectors: n, invertedIndex: e, pipeline: this.pipeline.toJSON() }; }), (t.Index.load = function (e) { - var r = {}, - n = {}, + var n = {}, + r = {}, i = e.fieldVectors, s = Object.create(null), o = e.invertedIndex, @@ -1026,8 +1031,8 @@ for (var u = 0; u < i.length; u++) { var d = i[u], m = d[0], - y = d[1]; - n[m] = new t.Vector(y); + p = d[1]; + r[m] = new t.Vector(p); } for (var u = 0; u < o.length; u++) { var d = o[u], @@ -1037,12 +1042,12 @@ } return ( a.finish(), - (r.fields = e.fields), - (r.fieldVectors = n), - (r.invertedIndex = s), - (r.tokenSet = a.root), - (r.pipeline = l), - new t.Index(r) + (n.fields = e.fields), + (n.fieldVectors = r), + (n.invertedIndex = s), + (n.tokenSet = a.root), + (n.pipeline = l), + new t.Index(n) ); }); (t.Builder = function () { @@ -1064,12 +1069,12 @@ (t.Builder.prototype.ref = function (e) { this._ref = e; }), - (t.Builder.prototype.field = function (e, r) { + (t.Builder.prototype.field = function (e, n) { if (/\//.test(e)) throw new RangeError( "Field '" + e + "' contains illegal character '/'" ); - this._fields[e] = r || {}; + this._fields[e] = n || {}; }), (t.Builder.prototype.b = function (e) { e < 0 ? (this._b = 0) : e > 1 ? (this._b = 1) : (this._b = e); @@ -1077,42 +1082,42 @@ (t.Builder.prototype.k1 = function (e) { this._k1 = e; }), - (t.Builder.prototype.add = function (e, r) { - var n = e[this._ref], + (t.Builder.prototype.add = function (e, n) { + var r = e[this._ref], i = Object.keys(this._fields); - (this._documents[n] = r || {}), (this.documentCount += 1); + (this._documents[r] = n || {}), (this.documentCount += 1); for (var s = 0; s < i.length; s++) { var o = i[s], a = this._fields[o].extractor, l = a ? a(e) : e[o], u = this.tokenizer(l, { fields: [o] }), d = this.pipeline.run(u), - m = new t.FieldRef(n, o), - y = Object.create(null); - (this.fieldTermFrequencies[m] = y), + m = new t.FieldRef(r, o), + p = Object.create(null); + (this.fieldTermFrequencies[m] = p), (this.fieldLengths[m] = 0), (this.fieldLengths[m] += d.length); for (var b = 0; b < d.length; b++) { var g = d[b]; if ( - (y[g] == null && (y[g] = 0), - (y[g] += 1), + (p[g] == null && (p[g] = 0), + (p[g] += 1), this.invertedIndex[g] == null) ) { - var E = Object.create(null); - (E._index = this.termIndex), (this.termIndex += 1); + var L = Object.create(null); + (L._index = this.termIndex), (this.termIndex += 1); for (var f = 0; f < i.length; f++) - E[i[f]] = Object.create(null); - this.invertedIndex[g] = E; + L[i[f]] = Object.create(null); + this.invertedIndex[g] = L; } - this.invertedIndex[g][o][n] == null && - (this.invertedIndex[g][o][n] = Object.create(null)); - for (var p = 0; p < this.metadataWhitelist.length; p++) { - var w = this.metadataWhitelist[p], - S = g.metadata[w]; - this.invertedIndex[g][o][n][w] == null && - (this.invertedIndex[g][o][n][w] = []), - this.invertedIndex[g][o][n][w].push(S); + this.invertedIndex[g][o][r] == null && + (this.invertedIndex[g][o][r] = Object.create(null)); + for (var y = 0; y < this.metadataWhitelist.length; y++) { + var S = this.metadataWhitelist[y], + w = g.metadata[S]; + this.invertedIndex[g][o][r][S] == null && + (this.invertedIndex[g][o][r][S] = []), + this.invertedIndex[g][o][r][S].push(w); } } } @@ -1120,69 +1125,69 @@ (t.Builder.prototype.calculateAverageFieldLengths = function () { for ( var e = Object.keys(this.fieldLengths), - r = e.length, - n = {}, + n = e.length, + r = {}, i = {}, s = 0; - s < r; + s < n; s++ ) { var o = t.FieldRef.fromString(e[s]), a = o.fieldName; i[a] || (i[a] = 0), (i[a] += 1), - n[a] || (n[a] = 0), - (n[a] += this.fieldLengths[o]); + r[a] || (r[a] = 0), + (r[a] += this.fieldLengths[o]); } for (var l = Object.keys(this._fields), s = 0; s < l.length; s++) { var u = l[s]; - n[u] = n[u] / i[u]; + r[u] = r[u] / i[u]; } - this.averageFieldLength = n; + this.averageFieldLength = r; }), (t.Builder.prototype.createFieldVectors = function () { for ( var e = {}, - r = Object.keys(this.fieldTermFrequencies), - n = r.length, + n = Object.keys(this.fieldTermFrequencies), + r = n.length, i = Object.create(null), s = 0; - s < n; + s < r; s++ ) { for ( - var o = t.FieldRef.fromString(r[s]), + var o = t.FieldRef.fromString(n[s]), a = o.fieldName, l = this.fieldLengths[o], u = new t.Vector(), d = this.fieldTermFrequencies[o], m = Object.keys(d), - y = m.length, + p = m.length, b = this._fields[a].boost || 1, g = this._documents[o.docRef].boost || 1, - E = 0; - E < y; - E++ + L = 0; + L < p; + L++ ) { - var f = m[E], - p = d[f], - w = this.invertedIndex[f]._index, - S, + var f = m[L], + y = d[f], + S = this.invertedIndex[f]._index, + w, k, _; i[f] === void 0 - ? ((S = t.idf(this.invertedIndex[f], this.documentCount)), - (i[f] = S)) - : (S = i[f]), + ? ((w = t.idf(this.invertedIndex[f], this.documentCount)), + (i[f] = w)) + : (w = i[f]), (k = - (S * ((this._k1 + 1) * p)) / + (w * ((this._k1 + 1) * y)) / (this._k1 * (1 - this._b + this._b * (l / this.averageFieldLength[a])) + - p)), + y)), (k *= b), (k *= g), (_ = Math.round(k * 1e3) / 1e3), - u.insert(w, _); + u.insert(S, _); } e[o] = u; } @@ -1208,26 +1213,26 @@ ); }), (t.Builder.prototype.use = function (e) { - var r = Array.prototype.slice.call(arguments, 1); - r.unshift(this), e.apply(this, r); + var n = Array.prototype.slice.call(arguments, 1); + n.unshift(this), e.apply(this, n); }), - (t.MatchData = function (e, r, n) { + (t.MatchData = function (e, n, r) { for ( - var i = Object.create(null), s = Object.keys(n || {}), o = 0; + var i = Object.create(null), s = Object.keys(r || {}), o = 0; o < s.length; o++ ) { var a = s[o]; - i[a] = n[a].slice(); + i[a] = r[a].slice(); } (this.metadata = Object.create(null)), e !== void 0 && ((this.metadata[e] = Object.create(null)), - (this.metadata[e][r] = i)); + (this.metadata[e][n] = i)); }), (t.MatchData.prototype.combine = function (e) { - for (var r = Object.keys(e.metadata), n = 0; n < r.length; n++) { - var i = r[n], + for (var n = Object.keys(e.metadata), r = 0; r < n.length; r++) { + var i = n[r], s = Object.keys(e.metadata[i]); this.metadata[i] == null && (this.metadata[i] = Object.create(null)); @@ -1247,20 +1252,20 @@ } } }), - (t.MatchData.prototype.add = function (e, r, n) { + (t.MatchData.prototype.add = function (e, n, r) { if (!(e in this.metadata)) { - (this.metadata[e] = Object.create(null)), (this.metadata[e][r] = n); + (this.metadata[e] = Object.create(null)), (this.metadata[e][n] = r); return; } - if (!(r in this.metadata[e])) { - this.metadata[e][r] = n; + if (!(n in this.metadata[e])) { + this.metadata[e][n] = r; return; } - for (var i = Object.keys(n), s = 0; s < i.length; s++) { + for (var i = Object.keys(r), s = 0; s < i.length; s++) { var o = i[s]; - o in this.metadata[e][r] - ? (this.metadata[e][r][o] = this.metadata[e][r][o].concat(n[o])) - : (this.metadata[e][r][o] = n[o]); + o in this.metadata[e][n] + ? (this.metadata[e][n][o] = this.metadata[e][n][o].concat(r[o])) + : (this.metadata[e][n][o] = r[o]); } }), (t.Query = function (e) { @@ -1294,22 +1299,22 @@ return !1; return !0; }), - (t.Query.prototype.term = function (e, r) { + (t.Query.prototype.term = function (e, n) { if (Array.isArray(e)) return ( e.forEach(function (i) { - this.term(i, t.utils.clone(r)); + this.term(i, t.utils.clone(n)); }, this), this ); - var n = r || {}; - return (n.term = e.toString()), this.clause(n), this; + var r = n || {}; + return (r.term = e.toString()), this.clause(r), this; }), - (t.QueryParseError = function (e, r, n) { + (t.QueryParseError = function (e, n, r) { (this.name = 'QueryParseError'), (this.message = e), - (this.start = r), - (this.end = n); + (this.start = n), + (this.end = r); }), (t.QueryParseError.prototype = new Error()), (t.QueryLexer = function (e) { @@ -1325,15 +1330,15 @@ }), (t.QueryLexer.prototype.sliceString = function () { for ( - var e = [], r = this.start, n = this.pos, i = 0; + var e = [], n = this.start, r = this.pos, i = 0; i < this.escapeCharPositions.length; i++ ) - (n = this.escapeCharPositions[i]), - e.push(this.str.slice(r, n)), - (r = n + 1); + (r = this.escapeCharPositions[i]), + e.push(this.str.slice(n, r)), + (n = r + 1); return ( - e.push(this.str.slice(r, this.pos)), + e.push(this.str.slice(n, this.pos)), (this.escapeCharPositions.length = 0), e.join('') ); @@ -1365,9 +1370,9 @@ this.pos -= 1; }), (t.QueryLexer.prototype.acceptDigitRun = function () { - var e, r; - do (e = this.next()), (r = e.charCodeAt(0)); - while (r > 47 && r < 58); + var e, n; + do (e = this.next()), (n = e.charCodeAt(0)); + while (n > 47 && n < 58); e != t.QueryLexer.EOS && this.backup(); }), (t.QueryLexer.prototype.more = function () { @@ -1417,34 +1422,34 @@ (t.QueryLexer.termSeparator = t.tokenizer.separator), (t.QueryLexer.lexText = function (e) { for (;;) { - var r = e.next(); - if (r == t.QueryLexer.EOS) return t.QueryLexer.lexEOS; - if (r.charCodeAt(0) == 92) { + var n = e.next(); + if (n == t.QueryLexer.EOS) return t.QueryLexer.lexEOS; + if (n.charCodeAt(0) == 92) { e.escapeCharacter(); continue; } - if (r == ':') return t.QueryLexer.lexField; - if (r == '~') + if (n == ':') return t.QueryLexer.lexField; + if (n == '~') return ( e.backup(), e.width() > 0 && e.emit(t.QueryLexer.TERM), t.QueryLexer.lexEditDistance ); - if (r == '^') + if (n == '^') return ( e.backup(), e.width() > 0 && e.emit(t.QueryLexer.TERM), t.QueryLexer.lexBoost ); - if ((r == '+' && e.width() === 1) || (r == '-' && e.width() === 1)) + if ((n == '+' && e.width() === 1) || (n == '-' && e.width() === 1)) return e.emit(t.QueryLexer.PRESENCE), t.QueryLexer.lexText; - if (r.match(t.QueryLexer.termSeparator)) + if (n.match(t.QueryLexer.termSeparator)) return t.QueryLexer.lexTerm; } }), - (t.QueryParser = function (e, r) { + (t.QueryParser = function (e, n) { (this.lexer = new t.QueryLexer(e)), - (this.query = r), + (this.query = n), (this.currentClause = {}), (this.lexemeIdx = 0); }), @@ -1465,9 +1470,9 @@ this.query.clause(e), (this.currentClause = {}); }), (t.QueryParser.parseClause = function (e) { - var r = e.peekLexeme(); - if (r != null) - switch (r.type) { + var n = e.peekLexeme(); + if (n != null) + switch (n.type) { case t.QueryLexer.PRESENCE: return t.QueryParser.parsePresence; case t.QueryLexer.FIELD: @@ -1475,17 +1480,17 @@ case t.QueryLexer.TERM: return t.QueryParser.parseTerm; default: - var n = 'expected either a field or a term, found ' + r.type; + var r = 'expected either a field or a term, found ' + n.type; throw ( - (r.str.length >= 1 && (n += " with value '" + r.str + "'"), - new t.QueryParseError(n, r.start, r.end)) + (n.str.length >= 1 && (r += " with value '" + n.str + "'"), + new t.QueryParseError(r, n.start, n.end)) ); } }), (t.QueryParser.parsePresence = function (e) { - var r = e.consumeLexeme(); - if (r != null) { - switch (r.str) { + var n = e.consumeLexeme(); + if (n != null) { + switch (n.str) { case '-': e.currentClause.presence = t.Query.presence.PROHIBITED; break; @@ -1493,13 +1498,13 @@ e.currentClause.presence = t.Query.presence.REQUIRED; break; default: - var n = "unrecognised presence operator'" + r.str + "'"; - throw new t.QueryParseError(n, r.start, r.end); + var r = "unrecognised presence operator'" + n.str + "'"; + throw new t.QueryParseError(r, n.start, n.end); } var i = e.peekLexeme(); if (i == null) { - var n = 'expecting term or field, found nothing'; - throw new t.QueryParseError(n, r.start, r.end); + var r = 'expecting term or field, found nothing'; + throw new t.QueryParseError(r, n.start, n.end); } switch (i.type) { case t.QueryLexer.FIELD: @@ -1507,28 +1512,28 @@ case t.QueryLexer.TERM: return t.QueryParser.parseTerm; default: - var n = "expecting term or field, found '" + i.type + "'"; - throw new t.QueryParseError(n, i.start, i.end); + var r = "expecting term or field, found '" + i.type + "'"; + throw new t.QueryParseError(r, i.start, i.end); } } }), (t.QueryParser.parseField = function (e) { - var r = e.consumeLexeme(); - if (r != null) { - if (e.query.allFields.indexOf(r.str) == -1) { - var n = e.query.allFields + var n = e.consumeLexeme(); + if (n != null) { + if (e.query.allFields.indexOf(n.str) == -1) { + var r = e.query.allFields .map(function (o) { return "'" + o + "'"; }) .join(', '), - i = "unrecognised field '" + r.str + "', possible fields: " + n; - throw new t.QueryParseError(i, r.start, r.end); + i = "unrecognised field '" + n.str + "', possible fields: " + r; + throw new t.QueryParseError(i, n.start, n.end); } - e.currentClause.fields = [r.str]; + e.currentClause.fields = [n.str]; var s = e.peekLexeme(); if (s == null) { var i = 'expecting term, found nothing'; - throw new t.QueryParseError(i, r.start, r.end); + throw new t.QueryParseError(i, n.start, n.end); } switch (s.type) { case t.QueryLexer.TERM: @@ -1540,16 +1545,16 @@ } }), (t.QueryParser.parseTerm = function (e) { - var r = e.consumeLexeme(); - if (r != null) { - (e.currentClause.term = r.str.toLowerCase()), - r.str.indexOf('*') != -1 && (e.currentClause.usePipeline = !1); - var n = e.peekLexeme(); - if (n == null) { + var n = e.consumeLexeme(); + if (n != null) { + (e.currentClause.term = n.str.toLowerCase()), + n.str.indexOf('*') != -1 && (e.currentClause.usePipeline = !1); + var r = e.peekLexeme(); + if (r == null) { e.nextClause(); return; } - switch (n.type) { + switch (r.type) { case t.QueryLexer.TERM: return e.nextClause(), t.QueryParser.parseTerm; case t.QueryLexer.FIELD: @@ -1561,20 +1566,20 @@ case t.QueryLexer.PRESENCE: return e.nextClause(), t.QueryParser.parsePresence; default: - var i = "Unexpected lexeme type '" + n.type + "'"; - throw new t.QueryParseError(i, n.start, n.end); + var i = "Unexpected lexeme type '" + r.type + "'"; + throw new t.QueryParseError(i, r.start, r.end); } } }), (t.QueryParser.parseEditDistance = function (e) { - var r = e.consumeLexeme(); - if (r != null) { - var n = parseInt(r.str, 10); - if (isNaN(n)) { + var n = e.consumeLexeme(); + if (n != null) { + var r = parseInt(n.str, 10); + if (isNaN(r)) { var i = 'edit distance must be numeric'; - throw new t.QueryParseError(i, r.start, r.end); + throw new t.QueryParseError(i, n.start, n.end); } - e.currentClause.editDistance = n; + e.currentClause.editDistance = r; var s = e.peekLexeme(); if (s == null) { e.nextClause(); @@ -1598,14 +1603,14 @@ } }), (t.QueryParser.parseBoost = function (e) { - var r = e.consumeLexeme(); - if (r != null) { - var n = parseInt(r.str, 10); - if (isNaN(n)) { + var n = e.consumeLexeme(); + if (n != null) { + var r = parseInt(n.str, 10); + if (isNaN(r)) { var i = 'boost must be numeric'; - throw new t.QueryParseError(i, r.start, r.end); + throw new t.QueryParseError(i, n.start, n.end); } - e.currentClause.boost = n; + e.currentClause.boost = r; var s = e.peekLexeme(); if (s == null) { e.nextClause(); @@ -1628,56 +1633,87 @@ } } }), - (function (e, r) { + (function (e, n) { typeof define == 'function' && define.amd - ? define(r) - : typeof se == 'object' - ? (oe.exports = r()) - : (e.lunr = r()); + ? define(n) + : typeof ae == 'object' + ? (le.exports = n()) + : (e.lunr = n()); })(this, function () { return t; }); })(); }); - var ne = []; + var se = []; function G(t, e) { - ne.push({ selector: e, constructor: t }); + se.push({ selector: e, constructor: t }); } var U = class { constructor() { this.alwaysVisibleMember = null; this.createComponents(document.body), - this.ensureActivePageVisible(), this.ensureFocusedElementVisible(), this.listenForCodeCopies(), window.addEventListener('hashchange', () => this.ensureFocusedElementVisible() - ); + ), + document.body.style.display || + (this.ensureFocusedElementVisible(), + this.updateIndexVisibility(), + this.scrollToHash()); } createComponents(e) { - ne.forEach((r) => { - e.querySelectorAll(r.selector).forEach((n) => { - n.dataset.hasInstance || - (new r.constructor({ el: n, app: this }), - (n.dataset.hasInstance = String(!0))); + se.forEach((n) => { + e.querySelectorAll(n.selector).forEach((r) => { + r.dataset.hasInstance || + (new n.constructor({ el: r, app: this }), + (r.dataset.hasInstance = String(!0))); }); }); } filterChanged() { this.ensureFocusedElementVisible(); } + showPage() { + document.body.style.display && + (document.body.style.removeProperty('display'), + this.ensureFocusedElementVisible(), + this.updateIndexVisibility(), + this.scrollToHash()); + } + scrollToHash() { + if (location.hash) { + let e = document.getElementById(location.hash.substring(1)); + if (!e) return; + e.scrollIntoView({ behavior: 'instant', block: 'start' }); + } + } ensureActivePageVisible() { let e = document.querySelector('.tsd-navigation .current'), - r = e?.parentElement; - for (; r && !r.classList.contains('.tsd-navigation'); ) - r instanceof HTMLDetailsElement && (r.open = !0), (r = r.parentElement); - if (e) { - let n = + n = e?.parentElement; + for (; n && !n.classList.contains('.tsd-navigation'); ) + n instanceof HTMLDetailsElement && (n.open = !0), (n = n.parentElement); + if (e && !Ve(e)) { + let r = e.getBoundingClientRect().top - document.documentElement.clientHeight / 4; - document.querySelector('.site-menu').scrollTop = n; + (document.querySelector('.site-menu').scrollTop = r), + (document.querySelector('.col-sidebar').scrollTop = r); } } + updateIndexVisibility() { + let e = document.querySelector('.tsd-index-content'), + n = e?.open; + e && (e.open = !0), + document.querySelectorAll('.tsd-index-section').forEach((r) => { + r.style.display = 'block'; + let i = Array.from(r.querySelectorAll('.tsd-index-link')).every( + (s) => s.offsetParent == null + ); + r.style.display = i ? 'none' : 'block'; + }), + e && (e.open = n); + } ensureFocusedElementVisible() { if ( (this.alwaysVisibleMember && @@ -1689,321 +1725,350 @@ return; let e = document.getElementById(location.hash.substring(1)); if (!e) return; - let r = e.parentElement; - for (; r && r.tagName !== 'SECTION'; ) r = r.parentElement; - if (r && r.offsetParent == null) { - (this.alwaysVisibleMember = r), r.classList.add('always-visible'); - let n = document.createElement('p'); - n.classList.add('warning'), - (n.textContent = - 'This member is normally hidden due to your filter settings.'), - r.prepend(n); + let n = e.parentElement; + for (; n && n.tagName !== 'SECTION'; ) n = n.parentElement; + if (!n) return; + let r = n.offsetParent == null, + i = n; + for (; i !== document.body; ) + i instanceof HTMLDetailsElement && (i.open = !0), (i = i.parentElement); + if (n.offsetParent == null) { + (this.alwaysVisibleMember = n), n.classList.add('always-visible'); + let s = document.createElement('p'); + s.classList.add('warning'), + (s.textContent = window.translations.normally_hidden), + n.prepend(s); } + r && e.scrollIntoView(); } listenForCodeCopies() { document.querySelectorAll('pre > button').forEach((e) => { - let r; + let n; e.addEventListener('click', () => { e.previousElementSibling instanceof HTMLElement && navigator.clipboard.writeText( e.previousElementSibling.innerText.trim() ), - (e.textContent = 'Copied!'), + (e.textContent = window.translations.copied), e.classList.add('visible'), - clearTimeout(r), - (r = setTimeout(() => { + clearTimeout(n), + (n = setTimeout(() => { e.classList.remove('visible'), - (r = setTimeout(() => { - e.textContent = 'Copy'; + (n = setTimeout(() => { + e.textContent = window.translations.copy; }, 100)); }, 1e3)); }); }); } }; - var ie = (t, e = 100) => { - let r; + function Ve(t) { + let e = t.getBoundingClientRect(), + n = Math.max(document.documentElement.clientHeight, window.innerHeight); + return !(e.bottom < 0 || e.top - n >= 0); + } + var oe = (t, e = 100) => { + let n; return () => { - clearTimeout(r), (r = setTimeout(() => t(), e)); + clearTimeout(n), (n = setTimeout(() => t(), e)); }; }; - var ce = Ce(ae()); - function de() { + var pe = Ae(ue()); + async function ce(t, e) { + if (!window.searchData) return; + let n = await fetch(window.searchData), + r = new Blob([await n.arrayBuffer()]) + .stream() + .pipeThrough(new DecompressionStream('gzip')), + i = await new Response(r).json(); + (t.data = i), + (t.index = pe.Index.load(i.index)), + e.classList.remove('loading'), + e.classList.add('ready'); + } + function fe() { let t = document.getElementById('tsd-search'); if (!t) return; - let e = document.getElementById('tsd-search-script'); + let e = { base: t.dataset.base + '/' }, + n = document.getElementById('tsd-search-script'); t.classList.add('loading'), - e && - (e.addEventListener('error', () => { + n && + (n.addEventListener('error', () => { t.classList.remove('loading'), t.classList.add('failure'); }), - e.addEventListener('load', () => { - t.classList.remove('loading'), t.classList.add('ready'); + n.addEventListener('load', () => { + ce(e, t); }), - window.searchData && t.classList.remove('loading')); + ce(e, t)); let r = document.querySelector('#tsd-search input'), - n = document.querySelector('#tsd-search .results'); - if (!r || !n) + i = document.querySelector('#tsd-search .results'); + if (!r || !i) throw new Error( 'The input field or the result list wrapper was not found' ); - let i = !1; - n.addEventListener('mousedown', () => (i = !0)), - n.addEventListener('mouseup', () => { - (i = !1), t.classList.remove('has-focus'); - }), + i.addEventListener('mouseup', () => { + te(t); + }), r.addEventListener('focus', () => t.classList.add('has-focus')), - r.addEventListener('blur', () => { - i || ((i = !1), t.classList.remove('has-focus')); - }); - let s = { base: t.dataset.base + '/' }; - Oe(t, n, r, s); + He(t, i, r, e); } - function Oe(t, e, r, n) { - r.addEventListener( + function He(t, e, n, r) { + n.addEventListener( 'input', - ie(() => { - Re(t, e, r, n); + oe(() => { + Ne(t, e, n, r); }, 200) - ); - let i = !1; - r.addEventListener('keydown', (s) => { - (i = !0), - s.key == 'Enter' - ? Fe(e, r) - : s.key == 'Escape' - ? r.blur() - : s.key == 'ArrowUp' - ? ue(e, -1) - : s.key === 'ArrowDown' - ? ue(e, 1) - : (i = !1); - }), - r.addEventListener('keypress', (s) => { - i && s.preventDefault(); + ), + n.addEventListener('keydown', (i) => { + i.key == 'Enter' + ? Be(e, t) + : i.key == 'ArrowUp' + ? (de(e, n, -1), i.preventDefault()) + : i.key === 'ArrowDown' && (de(e, n, 1), i.preventDefault()); }), - document.body.addEventListener('keydown', (s) => { - s.altKey || - s.ctrlKey || - s.metaKey || - (!r.matches(':focus') && - s.key === '/' && - (r.focus(), s.preventDefault())); + document.body.addEventListener('keypress', (i) => { + i.altKey || + i.ctrlKey || + i.metaKey || + (!n.matches(':focus') && + i.key === '/' && + (i.preventDefault(), n.focus())); + }), + document.body.addEventListener('keyup', (i) => { + t.classList.contains('has-focus') && + (i.key === 'Escape' || + (!e.matches(':focus-within') && !n.matches(':focus'))) && + (n.blur(), te(t)); }); } - function _e(t, e) { - t.index || - (window.searchData && - (e.classList.remove('loading'), - e.classList.add('ready'), - (t.data = window.searchData), - (t.index = ce.Index.load(window.searchData.index)))); + function te(t) { + t.classList.remove('has-focus'); } - function Re(t, e, r, n) { - if ((_e(n, t), !n.index || !n.data)) return; + function Ne(t, e, n, r) { + if (!r.index || !r.data) return; e.textContent = ''; - let i = r.value.trim(), - s = i ? n.index.search(`*${i}*`) : []; + let i = n.value.trim(), + s; + if (i) { + let o = i + .split(' ') + .map((a) => (a.length ? `*${a}*` : '')) + .join(' '); + s = r.index.search(o); + } else s = []; for (let o = 0; o < s.length; o++) { let a = s[o], - l = n.data.rows[Number(a.ref)], + l = r.data.rows[Number(a.ref)], u = 1; l.name.toLowerCase().startsWith(i.toLowerCase()) && (u *= 1 + 1 / (1 + Math.abs(l.name.length - i.length))), (a.score *= u); } + if (s.length === 0) { + let o = document.createElement('li'); + o.classList.add('no-results'); + let a = document.createElement('span'); + (a.textContent = 'No results found'), o.appendChild(a), e.appendChild(o); + } s.sort((o, a) => a.score - o.score); for (let o = 0, a = Math.min(10, s.length); o < a; o++) { - let l = n.data.rows[Number(s[o].ref)], - u = le(l.name, i); + let l = r.data.rows[Number(s[o].ref)], + u = ``, + d = he(l.name, i); globalThis.DEBUG_SEARCH_WEIGHTS && - (u += ` (score: ${s[o].score.toFixed(2)})`), - l.parent && (u = `${le(l.parent, i)}.${u}`); - let d = document.createElement('li'); - d.classList.value = l.classes ?? ''; - let m = document.createElement('a'); - (m.href = n.base + l.url), - (m.innerHTML = u), - d.append(m), - e.appendChild(d); + (d += ` (score: ${s[o].score.toFixed(2)})`), + l.parent && + (d = ` + ${he(l.parent, i)}.${d}`); + let m = document.createElement('li'); + m.classList.value = l.classes ?? ''; + let p = document.createElement('a'); + (p.href = r.base + l.url), + (p.innerHTML = u + d), + m.append(p), + p.addEventListener('focus', () => { + e.querySelector('.current')?.classList.remove('current'), + m.classList.add('current'); + }), + e.appendChild(m); } } - function ue(t, e) { + function de(t, e, n) { let r = t.querySelector('.current'); if (!r) - (r = t.querySelector(e == 1 ? 'li:first-child' : 'li:last-child')), + (r = t.querySelector(n == 1 ? 'li:first-child' : 'li:last-child')), r && r.classList.add('current'); else { - let n = r; - if (e === 1) - do n = n.nextElementSibling ?? void 0; - while (n instanceof HTMLElement && n.offsetParent == null); + let i = r; + if (n === 1) + do i = i.nextElementSibling ?? void 0; + while (i instanceof HTMLElement && i.offsetParent == null); else - do n = n.previousElementSibling ?? void 0; - while (n instanceof HTMLElement && n.offsetParent == null); - n && (r.classList.remove('current'), n.classList.add('current')); + do i = i.previousElementSibling ?? void 0; + while (i instanceof HTMLElement && i.offsetParent == null); + i + ? (r.classList.remove('current'), i.classList.add('current')) + : n === -1 && (r.classList.remove('current'), e.focus()); } } - function Fe(t, e) { - let r = t.querySelector('.current'); - if ((r || (r = t.querySelector('li:first-child')), r)) { - let n = r.querySelector('a'); - n && (window.location.href = n.href), e.blur(); + function Be(t, e) { + let n = t.querySelector('.current'); + if ((n || (n = t.querySelector('li:first-child')), n)) { + let r = n.querySelector('a'); + r && (window.location.href = r.href), te(e); } } - function le(t, e) { + function he(t, e) { if (e === '') return t; - let r = t.toLocaleLowerCase(), - n = e.toLocaleLowerCase(), + let n = t.toLocaleLowerCase(), + r = e.toLocaleLowerCase(), i = [], s = 0, - o = r.indexOf(n); + o = n.indexOf(r); for (; o != -1; ) - i.push(K(t.substring(s, o)), `${K(t.substring(o, o + n.length))}`), - (s = o + n.length), - (o = r.indexOf(n, s)); - return i.push(K(t.substring(s))), i.join(''); + i.push( + ee(t.substring(s, o)), + `${ee(t.substring(o, o + r.length))}` + ), + (s = o + r.length), + (o = n.indexOf(r, s)); + return i.push(ee(t.substring(s))), i.join(''); } - var Me = { + var je = { '&': '&', '<': '<', '>': '>', "'": ''', '"': '"' }; - function K(t) { - return t.replace(/[&<>"'"]/g, (e) => Me[e]); + function ee(t) { + return t.replace(/[&<>"'"]/g, (e) => je[e]); } - var P = class { + var I = class { constructor(e) { (this.el = e.el), (this.app = e.app); } }; - var M = 'mousedown', - fe = 'mousemove', + var F = 'mousedown', + ye = 'mousemove', N = 'mouseup', J = { x: 0, y: 0 }, - he = !1, - ee = !1, - De = !1, + me = !1, + ne = !1, + qe = !1, D = !1, - pe = /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test( + ve = /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test( navigator.userAgent ); - document.documentElement.classList.add(pe ? 'is-mobile' : 'not-mobile'); - pe && + document.documentElement.classList.add(ve ? 'is-mobile' : 'not-mobile'); + ve && 'ontouchstart' in document.documentElement && - ((De = !0), (M = 'touchstart'), (fe = 'touchmove'), (N = 'touchend')); - document.addEventListener(M, (t) => { - (ee = !0), (D = !1); - let e = M == 'touchstart' ? t.targetTouches[0] : t; + ((qe = !0), (F = 'touchstart'), (ye = 'touchmove'), (N = 'touchend')); + document.addEventListener(F, (t) => { + (ne = !0), (D = !1); + let e = F == 'touchstart' ? t.targetTouches[0] : t; (J.y = e.pageY || 0), (J.x = e.pageX || 0); }); - document.addEventListener(fe, (t) => { - if (ee && !D) { - let e = M == 'touchstart' ? t.targetTouches[0] : t, - r = J.x - (e.pageX || 0), - n = J.y - (e.pageY || 0); - D = Math.sqrt(r * r + n * n) > 10; + document.addEventListener(ye, (t) => { + if (ne && !D) { + let e = F == 'touchstart' ? t.targetTouches[0] : t, + n = J.x - (e.pageX || 0), + r = J.y - (e.pageY || 0); + D = Math.sqrt(n * n + r * r) > 10; } }); document.addEventListener(N, () => { - ee = !1; + ne = !1; }); document.addEventListener('click', (t) => { - he && (t.preventDefault(), t.stopImmediatePropagation(), (he = !1)); + me && (t.preventDefault(), t.stopImmediatePropagation(), (me = !1)); }); - var X = class extends P { - constructor(r) { - super(r); - (this.className = this.el.dataset.toggle || ''), + var X = class extends I { + constructor(e) { + super(e), + (this.className = this.el.dataset.toggle || ''), this.el.addEventListener(N, (n) => this.onPointerUp(n)), this.el.addEventListener('click', (n) => n.preventDefault()), - document.addEventListener(M, (n) => this.onDocumentPointerDown(n)), + document.addEventListener(F, (n) => this.onDocumentPointerDown(n)), document.addEventListener(N, (n) => this.onDocumentPointerUp(n)); } - setActive(r) { - if (this.active == r) return; - (this.active = r), - document.documentElement.classList.toggle('has-' + this.className, r), - this.el.classList.toggle('active', r); + setActive(e) { + if (this.active == e) return; + (this.active = e), + document.documentElement.classList.toggle('has-' + this.className, e), + this.el.classList.toggle('active', e); let n = (this.active ? 'to-has-' : 'from-has-') + this.className; document.documentElement.classList.add(n), setTimeout(() => document.documentElement.classList.remove(n), 500); } - onPointerUp(r) { - D || (this.setActive(!0), r.preventDefault()); + onPointerUp(e) { + D || (this.setActive(!0), e.preventDefault()); } - onDocumentPointerDown(r) { + onDocumentPointerDown(e) { if (this.active) { - if (r.target.closest('.col-sidebar, .tsd-filter-group')) return; + if (e.target.closest('.col-sidebar, .tsd-filter-group')) return; this.setActive(!1); } } - onDocumentPointerUp(r) { - if (!D && this.active && r.target.closest('.col-sidebar')) { - let n = r.target.closest('a'); + onDocumentPointerUp(e) { + if (!D && this.active && e.target.closest('.col-sidebar')) { + let n = e.target.closest('a'); if (n) { - let i = window.location.href; - i.indexOf('#') != -1 && (i = i.substring(0, i.indexOf('#'))), - n.href.substring(0, i.length) == i && + let r = window.location.href; + r.indexOf('#') != -1 && (r = r.substring(0, r.indexOf('#'))), + n.href.substring(0, r.length) == r && setTimeout(() => this.setActive(!1), 250); } } } }; - var te; + var re; try { - te = localStorage; + re = localStorage; } catch { - te = { + re = { getItem() { return null; }, setItem() {} }; } - var Q = te; - var me = document.head.appendChild(document.createElement('style')); - me.dataset.for = 'filters'; - var Y = class extends P { - constructor(r) { - super(r); - (this.key = `filter-${this.el.name}`), + var Q = re; + var ge = document.head.appendChild(document.createElement('style')); + ge.dataset.for = 'filters'; + var Y = class extends I { + constructor(e) { + super(e), + (this.key = `filter-${this.el.name}`), (this.value = this.el.checked), this.el.addEventListener('change', () => { this.setLocalStorage(this.el.checked); }), this.setLocalStorage(this.fromLocalStorage()), - (me.innerHTML += `html:not(.${this.key}) .tsd-is-${this.el.name} { display: none; } -`); + (ge.innerHTML += `html:not(.${this.key}) .tsd-is-${this.el.name} { display: none; } +`), + this.app.updateIndexVisibility(); } fromLocalStorage() { - let r = Q.getItem(this.key); - return r ? r === 'true' : this.el.checked; + let e = Q.getItem(this.key); + return e ? e === 'true' : this.el.checked; } - setLocalStorage(r) { - Q.setItem(this.key, r.toString()), - (this.value = r), + setLocalStorage(e) { + Q.setItem(this.key, e.toString()), + (this.value = e), this.handleValueChange(); } handleValueChange() { (this.el.checked = this.value), document.documentElement.classList.toggle(this.key, this.value), this.app.filterChanged(), - document.querySelectorAll('.tsd-index-section').forEach((r) => { - r.style.display = 'block'; - let n = Array.from(r.querySelectorAll('.tsd-index-link')).every( - (i) => i.offsetParent == null - ); - r.style.display = n ? 'none' : 'block'; - }); + this.app.updateIndexVisibility(); } }; - var Z = class extends P { - constructor(r) { - super(r); - (this.summary = this.el.querySelector('.tsd-accordion-summary')), + var Z = class extends I { + constructor(e) { + super(e), + (this.summary = this.el.querySelector('.tsd-accordion-summary')), (this.icon = this.summary.querySelector('svg')), (this.key = `tsd-accordion-${ this.summary.dataset.key ?? @@ -2011,7 +2076,12 @@ }`); let n = Q.getItem(this.key); (this.el.open = n ? n === 'true' : this.el.open), - this.el.addEventListener('toggle', () => this.update()), + this.el.addEventListener('toggle', () => this.update()); + let r = this.summary.querySelector('a'); + r && + r.addEventListener('click', () => { + location.assign(r.href); + }), this.update(); } update() { @@ -2019,30 +2089,73 @@ Q.setItem(this.key, this.el.open.toString()); } }; - function ve(t) { + function Ee(t) { let e = Q.getItem('tsd-theme') || 'os'; (t.value = e), - ye(e), + xe(e), t.addEventListener('change', () => { - Q.setItem('tsd-theme', t.value), ye(t.value); + Q.setItem('tsd-theme', t.value), xe(t.value); }); } - function ye(t) { + function xe(t) { document.documentElement.dataset.theme = t; } - de(); + var K; + function we() { + let t = document.getElementById('tsd-nav-script'); + t && (t.addEventListener('load', Le), Le()); + } + async function Le() { + let t = document.getElementById('tsd-nav-container'); + if (!t || !window.navigationData) return; + let n = await (await fetch(window.navigationData)).arrayBuffer(), + r = new Blob([n]).stream().pipeThrough(new DecompressionStream('gzip')), + i = await new Response(r).json(); + (K = t.dataset.base), K.endsWith('/') || (K += '/'), (t.innerHTML = ''); + for (let s of i) Se(s, t, []); + window.app.createComponents(t), + window.app.showPage(), + window.app.ensureActivePageVisible(); + } + function Se(t, e, n) { + let r = e.appendChild(document.createElement('li')); + if (t.children) { + let i = [...n, t.text], + s = r.appendChild(document.createElement('details')); + s.className = t.class ? `${t.class} tsd-accordion` : 'tsd-accordion'; + let o = s.appendChild(document.createElement('summary')); + (o.className = 'tsd-accordion-summary'), + (o.dataset.key = i.join('$')), + (o.innerHTML = + ''), + be(t, o); + let a = s.appendChild(document.createElement('div')); + a.className = 'tsd-accordion-details'; + let l = a.appendChild(document.createElement('ul')); + l.className = 'tsd-nested-navigation'; + for (let u of t.children) Se(u, l, i); + } else be(t, r, t.class); + } + function be(t, e, n) { + if (t.path) { + let r = e.appendChild(document.createElement('a')); + (r.href = K + t.path), + n && (r.className = n), + location.pathname === r.pathname && r.classList.add('current'), + t.kind && + (r.innerHTML = ``), + (r.appendChild(document.createElement('span')).textContent = t.text); + } else e.appendChild(document.createElement('span')).textContent = t.text; + } G(X, 'a[data-toggle]'); - G(Z, '.tsd-index-accordion'); + G(Z, '.tsd-accordion'); G(Y, '.tsd-filter-item input[type=checkbox]'); - var ge = document.getElementById('tsd-theme'); - ge && ve(ge); - var Ae = new U(); - Object.defineProperty(window, 'app', { value: Ae }); - document.querySelectorAll('summary a').forEach((t) => { - t.addEventListener('click', () => { - location.assign(t.href); - }); - }); + var Te = document.getElementById('tsd-theme'); + Te && Ee(Te); + var $e = new U(); + Object.defineProperty(window, 'app', { value: $e }); + fe(); + we(); })(); /*! Bundled license information: diff --git a/docs/assets/navigation.js b/docs/assets/navigation.js new file mode 100644 index 0000000..fec8fc2 --- /dev/null +++ b/docs/assets/navigation.js @@ -0,0 +1,2 @@ +window.navigationData = + 'data:application/octet-stream;base64,H4sIAAAAAAAACqWWwW+CMBTG/5eezcycM4s33Q7zADPKzXgo8BBiKaYtRrPsf1/YArRQHl125X3v9/V7NA8On0TBTZEluYgiyRhIMiEXqlKyJHkRlwzktK48pCpnZELOGY/Jcj4hUZqxWAAny0ODWa03O5AFu4JoSRlXIBIa6TBNaIJnz4uvScuLY+EI1JQY8bXgCrh6pzJ1A1saMP6bv3fjakKMt6lb3ag9Ocb2ae6I1ZUYcVuGZ7i7MU0tRg3gptyYurJPPGpMAadMKkGF5cq3NadL74nbru5AYbrwH+SIUSkR8rDN4+zFGIKurO65KBgD9wxty5/T2NxGcmluLofoZt3BFYQEtzfVFTvlG3awJOs54JbdNAFI5RbFUDrlGGBbQphsxOn3+HqANZWW3VN76NU+Sdu2kNCSqWZ2Qzy7DiN7/r6P8fw91lNtyX5T9RTr2pYhy6Lhs5t1jDTMcJvlhRX3HLiy7ti2jH5eP/xgt3oNtOFdqchoWN3KpmgSnmYagNMcUipTW39dQ9pPoDx/X/0MgNQ2e1LySGUFl1NDYIIW8x7oZ7nQSA2TagWOquc/wuvKxqDmxhiF2+WICaMhMPNttMim2AMcvwFI3aBOWAoAAA=='; diff --git a/docs/assets/search.js b/docs/assets/search.js index 1f1e2a0..98034c8 100644 --- a/docs/assets/search.js +++ b/docs/assets/search.js @@ -1,3 +1,2 @@ -window.searchData = JSON.parse( - '{"rows":[{"kind":32,"name":"namehash","url":"variables/namehash.html","classes":""},{"kind":256,"name":"Deployment","url":"interfaces/Deployment.html","classes":""},{"kind":1024,"name":"MNSMigrations","url":"interfaces/Deployment.html#MNSMigrations","classes":"","parent":"Deployment"},{"kind":1024,"name":"MNSRegistry","url":"interfaces/Deployment.html#MNSRegistry","classes":"","parent":"Deployment"},{"kind":1024,"name":"MNSRegistryWithFallback","url":"interfaces/Deployment.html#MNSRegistryWithFallback","classes":"","parent":"Deployment"},{"kind":1024,"name":"DefaultReverseResolver","url":"interfaces/Deployment.html#DefaultReverseResolver","classes":"","parent":"Deployment"},{"kind":1024,"name":"ReverseRegistrar","url":"interfaces/Deployment.html#ReverseRegistrar","classes":"","parent":"Deployment"},{"kind":1024,"name":"BaseRegistrarImplementation","url":"interfaces/Deployment.html#BaseRegistrarImplementation","classes":"","parent":"Deployment"},{"kind":1024,"name":"MRXRegistrarController","url":"interfaces/Deployment.html#MRXRegistrarController","classes":"","parent":"Deployment"},{"kind":1024,"name":"StaticMetadataService","url":"interfaces/Deployment.html#StaticMetadataService","classes":"","parent":"Deployment"},{"kind":1024,"name":"NameWrapper","url":"interfaces/Deployment.html#NameWrapper","classes":"","parent":"Deployment"},{"kind":1024,"name":"PublicResolver","url":"interfaces/Deployment.html#PublicResolver","classes":"","parent":"Deployment"},{"kind":1024,"name":"TestRegistrar","url":"interfaces/Deployment.html#TestRegistrar","classes":"","parent":"Deployment"},{"kind":1024,"name":"MRXtoUSDOracle","url":"interfaces/Deployment.html#MRXtoUSDOracle","classes":"","parent":"Deployment"},{"kind":1024,"name":"DummyOracle","url":"interfaces/Deployment.html#DummyOracle","classes":"","parent":"Deployment"},{"kind":64,"name":"labelhash","url":"functions/labelhash.html","classes":""},{"kind":64,"name":"getMNSAddress","url":"functions/getMNSAddress.html","classes":""},{"kind":64,"name":"getMNSContract","url":"functions/getMNSContract.html","classes":""},{"kind":64,"name":"getResolverContract","url":"functions/getResolverContract.html","classes":""},{"kind":64,"name":"getReverseRegistrarContract","url":"functions/getReverseRegistrarContract.html","classes":""},{"kind":128,"name":"MNS","url":"classes/MNS.html","classes":""},{"kind":512,"name":"constructor","url":"classes/MNS.html#constructor","classes":"","parent":"MNS"},{"kind":1024,"name":"network","url":"classes/MNS.html#network","classes":"","parent":"MNS"},{"kind":1024,"name":"provider","url":"classes/MNS.html#provider","classes":"","parent":"MNS"},{"kind":1024,"name":"mns","url":"classes/MNS.html#mns","classes":"","parent":"MNS"},{"kind":2048,"name":"name","url":"classes/MNS.html#name","classes":"","parent":"MNS"},{"kind":2048,"name":"resolver","url":"classes/MNS.html#resolver","classes":"","parent":"MNS"},{"kind":2048,"name":"getName","url":"classes/MNS.html#getName","classes":"","parent":"MNS"},{"kind":2048,"name":"getNameWithResolver","url":"classes/MNS.html#getNameWithResolver","classes":"","parent":"MNS"},{"kind":2048,"name":"setReverseRecord","url":"classes/MNS.html#setReverseRecord","classes":"","parent":"MNS"},{"kind":128,"name":"Name","url":"classes/Name.html","classes":""},{"kind":512,"name":"constructor","url":"classes/Name.html#constructor","classes":"","parent":"Name"},{"kind":1024,"name":"name","url":"classes/Name.html#name","classes":"","parent":"Name"},{"kind":1024,"name":"mns","url":"classes/Name.html#mns","classes":"","parent":"Name"},{"kind":1024,"name":"provider","url":"classes/Name.html#provider","classes":"","parent":"Name"},{"kind":1024,"name":"hash","url":"classes/Name.html#hash","classes":"","parent":"Name"},{"kind":1024,"name":"resolver","url":"classes/Name.html#resolver","classes":"","parent":"Name"},{"kind":2048,"name":"getOwner","url":"classes/Name.html#getOwner","classes":"","parent":"Name"},{"kind":2048,"name":"setOwner","url":"classes/Name.html#setOwner","classes":"","parent":"Name"},{"kind":2048,"name":"getResolver","url":"classes/Name.html#getResolver","classes":"","parent":"Name"},{"kind":2048,"name":"setResolver","url":"classes/Name.html#setResolver","classes":"","parent":"Name"},{"kind":2048,"name":"getTTL","url":"classes/Name.html#getTTL","classes":"","parent":"Name"},{"kind":2048,"name":"setTTL","url":"classes/Name.html#setTTL","classes":"","parent":"Name"},{"kind":2048,"name":"getResolverAddr","url":"classes/Name.html#getResolverAddr","classes":"","parent":"Name"},{"kind":2048,"name":"getAddress","url":"classes/Name.html#getAddress","classes":"","parent":"Name"},{"kind":2048,"name":"setAddress","url":"classes/Name.html#setAddress","classes":"","parent":"Name"},{"kind":2048,"name":"getContent","url":"classes/Name.html#getContent","classes":"","parent":"Name"},{"kind":2048,"name":"setContenthash","url":"classes/Name.html#setContenthash","classes":"","parent":"Name"},{"kind":2048,"name":"getText","url":"classes/Name.html#getText","classes":"","parent":"Name"},{"kind":2048,"name":"setText","url":"classes/Name.html#setText","classes":"","parent":"Name"},{"kind":2048,"name":"setSubnodeOwner","url":"classes/Name.html#setSubnodeOwner","classes":"","parent":"Name"},{"kind":2048,"name":"setSubnodeRecord","url":"classes/Name.html#setSubnodeRecord","classes":"","parent":"Name"},{"kind":2048,"name":"createSubdomain","url":"classes/Name.html#createSubdomain","classes":"","parent":"Name"},{"kind":2048,"name":"deleteSubdomain","url":"classes/Name.html#deleteSubdomain","classes":"","parent":"Name"},{"kind":128,"name":"Resolver","url":"classes/Resolver.html","classes":""},{"kind":512,"name":"constructor","url":"classes/Resolver.html#constructor","classes":"","parent":"Resolver"},{"kind":1024,"name":"mns","url":"classes/Resolver.html#mns","classes":"","parent":"Resolver"},{"kind":1024,"name":"provider","url":"classes/Resolver.html#provider","classes":"","parent":"Resolver"},{"kind":1024,"name":"address","url":"classes/Resolver.html#address","classes":"","parent":"Resolver"},{"kind":2048,"name":"name","url":"classes/Resolver.html#name","classes":"","parent":"Resolver"},{"kind":128,"name":"BaseResolver","url":"classes/BaseResolver.html","classes":""},{"kind":512,"name":"constructor","url":"classes/BaseResolver.html#constructor","classes":"","parent":"BaseResolver"},{"kind":2048,"name":"supportsInterface","url":"classes/BaseResolver.html#supportsInterface","classes":"","parent":"BaseResolver"},{"kind":128,"name":"PublicResolver","url":"classes/PublicResolver.html","classes":""},{"kind":512,"name":"constructor","url":"classes/PublicResolver.html#constructor","classes":"","parent":"PublicResolver"},{"kind":2048,"name":"setABI","url":"classes/PublicResolver.html#setABI","classes":"","parent":"PublicResolver"},{"kind":2048,"name":"ABI","url":"classes/PublicResolver.html#ABI-1","classes":"","parent":"PublicResolver"},{"kind":2048,"name":"setAddr","url":"classes/PublicResolver.html#setAddr","classes":"","parent":"PublicResolver"},{"kind":2048,"name":"setAddrByType","url":"classes/PublicResolver.html#setAddrByType","classes":"","parent":"PublicResolver"},{"kind":2048,"name":"addr","url":"classes/PublicResolver.html#addr","classes":"","parent":"PublicResolver"},{"kind":2048,"name":"addrByType","url":"classes/PublicResolver.html#addrByType","classes":"","parent":"PublicResolver"},{"kind":2048,"name":"setContenthash","url":"classes/PublicResolver.html#setContenthash","classes":"","parent":"PublicResolver"},{"kind":2048,"name":"contenthash","url":"classes/PublicResolver.html#contenthash","classes":"","parent":"PublicResolver"},{"kind":2048,"name":"setDNSRecords","url":"classes/PublicResolver.html#setDNSRecords","classes":"","parent":"PublicResolver"},{"kind":2048,"name":"dnsRecord","url":"classes/PublicResolver.html#dnsRecord","classes":"","parent":"PublicResolver"},{"kind":2048,"name":"hasDNSRecords","url":"classes/PublicResolver.html#hasDNSRecords","classes":"","parent":"PublicResolver"},{"kind":2048,"name":"clearDNSZone","url":"classes/PublicResolver.html#clearDNSZone","classes":"","parent":"PublicResolver"},{"kind":2048,"name":"setZoneHash","url":"classes/PublicResolver.html#setZoneHash","classes":"","parent":"PublicResolver"},{"kind":2048,"name":"zoneHash","url":"classes/PublicResolver.html#zoneHash","classes":"","parent":"PublicResolver"},{"kind":2048,"name":"setInterface","url":"classes/PublicResolver.html#setInterface","classes":"","parent":"PublicResolver"},{"kind":2048,"name":"interfaceImplementer","url":"classes/PublicResolver.html#interfaceImplementer","classes":"","parent":"PublicResolver"},{"kind":2048,"name":"setName","url":"classes/PublicResolver.html#setName","classes":"","parent":"PublicResolver"},{"kind":2048,"name":"name","url":"classes/PublicResolver.html#name","classes":"","parent":"PublicResolver"},{"kind":2048,"name":"setPubkey","url":"classes/PublicResolver.html#setPubkey","classes":"","parent":"PublicResolver"},{"kind":2048,"name":"pubkey","url":"classes/PublicResolver.html#pubkey","classes":"","parent":"PublicResolver"},{"kind":2048,"name":"setText","url":"classes/PublicResolver.html#setText","classes":"","parent":"PublicResolver"},{"kind":2048,"name":"text","url":"classes/PublicResolver.html#text","classes":"","parent":"PublicResolver"},{"kind":2048,"name":"supportsInterface","url":"classes/PublicResolver.html#supportsInterface","classes":"tsd-is-inherited","parent":"PublicResolver"},{"kind":128,"name":"DefaultReverseResolver","url":"classes/DefaultReverseResolver.html","classes":""},{"kind":512,"name":"constructor","url":"classes/DefaultReverseResolver.html#constructor","classes":"","parent":"DefaultReverseResolver"},{"kind":2048,"name":"setName","url":"classes/DefaultReverseResolver.html#setName","classes":"","parent":"DefaultReverseResolver"},{"kind":2048,"name":"name","url":"classes/DefaultReverseResolver.html#name","classes":"","parent":"DefaultReverseResolver"},{"kind":2048,"name":"supportsInterface","url":"classes/DefaultReverseResolver.html#supportsInterface","classes":"tsd-is-inherited","parent":"DefaultReverseResolver"},{"kind":4,"name":"profiles","url":"modules/profiles.html","classes":""},{"kind":256,"name":"ABIResolver","url":"interfaces/profiles.ABIResolver.html","classes":"","parent":"profiles"},{"kind":2048,"name":"setABI","url":"interfaces/profiles.ABIResolver.html#setABI","classes":"","parent":"profiles.ABIResolver"},{"kind":2048,"name":"ABI","url":"interfaces/profiles.ABIResolver.html#ABI","classes":"","parent":"profiles.ABIResolver"},{"kind":256,"name":"AddrResolver","url":"interfaces/profiles.AddrResolver.html","classes":"","parent":"profiles"},{"kind":2048,"name":"setAddr","url":"interfaces/profiles.AddrResolver.html#setAddr","classes":"","parent":"profiles.AddrResolver"},{"kind":2048,"name":"setAddrByType","url":"interfaces/profiles.AddrResolver.html#setAddrByType","classes":"","parent":"profiles.AddrResolver"},{"kind":2048,"name":"addr","url":"interfaces/profiles.AddrResolver.html#addr","classes":"","parent":"profiles.AddrResolver"},{"kind":2048,"name":"addrByType","url":"interfaces/profiles.AddrResolver.html#addrByType","classes":"","parent":"profiles.AddrResolver"},{"kind":256,"name":"ContentHashResolver","url":"interfaces/profiles.ContentHashResolver.html","classes":"","parent":"profiles"},{"kind":2048,"name":"setContenthash","url":"interfaces/profiles.ContentHashResolver.html#setContenthash","classes":"","parent":"profiles.ContentHashResolver"},{"kind":2048,"name":"contenthash","url":"interfaces/profiles.ContentHashResolver.html#contenthash","classes":"","parent":"profiles.ContentHashResolver"},{"kind":256,"name":"DNSResolver","url":"interfaces/profiles.DNSResolver.html","classes":"","parent":"profiles"},{"kind":2048,"name":"setDNSRecords","url":"interfaces/profiles.DNSResolver.html#setDNSRecords","classes":"","parent":"profiles.DNSResolver"},{"kind":2048,"name":"dnsRecord","url":"interfaces/profiles.DNSResolver.html#dnsRecord","classes":"","parent":"profiles.DNSResolver"},{"kind":2048,"name":"hasDNSRecords","url":"interfaces/profiles.DNSResolver.html#hasDNSRecords","classes":"","parent":"profiles.DNSResolver"},{"kind":2048,"name":"clearDNSZone","url":"interfaces/profiles.DNSResolver.html#clearDNSZone","classes":"","parent":"profiles.DNSResolver"},{"kind":2048,"name":"setZoneHash","url":"interfaces/profiles.DNSResolver.html#setZoneHash","classes":"","parent":"profiles.DNSResolver"},{"kind":2048,"name":"zoneHash","url":"interfaces/profiles.DNSResolver.html#zoneHash","classes":"","parent":"profiles.DNSResolver"},{"kind":256,"name":"InterfaceResolver","url":"interfaces/profiles.InterfaceResolver.html","classes":"","parent":"profiles"},{"kind":2048,"name":"setInterface","url":"interfaces/profiles.InterfaceResolver.html#setInterface","classes":"","parent":"profiles.InterfaceResolver"},{"kind":2048,"name":"interfaceImplementer","url":"interfaces/profiles.InterfaceResolver.html#interfaceImplementer","classes":"","parent":"profiles.InterfaceResolver"},{"kind":256,"name":"NameResolver","url":"interfaces/profiles.NameResolver.html","classes":"","parent":"profiles"},{"kind":2048,"name":"setName","url":"interfaces/profiles.NameResolver.html#setName","classes":"","parent":"profiles.NameResolver"},{"kind":2048,"name":"name","url":"interfaces/profiles.NameResolver.html#name","classes":"","parent":"profiles.NameResolver"},{"kind":256,"name":"PubkeyResolver","url":"interfaces/profiles.PubkeyResolver.html","classes":"","parent":"profiles"},{"kind":2048,"name":"setPubkey","url":"interfaces/profiles.PubkeyResolver.html#setPubkey","classes":"","parent":"profiles.PubkeyResolver"},{"kind":2048,"name":"pubkey","url":"interfaces/profiles.PubkeyResolver.html#pubkey","classes":"","parent":"profiles.PubkeyResolver"},{"kind":256,"name":"TextResolver","url":"interfaces/profiles.TextResolver.html","classes":"","parent":"profiles"},{"kind":2048,"name":"setText","url":"interfaces/profiles.TextResolver.html#setText","classes":"","parent":"profiles.TextResolver"},{"kind":2048,"name":"text","url":"interfaces/profiles.TextResolver.html#text","classes":"","parent":"profiles.TextResolver"},{"kind":4,"name":"registrars","url":"modules/registrars.html","classes":""},{"kind":4,"name":"ReverseRegistrar","url":"modules/registrars.ReverseRegistrar.html","classes":"","parent":"registrars"},{"kind":128,"name":"ReverseRegistrar","url":"classes/registrars.ReverseRegistrar.ReverseRegistrar.html","classes":"","parent":"registrars.ReverseRegistrar"},{"kind":512,"name":"constructor","url":"classes/registrars.ReverseRegistrar.ReverseRegistrar.html#constructor","classes":"","parent":"registrars.ReverseRegistrar.ReverseRegistrar"},{"kind":2048,"name":"mns","url":"classes/registrars.ReverseRegistrar.ReverseRegistrar.html#mns","classes":"","parent":"registrars.ReverseRegistrar.ReverseRegistrar"},{"kind":2048,"name":"defaultResolver","url":"classes/registrars.ReverseRegistrar.ReverseRegistrar.html#defaultResolver","classes":"","parent":"registrars.ReverseRegistrar.ReverseRegistrar"},{"kind":2048,"name":"claim","url":"classes/registrars.ReverseRegistrar.ReverseRegistrar.html#claim","classes":"","parent":"registrars.ReverseRegistrar.ReverseRegistrar"},{"kind":2048,"name":"claimForAddr","url":"classes/registrars.ReverseRegistrar.ReverseRegistrar.html#claimForAddr","classes":"","parent":"registrars.ReverseRegistrar.ReverseRegistrar"},{"kind":2048,"name":"claimWithResolver","url":"classes/registrars.ReverseRegistrar.ReverseRegistrar.html#claimWithResolver","classes":"","parent":"registrars.ReverseRegistrar.ReverseRegistrar"},{"kind":2048,"name":"claimWithResolverForAddr","url":"classes/registrars.ReverseRegistrar.ReverseRegistrar.html#claimWithResolverForAddr","classes":"","parent":"registrars.ReverseRegistrar.ReverseRegistrar"},{"kind":2048,"name":"setName","url":"classes/registrars.ReverseRegistrar.ReverseRegistrar.html#setName","classes":"","parent":"registrars.ReverseRegistrar.ReverseRegistrar"},{"kind":2048,"name":"setNameForAddr","url":"classes/registrars.ReverseRegistrar.ReverseRegistrar.html#setNameForAddr","classes":"","parent":"registrars.ReverseRegistrar.ReverseRegistrar"},{"kind":2048,"name":"node","url":"classes/registrars.ReverseRegistrar.ReverseRegistrar.html#node","classes":"","parent":"registrars.ReverseRegistrar.ReverseRegistrar"},{"kind":4,"name":"MrxRegistrar","url":"modules/registrars.MrxRegistrar.html","classes":"","parent":"registrars"},{"kind":128,"name":"MrxRegistrar","url":"classes/registrars.MrxRegistrar.MrxRegistrar.html","classes":"","parent":"registrars.MrxRegistrar"},{"kind":512,"name":"constructor","url":"classes/registrars.MrxRegistrar.MrxRegistrar.html#constructor","classes":"","parent":"registrars.MrxRegistrar.MrxRegistrar"},{"kind":2048,"name":"name","url":"classes/registrars.MrxRegistrar.MrxRegistrar.html#name","classes":"","parent":"registrars.MrxRegistrar.MrxRegistrar"},{"kind":2048,"name":"symbol","url":"classes/registrars.MrxRegistrar.MrxRegistrar.html#symbol","classes":"","parent":"registrars.MrxRegistrar.MrxRegistrar"},{"kind":2048,"name":"tokenURI","url":"classes/registrars.MrxRegistrar.MrxRegistrar.html#tokenURI","classes":"","parent":"registrars.MrxRegistrar.MrxRegistrar"},{"kind":2048,"name":"mns","url":"classes/registrars.MrxRegistrar.MrxRegistrar.html#mns","classes":"","parent":"registrars.MrxRegistrar.MrxRegistrar"},{"kind":2048,"name":"baseNode","url":"classes/registrars.MrxRegistrar.MrxRegistrar.html#baseNode","classes":"","parent":"registrars.MrxRegistrar.MrxRegistrar"},{"kind":2048,"name":"totalSupply","url":"classes/registrars.MrxRegistrar.MrxRegistrar.html#totalSupply","classes":"","parent":"registrars.MrxRegistrar.MrxRegistrar"},{"kind":2048,"name":"tokenOfOwnerByIndex","url":"classes/registrars.MrxRegistrar.MrxRegistrar.html#tokenOfOwnerByIndex","classes":"","parent":"registrars.MrxRegistrar.MrxRegistrar"},{"kind":2048,"name":"tokenByIndex","url":"classes/registrars.MrxRegistrar.MrxRegistrar.html#tokenByIndex","classes":"","parent":"registrars.MrxRegistrar.MrxRegistrar"},{"kind":2048,"name":"balanceOf","url":"classes/registrars.MrxRegistrar.MrxRegistrar.html#balanceOf","classes":"","parent":"registrars.MrxRegistrar.MrxRegistrar"},{"kind":2048,"name":"ownerOf","url":"classes/registrars.MrxRegistrar.MrxRegistrar.html#ownerOf","classes":"","parent":"registrars.MrxRegistrar.MrxRegistrar"},{"kind":2048,"name":"safeTransferFrom","url":"classes/registrars.MrxRegistrar.MrxRegistrar.html#safeTransferFrom","classes":"","parent":"registrars.MrxRegistrar.MrxRegistrar"},{"kind":2048,"name":"transferFrom","url":"classes/registrars.MrxRegistrar.MrxRegistrar.html#transferFrom","classes":"","parent":"registrars.MrxRegistrar.MrxRegistrar"},{"kind":2048,"name":"approve","url":"classes/registrars.MrxRegistrar.MrxRegistrar.html#approve","classes":"","parent":"registrars.MrxRegistrar.MrxRegistrar"},{"kind":2048,"name":"getApproved","url":"classes/registrars.MrxRegistrar.MrxRegistrar.html#getApproved","classes":"","parent":"registrars.MrxRegistrar.MrxRegistrar"},{"kind":2048,"name":"setApprovalForAll","url":"classes/registrars.MrxRegistrar.MrxRegistrar.html#setApprovalForAll","classes":"","parent":"registrars.MrxRegistrar.MrxRegistrar"},{"kind":2048,"name":"isApprovedForAll","url":"classes/registrars.MrxRegistrar.MrxRegistrar.html#isApprovedForAll","classes":"","parent":"registrars.MrxRegistrar.MrxRegistrar"},{"kind":2048,"name":"safeTransferFromData","url":"classes/registrars.MrxRegistrar.MrxRegistrar.html#safeTransferFromData","classes":"","parent":"registrars.MrxRegistrar.MrxRegistrar"},{"kind":2048,"name":"supportsInterface","url":"classes/registrars.MrxRegistrar.MrxRegistrar.html#supportsInterface","classes":"","parent":"registrars.MrxRegistrar.MrxRegistrar"},{"kind":2048,"name":"nameExpires","url":"classes/registrars.MrxRegistrar.MrxRegistrar.html#nameExpires","classes":"","parent":"registrars.MrxRegistrar.MrxRegistrar"},{"kind":2048,"name":"available","url":"classes/registrars.MrxRegistrar.MrxRegistrar.html#available","classes":"","parent":"registrars.MrxRegistrar.MrxRegistrar"},{"kind":2048,"name":"reclaim","url":"classes/registrars.MrxRegistrar.MrxRegistrar.html#reclaim","classes":"","parent":"registrars.MrxRegistrar.MrxRegistrar"},{"kind":4,"name":"MrxRegistrarController","url":"modules/registrars.MrxRegistrarController.html","classes":"","parent":"registrars"},{"kind":128,"name":"MrxRegistrarController","url":"classes/registrars.MrxRegistrarController.MrxRegistrarController.html","classes":"","parent":"registrars.MrxRegistrarController"},{"kind":512,"name":"constructor","url":"classes/registrars.MrxRegistrarController.MrxRegistrarController.html#constructor","classes":"","parent":"registrars.MrxRegistrarController.MrxRegistrarController"},{"kind":2048,"name":"MIN_REGISTRATION_DURATION","url":"classes/registrars.MrxRegistrarController.MrxRegistrarController.html#MIN_REGISTRATION_DURATION","classes":"","parent":"registrars.MrxRegistrarController.MrxRegistrarController"},{"kind":2048,"name":"supportsInterface","url":"classes/registrars.MrxRegistrarController.MrxRegistrarController.html#supportsInterface","classes":"","parent":"registrars.MrxRegistrarController.MrxRegistrarController"},{"kind":2048,"name":"minCommitmentAge","url":"classes/registrars.MrxRegistrarController.MrxRegistrarController.html#minCommitmentAge","classes":"","parent":"registrars.MrxRegistrarController.MrxRegistrarController"},{"kind":2048,"name":"maxCommitmentAge","url":"classes/registrars.MrxRegistrarController.MrxRegistrarController.html#maxCommitmentAge","classes":"","parent":"registrars.MrxRegistrarController.MrxRegistrarController"},{"kind":2048,"name":"commitments","url":"classes/registrars.MrxRegistrarController.MrxRegistrarController.html#commitments","classes":"","parent":"registrars.MrxRegistrarController.MrxRegistrarController"},{"kind":2048,"name":"rentPrice","url":"classes/registrars.MrxRegistrarController.MrxRegistrarController.html#rentPrice","classes":"","parent":"registrars.MrxRegistrarController.MrxRegistrarController"},{"kind":2048,"name":"valid","url":"classes/registrars.MrxRegistrarController.MrxRegistrarController.html#valid","classes":"","parent":"registrars.MrxRegistrarController.MrxRegistrarController"},{"kind":2048,"name":"available","url":"classes/registrars.MrxRegistrarController.MrxRegistrarController.html#available","classes":"","parent":"registrars.MrxRegistrarController.MrxRegistrarController"},{"kind":2048,"name":"makeCommitment","url":"classes/registrars.MrxRegistrarController.MrxRegistrarController.html#makeCommitment","classes":"","parent":"registrars.MrxRegistrarController.MrxRegistrarController"},{"kind":2048,"name":"makeCommitmentWithConfig","url":"classes/registrars.MrxRegistrarController.MrxRegistrarController.html#makeCommitmentWithConfig","classes":"","parent":"registrars.MrxRegistrarController.MrxRegistrarController"},{"kind":2048,"name":"commit","url":"classes/registrars.MrxRegistrarController.MrxRegistrarController.html#commit","classes":"","parent":"registrars.MrxRegistrarController.MrxRegistrarController"},{"kind":2048,"name":"register","url":"classes/registrars.MrxRegistrarController.MrxRegistrarController.html#register","classes":"","parent":"registrars.MrxRegistrarController.MrxRegistrarController"},{"kind":2048,"name":"registerWithConfig","url":"classes/registrars.MrxRegistrarController.MrxRegistrarController.html#registerWithConfig","classes":"","parent":"registrars.MrxRegistrarController.MrxRegistrarController"},{"kind":2048,"name":"renew","url":"classes/registrars.MrxRegistrarController.MrxRegistrarController.html#renew","classes":"","parent":"registrars.MrxRegistrarController.MrxRegistrarController"},{"kind":4,"name":"TestRegistrar","url":"modules/registrars.TestRegistrar.html","classes":"","parent":"registrars"},{"kind":128,"name":"TestRegistrar","url":"classes/registrars.TestRegistrar.TestRegistrar.html","classes":"","parent":"registrars.TestRegistrar"},{"kind":512,"name":"constructor","url":"classes/registrars.TestRegistrar.TestRegistrar.html#constructor","classes":"","parent":"registrars.TestRegistrar.TestRegistrar"},{"kind":2048,"name":"mns","url":"classes/registrars.TestRegistrar.TestRegistrar.html#mns","classes":"","parent":"registrars.TestRegistrar.TestRegistrar"},{"kind":2048,"name":"rootNode","url":"classes/registrars.TestRegistrar.TestRegistrar.html#rootNode","classes":"","parent":"registrars.TestRegistrar.TestRegistrar"},{"kind":2048,"name":"expiryTimes","url":"classes/registrars.TestRegistrar.TestRegistrar.html#expiryTimes","classes":"","parent":"registrars.TestRegistrar.TestRegistrar"},{"kind":2048,"name":"register","url":"classes/registrars.TestRegistrar.TestRegistrar.html#register","classes":"","parent":"registrars.TestRegistrar.TestRegistrar"},{"kind":32,"name":"CONTRACTS","url":"variables/CONTRACTS.html","classes":""},{"kind":65536,"name":"__type","url":"variables/CONTRACTS.html#__type","classes":"","parent":"CONTRACTS"},{"kind":1024,"name":"MainNet","url":"variables/CONTRACTS.html#__type.MainNet","classes":"","parent":"CONTRACTS.__type"},{"kind":1024,"name":"TestNet","url":"variables/CONTRACTS.html#__type.TestNet","classes":"","parent":"CONTRACTS.__type"}],"index":{"version":"2.3.9","fields":["name","comment"],"fieldVectors":[["name/0",[0,48.416]],["comment/0",[]],["name/1",[1,48.416]],["comment/1",[]],["name/2",[2,48.416]],["comment/2",[]],["name/3",[3,48.416]],["comment/3",[]],["name/4",[4,48.416]],["comment/4",[]],["name/5",[5,43.307]],["comment/5",[]],["name/6",[6,39.943]],["comment/6",[]],["name/7",[7,48.416]],["comment/7",[]],["name/8",[8,39.943]],["comment/8",[]],["name/9",[9,48.416]],["comment/9",[]],["name/10",[10,48.416]],["comment/10",[]],["name/11",[11,43.307]],["comment/11",[]],["name/12",[12,39.943]],["comment/12",[]],["name/13",[13,48.416]],["comment/13",[]],["name/14",[14,48.416]],["comment/14",[]],["name/15",[15,48.416]],["comment/15",[]],["name/16",[16,48.416]],["comment/16",[]],["name/17",[17,48.416]],["comment/17",[]],["name/18",[18,48.416]],["comment/18",[]],["name/19",[19,48.416]],["comment/19",[]],["name/20",[20,32.321]],["comment/20",[]],["name/21",[21,28.956]],["comment/21",[]],["name/22",[22,48.416]],["comment/22",[]],["name/23",[23,39.943]],["comment/23",[]],["name/24",[20,32.321]],["comment/24",[]],["name/25",[24,31.07]],["comment/25",[]],["name/26",[25,39.943]],["comment/26",[]],["name/27",[26,48.416]],["comment/27",[]],["name/28",[27,48.416]],["comment/28",[]],["name/29",[28,48.416]],["comment/29",[]],["name/30",[24,31.07]],["comment/30",[]],["name/31",[21,28.956]],["comment/31",[]],["name/32",[24,31.07]],["comment/32",[]],["name/33",[20,32.321]],["comment/33",[]],["name/34",[23,39.943]],["comment/34",[]],["name/35",[29,48.416]],["comment/35",[]],["name/36",[25,39.943]],["comment/36",[]],["name/37",[30,48.416]],["comment/37",[]],["name/38",[31,48.416]],["comment/38",[]],["name/39",[32,48.416]],["comment/39",[]],["name/40",[33,48.416]],["comment/40",[]],["name/41",[34,48.416]],["comment/41",[]],["name/42",[35,48.416]],["comment/42",[]],["name/43",[36,48.416]],["comment/43",[]],["name/44",[37,48.416]],["comment/44",[]],["name/45",[38,48.416]],["comment/45",[]],["name/46",[39,48.416]],["comment/46",[]],["name/47",[40,39.943]],["comment/47",[]],["name/48",[41,48.416]],["comment/48",[]],["name/49",[42,39.943]],["comment/49",[]],["name/50",[43,48.416]],["comment/50",[]],["name/51",[44,48.416]],["comment/51",[]],["name/52",[45,48.416]],["comment/52",[]],["name/53",[46,48.416]],["comment/53",[]],["name/54",[25,39.943]],["comment/54",[]],["name/55",[21,28.956]],["comment/55",[]],["name/56",[20,32.321]],["comment/56",[]],["name/57",[23,39.943]],["comment/57",[]],["name/58",[47,48.416]],["comment/58",[]],["name/59",[24,31.07]],["comment/59",[]],["name/60",[48,48.416]],["comment/60",[]],["name/61",[21,28.956]],["comment/61",[]],["name/62",[49,35.423]],["comment/62",[]],["name/63",[11,43.307]],["comment/63",[]],["name/64",[21,28.956]],["comment/64",[]],["name/65",[50,43.307]],["comment/65",[]],["name/66",[51,43.307]],["comment/66",[]],["name/67",[52,43.307]],["comment/67",[]],["name/68",[53,43.307]],["comment/68",[]],["name/69",[54,43.307]],["comment/69",[]],["name/70",[55,43.307]],["comment/70",[]],["name/71",[40,39.943]],["comment/71",[]],["name/72",[56,43.307]],["comment/72",[]],["name/73",[57,43.307]],["comment/73",[]],["name/74",[58,43.307]],["comment/74",[]],["name/75",[59,43.307]],["comment/75",[]],["name/76",[60,43.307]],["comment/76",[]],["name/77",[61,43.307]],["comment/77",[]],["name/78",[62,43.307]],["comment/78",[]],["name/79",[63,43.307]],["comment/79",[]],["name/80",[64,43.307]],["comment/80",[]],["name/81",[65,37.429]],["comment/81",[]],["name/82",[24,31.07]],["comment/82",[]],["name/83",[66,43.307]],["comment/83",[]],["name/84",[67,43.307]],["comment/84",[]],["name/85",[42,39.943]],["comment/85",[]],["name/86",[68,43.307]],["comment/86",[]],["name/87",[49,35.423]],["comment/87",[]],["name/88",[5,43.307]],["comment/88",[]],["name/89",[21,28.956]],["comment/89",[]],["name/90",[65,37.429]],["comment/90",[]],["name/91",[24,31.07]],["comment/91",[]],["name/92",[49,35.423]],["comment/92",[]],["name/93",[69,48.416]],["comment/93",[]],["name/94",[70,48.416]],["comment/94",[]],["name/95",[50,43.307]],["comment/95",[]],["name/96",[51,43.307]],["comment/96",[]],["name/97",[71,48.416]],["comment/97",[]],["name/98",[52,43.307]],["comment/98",[]],["name/99",[53,43.307]],["comment/99",[]],["name/100",[54,43.307]],["comment/100",[]],["name/101",[55,43.307]],["comment/101",[]],["name/102",[72,48.416]],["comment/102",[]],["name/103",[40,39.943]],["comment/103",[]],["name/104",[56,43.307]],["comment/104",[]],["name/105",[73,48.416]],["comment/105",[]],["name/106",[57,43.307]],["comment/106",[]],["name/107",[58,43.307]],["comment/107",[]],["name/108",[59,43.307]],["comment/108",[]],["name/109",[60,43.307]],["comment/109",[]],["name/110",[61,43.307]],["comment/110",[]],["name/111",[62,43.307]],["comment/111",[]],["name/112",[74,48.416]],["comment/112",[]],["name/113",[63,43.307]],["comment/113",[]],["name/114",[64,43.307]],["comment/114",[]],["name/115",[75,48.416]],["comment/115",[]],["name/116",[65,37.429]],["comment/116",[]],["name/117",[24,31.07]],["comment/117",[]],["name/118",[76,48.416]],["comment/118",[]],["name/119",[66,43.307]],["comment/119",[]],["name/120",[67,43.307]],["comment/120",[]],["name/121",[77,48.416]],["comment/121",[]],["name/122",[42,39.943]],["comment/122",[]],["name/123",[68,43.307]],["comment/123",[]],["name/124",[78,48.416]],["comment/124",[]],["name/125",[6,39.943]],["comment/125",[]],["name/126",[6,39.943]],["comment/126",[]],["name/127",[21,28.956]],["comment/127",[]],["name/128",[20,32.321]],["comment/128",[]],["name/129",[79,48.416]],["comment/129",[]],["name/130",[80,48.416]],["comment/130",[]],["name/131",[81,48.416]],["comment/131",[]],["name/132",[82,48.416]],["comment/132",[]],["name/133",[83,48.416]],["comment/133",[]],["name/134",[65,37.429]],["comment/134",[]],["name/135",[84,48.416]],["comment/135",[]],["name/136",[85,48.416]],["comment/136",[]],["name/137",[86,43.307]],["comment/137",[]],["name/138",[86,43.307]],["comment/138",[]],["name/139",[21,28.956]],["comment/139",[]],["name/140",[24,31.07]],["comment/140",[]],["name/141",[87,48.416]],["comment/141",[]],["name/142",[88,48.416]],["comment/142",[]],["name/143",[20,32.321]],["comment/143",[]],["name/144",[89,48.416]],["comment/144",[]],["name/145",[90,48.416]],["comment/145",[]],["name/146",[91,48.416]],["comment/146",[]],["name/147",[92,48.416]],["comment/147",[]],["name/148",[93,48.416]],["comment/148",[]],["name/149",[94,48.416]],["comment/149",[]],["name/150",[95,48.416]],["comment/150",[]],["name/151",[96,48.416]],["comment/151",[]],["name/152",[97,48.416]],["comment/152",[]],["name/153",[98,48.416]],["comment/153",[]],["name/154",[99,48.416]],["comment/154",[]],["name/155",[100,48.416]],["comment/155",[]],["name/156",[101,48.416]],["comment/156",[]],["name/157",[49,35.423]],["comment/157",[]],["name/158",[102,48.416]],["comment/158",[]],["name/159",[103,43.307]],["comment/159",[]],["name/160",[104,48.416]],["comment/160",[]],["name/161",[8,39.943]],["comment/161",[]],["name/162",[8,39.943]],["comment/162",[]],["name/163",[21,28.956]],["comment/163",[]],["name/164",[105,48.416]],["comment/164",[]],["name/165",[49,35.423]],["comment/165",[]],["name/166",[106,48.416]],["comment/166",[]],["name/167",[107,48.416]],["comment/167",[]],["name/168",[108,48.416]],["comment/168",[]],["name/169",[109,48.416]],["comment/169",[]],["name/170",[110,48.416]],["comment/170",[]],["name/171",[103,43.307]],["comment/171",[]],["name/172",[111,48.416]],["comment/172",[]],["name/173",[112,48.416]],["comment/173",[]],["name/174",[113,48.416]],["comment/174",[]],["name/175",[114,43.307]],["comment/175",[]],["name/176",[115,48.416]],["comment/176",[]],["name/177",[116,48.416]],["comment/177",[]],["name/178",[12,39.943]],["comment/178",[]],["name/179",[12,39.943]],["comment/179",[]],["name/180",[21,28.956]],["comment/180",[]],["name/181",[20,32.321]],["comment/181",[]],["name/182",[117,48.416]],["comment/182",[]],["name/183",[118,48.416]],["comment/183",[]],["name/184",[114,43.307]],["comment/184",[]],["name/185",[119,48.416]],["comment/185",[]],["name/186",[120,48.416]],["comment/186",[]],["name/187",[121,48.416]],["comment/187",[]],["name/188",[122,48.416]],["comment/188",[]]],"invertedIndex":[["__type",{"_index":120,"name":{"186":{}},"comment":{}}],["abi",{"_index":51,"name":{"66":{},"96":{}},"comment":{}}],["abiresolver",{"_index":70,"name":{"94":{}},"comment":{}}],["addr",{"_index":54,"name":{"69":{},"100":{}},"comment":{}}],["addrbytype",{"_index":55,"name":{"70":{},"101":{}},"comment":{}}],["address",{"_index":47,"name":{"58":{}},"comment":{}}],["addrresolver",{"_index":71,"name":{"97":{}},"comment":{}}],["approve",{"_index":97,"name":{"152":{}},"comment":{}}],["available",{"_index":103,"name":{"159":{},"171":{}},"comment":{}}],["balanceof",{"_index":93,"name":{"148":{}},"comment":{}}],["basenode",{"_index":89,"name":{"144":{}},"comment":{}}],["baseregistrarimplementation",{"_index":7,"name":{"7":{}},"comment":{}}],["baseresolver",{"_index":48,"name":{"60":{}},"comment":{}}],["claim",{"_index":80,"name":{"130":{}},"comment":{}}],["claimforaddr",{"_index":81,"name":{"131":{}},"comment":{}}],["claimwithresolver",{"_index":82,"name":{"132":{}},"comment":{}}],["claimwithresolverforaddr",{"_index":83,"name":{"133":{}},"comment":{}}],["cleardnszone",{"_index":60,"name":{"76":{},"109":{}},"comment":{}}],["commit",{"_index":113,"name":{"174":{}},"comment":{}}],["commitments",{"_index":108,"name":{"168":{}},"comment":{}}],["constructor",{"_index":21,"name":{"21":{},"31":{},"55":{},"61":{},"64":{},"89":{},"127":{},"139":{},"163":{},"180":{}},"comment":{}}],["contenthash",{"_index":56,"name":{"72":{},"104":{}},"comment":{}}],["contenthashresolver",{"_index":72,"name":{"102":{}},"comment":{}}],["contracts",{"_index":119,"name":{"185":{}},"comment":{}}],["createsubdomain",{"_index":45,"name":{"52":{}},"comment":{}}],["defaultresolver",{"_index":79,"name":{"129":{}},"comment":{}}],["defaultreverseresolver",{"_index":5,"name":{"5":{},"88":{}},"comment":{}}],["deletesubdomain",{"_index":46,"name":{"53":{}},"comment":{}}],["deployment",{"_index":1,"name":{"1":{}},"comment":{}}],["dnsrecord",{"_index":58,"name":{"74":{},"107":{}},"comment":{}}],["dnsresolver",{"_index":73,"name":{"105":{}},"comment":{}}],["dummyoracle",{"_index":14,"name":{"14":{}},"comment":{}}],["expirytimes",{"_index":118,"name":{"183":{}},"comment":{}}],["getaddress",{"_index":37,"name":{"44":{}},"comment":{}}],["getapproved",{"_index":98,"name":{"153":{}},"comment":{}}],["getcontent",{"_index":39,"name":{"46":{}},"comment":{}}],["getmnsaddress",{"_index":16,"name":{"16":{}},"comment":{}}],["getmnscontract",{"_index":17,"name":{"17":{}},"comment":{}}],["getname",{"_index":26,"name":{"27":{}},"comment":{}}],["getnamewithresolver",{"_index":27,"name":{"28":{}},"comment":{}}],["getowner",{"_index":30,"name":{"37":{}},"comment":{}}],["getresolver",{"_index":32,"name":{"39":{}},"comment":{}}],["getresolveraddr",{"_index":36,"name":{"43":{}},"comment":{}}],["getresolvercontract",{"_index":18,"name":{"18":{}},"comment":{}}],["getreverseregistrarcontract",{"_index":19,"name":{"19":{}},"comment":{}}],["gettext",{"_index":41,"name":{"48":{}},"comment":{}}],["getttl",{"_index":34,"name":{"41":{}},"comment":{}}],["hasdnsrecords",{"_index":59,"name":{"75":{},"108":{}},"comment":{}}],["hash",{"_index":29,"name":{"35":{}},"comment":{}}],["interfaceimplementer",{"_index":64,"name":{"80":{},"114":{}},"comment":{}}],["interfaceresolver",{"_index":74,"name":{"112":{}},"comment":{}}],["isapprovedforall",{"_index":100,"name":{"155":{}},"comment":{}}],["labelhash",{"_index":15,"name":{"15":{}},"comment":{}}],["mainnet",{"_index":121,"name":{"187":{}},"comment":{}}],["makecommitment",{"_index":111,"name":{"172":{}},"comment":{}}],["makecommitmentwithconfig",{"_index":112,"name":{"173":{}},"comment":{}}],["maxcommitmentage",{"_index":107,"name":{"167":{}},"comment":{}}],["min_registration_duration",{"_index":105,"name":{"164":{}},"comment":{}}],["mincommitmentage",{"_index":106,"name":{"166":{}},"comment":{}}],["mns",{"_index":20,"name":{"20":{},"24":{},"33":{},"56":{},"128":{},"143":{},"181":{}},"comment":{}}],["mnsmigrations",{"_index":2,"name":{"2":{}},"comment":{}}],["mnsregistry",{"_index":3,"name":{"3":{}},"comment":{}}],["mnsregistrywithfallback",{"_index":4,"name":{"4":{}},"comment":{}}],["mrxregistrar",{"_index":86,"name":{"137":{},"138":{}},"comment":{}}],["mrxregistrarcontroller",{"_index":8,"name":{"8":{},"161":{},"162":{}},"comment":{}}],["mrxtousdoracle",{"_index":13,"name":{"13":{}},"comment":{}}],["name",{"_index":24,"name":{"25":{},"30":{},"32":{},"59":{},"82":{},"91":{},"117":{},"140":{}},"comment":{}}],["nameexpires",{"_index":102,"name":{"158":{}},"comment":{}}],["namehash",{"_index":0,"name":{"0":{}},"comment":{}}],["nameresolver",{"_index":75,"name":{"115":{}},"comment":{}}],["namewrapper",{"_index":10,"name":{"10":{}},"comment":{}}],["network",{"_index":22,"name":{"22":{}},"comment":{}}],["node",{"_index":85,"name":{"136":{}},"comment":{}}],["ownerof",{"_index":94,"name":{"149":{}},"comment":{}}],["profiles",{"_index":69,"name":{"93":{}},"comment":{}}],["provider",{"_index":23,"name":{"23":{},"34":{},"57":{}},"comment":{}}],["pubkey",{"_index":67,"name":{"84":{},"120":{}},"comment":{}}],["pubkeyresolver",{"_index":76,"name":{"118":{}},"comment":{}}],["publicresolver",{"_index":11,"name":{"11":{},"63":{}},"comment":{}}],["reclaim",{"_index":104,"name":{"160":{}},"comment":{}}],["register",{"_index":114,"name":{"175":{},"184":{}},"comment":{}}],["registerwithconfig",{"_index":115,"name":{"176":{}},"comment":{}}],["registrars",{"_index":78,"name":{"124":{}},"comment":{}}],["renew",{"_index":116,"name":{"177":{}},"comment":{}}],["rentprice",{"_index":109,"name":{"169":{}},"comment":{}}],["resolver",{"_index":25,"name":{"26":{},"36":{},"54":{}},"comment":{}}],["reverseregistrar",{"_index":6,"name":{"6":{},"125":{},"126":{}},"comment":{}}],["rootnode",{"_index":117,"name":{"182":{}},"comment":{}}],["safetransferfrom",{"_index":95,"name":{"150":{}},"comment":{}}],["safetransferfromdata",{"_index":101,"name":{"156":{}},"comment":{}}],["setabi",{"_index":50,"name":{"65":{},"95":{}},"comment":{}}],["setaddr",{"_index":52,"name":{"67":{},"98":{}},"comment":{}}],["setaddrbytype",{"_index":53,"name":{"68":{},"99":{}},"comment":{}}],["setaddress",{"_index":38,"name":{"45":{}},"comment":{}}],["setapprovalforall",{"_index":99,"name":{"154":{}},"comment":{}}],["setcontenthash",{"_index":40,"name":{"47":{},"71":{},"103":{}},"comment":{}}],["setdnsrecords",{"_index":57,"name":{"73":{},"106":{}},"comment":{}}],["setinterface",{"_index":63,"name":{"79":{},"113":{}},"comment":{}}],["setname",{"_index":65,"name":{"81":{},"90":{},"116":{},"134":{}},"comment":{}}],["setnameforaddr",{"_index":84,"name":{"135":{}},"comment":{}}],["setowner",{"_index":31,"name":{"38":{}},"comment":{}}],["setpubkey",{"_index":66,"name":{"83":{},"119":{}},"comment":{}}],["setresolver",{"_index":33,"name":{"40":{}},"comment":{}}],["setreverserecord",{"_index":28,"name":{"29":{}},"comment":{}}],["setsubnodeowner",{"_index":43,"name":{"50":{}},"comment":{}}],["setsubnoderecord",{"_index":44,"name":{"51":{}},"comment":{}}],["settext",{"_index":42,"name":{"49":{},"85":{},"122":{}},"comment":{}}],["setttl",{"_index":35,"name":{"42":{}},"comment":{}}],["setzonehash",{"_index":61,"name":{"77":{},"110":{}},"comment":{}}],["staticmetadataservice",{"_index":9,"name":{"9":{}},"comment":{}}],["supportsinterface",{"_index":49,"name":{"62":{},"87":{},"92":{},"157":{},"165":{}},"comment":{}}],["symbol",{"_index":87,"name":{"141":{}},"comment":{}}],["testnet",{"_index":122,"name":{"188":{}},"comment":{}}],["testregistrar",{"_index":12,"name":{"12":{},"178":{},"179":{}},"comment":{}}],["text",{"_index":68,"name":{"86":{},"123":{}},"comment":{}}],["textresolver",{"_index":77,"name":{"121":{}},"comment":{}}],["tokenbyindex",{"_index":92,"name":{"147":{}},"comment":{}}],["tokenofownerbyindex",{"_index":91,"name":{"146":{}},"comment":{}}],["tokenuri",{"_index":88,"name":{"142":{}},"comment":{}}],["totalsupply",{"_index":90,"name":{"145":{}},"comment":{}}],["transferfrom",{"_index":96,"name":{"151":{}},"comment":{}}],["valid",{"_index":110,"name":{"170":{}},"comment":{}}],["zonehash",{"_index":62,"name":{"78":{},"111":{}},"comment":{}}]],"pipeline":[]}}' -); +window.searchData = + 'data:application/octet-stream;base64,H4sIAAAAAAAACsVdW3PbOJP9L8qrxlHzTr/l8s1uqjbOVOzZb2tdqRQt0Q4r1KVIKoknlf++BfDWABpkU5SyT5kxgdMN8KDR6EORPxfF/nu5uL7/ufia7TaLa9dZLnbJNl1cy3++JOWXxXJxLPLF9eJbUmTJQ56WL9tLV1+qbb5YLtZ5UpZpubheLH4tWyjHDzqst+kh3z9v013VoWW7Ki0ek3VavuyvDgLCyvE6xPc3t++zpyKpsv2uZIC+0DsgE8vFISmEb4qjdsMf06esrIpnplnU/AxG/51VX/5M8vwhWX+d6IDW9VRn3qaPyTGvPqbf0qJMP6blPv+WFhxfrD1PdaVDkgNMWE4QfU41/zpBOO+2hzwVrSXFOJ4Mdz+ZKx//pwN9s99VxT7PebfH2vNUV27FYNbv0yrZJFVymxbfsnXK8cTW8VRHbpJt+u8iORx4E6E2P9XoX8eHPFtPWR9Gj1NN36VlNWlR6B1mkK/a/3379kORrHPWrTZ6nByWjtvtM9+u2nyC0aA3mScPaa7skY/H3VruMC+7a4N7GgJ7Sqv3N7evNpsiLUsCULk+DVQu5mRdWVHbBhNgW5YOY+utJhlQ4/SYIbr1cEbhRHiL7ZCbxi/f39wO9vehT5fW+11ZFcd1tS+sOC/URjTphCMWiu/S6vu++GrH7xtMxj4U+2/ZJh1wHrWYjL5FSZoBvB1IyFRMZ+VFSoI6MBX11cmohR6vDeRiLD4PoD+l1c2g232DU7FFlmdsOjY7WuPJNku08tb7YmM3SLRksQgtUXLmxB/Pskg7INYqlb7Ylumgn8PMHMKlFlEPO7SKhlCtC7+HHl35Q/jK/mhiN5en41oXao89ulI1fH05ffi+G8RHTabjl+P45Rx8tPsOD2F0/Y+MgmGlnGnlKa3u7v5reBh1g5NGMIxdno6NZlckbrz70LQ8yZqePpKG+kYnzda4jXKejae0EukbrhaR4+gbnTSOpvtIfDIansbe9MfIYJoWp/F3GL2ch357fNjtNykjWGkt51izpBOUuZF8YsjeukiTKr09Pmz22yTbDeUERsvp1jZpnvKsmS15+yNKlqxRub1wlqRJAWMlTp1fE5Ic1cpQojOGbk12VBOjCc+YncQSI1UzyUiQJKyMn4BUE4PJJjUKRKG6PmmhEb54FioZgCw6KT7aosrxcNgXVfmurQYxbFN9JnmAJ9JSCWytq5fPMpkEJGs6NU8HkoDX71hGu6Zz7HGNvXr97g84w9ioVM02uKFkbZLF1893zweTmgN2ux5zrCfcwSbzR5pMG2ZyrjGOJHuWKeakfTz764nG12ezXKbVWyEAigzJ3I0sA1d6zLG+2ZWWPI6yjFvPsfolKSeOWe8x617naVK8vbn93/2Ox3Ktw8y7LVD+cwLJUfs5lv+ZYvaf89gs08q+o1uGO76d82x3wlIn2/L29ReWjjPngayMWqZgsLzMs0jmnZS5weyTPbq/jg9f02fu+LrWc6we+CYP57BnO8Rbxjh4nOdZrLjmqvm2xhNwcpyDKXhVbv7Iyj+y3Ze0yKp0w/IKJ+Ujj7G0ntHNzpKkD0CzknXLCCaGiSEvxsLFNA/IsDFkfjB8TBz9KAUH5+FkKo56qdQmHrM87VOW7X5zFI/btRfYj9u9ev1u6LGTDg+1I7DRKDrXeAdCjq2xkyHVkXM+ZNmeYxjP82ZT8CYaNZw/0/jExrI2elAlu047r05yZORUN8mdZPp0DB5lJxs/aSIYZ9tRRxATm7OqyKpZhCTaz+YldcSeYpt75h4CmnICn+Qb50jOdQw/GC2OnYz7hdrNvk/E4ZhjklkZoPrz6wMsR8YLBVOcoMsFLEd4dYMpzpDVA5YvrDLCFFeoYgKXJ6NVhSmOGLUFlhejRYYxF9Aq7dI+1lo1Ws9esWbSyrfLq3rYQU6qgExwb1JBhOcmunPi9MK6abjh7PulnLNY1kZPWmRX1kGLZ3/wqDVqHM14XX5hzbnadPasa2UipkVGycjSnVk74voxUkdiOIHugigQse4Bbjj7DiglLJa10WIW2ZVV0+LZH6xujRnHDyM2z52bp/f+0uD5nfGjJgJRbzt8C5GXtodGLKbbIsmQ6VN9MTqeUEqb7BerwDYF1cZJ6nmW6d4OPfNyDi83bZnKUgWd7rGJeDnv13mSbc/BiQbnwp7+uaefBj3R4R7uwn4P/rLgROdZP0C4yAjOfBdo6MuNx1bOn+7+WOp5Rm/PN+cG4OV8F8+YnsHjBuasfqIfXhY/WAkDbjczWSBNEvOjmDzFvtJpXnIw7MvUpMCKNkkB47s3eEib41f5vH3Y5zM86wDO71u1/5ru/v5oPgHI9w5BnN+/kQRvxDVmYjfZq4ekTG9GAteIawjiEne1SvLb4+GQm09ZTLmxGOVC3PvwKH/Q8Pr53W6T/phLQwPtQl6fyd1L+vmQ5MlunX54nEXSHuP8Hu7FrZrlX49wgaidPKZ3RbIrH9Piz2I/eAIai98m1AV4eR5fq0v7mRzE7z/mhM4e4fzeiR/w1fDmY7V8D1WUC3CzxU9ykaPns5ILAuv8HmdlOyGzHSagLr/63yZVcsYI0MBdwO/RJ7EmOM3+lc7crP1fPw5Zkc7J9FSUC0Stb0mWi/ezzYlbCOP8HhbpaKFuxL8e4Sze0cdn4qVZIwfpvscZj9SEGyMThtyY552l+/mO3jxP5xzHRy3YSPr+3c3nj//6j3e3dx9f3b37cPP57d/1f5x5bEN2fs9ITw7EzBHODs4nj2yb7d7st9usEo8TvHo698AI+N80ruTHRcdlwv+eca07q+wNlh1BMPLvGY2A/avIzr6eMO7vGcm3JM/YhwzmKFrM3zOCyUkRcxQnJ0oz1v7XtF+dZ1/5Gvj/x5iEgvZmv3vMni46OsXM74xvFwltvzGqiabnTkZfINjfO46LsY008Nt2nvT7+XcdiXmxEYy9tZY4eykNZx65aKPE3KlGT3JB7TXvODXmztTD0wDeicrXqIdM7esEz4r9vhpTv0bdQyCX8DEVtaDnu2w7XFUadVPFuchsMkL/+GxOCPQ8H9G3Ct58uLn7+OrNXf8K3/5jBd21wccvA993+8dnP3+u8E+6bGAvunb0kHq3UOxRXpedZLubtOIauurbjxi8ajyz2BVTOsVu355r99NykUnh8PrnQjy+It5pf71wrtyreLFcPGZpvhHfnWifiBDJTJ15bvbro/zPT02z/05FCBON69YvV4vl/WrpRVceBJ8+Le/bzvKC/EOL0f9FdoTF8h6ojmB0BKWjs1jeO1RHx+joKB3dxfLepTq6RkdX6egtlvce1dEzOnpKR3+xvPeXnnvlrkKlo2909JWOwWJ5Hyzd+Cr2XKVjYHQMlI7hYnkfUq6GRsdQ6RgtlvcRZTEyOkZKx3ixvI8pi7HRMVYJIPgAJHfAJA9o7JH0AWpugSCQyiAQvACHGi2YJAKVRSC4ASSPwCQSqEwCwQ8guQQmmUBlEwiOgE92NgkFKqNA8AQCsrNJKlBZBYIrQPIKTGKByiwQfIGI7GySC1R2geAMkPwCk2CgMswRnHFWS9e5ch1QY4XJMEdlmCM448DSia5iXws0JsMcLUbJIEVHKSJMqQxzBGccl6KnYzLMURnmePYxmwxzVIY5gjOOt3ThSltUjkkwRyWYIyjj+KTXJsEclWCOoIxDstMxCeaoBHMEZRySnY5JMEclmCMo45DsdEyCOSrB3JVtvlyTX67KL9fOL9fkl6vyy3Wshk16udo26FoZ4hI7oUov17Ny0zXp5ar0ciW9yMXsmvxyVX65dn65Jr9clV+uYIxL7jWuyS9X5ZcrGOOSuYpr8stV+eUKxrhkJHBNfrkqvzxBGZfcazyTYJ5KME9QxqXzFpNgnkowT3DGJfcaz2SYpzLMk5kWuZo9k2GelmwJzrjkavaIfEtlmCc445Kr2TMZ5qkM8wRnXJKenskwT2WYJzjjrSh6eibDPJVhnuCMRzLMMxnmqQzzBGc8MpvxTIZ5KsN8wRmPZJhvMsxXGeYLzngkw3yTYb7KMF9wxiMZ5psM81WG+YIzHskw32SYrzLM96yRxDcZ5mspvW8N2z6R1asM8wNr6PVNhvkqw/zQGnp9k2G+yjBfMoxcVb7JMF9lmB/bdhvfJJivEiyQBCNXZGASLFAJFtj3yMAkWKASLJAEi5euf+U52inKJFigEixwreeLwCRYoBIs8OxumwQLVIIF8tC4Ii2bBAu0c6OgjE+7TRwdVYIFgjK+Q3Y2CRaoBAsEZXyX7GwSLFAJFgjO+B7Z2WRYoDIsFJzxyWN2aDIsVBkWgjVshybDQpVhoeCMH5CWTYaFKsNCwRk/JDubDAtVhoWCM35EdjYZFqoMCyXDYrKzybBQZVgoSxMkPUOTYaFWnRCcCUh6hkSBQmVYKDgTkPQMTYaFKsNCwZmApGdoMixUGRYJzgQkPSOTYZHKsEhwJvCXbnjlObHa2WRYpDIssub5kUmwSCVYJCgTkOyMTIJFKsEiQZmAZGdkEixSCRb51owkMgkWqQSLJMFIakcmwSKVYFFojfmRSbBIK4FFtnJdRBTBVH5FsTXkRya/IpVf8cpKkdjkV6zyKwYbRWKTXrFKr9i+RcYmv2KVX7HkF136M/kVq/yKBWNC8kAWm/yKVX7F9i0yNvkVq/yK7VtkbPIrVvkVy/oqmajHJr9ilV9xZN1fY5NgsVZmja37a0xUWvVS68q6wdbX1O7ob01/sO6x9TW9v1ZwXQnqhOQpuL6m99dqrivXuk3X1/T+Wtl15Vl36vqa3l+rvK4Eh0K66Lsiaq8rrfi6CqybfX1N76/VX1ehdb+vr+n9tRLsKrJu+fU1vb9WhV3F1l2/vqb31/gnq/f0xg9Usd+o9oN17wey3q/xT9bwQ7ruTpX89Zq/LOPT6QNQVX+97C8r+XQGAVThX6/8y2J+SJf+qdq/XvyX9Xx6hwGq/K/X/2VJn9xkgBIAdAVAFvVDWnygNABdBJB1fTqVAUoG0HQAkKV9OpsBQgkATQoAWd0Paf2DEANAUwNAFvjphAgIPQA0QQBkjZ/OiYCQBEDTBECW+UNagiFUAdBkAZClflKPBEIYAE0ZAMcqZwIhDYCmDUAtDpC5FRDqAGjyANT6AFl1AUIgAE0hAFn0D2kNitAIQBMJQBb+I1roJHQC0IQCkLX/iNbKCakANK0AZP0/ojdfQi4ATS8AKQFEFsWTkjw19kkVwBJ8CNEANNUApBAQ0cGb0A1AEw5AagERHTwJ6QA07QCkHBDR0YdQD0CTD0AqArb+BP80BQFc+9kCCA0BNBEBPKtKBYSKAJqMAFIZiOjgRwgJoCkJIMWBiA4+hJYAmpgAnl2vAkJOAE1PACkRRPTyJRQF0CQFkCpBTC9fQlQATVUAKRTE9PIldAXQhAWQWkFML19CWgBNWwApF8T08iXUBdDkBZCKQWx5ZoGgn6YwgBQNYstjCwT/NJEBpG4Q08kDITOApjOAlA5imr+E0gCa1ABSPYhp/hJiA2hqA0gBIab5R+gNoAkOIDUEWNEEJDQH0EQHkDoCrGgGEroDaMID+PaqChDSA2jaA0g5AVY0hQn5ATT9AaSmACs6/yY0CNBECAjqZ41oEhM6BGhCBEhtgXw+CgglAjQpAqS6YOlOUFATI0DqC5YdgJAjQNMjQEoMsKLXICFJgKZJgJQZLAwgVAnQZAkIagpaHj+inj/SKCjVBljRq5hQJ0CTJyCoOUgvY0KhAE2igKDmIL2OCZUCNJkCpPIAlgfeCKUCNKkCpPpgWwWEWgGaXAFSgQCgAwGhWIAmWUBYq2L0QiZUC9BkC5BKBFieniOUC9CkC5BqBAB9kibUC9DkC5CKBFieoiMUDNAkDJCqBFiepCNUDNBkDJDKhOXpQ0LIAE3JAClO2PoTPNTEDJD6hCWYEHIGaHoGSInCko8RigZokgZENQvppUzIGqDpGhDVLLQ8UUiwUNM2IPIGSETIG6DpGxDVLKRjASFxgKZxgJQtwKFjASFzgKZzgJQuwKGXMiF1gKZ1QFSzkF7KhN7R/k0+Sv4tLap0U7+LSjwJ3j55/3PxuXnOXIxNWhKPnAvvr3/++tU/WX798xd6uFxcE8aShwxj+NBDBEHdJ2YjFd17THvEEDkVezwk+UJL5JSHnIrrTqJczsV6eNanyvd7xHDVIgIbUX6zuofzwh7Oj9go5HShGxCHPKj2XUs9SowcEsk1C6b/RS/i1MrFSO3kh7ypat5Ntn9UfMOIHm+2xJv46teH9jhRjHF4zBI43c9ssvZ7C0klfpyBbwJixwRc8272vyH6uQh4hG3e74LGiVe1OwHkcV/oKykCjMW7iRLre1Z9oQYYORiQRzQDkHIUk8R1mbhpUmx25T/yAzA9VoAmMAzaxR7zMJvfGKMVAdi1kMe7NX4LA15diB8i++VhoZ819lgOurUO1H3d5l/fr/8Nmv8PvPrfqF3PTtj8h9v+JXCb/4iYjMOfh0KBNkBz77Rzz520DpKMlJh6Kyb1xO9vk7V2FwBHksjnIRVpUqXl8WGz3yaZEj08tLkwY2/zrnhymNg5h8faDk6+N5lCxS42XOCxb5PmqW3c6F77vCW7SQ/5/ln+Cd8QNGIezK4smu9hoSGitRV6LfV48VwCEvcCL/0Vjyib43b7vC+Stbaxenj3YiHVv3Ot6t+5YvriIBLxJv4prYg8xkUbH3NHFUDdaxTRJo99YpLhKa2aJa/4hPjv8TLRp7Ta7kpifBDgcDsBq40bChjOsXi0ekor2QOHbeSSMwnFtiU7yC+Ht6if0kq+plWZd7RrumzHKIdcFKhdXgBDSHpm4KIJ89jEatHIG6msHz5iE1ybbJJExrGbPfL6izworqJ4yMyXBUqVK9OG4o3Hi6pfkrILrMoy8tGwQr+NrDzP9ATBQVguL6J23zXK8AfTUL6Hhhq1hztmjO2wyfCPYzbwdvasbMOjyHLzXE3/cGrv80afJw9prs8i+BiIhSN2712q0hXnkKJ6wcP5mq7Rm5PwxoThQt58qXAixq2bV8hgYJz6hbwgsE1+9LjJk3bKxbE8YA48231uV784QH7eHAvjJCkEAITMI+E22w24quxhvE1MvmcErTlEO6dZIE6TIblN3u+3B6V6C1kuwOtOBLzwsd2V2+ypnhLVPLLORWom+lkJaShyTMURxHpM8vwhWX9VYi2KkjzM4ke3BSgHWHyb3O54xQuSGHSN3oKK4FGIa7Dbw51QsphGqv2x3BC5qXL4ZoEZaQ2aSKfZItyGam5zDmyrSVHz/3E7AGiny+OdPYWhtH2xMF4qOEww63KivR5d0XLhO0RuIDgYMOO0TPWK5HBQoQBvHUyv0ur7vlDo7uC1yKONUYbDY3J58Ugmm1pVUDkP8XKl7oOMePNH+UTM467YnrONlkSjJeA0gc9tQqTP2x/az1ki39AuE7UnUod382o0klQ40jDz18PxIc/WFJqyZ7flIt48du+mxizFt5VZAe1flITdwkBd0hnxgnSLaEsnMIVDHoXRa9XwvcBHCYfrnHy/HPYH39GQxzbxHqJD/W5UPP34ABLwVhV5pkQz5DSZgdv863OHqZ6XlIWBquTtsmhvscO8H/t9pYcmUI7oES++ic8AtB/YeJQf2EBBSkmzeWzW8TbyswL4HuEV5/NGW6aVLtyh/SBo5i7m7TBlXQtS0NC+EDS7ccwLLQ0aobmhkBo0SUvMo2RJV6vQYvP4Q20+pGEex2K8WJisLrualZ40eOiGeM0Uhm2Gs+JF1DKtLCdwrFC1efmKzZ2sfyE5WoTo/oStDMBM/0qzsBWgtRI1446703i7zF32NAssSijC+wKzgFBS5S60CplZeplWxB6PYlnU3hlm7ae01M/QjWFmxCWqT+l1cQctG6aeUKZVeXwQ4dWYNw85x42IHZrpnIdup887Z5ZExQyFL689ZXQbCnMfMEtoiNEeG0SokXpsCBDZwvaww8ziSyFXr7ciIiaVkJ2/aZs+ToB5iM1nCsio4CG4oDmoRe2O0Ap6fjuGgLkAm48lomWMd2pmfbJKy8qoYOEjH1PSEjhkWqKUmdqxhu15O+TNrs7NAB/du2yHF2YFFnkEwLPnMGdPfNzu4blGwPTBg/Z4yafE2j/K4EBB4gyHqeFIyGOh5DgRzq6ZK1B+ILFsPpCIXMLHZ2byYM0KcbrODFrNRwBwroo9CnmxgIwt6P51XAWGV5+Wi0N2SPNsly6u7z/9+vV/9h6fGhy3AAA='; diff --git a/docs/assets/style.css b/docs/assets/style.css index 18b4f8f..9d619a6 100644 --- a/docs/assets/style.css +++ b/docs/assets/style.css @@ -10,7 +10,9 @@ --light-color-text: #222; --light-color-text-aside: #6e6e6e; --light-color-link: #1f70c2; + --light-color-focus-outline: #3584e4; + --light-color-ts-keyword: #056bd6; --light-color-ts-project: #b111c9; --light-color-ts-module: var(--light-color-ts-project); --light-color-ts-namespace: var(--light-color-ts-project); @@ -28,13 +30,13 @@ --light-color-ts-constructor-signature: var(--light-color-ts-constructor); --light-color-ts-parameter: var(--light-color-ts-variable); /* type literal not included as links will never be generated to it */ - --light-color-ts-type-parameter: var(--light-color-ts-type-alias); + --light-color-ts-type-parameter: #a55c0e; --light-color-ts-accessor: var(--light-color-ts-property); --light-color-ts-get-signature: var(--light-color-ts-accessor); --light-color-ts-set-signature: var(--light-color-ts-accessor); - /* object literal not included as it is not used and will be removed in 0.25 */ --light-color-ts-type-alias: #d51270; /* reference not included as links will be colored with the kind that it points to */ + --light-color-document: #000000; --light-external-icon: url("data:image/svg+xml;utf8,"); --light-color-scheme: light; @@ -50,7 +52,9 @@ --dark-color-text: #f5f5f5; --dark-color-text-aside: #dddddd; --dark-color-link: #00aff4; + --dark-color-focus-outline: #4c97f2; + --dark-color-ts-keyword: #3399ff; --dark-color-ts-project: #e358ff; --dark-color-ts-module: var(--dark-color-ts-project); --dark-color-ts-namespace: var(--dark-color-ts-project); @@ -68,13 +72,13 @@ --dark-color-ts-constructor-signature: var(--dark-color-ts-constructor); --dark-color-ts-parameter: var(--dark-color-ts-variable); /* type literal not included as links will never be generated to it */ - --dark-color-ts-type-parameter: var(--dark-color-ts-type-alias); + --dark-color-ts-type-parameter: #e07d13; --dark-color-ts-accessor: var(--dark-color-ts-property); --dark-color-ts-get-signature: var(--dark-color-ts-accessor); --dark-color-ts-set-signature: var(--dark-color-ts-accessor); - /* object literal not included as it is not used and will be removed in 0.25 */ --dark-color-ts-type-alias: #ff6492; /* reference not included as links will be colored with the kind that it points to */ + --dark-color-document: #ffffff; --dark-external-icon: url("data:image/svg+xml;utf8,"); --dark-color-scheme: dark; @@ -92,7 +96,9 @@ --color-text: var(--light-color-text); --color-text-aside: var(--light-color-text-aside); --color-link: var(--light-color-link); + --color-focus-outline: var(--light-color-focus-outline); + --color-ts-keyword: var(--light-color-ts-keyword); --color-ts-module: var(--light-color-ts-module); --color-ts-namespace: var(--light-color-ts-namespace); --color-ts-enum: var(--light-color-ts-enum); @@ -115,6 +121,7 @@ --color-ts-get-signature: var(--light-color-ts-get-signature); --color-ts-set-signature: var(--light-color-ts-set-signature); --color-ts-type-alias: var(--light-color-ts-type-alias); + --color-document: var(--light-color-document); --external-icon: var(--light-external-icon); --color-scheme: var(--light-color-scheme); @@ -133,7 +140,9 @@ --color-text: var(--dark-color-text); --color-text-aside: var(--dark-color-text-aside); --color-link: var(--dark-color-link); + --color-focus-outline: var(--dark-color-focus-outline); + --color-ts-keyword: var(--dark-color-ts-keyword); --color-ts-module: var(--dark-color-ts-module); --color-ts-namespace: var(--dark-color-ts-namespace); --color-ts-enum: var(--dark-color-ts-enum); @@ -156,6 +165,7 @@ --color-ts-get-signature: var(--dark-color-ts-get-signature); --color-ts-set-signature: var(--dark-color-ts-set-signature); --color-ts-type-alias: var(--dark-color-ts-type-alias); + --color-document: var(--dark-color-document); --external-icon: var(--dark-external-icon); --color-scheme: var(--dark-color-scheme); @@ -181,7 +191,9 @@ body { --color-text: var(--light-color-text); --color-text-aside: var(--light-color-text-aside); --color-link: var(--light-color-link); + --color-focus-outline: var(--light-color-focus-outline); + --color-ts-keyword: var(--light-color-ts-keyword); --color-ts-module: var(--light-color-ts-module); --color-ts-namespace: var(--light-color-ts-namespace); --color-ts-enum: var(--light-color-ts-enum); @@ -204,6 +216,7 @@ body { --color-ts-get-signature: var(--light-color-ts-get-signature); --color-ts-set-signature: var(--light-color-ts-set-signature); --color-ts-type-alias: var(--light-color-ts-type-alias); + --color-document: var(--light-color-document); --external-icon: var(--light-external-icon); --color-scheme: var(--light-color-scheme); @@ -220,7 +233,9 @@ body { --color-text: var(--dark-color-text); --color-text-aside: var(--dark-color-text-aside); --color-link: var(--dark-color-link); + --color-focus-outline: var(--dark-color-focus-outline); + --color-ts-keyword: var(--dark-color-ts-keyword); --color-ts-module: var(--dark-color-ts-module); --color-ts-namespace: var(--dark-color-ts-namespace); --color-ts-enum: var(--dark-color-ts-enum); @@ -243,11 +258,17 @@ body { --color-ts-get-signature: var(--dark-color-ts-get-signature); --color-ts-set-signature: var(--dark-color-ts-set-signature); --color-ts-type-alias: var(--dark-color-ts-type-alias); + --color-document: var(--dark-color-document); --external-icon: var(--dark-external-icon); --color-scheme: var(--dark-color-scheme); } +*:focus-visible, +.tsd-accordion-summary:focus-visible svg { + outline: 2px solid var(--color-focus-outline); +} + .always-visible, .always-visible .tsd-signatures { display: inherit !important; @@ -262,16 +283,6 @@ h6 { line-height: 1.2; } -h1 > a, -h2 > a, -h3 > a, -h4 > a, -h5 > a, -h6 > a { - text-decoration: none; - color: var(--color-text); -} - h1 { font-size: 1.875rem; margin: 0.67rem 0; @@ -302,10 +313,6 @@ h6 { margin: 2.33rem 0; } -.uppercase { - text-transform: uppercase; -} - dl, menu, ol, @@ -323,17 +330,14 @@ dd { } /* Footer */ -.tsd-generator { +footer { border-top: 1px solid var(--color-accent); padding-top: 1rem; padding-bottom: 1rem; max-height: 3.5rem; } - -.tsd-generator > p { - margin-top: 0; - margin-bottom: 0; - padding: 0 1rem; +footer > p { + margin: 0 1em; } .container-main { @@ -401,7 +405,8 @@ dd { } body { background: var(--color-background); - font-family: "Segoe UI", sans-serif; + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", + Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"; font-size: 16px; color: var(--color-text); } @@ -419,6 +424,9 @@ a.external[target="_blank"] { background-repeat: no-repeat; padding-right: 13px; } +a.tsd-anchor-link { + color: var(--color-text); +} code, pre { @@ -468,13 +476,12 @@ blockquote { padding: 0 0 0 20px; margin: 0; } -.tsd-typography h4, .tsd-typography .tsd-index-panel h3, .tsd-index-panel .tsd-typography h3, +.tsd-typography h4, .tsd-typography h5, .tsd-typography h6 { font-size: 1em; - margin: 0; } .tsd-typography h5, .tsd-typography h6 { @@ -485,6 +492,19 @@ blockquote { .tsd-typography ol { margin: 1em 0; } +.tsd-typography table { + border-collapse: collapse; + border: none; +} +.tsd-typography td, +.tsd-typography th { + padding: 6px 13px; + border: 1px solid var(--color-accent); +} +.tsd-typography thead, +.tsd-typography tr:nth-child(even) { + background-color: var(--color-background-secondary); +} .tsd-breadcrumb { margin: 0; @@ -566,13 +586,13 @@ dl.tsd-comment-tag-group p { } .tsd-filter-input { display: flex; - width: fit-content; width: -moz-fit-content; + width: fit-content; align-items: center; - user-select: none; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; + user-select: none; cursor: pointer; } .tsd-filter-input input[type="checkbox"] { @@ -595,11 +615,8 @@ dl.tsd-comment-tag-group p { Don't remove unless you know what you're doing. */ opacity: 0.99; } -.tsd-filter-input input[type="checkbox"]:focus + svg { - transform: scale(0.95); -} -.tsd-filter-input input[type="checkbox"]:focus:not(:focus-visible) + svg { - transform: scale(1); +.tsd-filter-input input[type="checkbox"]:focus-visible + svg { + outline: 2px solid var(--color-focus-outline); } .tsd-checkbox-background { fill: var(--color-accent); @@ -616,13 +633,18 @@ input[type="checkbox"]:checked ~ svg .tsd-checkbox-checkmark { stroke: var(--color-accent); } -.tsd-theme-toggle { - padding-top: 0.75rem; +.settings-label { + font-weight: bold; + text-transform: uppercase; + display: inline-block; } -.tsd-theme-toggle > h4 { - display: inline; - vertical-align: middle; - margin-right: 0.75rem; + +.tsd-filter-visibility .settings-label { + margin: 0.75rem 0 0.5rem 0; +} + +.tsd-theme-toggle .settings-label { + margin: 0.75rem 0.75rem 0 0; } .tsd-hierarchy { @@ -633,6 +655,28 @@ input[type="checkbox"]:checked ~ svg .tsd-checkbox-checkmark { font-weight: bold; } +.tsd-full-hierarchy:not(:last-child) { + margin-bottom: 1em; + padding-bottom: 1em; + border-bottom: 1px solid var(--color-accent); +} +.tsd-full-hierarchy, +.tsd-full-hierarchy ul { + list-style: none; + margin: 0; + padding: 0; +} +.tsd-full-hierarchy ul { + padding-left: 1.5rem; +} +.tsd-full-hierarchy a { + padding: 0.25rem 0 !important; + font-size: 1rem; + display: inline-flex; + align-items: center; + color: var(--color-text); +} + .tsd-panel-group.tsd-index-group { margin-bottom: 0; } @@ -698,12 +742,15 @@ input[type="checkbox"]:checked ~ svg .tsd-checkbox-checkmark { } .tsd-navigation > a, .tsd-navigation .tsd-accordion-summary { - width: calc(100% - 0.5rem); + width: calc(100% - 0.25rem); + display: flex; + align-items: center; } .tsd-navigation a, .tsd-navigation summary > span, .tsd-page-navigation a { - display: inline-flex; + display: flex; + width: calc(100% - 0.25rem); align-items: center; padding: 0.25rem; color: var(--color-text); @@ -730,6 +777,9 @@ input[type="checkbox"]:checked ~ svg .tsd-checkbox-checkmark { padding: 0; max-width: 100%; } +.tsd-navigation .tsd-nav-link { + display: none; +} .tsd-nested-navigation { margin-left: 3rem; } @@ -743,11 +793,15 @@ input[type="checkbox"]:checked ~ svg .tsd-checkbox-checkmark { margin-left: -1.5rem; } -.tsd-nested-navigation > li > a, -.tsd-nested-navigation > li > span { - width: calc(100% - 1.75rem - 0.5rem); +.tsd-page-navigation-section { + margin-left: 10px; +} +.tsd-page-navigation-section > summary { + padding: 0.25rem; +} +.tsd-page-navigation-section > div { + margin-left: 20px; } - .tsd-page-navigation ul { padding-left: 1.75rem; } @@ -778,10 +832,10 @@ a.tsd-index-link { } .tsd-accordion-summary, .tsd-accordion-summary a { - user-select: none; -moz-user-select: none; -webkit-user-select: none; -ms-user-select: none; + user-select: none; cursor: pointer; } @@ -794,8 +848,9 @@ a.tsd-index-link { padding-top: 0; padding-bottom: 0; } -.tsd-index-accordion .tsd-accordion-summary > svg { +.tsd-accordion .tsd-accordion-summary > svg { margin-left: 0.25rem; + vertical-align: text-top; } .tsd-index-content > :not(:first-child) { margin-top: 0.75rem; @@ -843,7 +898,7 @@ a.tsd-index-link { } .tsd-panel-group { - margin: 4rem 0; + margin: 2rem 0; } .tsd-panel-group.tsd-index-group { margin: 2rem 0; @@ -851,6 +906,9 @@ a.tsd-index-link { .tsd-panel-group.tsd-index-group details { margin: 2rem 0; } +.tsd-panel-group > .tsd-accordion-summary { + margin-bottom: 1rem; +} #tsd-search { transition: background-color 0.2s; @@ -900,8 +958,9 @@ a.tsd-index-link { box-shadow: 0 0 4px rgba(0, 0, 0, 0.25); } #tsd-search .results li { - padding: 0 10px; background-color: var(--color-background); + line-height: initial; + padding: 4px; } #tsd-search .results li:nth-child(even) { background-color: var(--color-background-secondary); @@ -909,12 +968,15 @@ a.tsd-index-link { #tsd-search .results li.state { display: none; } -#tsd-search .results li.current, -#tsd-search .results li:hover { +#tsd-search .results li.current:not(.no-results), +#tsd-search .results li:hover:not(.no-results) { background-color: var(--color-accent); } #tsd-search .results a { - display: block; + display: flex; + align-items: center; + padding: 0.25rem; + box-sizing: border-box; } #tsd-search .results a:before { top: 10px; @@ -970,6 +1032,11 @@ a.tsd-index-link { overflow-x: auto; } +.tsd-signature-keyword { + color: var(--color-ts-keyword); + font-weight: normal; +} + .tsd-signature-symbol { color: var(--color-text-aside); font-weight: normal; @@ -991,6 +1058,12 @@ a.tsd-index-link { border-width: 1px 0; transition: background-color 0.1s; } +.tsd-signatures .tsd-index-signature:not(:last-child) { + margin-bottom: 1em; +} +.tsd-signatures .tsd-index-signature .tsd-signature { + border-width: 1px; +} .tsd-description .tsd-signatures .tsd-signature { border-width: 1px; } @@ -1070,7 +1143,9 @@ ul.tsd-type-parameter-list h5 { overflow: hidden; opacity: 0.8; height: 40px; - transition: opacity 0.1s, background-color 0.2s; + transition: + opacity 0.1s, + background-color 0.2s; vertical-align: bottom; cursor: pointer; } @@ -1122,7 +1197,7 @@ img { } .deprecated { - text-decoration: line-through; + text-decoration: line-through !important; } .warning { @@ -1302,6 +1377,12 @@ img { .has-menu .tsd-navigation { max-height: 100%; } + #tsd-toolbar-links { + display: none; + } + .tsd-navigation .tsd-nav-link { + display: flex; + } } /* one sidebar */ diff --git a/docs/classes/BaseResolver.html b/docs/classes/BaseResolver.html index 39b1aa8..b2a3671 100644 --- a/docs/classes/BaseResolver.html +++ b/docs/classes/BaseResolver.html @@ -1,268 +1,35 @@ -BaseResolver | @metrixnames/mnslib
-
- -
-
-
-
- -

Class BaseResolverAbstract

-
-

Class which is used a the base for resolvers

-
-
-
-

Hierarchy

-
-
-

Implements

-
    -
  • IERC165
-
-
-
- -
-
-

Constructors

-
-
-

Properties

-
-
-

Methods

-
-
-

Constructors

-
- -
-
-

Properties

-
- -
abi: any[]
-
- -
address: string
-
- -
bytecode: undefined | string
-
- -
provider: default
-
-

Methods

-
- -
    - -
  • -

    Get this contract balance

    -
    -

    Returns Promise<bigint>

    the satoshi balance of this contract

    - -
-
- -
    - -
  • -

    Perform calltocontract

    -
    -
    -

    Parameters

    -
      -
    • -
      method: string
      -

      The contract method to call

      -
      -
    • -
    • -
      args: any[]
      -

      The arguments

      -
      -
    -

    Returns Promise<undefined | Result>

    see Result

    - -
-
- -
    - -
  • -

    Get receipts from a transaction

    -
    -

    Returns Promise<EventLogs>

    an EventLogs object

    - -
-
- -
    - -
  • -

    Perform sendtocontract

    -
    -
    -

    Parameters

    -
      -
    • -
      method: string
      -

      The contract method to send to

      -
      -
    • -
    • -
      args: any[]
      -

      The arguments to use

      -
      -
    • -
    • -
      Optional value: string
      -

      The amount to send to the contract

      -
      -
    • -
    • -
      Optional gasLimit: number
      -

      The amount of gas units allowed

      -
      -
    • -
    • -
      Optional gasPrice: number
      -

      The satoshi price per gas

      -
      -
    -

    Returns Promise<{
        hash160: string;
        sender: string;
        txid: string;
    }>

    see Result

    - -
-
- -
    - -
  • -
    -

    Parameters

    -
      -
    • -
      interfaceId: string
    -

    Returns Promise<boolean>

-
- -
-
-

Generated using TypeDoc

-
\ No newline at end of file +BaseResolver | @metrixnames/mnslib

Class BaseResolverAbstract

Class which is used a the base for resolvers

+

Hierarchy (view full)

Implements

  • IERC165

Constructors

Properties

abi: any[]
address: string
bytecode: undefined | string
provider: Provider

Methods

  • Get this contract balance

    +

    Returns Promise<bigint>

    the satoshi balance of this contract

    +
  • Perform calltocontract

    +

    Parameters

    • method: string

      The contract method to call

      +
    • args: any[]

      The arguments

      +

    Returns Promise<undefined | Result>

    see Result

    +
  • Get receipts from a transaction

    +

    Returns Promise<EventLogs>

    an EventLogs object

    +
  • Perform sendtocontract

    +

    Parameters

    • method: string

      The contract method to send to

      +
    • args: any[]

      The arguments to use

      +
    • Optionalvalue: string

      The amount to send to the contract

      +
    • OptionalgasLimit: number

      The amount of gas units allowed

      +
    • OptionalgasPrice: number

      The satoshi price per gas

      +

    Returns Promise<{
        hash160: string;
        sender: string;
        txid: string;
    }>

    see Result

    +
  • Returns true if this contract implements the interface defined by +interfaceId. See the corresponding +https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] +to learn more about how these ids are created.

    +

    This function call must use less than 30 000 gas. +Defined in EIP181.

    +

    Parameters

    • interfaceId: string

      The MNS node to query.

      +

    Returns Promise<boolean>

    if the interface is supported

    +
diff --git a/docs/classes/DefaultReverseResolver.html b/docs/classes/DefaultReverseResolver.html index 08527d9..89aa98a 100644 --- a/docs/classes/DefaultReverseResolver.html +++ b/docs/classes/DefaultReverseResolver.html @@ -1,287 +1,37 @@ -DefaultReverseResolver | @metrixnames/mnslib
-
- -
-
-
-
- -

Class DefaultReverseResolver

-
-

Class which can be used to interact with the DefaultReverseResolver

-
-
-
-

Hierarchy

-
-
-
-
- -
-
-

Constructors

-
-
-

Properties

-
-
-

Methods

-
-
-

Constructors

-
- -
-
-

Properties

-
- -
abi: any[]
-
- -
address: string
-
- -
bytecode: undefined | string
-
- -
provider: default
-
-

Methods

-
- -
    - -
  • -

    Get this contract balance

    -
    -

    Returns Promise<bigint>

    the satoshi balance of this contract

    - -
-
- -
    - -
  • -

    Perform calltocontract

    -
    -
    -

    Parameters

    -
      -
    • -
      method: string
      -

      The contract method to call

      -
      -
    • -
    • -
      args: any[]
      -

      The arguments

      -
      -
    -

    Returns Promise<undefined | Result>

    see Result

    - -
-
- -
    - -
  • -

    Get receipts from a transaction

    -
    -

    Returns Promise<EventLogs>

    an EventLogs object

    - -
-
- -
-
- -
    - -
  • -

    Perform sendtocontract

    -
    -
    -

    Parameters

    -
      -
    • -
      method: string
      -

      The contract method to send to

      -
      -
    • -
    • -
      args: any[]
      -

      The arguments to use

      -
      -
    • -
    • -
      Optional value: string
      -

      The amount to send to the contract

      -
      -
    • -
    • -
      Optional gasLimit: number
      -

      The amount of gas units allowed

      -
      -
    • -
    • -
      Optional gasPrice: number
      -

      The satoshi price per gas

      -
      -
    -

    Returns Promise<{
        hash160: string;
        sender: string;
        txid: string;
    }>

    see Result

    - -
-
- -
-
- -
-
- -
-
-

Generated using TypeDoc

-
\ No newline at end of file +DefaultReverseResolver | @metrixnames/mnslib

Class DefaultReverseResolver

Class which can be used to interact with the DefaultReverseResolver

+

Hierarchy (view full)

Constructors

Properties

abi: any[]
address: string
bytecode: undefined | string
provider: Provider

Methods

  • Get this contract balance

    +

    Returns Promise<bigint>

    the satoshi balance of this contract

    +
  • Perform calltocontract

    +

    Parameters

    • method: string

      The contract method to call

      +
    • args: any[]

      The arguments

      +

    Returns Promise<undefined | Result>

    see Result

    +
  • Get receipts from a transaction

    +

    Returns Promise<EventLogs>

    an EventLogs object

    +
  • Perform sendtocontract

    +

    Parameters

    • method: string

      The contract method to send to

      +
    • args: any[]

      The arguments to use

      +
    • Optionalvalue: string

      The amount to send to the contract

      +
    • OptionalgasLimit: number

      The amount of gas units allowed

      +
    • OptionalgasPrice: number

      The satoshi price per gas

      +

    Returns Promise<{
        hash160: string;
        sender: string;
        txid: string;
    }>

    see Result

    +
diff --git a/docs/classes/MNS.html b/docs/classes/MNS.html index de2141a..17bd825 100644 --- a/docs/classes/MNS.html +++ b/docs/classes/MNS.html @@ -1,248 +1,28 @@ -MNS | @metrixnames/mnslib
-
- -
-
-
-
- -

Class MNS

-
-

Class which can be used to make registry record queries.

-
-
-
-

Hierarchy

-
    -
  • MNS
-
-
-
- -
-
-

Constructors

-
-
-

Properties

-
-
-

Methods

-
-
-

Constructors

-
- -
    - -
  • -
    -

    Parameters

    -
      -
    • -
      network: NetworkType
    • -
    • -
      provider: default
    • -
    • -
      mnsAddress: string
    -

    Returns MNS

-
-

Properties

-
- -
mns: default
-
- -
network: NetworkType
-
- -
provider: default
-
-

Methods

-
- -
    - -
  • -

    Returns the name for an address from the default reverse resolver

    -
    -
    -

    Parameters

    -
      -
    • -
      address: string
      -

      an EVM compatible address

      -
      -
    -

    Returns Promise<undefined | string>

    a name or undefined if one is not found

    - -
-
- -
    - -
  • -

    Returns the name for an address from the resolver

    -
    -
    -

    Parameters

    -
      -
    • -
      address: string
      -

      an EVM compatible address

      -
      -
    • -
    • -
      resolverAddr: string
      -

      a specific resolver address to use

      -
      -
    -

    Returns Promise<undefined | string>

    a name or undefined if one is not found

    - -
-
- -
    - -
  • -

    Returns a Name object which can be used to make record queries

    -
    -
    -

    Parameters

    -
      -
    • -
      name: string
      -

      The name for example 'first.mrx'

      -
      -
    • -
    • -
      Optional resolver: string
      -

      The resolver address

      -
      -
    -

    Returns Name

    a Name object

    - -
-
- -
    - -
  • -

    Returns a Resolver object which can be used to make record queries

    -
    -
    -

    Parameters

    -
      -
    • -
      address: string
      -

      an EVM compatible address

      -
      -
    -

    Returns Resolver

    a Resolver object

    - -
-
- -
    - -
  • -

    Set a reverse record for an address

    -
    -
    -

    Parameters

    -
      -
    • -
      name: string
      -

      The name for example 'first.mrx'

      -
      -
    -

    Returns Promise<Transaction>

    a transaction object

    - -
-
- -
-
-

Generated using TypeDoc

-
\ No newline at end of file +MNS | @metrixnames/mnslib

Class which can be used to make registry record queries.

+

Constructors

  • Parameters

    • network: NetworkType
    • provider: Provider
    • mnsAddress: string

    Returns MNS

Properties

mns: MetrixContract
network: NetworkType
provider: Provider

Methods

  • Returns the name for an address from the default reverse resolver

    +

    Parameters

    • address: string

      an EVM compatible address

      +

    Returns Promise<undefined | string>

    a name or undefined if one is not found

    +
  • Returns the name for an address from the resolver

    +

    Parameters

    • address: string

      an EVM compatible address

      +
    • resolverAddr: string

      a specific resolver address to use

      +

    Returns Promise<undefined | string>

    a name or undefined if one is not found

    +
  • Returns a Name object which can be used to make record queries

    +

    Parameters

    • name: string

      The name for example 'first.mrx'

      +
    • Optionalresolver: string

      The resolver address

      +

    Returns Name

    a Name object

    +
  • Returns a Resolver object which can be used to make record queries

    +

    Parameters

    • address: string

      an EVM compatible address

      +

    Returns Resolver

    a Resolver object

    +
  • Set a reverse record for an address

    +

    Parameters

    • name: string

      The name for example 'first.mrx'

      +

    Returns Promise<Transaction>

    a transaction object

    +
diff --git a/docs/classes/Name.html b/docs/classes/Name.html index 09ef574..f555b21 100644 --- a/docs/classes/Name.html +++ b/docs/classes/Name.html @@ -1,503 +1,74 @@ -Name | @metrixnames/mnslib
-
- -
-
-
-
- -

Class Name

-
-

Class which can be used to make record queries.

-
-
-
-

Hierarchy

-
    -
  • Name
-
-
-
- -
-
-

Constructors

-
- -
    - -
  • -
    -

    Parameters

    -
      -
    • -
      name: string
    • -
    • -
      mns: default
    • -
    • -
      provider: default
    • -
    • -
      hash: string
    • -
    • -
      Optional resolver: string
    -

    Returns Name

-
-

Properties

-
- -
hash: string
-
- -
mns: default
-
- -
name: string
-
- -
provider: default
-
- -
resolver: undefined | string
-
-

Methods

-
- -
    - -
  • -

    Create a subdomain of this name

    -
    -
    -

    Parameters

    -
      -
    • -
      label: string
      -

      The hash of the label specifying the subnode.

      -
      -
    -

    Returns Promise<Transaction>

    a Transaction object

    - -
-
- -
    - -
  • -
    -

    Parameters

    -
      -
    • -
      label: string
    -

    Returns Promise<Transaction>

-
- -
    - -
  • -

    Get an address by coin

    -
    -
    -

    Parameters

    -
      -
    • -
      Optional coinId: string
      -

      slip44 coin id

      -
      -
    -

    Returns Promise<string>

    the address the resolver

    - -
-
- -
    - -
  • -

    Get the contenthash

    -
    -

    Returns Promise<string | {
        contentType: string;
        value: string;
    }>

    the value and content or AddressZero if no resolver

    - -
-
- -
    - -
  • -

    Get the owning address of the Name

    -
    -

    Returns Promise<string>

    the address of the name

    - -
-
- -
    - -
  • -

    Get the resolver address

    -
    -

    Returns Promise<string>

    the address the resolver

    - -
-
- -
    - -
  • -

    Get the resolver address

    -
    -

    Returns Promise<string>

    the address the resolver

    - -
-
- -
    - -
  • -

    Get the ttl

    -
    -

    Returns Promise<number>

    the address the resolver

    - -
-
- -
    - -
  • -

    Get the contenthash

    -
    -
    -

    Parameters

    -
      -
    • -
      key: string
      -

      the etext data key to query

      -
      -
    -

    Returns Promise<string>

    the text value

    - -
-
- -
    - -
  • -

    Set the address

    -
    -
    -

    Parameters

    -
      -
    • -
      key: string
      -

      a coin symbol with slip44 support like 'MRX'

      -
      -
    • -
    • -
      address: string
      -

      an address

      -
      -
    -

    Returns Promise<Transaction>

    a Transaction object

    - -
-
- -
    - -
  • -

    Set the contenthash

    -
    -
    -

    Parameters

    -
      -
    • -
      content: string
      -

      the hash

      -
      -
    -

    Returns Promise<Transaction>

    a Transaction object

    - -
-
- -
    - -
  • -

    Set the owning address of the Name

    -
    -
    -

    Parameters

    -
      -
    • -
      address: string
      -

      an EVM compatible address

      -
      -
    -

    Returns Promise<Transaction>

    a Transaction object

    - -
-
- -
    - -
  • -

    Set the resolver of the Name

    -
    -
    -

    Parameters

    -
      -
    • -
      address: string
      -

      an EVM compatible address

      -
      -
    -

    Returns Promise<Transaction>

    a Transaction object

    - -
-
- -
    - -
  • -

    Sets the owner of a subnode

    -
    -
    -

    Parameters

    -
      -
    • -
      label: string
      -

      The key to set.

      -
      -
    • -
    • -
      newOwner: string
      -

      An address for the owner

      -
      -
    -

    Returns Promise<Transaction>

    a Transaction object

    - -
-
- -
    - -
  • -

    Sets the record for a subnode.

    -
    -
    -

    Parameters

    -
      -
    • -
      label: string
      -

      The hash of the label specifying the subnode.

      -
      -
    • -
    • -
      newOwner: string
      -

      The address of the new owner.

      -
      -
    • -
    • -
      resolver: string
      -

      The address of the resolver.

      -
      -
    • -
    • -
      ttl: number = 0
      -

      The TTL in seconds.

      -
      -
    -

    Returns Promise<Transaction>

    a Transaction object

    - -
-
- -
    - -
  • -

    Sets the TTL

    -
    -
    -

    Parameters

    -
      -
    • -
      ttl: bigint
      -

      The TTL in seconds.

      -
      -
    -

    Returns Promise<Transaction>

    a Transaction object

    - -
-
- -
    - -
  • -

    Sets the text data associated with a key.

    -
    -
    -

    Parameters

    -
      -
    • -
      key: string
      -

      The key to set.

      -
      -
    • -
    • -
      recordValue: string
      -

      The text data value to set.

      -
      -
    -

    Returns Promise<Transaction>

    a Transaction object

    - -
-
- -
-
-

Generated using TypeDoc

-
\ No newline at end of file +Name | @metrixnames/mnslib

Class which can be used to make record queries.

+

Constructors

  • Parameters

    • name: string
    • mns: MetrixContract
    • provider: Provider
    • hash: string
    • Optionalresolver: string

    Returns Name

Properties

hash: string
mns: MetrixContract
name: string
provider: Provider
resolver: undefined | string

Methods

  • Create a subdomain of this name

    +

    Parameters

    • label: string

      The hash of the label specifying the subnode.

      +

    Returns Promise<Transaction>

    a Transaction object

    +
  • Parameters

    • label: string

    Returns Promise<Transaction>

  • Get an address by coin

    +

    Parameters

    • OptionalcoinId: string

      slip44 coin id

      +

    Returns Promise<string>

    the address the resolver

    +
  • Get the contenthash

    +

    Returns Promise<string | {
        contentType: string;
        value: string;
    }>

    the value and content or AddressZero if no resolver

    +
  • Get the owning address of the Name

    +

    Returns Promise<string>

    the address of the name

    +
  • Get the resolver address

    +

    Returns Promise<string>

    the address the resolver

    +
  • Get the resolver address

    +

    Returns Promise<string>

    the address the resolver

    +
  • Get the ttl

    +

    Returns Promise<number>

    the address the resolver

    +
  • Get the contenthash

    +

    Parameters

    • key: string

      the etext data key to query

      +

    Returns Promise<string>

    the text value

    +
  • Set the address

    +

    Parameters

    • key: string

      a coin symbol with slip44 support like 'MRX'

      +
    • address: string

      an address

      +

    Returns Promise<Transaction>

    a Transaction object

    +
  • Set the contenthash

    +

    Parameters

    • content: string

      the hash

      +

    Returns Promise<Transaction>

    a Transaction object

    +
  • Set the owning address of the Name

    +

    Parameters

    • address: string

      an EVM compatible address

      +

    Returns Promise<Transaction>

    a Transaction object

    +
  • Set the resolver of the Name

    +

    Parameters

    • address: string

      an EVM compatible address

      +

    Returns Promise<Transaction>

    a Transaction object

    +
  • Sets the owner of a subnode

    +

    Parameters

    • label: string

      The key to set.

      +
    • newOwner: string

      An address for the owner

      +

    Returns Promise<Transaction>

    a Transaction object

    +
  • Sets the record for a subnode.

    +

    Parameters

    • label: string

      The hash of the label specifying the subnode.

      +
    • newOwner: string

      The address of the new owner.

      +
    • resolver: string

      The address of the resolver.

      +
    • ttl: number = 0

      The TTL in seconds.

      +

    Returns Promise<Transaction>

    a Transaction object

    +
  • Sets the TTL

    +

    Parameters

    • ttl: bigint

      The TTL in seconds.

      +

    Returns Promise<Transaction>

    a Transaction object

    +
  • Sets the text data associated with a key.

    +

    Parameters

    • key: string

      The key to set.

      +
    • recordValue: string

      The text data value to set.

      +

    Returns Promise<Transaction>

    a Transaction object

    +
diff --git a/docs/classes/PublicResolver.html b/docs/classes/PublicResolver.html index 0885182..0922eec 100644 --- a/docs/classes/PublicResolver.html +++ b/docs/classes/PublicResolver.html @@ -1,926 +1,174 @@ -PublicResolver | @metrixnames/mnslib
-
- -
-
-
-
- -

Class PublicResolver

-
-

Class which can be used to interact with the PublicResolver

-
-
-
-

Hierarchy

-
-
-

Implements

-
-
-
-
- -
-
-

Constructors

-
- -
-
-

Properties

-
- -
abi: any[]
-
- -
address: string
-
- -
bytecode: undefined | string
-
- -
provider: default
-
-

Methods

-
- -
    - -
  • -

    Returns the ABI associated with an MNS node. +PublicResolver | @metrixnames/mnslib

    Class which can be used to interact with the PublicResolver

    +

    Hierarchy (view full)

    Implements

    Constructors

    Properties

    abi: any[]
    address: string
    bytecode: undefined | string
    provider: Provider

    Methods

    • Returns the ABI associated with an MNS node. Defined in EIP205.

      -
      -
      -

      Parameters

      -
        -
      • -
        node: string
        -

        The MNS node to query

        -
        -
      • -
      • -
        contentType: bigint
        -

        A bitwise OR of the ABI formats accepted by the caller.

        -
        -
      -

      Returns Promise<[contentType: bigint, data: string]>

      [contentType,data] The content type of the return data value

      - -
    -
    - -
      - -
    • -

      Returns the address associated with an MNS node.

      -
      -
      -

      Parameters

      -
        -
      • -
        node: string
        -

        The MNS node to query.

        -
        -
      • -
      • -
        convert: undefined | boolean = false
      -

      Returns Promise<string>

      The associated address.

      - -
    -
    - -
      - -
    • -

      Returns the address associated with an MNS node.

      -
      -
      -

      Parameters

      -
        -
      • -
        node: string
        -

        The MNS node to query.

        -
        -
      • -
      • -
        coinType: bigint
        -

        the slip44 id of the coin

        -
        -
      -

      Returns Promise<string>

      The associated address.

      - -
    -
    - -
      - -
    • -

      Get this contract balance

      -
      -

      Returns Promise<bigint>

      the satoshi balance of this contract

      - -
    -
    - -
      - -
    • -

      Perform calltocontract

      -
      -
      -

      Parameters

      -
        -
      • -
        method: string
        -

        The contract method to call

        -
        -
      • -
      • -
        args: any[]
        -

        The arguments

        -
        -
      -

      Returns Promise<undefined | Result>

      see Result

      - -
    -
    - -
      - -
    • -

      Clear all information for a DNS zone.

      -
      -
      -

      Parameters

      -
        -
      • -
        node: string
        -

        the namehash of the node for which to clear the zone

        -
        -
      -

      Returns Promise<Transaction>

      an array of TransactionReceipt objects

      - -
    -
    - -
    -
    - -
    -
    - -
      - -
    • -

      Get receipts from a transaction

      -
      -

      Returns Promise<EventLogs>

      an EventLogs object

      - -
    -
    - -
      - -
    • -

      Check if a given node has records.

      -
      -
      -

      Parameters

      -
        -
      • -
        node: string
        -

        the namehash of the node for which to check the records

        -
        -
      • -
      • -
        name: string
        -

        the namehash of the node for which to check the records

        -
        -
      -

      Returns Promise<boolean>

      has records

      - -
    -
    - -
      - -
    • -

      Returns the address of a contract that implements the specified interface for this name. +

      Parameters

      • node: string

        The MNS node to query

        +
      • contentType: bigint

        A bitwise OR of the ABI formats accepted by the caller.

        +

      Returns Promise<[contentType: bigint, data: string]>

      [contentType,data] The content type of the return data value

      +
    • Returns the address associated with an MNS node.

      +

      Parameters

      • node: string

        The MNS node to query.

        +
      • convert: undefined | boolean = false

      Returns Promise<string>

      The associated address.

      +
    • Returns the address associated with an MNS node.

      +

      Parameters

      • node: string

        The MNS node to query.

        +
      • coinType: bigint

        the slip44 id of the coin

        +

      Returns Promise<string>

      The associated address.

      +
    • Get this contract balance

      +

      Returns Promise<bigint>

      the satoshi balance of this contract

      +
    • Perform calltocontract

      +

      Parameters

      • method: string

        The contract method to call

        +
      • args: any[]

        The arguments

        +

      Returns Promise<undefined | Result>

      see Result

      +
    • Clear all information for a DNS zone.

      +

      Parameters

      • node: string

        the namehash of the node for which to clear the zone

        +

      Returns Promise<Transaction>

      an array of TransactionReceipt objects

      +
    • Get receipts from a transaction

      +

      Returns Promise<EventLogs>

      an EventLogs object

      +
    • Check if a given node has records.

      +

      Parameters

      • node: string

        the namehash of the node for which to check the records

        +
      • name: string

        the namehash of the node for which to check the records

        +

      Returns Promise<boolean>

      has records

      +
    • Returns the address of a contract that implements the specified interface for this name. If an implementer has not been set for this interfaceID and name, the resolver will query the contract at addr(). If addr() is set, a contract exists at that address, and that contract implements EIP165 and returns true for the specified interfaceID, its address will be returned.

      -
      -
      -

      Parameters

      -
        -
      • -
        node: string
        -

        The MNS node to query.

        -
        -
      • -
      • -
        interfaceId: string
        -

        The EIP 165 interface ID to check for.

        -
        -
      -

      Returns Promise<string>

      The address that implements this interface, or 0 if the interface is unsupported.

      - -
    -
    - -
      - -
    • -

      Returns the name associated with an MNS node, for reverse records. +

      Parameters

      • node: string

        The MNS node to query.

        +
      • interfaceId: string

        The EIP 165 interface ID to check for.

        +

      Returns Promise<string>

      The address that implements this interface, or 0 if the interface is unsupported.

      +
    • Returns the name associated with an MNS node, for reverse records. Defined in EIP181.

      -
      -
      -

      Parameters

      -
        -
      • -
        node: string
        -

        The MNS node to query.

        -
        -
      -

      Returns Promise<string>

      The associated name.

      - -
    -
    - -
      - -
    • -

      Returns the SECP256k1 public key associated with an MNS node. +

      Parameters

      • node: string

        The MNS node to query.

        +

      Returns Promise<string>

      The associated name.

      +
    • Returns the SECP256k1 public key associated with an MNS node. Defined in EIP 619.

      -
      -
      -

      Parameters

      -
        -
      • -
        node: string
        -

        The MNS node to query

        -
        -
      -

      Returns Promise<[x: string, y: string]>

      x and y coordinates of the curve point for the public key.

      - -
    -
    - -
      - -
    • -

      Perform sendtocontract

      -
      -
      -

      Parameters

      -
        -
      • -
        method: string
        -

        The contract method to send to

        -
        -
      • -
      • -
        args: any[]
        -

        The arguments to use

        -
        -
      • -
      • -
        Optional value: string
        -

        The amount to send to the contract

        -
        -
      • -
      • -
        Optional gasLimit: number
        -

        The amount of gas units allowed

        -
        -
      • -
      • -
        Optional gasPrice: number
        -

        The satoshi price per gas

        -
        -
      -

      Returns Promise<{
          hash160: string;
          sender: string;
          txid: string;
      }>

      see Result

      - -
    -
    - -
      - -
    • -

      Sets the ABI associated with an MNS node. +

      Parameters

      • node: string

        The MNS node to query

        +

      Returns Promise<[x: string, y: string]>

      x and y coordinates of the curve point for the public key.

      +
    • Perform sendtocontract

      +

      Parameters

      • method: string

        The contract method to send to

        +
      • args: any[]

        The arguments to use

        +
      • Optionalvalue: string

        The amount to send to the contract

        +
      • OptionalgasLimit: number

        The amount of gas units allowed

        +
      • OptionalgasPrice: number

        The satoshi price per gas

        +

      Returns Promise<{
          hash160: string;
          sender: string;
          txid: string;
      }>

      see Result

      +
    • Sets the ABI associated with an MNS node. Nodes may have one ABI of each content type. To remove an ABI, set it to the empty string.

      -
      -
      -

      Parameters

      -
        -
      • -
        node: string
        -

        The node to update.

        -
        -
      • -
      • -
        contentType: bigint
        -

        The content type of the ABI

        -
        -
      • -
      • -
        data: string
        -

        The ABI data.

        -
        -
      -

      Returns Promise<Transaction>

      an array of TransactionReceipt objects

      - -
    -
    - -
      - -
    • -

      Sets the address associated with an MNS node. +

      Parameters

      • node: string

        The node to update.

        +
      • contentType: bigint

        The content type of the ABI

        +
      • data: string

        The ABI data.

        +

      Returns Promise<Transaction>

      an array of TransactionReceipt objects

      +
    • Sets the address associated with an MNS node. May only be called by the owner of that node in the MNS registry.

      -
      -
      -

      Parameters

      -
        -
      • -
        node: string
        -

        The node to update.

        -
        -
      • -
      • -
        a: string
        -

        The address to set.

        -
        -
      -

      Returns Promise<Transaction>

      an array of TransactionReceipt objects

      - -
    -
    - -
      - -
    • -

      Sets the address associated with an MNS node. +

      Parameters

      • node: string

        The node to update.

        +
      • a: string

        The address to set.

        +

      Returns Promise<Transaction>

      an array of TransactionReceipt objects

      +
    • Sets the address associated with an MNS node. May only be called by the owner of that node in the MNS registry.

      -
      -
      -

      Parameters

      -
        -
      • -
        node: string
        -

        The node to update.

        -
        -
      • -
      • -
        coinType: bigint
        -

        the slip44 id of the coin

        -
        -
      • -
      • -
        a: string
        -

        The address to set.

        -
        -
      -

      Returns Promise<Transaction>

      an array of TransactionReceipt objects

      - -
    -
    - -
      - -
    • -

      Sets the contenthash associated with an MNS node. +

      Parameters

      • node: string

        The node to update.

        +
      • coinType: bigint

        the slip44 id of the coin

        +
      • a: string

        The address to set.

        +

      Returns Promise<Transaction>

      an array of TransactionReceipt objects

      +
    • Sets the contenthash associated with an MNS node. May only be called by the owner of that node in the MNS registry.

      -
      -
      -

      Parameters

      -
        -
      • -
        node: string
        -

        The node to update.

        -
        -
      • -
      • -
        hash: string
        -

        The contenthash to set

        -
        -
      -

      Returns Promise<Transaction>

      an array of TransactionReceipt objects

      - -
    -
    - -
      - -
    • -

      Set one or more DNS records. Records are supplied in wire-format. +

      Parameters

      • node: string

        The node to update.

        +
      • hash: string

        The contenthash to set

        +

      Returns Promise<Transaction>

      an array of TransactionReceipt objects

      +
    • Set one or more DNS records. Records are supplied in wire-format. Records with the same node/name/resource must be supplied one after the other to ensure the data is updated correctly. For example, if the data was supplied: - a.example.com IN A 1.2.3.4 - a.example.com IN A 5.6.7.8 - www.example.com IN CNAME a.example.com. -then this would store the two A records for a.example.com correctly as a +a.example.com IN A 1.2.3.4 +a.example.com IN A 5.6.7.8 +www.example.com IN CNAME a.example.com. +then this would store the two A records for a.example.com correctly as a single RRSET, however if the data was supplied: - a.example.com IN A 1.2.3.4 - www.example.com IN CNAME a.example.com. - a.example.com IN A 5.6.7.8 +a.example.com IN A 1.2.3.4 +www.example.com IN CNAME a.example.com. +a.example.com IN A 5.6.7.8 then this would store the first A record, the CNAME, then the second A record which would overwrite the first.

      -
      -
      -

      Parameters

      -
        -
      • -
        node: string
        -

        the namehash of the node for which to set the records

        -
        -
      • -
      • -
        data: string
        -

        the DNS wire format records to set

        -
        -
      -

      Returns Promise<Transaction>

      an array of TransactionReceipt objects

      - -
    -
    - -
      - -
    • -

      Sets an interface associated with a name. +

      Parameters

      • node: string

        the namehash of the node for which to set the records

        +
      • data: string

        the DNS wire format records to set

        +

      Returns Promise<Transaction>

      an array of TransactionReceipt objects

      +
    • Sets an interface associated with a name. Setting the address to 0 restores the default behaviour of querying the contract at addr() for interface support.

      -
      -
      -

      Parameters

      -
        -
      • -
        node: string
        -

        The node to update.

        -
        -
      • -
      • -
        interfaceId: string
        -

        The EIP 165 interface ID.

        -
        -
      • -
      • -
        implementer: string
        -

        The address of a contract that implements this interface for this node.

        -
        -
      -

      Returns Promise<Transaction>

      an array of TransactionReceipt objects

      - -
    -
    - -
      - -
    • -

      Sets the name associated with an MNS node, for reverse records. +

      Parameters

      • node: string

        The node to update.

        +
      • interfaceId: string

        The EIP 165 interface ID.

        +
      • implementer: string

        The address of a contract that implements this interface for this node.

        +

      Returns Promise<Transaction>

      an array of TransactionReceipt objects

      +
    • Sets the name associated with an MNS node, for reverse records. May only be called by the owner of that node in the MNS registry.

      -
      -
      -

      Parameters

      -
        -
      • -
        node: string
        -

        The node to update.

        -
        -
      • -
      • -
        name: string
        -

        The name to set.

        -
        -
      -

      Returns Promise<Transaction>

      an array of TransactionReceipt objects

      - -
    -
    - -
      - -
    • -

      Sets the SECP256k1 public key associated with an MNS node.

      -
      -
      -

      Parameters

      -
        -
      • -
        node: string
        -

        The MNS node to query

        -
        -
      • -
      • -
        x: string
        -

        the X coordinate of the curve point for the public key.

        -
        -
      • -
      • -
        y: string
        -

        the Y coordinate of the curve point for the public key.

        -
        -
      -

      Returns Promise<Transaction>

      an array of TransactionReceipt objects

      - -
    -
    - -
      - -
    • -

      Sets the text data associated with an MNS node and key. +

      Parameters

      • node: string

        The node to update.

        +
      • name: string

        The name to set.

        +

      Returns Promise<Transaction>

      an array of TransactionReceipt objects

      +
    • Sets the SECP256k1 public key associated with an MNS node.

      +

      Parameters

      • node: string

        The MNS node to query

        +
      • x: string

        the X coordinate of the curve point for the public key.

        +
      • y: string

        the Y coordinate of the curve point for the public key.

        +

      Returns Promise<Transaction>

      an array of TransactionReceipt objects

      +
    • Sets the text data associated with an MNS node and key. May only be called by the owner of that node in the MNS registry.

      -
      -
      -

      Parameters

      -
        -
      • -
        node: string
        -

        The node to update.

        -
        -
      • -
      • -
        key: string
        -

        The key to set.

        -
        -
      • -
      • -
        value: string
        -

        The text data value to set.

        -
        -
      -

      Returns Promise<Transaction>

      an array of TransactionReceipt objects

      - -
    -
    - -
      - -
    • -

      setZonehash sets the hash for the zone. +

      Parameters

      • node: string

        The node to update.

        +
      • key: string

        The key to set.

        +
      • value: string

        The text data value to set.

        +

      Returns Promise<Transaction>

      an array of TransactionReceipt objects

      +
    • setZonehash sets the hash for the zone. May only be called by the owner of that node in the MNS registry.

      -
      -
      -

      Parameters

      -
        -
      • -
        node: string
        -

        The node to update.

        -
        -
      • -
      • -
        hash: string
        -

        The zonehash to set

        -
        -
      -

      Returns Promise<Transaction>

      an array of TransactionReceipt objects

      - -
    -
    - -
      - -
    • -

      Returns true if this contract implements the interface defined by +

      Parameters

      • node: string

        The node to update.

        +
      • hash: string

        The zonehash to set

        +

      Returns Promise<Transaction>

      an array of TransactionReceipt objects

      +
    -
    - -
      - -
    • -

      Returns the text data associated with an MNS node and key.

      -
      -
      -

      Parameters

      -
        -
      • -
        node: string
        -

        The MNS node to query.

        -
        -
      • -
      • -
        key: string
        -

        The text data key to query.

        -
        -
      -

      Returns Promise<string>

      The associated text data.

      - -
    -
    - -
      - -
    • -

      zonehash obtains the hash for the zone.

      -
      -
      -

      Parameters

      -
        -
      • -
        node: string
        -

        The MNS node to query.

        -
        -
      -

      Returns Promise<string>

      The associated contenthash.

      - -
    -
    -
    -

    Generated using TypeDoc

    -
    \ No newline at end of file +

    Parameters

    • interfaceId: string

      The MNS node to query.

      +

    Returns Promise<boolean>

    if the interface is supported

    +
  • Returns the text data associated with an MNS node and key.

    +

    Parameters

    • node: string

      The MNS node to query.

      +
    • key: string

      The text data key to query.

      +

    Returns Promise<string>

    The associated text data.

    +
diff --git a/docs/classes/Resolver.html b/docs/classes/Resolver.html index 9eea3aa..e34ae57 100644 --- a/docs/classes/Resolver.html +++ b/docs/classes/Resolver.html @@ -1,150 +1,10 @@ -Resolver | @metrixnames/mnslib
-
- -
-
-
-
- -

Class Resolver

-
-

Class which can be used to get a Name object to make queries with.

-
-
-
-

Hierarchy

-
    -
  • Resolver
-
-
-
- -
-
-

Constructors

-
-
-

Properties

-
-
-

Methods

-
-
-

Constructors

-
- -
-
-

Properties

-
- -
address: string
-
- -
mns: default
-
- -
provider: default
-
-

Methods

-
- -
    - -
  • -

    Returns a Name object which can be used to make record queries

    -
    -
    -

    Parameters

    -
      -
    • -
      name: string
      -

      The name for example 'first.mrx'

      -
      -
    -

    Returns Name

    a Name object

    - -
-
- -
-
-

Generated using TypeDoc

-
\ No newline at end of file +Resolver | @metrixnames/mnslib

Class which can be used to get a Name object to make queries with.

+

Constructors

Properties

Methods

Constructors

Properties

address: string
mns: MetrixContract
provider: Provider

Methods

  • Returns a Name object which can be used to make record queries

    +

    Parameters

    • name: string

      The name for example 'first.mrx'

      +

    Returns Name

    a Name object

    +
diff --git a/docs/classes/registrars.MrxRegistrar.MrxRegistrar.html b/docs/classes/registrars.MrxRegistrar.MrxRegistrar.html index 747ee7d..70d4265 100644 --- a/docs/classes/registrars.MrxRegistrar.MrxRegistrar.html +++ b/docs/classes/registrars.MrxRegistrar.MrxRegistrar.html @@ -1,597 +1,128 @@ -MrxRegistrar | @metrixnames/mnslib
-
- -
-
-
- -
-

A registrar that controls '.mrx' names

-
-
-
-

Hierarchy

-
    -
  • default -
      -
    • MrxRegistrar
-
-

Implements

-
    -
  • IERC721Enumerable
-
-
-
- -
-
-

Constructors

-
- -
-
-

Properties

-
- -
abi: any[]
-
- -
address: string
-
- -
bytecode: undefined | string
-
- -
provider: default
-
-

Methods

-
- -
    - -
  • -
    -

    Parameters

    -
      -
    • -
      to: string
    • -
    • -
      tokenId: bigint
    -

    Returns Promise<Transaction>

-
- -
-
- -
    - -
  • -

    Get this contract balance

    -
    -

    Returns Promise<bigint>

    the satoshi balance of this contract

    - -
-
- -
-
- -
-
- -
    - -
  • -

    Perform calltocontract

    -
    -
    -

    Parameters

    -
      -
    • -
      method: string
      -

      The contract method to call

      -
      -
    • -
    • -
      args: any[]
      -

      The arguments

      -
      -
    -

    Returns Promise<undefined | Result>

    see Result

    - -
-
- -
    - -
  • -
    -

    Parameters

    -
      -
    • -
      tokenId: bigint
    -

    Returns Promise<string>

-
- -
    - -
  • -

    Get receipts from a transaction

    -
    -

    Returns Promise<EventLogs>

    an EventLogs object

    - -
-
- -
    - -
  • -
    -

    Parameters

    -
      -
    • -
      owner: string
    • -
    • -
      operator: string
    -

    Returns Promise<boolean>

-
- -
-
- -
-
- -
-
- -
-
- -
    - -
  • -

    Reclaim ownership of a name in MNS, if you own it in the registrar.

    -
    -
    -

    Parameters

    -
      -
    • -
      id: string
    • -
    • -
      owner: string
    -

    Returns Promise<Transaction>

    -
-
- -
    - -
  • -
    -

    Parameters

    -
      -
    • -
      from: string
    • -
    • -
      to: string
    • -
    • -
      tokenId: bigint
    -

    Returns Promise<Transaction>

-
- -
    - -
  • -
    -

    Parameters

    -
      -
    • -
      from: string
    • -
    • -
      to: string
    • -
    • -
      tokenId: bigint
    • -
    • -
      data: string
    -

    Returns Promise<Transaction>

-
- -
    - -
  • -

    Perform sendtocontract

    -
    -
    -

    Parameters

    -
      -
    • -
      method: string
      -

      The contract method to send to

      -
      -
    • -
    • -
      args: any[]
      -

      The arguments to use

      -
      -
    • -
    • -
      Optional value: string
      -

      The amount to send to the contract

      -
      -
    • -
    • -
      Optional gasLimit: number
      -

      The amount of gas units allowed

      -
      -
    • -
    • -
      Optional gasPrice: number
      -

      The satoshi price per gas

      -
      -
    -

    Returns Promise<{
        hash160: string;
        sender: string;
        txid: string;
    }>

    see Result

    - -
-
- -
    - -
  • -
    -

    Parameters

    -
      -
    • -
      operator: string
    • -
    • -
      approved: boolean
    -

    Returns Promise<Transaction>

-
- -
    - -
  • -
    -

    Parameters

    -
      -
    • -
      interfaceId: string
    -

    Returns Promise<boolean>

-
- -
-
- -
    - -
  • -
    -

    Parameters

    -
      -
    • -
      index: bigint
    -

    Returns Promise<string>

-
- -
    - -
  • -
    -

    Parameters

    -
      -
    • -
      owner: string
    • -
    • -
      index: bigint
    -

    Returns Promise<string>

-
- -
-
- -
-
- -
    - -
  • -
    -

    Parameters

    -
      -
    • -
      from: string
    • -
    • -
      to: string
    • -
    • -
      tokenId: bigint
    -

    Returns Promise<Transaction>

-
- -
-
-

Generated using TypeDoc

-
\ No newline at end of file +MrxRegistrar | @metrixnames/mnslib

A registrar that controls '.mrx' names

+

Hierarchy

  • default
    • MrxRegistrar

Implements

  • IERC721Enumerable

Constructors

Properties

abi: any[]
address: string
bytecode: undefined | string
provider: Provider

Methods

  • Gives permission to to to transfer tokenId token to another account. +The approval is cleared when the token is transferred.

    +

    Only a single account can be approved at a time, so approving the zero address clears previous approvals.

    +

    Requirements:

    +
      +
    • The caller must own the token or be an approved operator.
    • +
    • tokenId must exist.
    • +
    +

    Emits an Approval event.

    +

    Parameters

    • to: string
    • tokenId: bigint

    Returns Promise<Transaction>

  • Get this contract balance

    +

    Returns Promise<bigint>

    the satoshi balance of this contract

    +
  • Returns the number of tokens in owner's account.

    +

    Parameters

    • owner: string

    Returns Promise<bigint>

  • Perform calltocontract

    +

    Parameters

    • method: string

      The contract method to call

      +
    • args: any[]

      The arguments

      +

    Returns Promise<undefined | Result>

    see Result

    +
  • Returns the account approved for tokenId token.

    +

    Requirements:

    +
      +
    • tokenId must exist.
    • +
    +

    Parameters

    • tokenId: bigint

    Returns Promise<string>

  • Get receipts from a transaction

    +

    Returns Promise<EventLogs>

    an EventLogs object

    +
  • Returns if the operator is allowed to manage all of the assets of owner.

    +

    See setApprovalForAll

    +

    Parameters

    • owner: string
    • operator: string

    Returns Promise<boolean>

  • Returns the owner of the tokenId token.

    +

    Requirements:

    +
      +
    • tokenId must exist.
    • +
    +

    Parameters

    • tokenId: bigint

    Returns Promise<string>

  • Reclaim ownership of a name in MNS, if you own it in the registrar.

    +

    Parameters

    • id: string
    • owner: string

    Returns Promise<Transaction>

  • Safely transfers tokenId token from from to to, checking first that contract recipients +are aware of the ERC721 protocol to prevent tokens from being forever locked.

    +

    Requirements:

    +
      +
    • from cannot be the zero address.
    • +
    • to cannot be the zero address.
    • +
    • tokenId token must exist and be owned by from.
    • +
    • If the caller is not from, it must be have been allowed to move this token by either approve or setApprovalForAll.
    • +
    • If to refers to a smart contract, it must implement IERC721Receiver-onERC721Received, which is called upon a safe transfer.
    • +
    +

    Emits a Transfer event.

    +

    Parameters

    • from: string
    • to: string
    • tokenId: bigint

    Returns Promise<Transaction>

  • Safely transfers tokenId token from from to to.

    +

    Requirements:

    +
      +
    • from cannot be the zero address.
    • +
    • to cannot be the zero address.
    • +
    • tokenId token must exist and be owned by from.
    • +
    • If the caller is not from, it must be approved to move this token by either approve or setApprovalForAll.
    • +
    • If to refers to a smart contract, it must implement IERC721Receiver-onERC721Received, which is called upon a safe transfer.
    • +
    +

    Emits a Transfer event.

    +

    Parameters

    • from: string
    • to: string
    • tokenId: bigint
    • data: string

    Returns Promise<Transaction>

  • Perform sendtocontract

    +

    Parameters

    • method: string

      The contract method to send to

      +
    • args: any[]

      The arguments to use

      +
    • Optionalvalue: string

      The amount to send to the contract

      +
    • OptionalgasLimit: number

      The amount of gas units allowed

      +
    • OptionalgasPrice: number

      The satoshi price per gas

      +

    Returns Promise<{
        hash160: string;
        sender: string;
        txid: string;
    }>

    see Result

    +
  • Approve or remove operator as an operator for the caller. +Operators can call transferFrom or safeTransferFrom for any token owned by the caller.

    +

    Requirements:

    +
      +
    • The operator cannot be the caller.
    • +
    +

    Emits an ApprovalForAll event.

    +

    Parameters

    • operator: string
    • approved: boolean

    Returns Promise<Transaction>

  • Returns true if this contract implements the interface defined by +interfaceId. See the corresponding +https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] +to learn more about how these ids are created.

    +

    This function call must use less than 30 000 gas. +Defined in EIP181.

    +

    Parameters

    • interfaceId: string

      The MNS node to query.

      +

    Returns Promise<boolean>

    if the interface is supported

    +
  • Returns a token ID at a given index of all the tokens stored by the contract. +Use along with totalSupply to enumerate all tokens.

    +

    Parameters

    • index: bigint

    Returns Promise<string>

  • Returns a token ID owned by owner at a given index of its token list. +Use along with balanceOf to enumerate all of owner's tokens.

    +

    Parameters

    • owner: string
    • index: bigint

    Returns Promise<string>

  • Returns the Uniform Resource Identifier (URI) for tokenId token.

    +

    Parameters

    • tokenId: bigint

    Returns Promise<string>

  • Returns the total amount of tokens stored by the contract.

    +

    Returns Promise<bigint>

  • Transfers tokenId token from from to to.

    +

    WARNING: Usage of this method is discouraged, use safeTransferFrom whenever possible.

    +

    Requirements:

    +
      +
    • from cannot be the zero address.
    • +
    • to cannot be the zero address.
    • +
    • tokenId token must be owned by from.
    • +
    • If the caller is not from, it must be approved to move this token by either approve or setApprovalForAll.
    • +
    +

    Emits a Transfer event.

    +

    Parameters

    • from: string
    • to: string
    • tokenId: bigint

    Returns Promise<Transaction>

diff --git a/docs/classes/registrars.MrxRegistrarController.MrxRegistrarController.html b/docs/classes/registrars.MrxRegistrarController.MrxRegistrarController.html index d25cd6b..9b04d08 100644 --- a/docs/classes/registrars.MrxRegistrarController.MrxRegistrarController.html +++ b/docs/classes/registrars.MrxRegistrarController.MrxRegistrarController.html @@ -1,486 +1,47 @@ -MrxRegistrarController | @metrixnames/mnslib
-
- -
-
-
- -
-

Hierarchy

-
    -
  • default -
      -
    • MrxRegistrarController
-
-

Implements

-
    -
  • IERC165
-
-
-
- -
-
-

Constructors

-
- -
-
-

Properties

-
- -
abi: any[]
-
- -
address: string
-
- -
bytecode: undefined | string
-
- -
provider: default
-
-

Methods

-
- -
-
- -
-
- -
    - -
  • -

    Get this contract balance

    -
    -

    Returns Promise<bigint>

    the satoshi balance of this contract

    - -
-
- -
    - -
  • -

    Perform calltocontract

    -
    -
    -

    Parameters

    -
      -
    • -
      method: string
      -

      The contract method to call

      -
      -
    • -
    • -
      args: any[]
      -

      The arguments

      -
      -
    -

    Returns Promise<undefined | Result>

    see Result

    - -
-
- -
-
- -
-
- -
    - -
  • -

    Get receipts from a transaction

    -
    -

    Returns Promise<EventLogs>

    an EventLogs object

    - -
-
- -
-
- -
    - -
  • -
    -

    Parameters

    -
      -
    • -
      name: string
    • -
    • -
      owner: string
    • -
    • -
      secret: string
    • -
    • -
      resolver: string
    • -
    • -
      addr: string
    -

    Returns Promise<string>

-
- -
-
- -
-
- -
    - -
  • -
    -

    Parameters

    -
      -
    • -
      name: string
    • -
    • -
      owner: string
    • -
    • -
      duration: bigint
    • -
    • -
      secret: string
    • -
    • -
      value: string
    -

    Returns Promise<Transaction>

-
- -
    - -
  • -
    -

    Parameters

    -
      -
    • -
      name: string
    • -
    • -
      owner: string
    • -
    • -
      duration: bigint
    • -
    • -
      secret: string
    • -
    • -
      resolver: string
    • -
    • -
      addr: string
    • -
    • -
      value: string
    -

    Returns Promise<Transaction>

-
- -
-
- -
-
- -
    - -
  • -

    Perform sendtocontract

    -
    -
    -

    Parameters

    -
      -
    • -
      method: string
      -

      The contract method to send to

      -
      -
    • -
    • -
      args: any[]
      -

      The arguments to use

      -
      -
    • -
    • -
      Optional value: string
      -

      The amount to send to the contract

      -
      -
    • -
    • -
      Optional gasLimit: number
      -

      The amount of gas units allowed

      -
      -
    • -
    • -
      Optional gasPrice: number
      -

      The satoshi price per gas

      -
      -
    -

    Returns Promise<{
        hash160: string;
        sender: string;
        txid: string;
    }>

    see Result

    - -
-
- -
-
- -
-
- -
-
-

Generated using TypeDoc

-
\ No newline at end of file +MrxRegistrarController | @metrixnames/mnslib

Hierarchy

  • default
    • MrxRegistrarController

Implements

  • IERC165

Constructors

Properties

abi: any[]
address: string
bytecode: undefined | string
provider: Provider

Methods

  • Get this contract balance

    +

    Returns Promise<bigint>

    the satoshi balance of this contract

    +
  • Perform calltocontract

    +

    Parameters

    • method: string

      The contract method to call

      +
    • args: any[]

      The arguments

      +

    Returns Promise<undefined | Result>

    see Result

    +
  • Get receipts from a transaction

    +

    Returns Promise<EventLogs>

    an EventLogs object

    +
  • Parameters

    • name: string
    • owner: string
    • duration: bigint
    • secret: string
    • resolver: string
    • addr: string
    • value: string

    Returns Promise<Transaction>

  • Perform sendtocontract

    +

    Parameters

    • method: string

      The contract method to send to

      +
    • args: any[]

      The arguments to use

      +
    • Optionalvalue: string

      The amount to send to the contract

      +
    • OptionalgasLimit: number

      The amount of gas units allowed

      +
    • OptionalgasPrice: number

      The satoshi price per gas

      +

    Returns Promise<{
        hash160: string;
        sender: string;
        txid: string;
    }>

    see Result

    +
diff --git a/docs/classes/registrars.ReverseRegistrar.ReverseRegistrar.html b/docs/classes/registrars.ReverseRegistrar.ReverseRegistrar.html index 73ef4b4..9da4ada 100644 --- a/docs/classes/registrars.ReverseRegistrar.ReverseRegistrar.html +++ b/docs/classes/registrars.ReverseRegistrar.ReverseRegistrar.html @@ -1,474 +1,76 @@ -ReverseRegistrar | @metrixnames/mnslib
-
- -
-
-
- -
-

A registrar that allocates subdomains to the first person to claim them, but -expires registrations a fixed period after they're initially claimed.

-
-
-
-

Hierarchy

-
    -
  • default -
      -
    • ReverseRegistrar
-
-
-
- -
-
-

Constructors

-
- -
-
-

Properties

-
- -
abi: any[]
-
- -
address: string
-
- -
bytecode: undefined | string
-
- -
provider: default
-
-

Methods

-
- -
    - -
  • -

    Get this contract balance

    -
    -

    Returns Promise<bigint>

    the satoshi balance of this contract

    - -
-
- -
    - -
  • -

    Perform calltocontract

    -
    -
    -

    Parameters

    -
      -
    • -
      method: string
      -

      The contract method to call

      -
      -
    • -
    • -
      args: any[]
      -

      The arguments

      -
      -
    -

    Returns Promise<undefined | Result>

    see Result

    - -
-
- -
    - -
  • -

    Transfers ownership of the reverse MNS record associated with the - calling account.

    -
    -
    -

    Parameters

    -
      -
    • -
      owner: string
      -

      The address to set as the owner of the reverse record in MNS.

      -
      -
    -

    Returns Promise<Transaction>

    The MNS node hash of the reverse record.

    - -
-
- -
    - -
  • -

    Transfers ownership of the reverse MNS record associated with the - calling account.

    -
    -
    -

    Parameters

    -
      -
    • -
      addr: string
      -

      The reverse record to set

      -
      -
    • -
    • -
      owner: string
      -

      The address to set as the owner of the reverse record in MNS.

      -
      -
    -

    Returns Promise<Transaction>

    The MNS node hash of the reverse record.

    - -
-
- -
    - -
  • -

    Transfers ownership of the reverse MNS record associated with the - calling account.

    -
    -
    -

    Parameters

    -
      -
    • -
      owner: string
      -

      The address to set as the owner of the reverse record in MNS.

      -
      -
    • -
    • -
      resolver: string
      -

      The address of the resolver to set; 0 to leave unchanged.

      -
      -
    -

    Returns Promise<Transaction>

    The MNS node hash of the reverse record.

    - -
-
- -
    - -
  • -

    Transfers ownership of the reverse MNS record specified with the - address provided

    -
    -
    -

    Parameters

    -
      -
    • -
      addr: string
      -

      The reverse record to set

      -
      -
    • -
    • -
      owner: string
      -

      The address to set as the owner of the reverse record in MNS.

      -
      -
    • -
    • -
      resolver: string
      -

      The address of the resolver to set; 0 to leave unchanged.

      -
      -
    -

    Returns Promise<Transaction>

    The MNS node hash of the reverse record.

    - -
-
- -
-
- -
    - -
  • -

    Get receipts from a transaction

    -
    -

    Returns Promise<EventLogs>

    an EventLogs object

    - -
-
- -
-
- -
-
- -
    - -
  • -

    Perform sendtocontract

    -
    -
    -

    Parameters

    -
      -
    • -
      method: string
      -

      The contract method to send to

      -
      -
    • -
    • -
      args: any[]
      -

      The arguments to use

      -
      -
    • -
    • -
      Optional value: string
      -

      The amount to send to the contract

      -
      -
    • -
    • -
      Optional gasLimit: number
      -

      The amount of gas units allowed

      -
      -
    • -
    • -
      Optional gasPrice: number
      -

      The satoshi price per gas

      -
      -
    -

    Returns Promise<{
        hash160: string;
        sender: string;
        txid: string;
    }>

    see Result

    - -
-
- -
    - -
  • -

    Sets the name() record for the reverse MNS record associated with +ReverseRegistrar | @metrixnames/mnslib

    A registrar that allocates subdomains to the first person to claim them, but +expires registrations a fixed period after they're initially claimed.

    +

    Hierarchy

    • default
      • ReverseRegistrar

    Constructors

    Properties

    abi: any[]
    address: string
    bytecode: undefined | string
    provider: Provider

    Methods

    • Get this contract balance

      +

      Returns Promise<bigint>

      the satoshi balance of this contract

      +
    • Perform calltocontract

      +

      Parameters

      • method: string

        The contract method to call

        +
      • args: any[]

        The arguments

        +

      Returns Promise<undefined | Result>

      see Result

      +
    • Transfers ownership of the reverse MNS record associated with the +calling account.

      +

      Parameters

      • owner: string

        The address to set as the owner of the reverse record in MNS.

        +

      Returns Promise<Transaction>

      The MNS node hash of the reverse record.

      +
    • Transfers ownership of the reverse MNS record associated with the +calling account.

      +

      Parameters

      • addr: string

        The reverse record to set

        +
      • owner: string

        The address to set as the owner of the reverse record in MNS.

        +

      Returns Promise<Transaction>

      The MNS node hash of the reverse record.

      +
    • Transfers ownership of the reverse MNS record associated with the +calling account.

      +

      Parameters

      • owner: string

        The address to set as the owner of the reverse record in MNS.

        +
      • resolver: string

        The address of the resolver to set; 0 to leave unchanged.

        +

      Returns Promise<Transaction>

      The MNS node hash of the reverse record.

      +
    • Transfers ownership of the reverse MNS record specified with the +address provided

      +

      Parameters

      • addr: string

        The reverse record to set

        +
      • owner: string

        The address to set as the owner of the reverse record in MNS.

        +
      • resolver: string

        The address of the resolver to set; 0 to leave unchanged.

        +

      Returns Promise<Transaction>

      The MNS node hash of the reverse record.

      +
    • Get receipts from a transaction

      +

      Returns Promise<EventLogs>

      an EventLogs object

      +
    • Perform sendtocontract

      +

      Parameters

      • method: string

        The contract method to send to

        +
      • args: any[]

        The arguments to use

        +
      • Optionalvalue: string

        The amount to send to the contract

        +
      • OptionalgasLimit: number

        The amount of gas units allowed

        +
      • OptionalgasPrice: number

        The satoshi price per gas

        +

      Returns Promise<{
          hash160: string;
          sender: string;
          txid: string;
      }>

      see Result

      +
    • Sets the name() record for the reverse MNS record associated with the calling account. First updates the resolver to the default reverse resolver if necessary.

      -
      -
      -

      Parameters

      -
        -
      • -
        name: string
        -

        The name to set for this address.

        -
        -
      -

      Returns Promise<Transaction>

      The MNS node hash of the reverse record.

      - -
    -
    - -
      - -
    • -

      Sets the name() record for the reverse MNS record associated with +

      Parameters

      • name: string

        The name to set for this address.

        +

      Returns Promise<Transaction>

      The MNS node hash of the reverse record.

      +
    • Sets the name() record for the reverse MNS record associated with the account provided. First updates the resolver to the default reverse resolver if necessary. Only callable by controllers and authorised users

      -
      -
      -

      Parameters

      -
        -
      • -
        addr: string
        -

        The reverse record to set

        -
        -
      • -
      • -
        owner: string
        -

        The owner of the reverse node

        -
        -
      • -
      • -
        name: string
        -

        The name to set for this address.

        -
        -
      -

      Returns Promise<Transaction>

      The MNS node hash of the reverse record.

      - -
    -
    -
    -

    Generated using TypeDoc

    -
    \ No newline at end of file +

    Parameters

    • addr: string

      The reverse record to set

      +
    • owner: string

      The owner of the reverse node

      +
    • name: string

      The name to set for this address.

      +

    Returns Promise<Transaction>

    The MNS node hash of the reverse record.

    +
diff --git a/docs/classes/registrars.TestRegistrar.TestRegistrar.html b/docs/classes/registrars.TestRegistrar.TestRegistrar.html index 2b6c346..d16f008 100644 --- a/docs/classes/registrars.TestRegistrar.TestRegistrar.html +++ b/docs/classes/registrars.TestRegistrar.TestRegistrar.html @@ -1,330 +1,42 @@ -TestRegistrar | @metrixnames/mnslib
-
- -
-
-
- -
-

A registrar that allocates subdomains to the first person to claim them, but -expires registrations a fixed period after they're initially claimed.

-
-
-
-

Hierarchy

-
    -
  • default -
      -
    • TestRegistrar
-
-
-
- -
-
-

Constructors

-
-
-

Properties

-
-
-

Methods

-
-
-

Constructors

-
- -
-
-

Properties

-
- -
abi: any[]
-
- -
address: string
-
- -
bytecode: undefined | string
-
- -
provider: default
-
-

Methods

-
- -
    - -
  • -

    Get this contract balance

    -
    -

    Returns Promise<bigint>

    the satoshi balance of this contract

    - -
-
- -
    - -
  • -

    Perform calltocontract

    -
    -
    -

    Parameters

    -
      -
    • -
      method: string
      -

      The contract method to call

      -
      -
    • -
    • -
      args: any[]
      -

      The arguments

      -
      -
    -

    Returns Promise<undefined | Result>

    see Result

    - -
-
- -
    - -
  • -

    Get the expiry time of a label

    -
    -
    -

    Parameters

    -
      -
    • -
      label: string
      -

      The hash of the label to register.

      -
      -
    -

    Returns Promise<bigint>

    the expiry of the label

    - -
-
- -
    - -
  • -

    Get receipts from a transaction

    -
    -

    Returns Promise<EventLogs>

    an EventLogs object

    - -
-
- -
-
- -
    - -
  • -

    Register a name that's not currently registered

    -
    -
    -

    Parameters

    -
      -
    • -
      label: string
      -

      The hash of the label to register.

      -
      -
    • -
    • -
      owner: string
      -

      The address of the new owner.

      -
      -
    -

    Returns Promise<Transaction>

    aTransaction object

    - -
-
- -
-
- -
    - -
  • -

    Perform sendtocontract

    -
    -
    -

    Parameters

    -
      -
    • -
      method: string
      -

      The contract method to send to

      -
      -
    • -
    • -
      args: any[]
      -

      The arguments to use

      -
      -
    • -
    • -
      Optional value: string
      -

      The amount to send to the contract

      -
      -
    • -
    • -
      Optional gasLimit: number
      -

      The amount of gas units allowed

      -
      -
    • -
    • -
      Optional gasPrice: number
      -

      The satoshi price per gas

      -
      -
    -

    Returns Promise<{
        hash160: string;
        sender: string;
        txid: string;
    }>

    see Result

    - -
-
- -
-
-

Generated using TypeDoc

-
\ No newline at end of file +TestRegistrar | @metrixnames/mnslib

A registrar that allocates subdomains to the first person to claim them, but +expires registrations a fixed period after they're initially claimed.

+

Hierarchy

  • default
    • TestRegistrar

Constructors

Properties

abi: any[]
address: string
bytecode: undefined | string
provider: Provider

Methods

  • Get this contract balance

    +

    Returns Promise<bigint>

    the satoshi balance of this contract

    +
  • Perform calltocontract

    +

    Parameters

    • method: string

      The contract method to call

      +
    • args: any[]

      The arguments

      +

    Returns Promise<undefined | Result>

    see Result

    +
  • Get the expiry time of a label

    +

    Parameters

    • label: string

      The hash of the label to register.

      +

    Returns Promise<bigint>

    the expiry of the label

    +
  • Get receipts from a transaction

    +

    Returns Promise<EventLogs>

    an EventLogs object

    +
  • Register a name that's not currently registered

    +

    Parameters

    • label: string

      The hash of the label to register.

      +
    • owner: string

      The address of the new owner.

      +

    Returns Promise<Transaction>

    aTransaction object

    +
  • Perform sendtocontract

    +

    Parameters

    • method: string

      The contract method to send to

      +
    • args: any[]

      The arguments to use

      +
    • Optionalvalue: string

      The amount to send to the contract

      +
    • OptionalgasLimit: number

      The amount of gas units allowed

      +
    • OptionalgasPrice: number

      The satoshi price per gas

      +

    Returns Promise<{
        hash160: string;
        sender: string;
        txid: string;
    }>

    see Result

    +
diff --git a/docs/functions/getMNSAddress.html b/docs/functions/getMNSAddress.html index 1e469d2..c307a34 100644 --- a/docs/functions/getMNSAddress.html +++ b/docs/functions/getMNSAddress.html @@ -1,66 +1 @@ -getMNSAddress | @metrixnames/mnslib
-
- -
-
-
-
- -

Function getMNSAddress

-
-
-
- -
-
-

Generated using TypeDoc

-
\ No newline at end of file +getMNSAddress | @metrixnames/mnslib

Function getMNSAddress

diff --git a/docs/functions/getMNSContract.html b/docs/functions/getMNSContract.html index e7c7e0b..2af71cc 100644 --- a/docs/functions/getMNSContract.html +++ b/docs/functions/getMNSContract.html @@ -1,68 +1 @@ -getMNSContract | @metrixnames/mnslib
-
- -
-
-
-
- -

Function getMNSContract

-
-
    - -
  • -
    -

    Parameters

    -
      -
    • -
      address: string
    • -
    • -
      provider: default
    -

    Returns default

-
- -
-
-

Generated using TypeDoc

-
\ No newline at end of file +getMNSContract | @metrixnames/mnslib

Function getMNSContract

  • Parameters

    • address: string
    • provider: Provider

    Returns MetrixContract

diff --git a/docs/functions/getResolverContract.html b/docs/functions/getResolverContract.html index 9b59456..90508e5 100644 --- a/docs/functions/getResolverContract.html +++ b/docs/functions/getResolverContract.html @@ -1,68 +1 @@ -getResolverContract | @metrixnames/mnslib
-
- -
-
-
-
- -

Function getResolverContract

-
-
    - -
  • -
    -

    Parameters

    -
      -
    • -
      address: string
    • -
    • -
      provider: default
    -

    Returns default

-
- -
-
-

Generated using TypeDoc

-
\ No newline at end of file +getResolverContract | @metrixnames/mnslib

Function getResolverContract

  • Parameters

    • address: string
    • provider: Provider

    Returns MetrixContract

diff --git a/docs/functions/getReverseRegistrarContract.html b/docs/functions/getReverseRegistrarContract.html index 4ebdded..29e86e6 100644 --- a/docs/functions/getReverseRegistrarContract.html +++ b/docs/functions/getReverseRegistrarContract.html @@ -1,68 +1 @@ -getReverseRegistrarContract | @metrixnames/mnslib
-
- -
-
-
-
- -

Function getReverseRegistrarContract

-
-
    - -
  • -
    -

    Parameters

    -
      -
    • -
      address: string
    • -
    • -
      provider: default
    -

    Returns default

-
- -
-
-

Generated using TypeDoc

-
\ No newline at end of file +getReverseRegistrarContract | @metrixnames/mnslib

Function getReverseRegistrarContract

  • Parameters

    • address: string
    • provider: Provider

    Returns MetrixContract

diff --git a/docs/functions/labelhash.html b/docs/functions/labelhash.html index 59169b3..5ffef1a 100644 --- a/docs/functions/labelhash.html +++ b/docs/functions/labelhash.html @@ -1,66 +1 @@ -labelhash | @metrixnames/mnslib
-
- -
-
-
-
- -

Function labelhash

-
-
-
- -
-
-

Generated using TypeDoc

-
\ No newline at end of file +labelhash | @metrixnames/mnslib
diff --git a/docs/hierarchy.html b/docs/hierarchy.html new file mode 100644 index 0000000..f8491b0 --- /dev/null +++ b/docs/hierarchy.html @@ -0,0 +1 @@ +@metrixnames/mnslib

@metrixnames/mnslib

Class Hierarchy

diff --git a/docs/index.html b/docs/index.html index fbb89d3..2b883ef 100644 --- a/docs/index.html +++ b/docs/index.html @@ -1,72 +1,9 @@ -@metrixnames/mnslib
-
- -
-
-
-
-

@metrixnames/mnslib

-

GitHub license npm version GitHub last commit (branch) Node.js CI

-

mnslib

mnslib is an update/port of ensjs made to work for the Metrix Name Service and MetrixCoin blockchain. The metrilib dependency is used to interact with the MetrixCoin blockchain.

-

Documentation

Installation

npm install --save @metrixcoin/metrilib @metrixnames/mnslib
+@metrixnames/mnslib

@metrixnames/mnslib

GitHub license npm version GitHub last commit (branch) Node.js CI

+

mnslib

mnslib is an update/port of ensjs made to work for the Metrix Name Service and MetrixCoin blockchain. The metrilib dependency is used to interact with the MetrixCoin blockchain.

+
npm install --save @metrixcoin/metrilib @metrixnames/mnslib
 
-

Example Usage

import { APIProvider } from '@metrixcoin/metrilib';
import { MNS, Name, getMNSAddress } from '@metrixnames/mnslib';

const network = 'TestNet'; // can be 'MainNet' or 'TestNet'

// const mrpc = new MetrixRPCNode(
// null,
// 'http://localhost:33841',
// 'rpcuser',
// 'rpcpass'
// );
// const sender = 'maTQfd4w7mqCzGL32RgBFMYY9ehCmjLEGf'; // sending address which the wallet controls the keys for
// const provider = new RPCProvider(network, mrpc, sender); // create a read/write provider using a local wallet daemon (usually used server side)

// const provider = new Web3Provider(network); // create a read/write provider using web3 (MetriMask) (always used client side)

const provider = new APIProvider(network); // create a readonly provider using the explorer API (usually used client side)

const mns = new MNS(network, provider, getMNSAddress(network));

const name: Name = mns.name('burn.mrx'); // return a Name object which can be used to make record queries

const address = await name.getAddress('MRX'); // return a standard MetrixCoin address slip44:326
// ex: M7uAERuQW2AotfyLDyewFGcLUDtAYu9v5V

const resAddress = await name.getResolverAddr(); // an EVM address of the resolver for the name

const resolver: Resolver = mns.resolver(resAddress); // a Resolver object which can be used to query names from this specific resolver

const owner = resolver.name('burn.mrx').getOwner(); // an EVM address of an EOA (Hexified MRX) or contract
// ex: 0x0000000000000000000000000000000000000000 + +
import { APIProvider } from '@metrixcoin/metrilib';
import { MNS, Name, getMNSAddress } from '@metrixnames/mnslib';

const network = 'TestNet'; // can be 'MainNet' or 'TestNet'

// const mrpc = new MetrixRPCNode(
// null,
// 'http://localhost:33841',
// 'rpcuser',
// 'rpcpass'
// );
// const sender = 'maTQfd4w7mqCzGL32RgBFMYY9ehCmjLEGf'; // sending address which the wallet controls the keys for
// const provider = new RPCProvider(network, mrpc, sender); // create a read/write provider using a local wallet daemon (usually used server side)

// const provider = new Web3Provider(network); // create a read/write provider using web3 (MetriMask) (always used client side)

const provider = new APIProvider(network); // create a readonly provider using the explorer API (usually used client side)

const mns = new MNS(network, provider, getMNSAddress(network));

const name: Name = mns.name('burn.mrx'); // return a Name object which can be used to make record queries

const address = await name.getAddress('MRX'); // return a standard MetrixCoin address slip44:326
// ex: M7uAERuQW2AotfyLDyewFGcLUDtAYu9v5V

const resAddress = await name.getResolverAddr(); // an EVM address of the resolver for the name

const resolver: Resolver = mns.resolver(resAddress); // a Resolver object which can be used to query names from this specific resolver

const owner = resolver.name('burn.mrx').getOwner(); // an EVM address of an EOA (Hexified MRX) or contract
// ex: 0x0000000000000000000000000000000000000000
-
-
- -
-
-

Generated using TypeDoc

-
\ No newline at end of file + +
diff --git a/docs/interfaces/Deployment.html b/docs/interfaces/Deployment.html index afe595d..37411ef 100644 --- a/docs/interfaces/Deployment.html +++ b/docs/interfaces/Deployment.html @@ -1,165 +1,14 @@ -Deployment | @metrixnames/mnslib
-
- -
-
-
-
- -

Interface Deployment

-
-

Hierarchy

-
    -
  • Deployment
-
-
-
- -
-
-

Properties

-
- -
BaseRegistrarImplementation: string
-
- -
DefaultReverseResolver: string
-
- -
DummyOracle?: string
-
- -
MNSMigrations: string
-
- -
MNSRegistry: string
-
- -
MNSRegistryWithFallback: string
-
- -
MRXRegistrarController: string
-
- -
MRXtoUSDOracle?: string
-
- -
NameWrapper: string
-
- -
PublicResolver: string
-
- -
ReverseRegistrar: string
-
- -
StaticMetadataService: string
-
- -
TestRegistrar?: string
-
-
-

Generated using TypeDoc

-
\ No newline at end of file +Deployment | @metrixnames/mnslib

Interface Deployment

interface Deployment {
    BaseRegistrarImplementation: string;
    DefaultReverseResolver: string;
    DummyOracle?: string;
    MNSMigrations: string;
    MNSRegistry: string;
    MNSRegistryWithFallback: string;
    MRXRegistrarController: string;
    MRXtoUSDOracle?: string;
    NameWrapper: string;
    PublicResolver: string;
    ReverseRegistrar: string;
    StaticMetadataService: string;
    TestRegistrar?: string;
}

Properties

BaseRegistrarImplementation: string
DefaultReverseResolver: string
DummyOracle?: string
MNSMigrations: string
MNSRegistry: string
MNSRegistryWithFallback: string
MRXRegistrarController: string
MRXtoUSDOracle?: string
NameWrapper: string
PublicResolver: string
ReverseRegistrar: string
StaticMetadataService: string
TestRegistrar?: string
diff --git a/docs/interfaces/profiles.ABIResolver.html b/docs/interfaces/profiles.ABIResolver.html index 0c84f3e..5e57f7a 100644 --- a/docs/interfaces/profiles.ABIResolver.html +++ b/docs/interfaces/profiles.ABIResolver.html @@ -1,186 +1,25 @@ -ABIResolver | @metrixnames/mnslib
-
- -
-
-
-
- -

Interface ABIResolver

-
-

Interface that represent an ABI Resolver

-
-
-
-

Hierarchy

-
    -
  • IERC165 -
      -
    • ABIResolver
-
-

Implemented by

-
-
-
-
- -
-
-

Methods

-
-
-

Methods

-
- -
    - -
  • -

    Returns the ABI associated with an MNS node. +ABIResolver | @metrixnames/mnslib

    Interface that represent an ABI Resolver

    +
    interface ABIResolver {
        ABI(node: string, contentType: bigint): Promise<[contentType: bigint, data: string]>;
        setABI(node: string, contentType: bigint, data: string): Promise<Transaction>;
        supportsInterface(interfaceId: string): Promise<boolean>;
    }

    Hierarchy

    • IERC165
      • ABIResolver

    Implemented by

    Methods

    • Returns the ABI associated with an MNS node. Defined in EIP205.

      -
      -
      -

      Parameters

      -
        -
      • -
        node: string
        -

        The MNS node to query

        -
        -
      • -
      • -
        contentType: bigint
        -

        A bitwise OR of the ABI formats accepted by the caller.

        -
        -
      -

      Returns Promise<[contentType: bigint, data: string]>

      [contentType,data] The content type of the return data value

      - -
    -
    - -
      - -
    • -

      Sets the ABI associated with an MNS node. +

      Parameters

      • node: string

        The MNS node to query

        +
      • contentType: bigint

        A bitwise OR of the ABI formats accepted by the caller.

        +

      Returns Promise<[contentType: bigint, data: string]>

      [contentType,data] The content type of the return data value

      +
    • Sets the ABI associated with an MNS node. Nodes may have one ABI of each content type. To remove an ABI, set it to the empty string.

      -
      -
      -

      Parameters

      -
        -
      • -
        node: string
        -

        The node to update.

        -
        -
      • -
      • -
        contentType: bigint
        -

        The content type of the ABI

        -
        -
      • -
      • -
        data: string
        -

        The ABI data.

        -
        -
      -

      Returns Promise<Transaction>

      an array of TransactionReceipt objects

      - -
    -
    - -
      - -
    • -

      Returns true if this contract implements the interface defined by +

      Parameters

      • node: string

        The node to update.

        +
      • contentType: bigint

        The content type of the ABI

        +
      • data: string

        The ABI data.

        +

      Returns Promise<Transaction>

      an array of TransactionReceipt objects

      +
    -
    -
    -

    Generated using TypeDoc

    -
    \ No newline at end of file +

    Parameters

    • interfaceId: string

      The MNS node to query.

      +

    Returns Promise<boolean>

    if the interface is supported

    +
diff --git a/docs/interfaces/profiles.AddrResolver.html b/docs/interfaces/profiles.AddrResolver.html index 29c6712..1c8b6a8 100644 --- a/docs/interfaces/profiles.AddrResolver.html +++ b/docs/interfaces/profiles.AddrResolver.html @@ -1,234 +1,33 @@ -AddrResolver | @metrixnames/mnslib
-
- -
-
-
-
- -

Interface AddrResolver

-
-

Interface that represent an Address Resolver

-
-
-
-

Hierarchy

-
    -
  • IERC165 -
      -
    • AddrResolver
-
-

Implemented by

-
-
-
-
- -
-
-

Methods

-
- -
    - -
  • -

    Returns the address associated with an MNS node.

    -
    -
    -

    Parameters

    -
      -
    • -
      node: string
      -

      The MNS node to query.

      -
      -
    -

    Returns Promise<string>

    The associated address.

    - -
-
- -
    - -
  • -

    Returns the address associated with an MNS node.

    -
    -
    -

    Parameters

    -
      -
    • -
      node: string
      -

      The MNS node to query.

      -
      -
    • -
    • -
      coinType: bigint
      -

      the slip44 id of the coin

      -
      -
    -

    Returns Promise<string>

    The associated address.

    - -
-
- -
diff --git a/docs/interfaces/profiles.ContentHashResolver.html b/docs/interfaces/profiles.ContentHashResolver.html index cf28e3d..e02cb2c 100644 --- a/docs/interfaces/profiles.ContentHashResolver.html +++ b/docs/interfaces/profiles.ContentHashResolver.html @@ -1,174 +1,21 @@ -ContentHashResolver | @metrixnames/mnslib
-
- -
-
-
-
- -

Interface ContentHashResolver

-
-

Interface that represent a ContentHash Resolver

-
-
-
-

Hierarchy

-
    -
  • IERC165 -
      -
    • ContentHashResolver
-
-

Implemented by

-
-
-
-
- -
-
-

Methods

-
- -
    - -
  • -

    Returns the contenthash associated with an MNS node.

    -
    -
    -

    Parameters

    -
      -
    • -
      node: string
      -

      The MNS node to query.

      -
      -
    -

    Returns Promise<string>

    The associated contenthash.

    - -
-
- -
diff --git a/docs/interfaces/profiles.DNSResolver.html b/docs/interfaces/profiles.DNSResolver.html index 86a1388..e645294 100644 --- a/docs/interfaces/profiles.DNSResolver.html +++ b/docs/interfaces/profiles.DNSResolver.html @@ -1,295 +1,54 @@ -DNSResolver | @metrixnames/mnslib
-
- -
-
-
-
- -

Interface DNSResolver

-
-

Interface that represents a DNS Resolver

-
-
-
-

Hierarchy

-
    -
  • IERC165 -
      -
    • DNSResolver
-
-

Implemented by

-
-
-
-
- -
-
-

Methods

-
- -
    - -
  • -

    Clear all information for a DNS zone.

    -
    -
    -

    Parameters

    -
      -
    • -
      node: string
      -

      the namehash of the node for which to clear the zone

      -
      -
    -

    Returns Promise<Transaction>

    an array of TransactionReceipt objects

    - -
-
- -
    - -
  • -

    Obtain a DNS record.

    -
    -
    -

    Parameters

    -
      -
    • -
      node: string
      -

      the namehash of the node for which to fetch the record

      -
      -
    • -
    • -
      name: string
      -

      the keccak-256 hash of the fully-qualified name for which to fetch the record

      -
      -
    • -
    • -
      resource: bigint
      - -
    -

    Returns Promise<string>

    the DNS record in wire format if present, otherwise empty

    - -
-
- -
    - -
  • -

    Check if a given node has records.

    -
    -
    -

    Parameters

    -
      -
    • -
      node: string
      -

      the namehash of the node for which to check the records

      -
      -
    • -
    • -
      name: string
      -

      the namehash of the node for which to check the records

      -
      -
    -

    Returns Promise<boolean>

    has records

    - -
-
- -
  • zonehash obtains the hash for the zone.

    +

    Parameters

    • node: string

      The MNS node to query.

      +

    Returns Promise<string>

    The associated contenthash.

    +
diff --git a/docs/interfaces/profiles.InterfaceResolver.html b/docs/interfaces/profiles.InterfaceResolver.html index 1712d60..9235a41 100644 --- a/docs/interfaces/profiles.InterfaceResolver.html +++ b/docs/interfaces/profiles.InterfaceResolver.html @@ -1,188 +1,27 @@ -InterfaceResolver | @metrixnames/mnslib
-
- -
-
-
-
- -

Interface InterfaceResolver

-
-

Interface that represents an Interface Resolver

-
-
-
-

Hierarchy

-
    -
  • IERC165 -
      -
    • InterfaceResolver
-
-

Implemented by

-
-
-
-
- -
-
-

Methods

-
- -
    - -
  • -

    Returns the address of a contract that implements the specified interface for this name. +InterfaceResolver | @metrixnames/mnslib

    Interface that represents an Interface Resolver

    +
    interface InterfaceResolver {
        interfaceImplementer(node: string, interfaceId: string): Promise<string>;
        setInterface(node: string, interfaceId: string, implementer: string): Promise<Transaction>;
        supportsInterface(interfaceId: string): Promise<boolean>;
    }

    Hierarchy

    • IERC165
      • InterfaceResolver

    Implemented by

    Methods

    • Returns the address of a contract that implements the specified interface for this name. If an implementer has not been set for this interfaceID and name, the resolver will query the contract at addr(). If addr() is set, a contract exists at that address, and that contract implements EIP165 and returns true for the specified interfaceID, its address will be returned.

      -
      -
      -

      Parameters

      -
        -
      • -
        node: string
        -

        The MNS node to query.

        -
        -
      • -
      • -
        interfaceId: string
        -

        The EIP 165 interface ID to check for.

        -
        -
      -

      Returns Promise<string>

      The address that implements this interface, or 0 if the interface is unsupported.

      - -
    -
    - -
      - -
    • -

      Sets an interface associated with a name. +

      Parameters

      • node: string

        The MNS node to query.

        +
      • interfaceId: string

        The EIP 165 interface ID to check for.

        +

      Returns Promise<string>

      The address that implements this interface, or 0 if the interface is unsupported.

      +
    • Sets an interface associated with a name. Setting the address to 0 restores the default behaviour of querying the contract at addr() for interface support.

      -
      -
      -

      Parameters

      -
        -
      • -
        node: string
        -

        The node to update.

        -
        -
      • -
      • -
        interfaceId: string
        -

        The EIP 165 interface ID.

        -
        -
      • -
      • -
        implementer: string
        -

        The address of a contract that implements this interface for this node.

        -
        -
      -

      Returns Promise<Transaction>

      an array of TransactionReceipt objects

      - -
    -
    - -
      - -
    • -

      Returns true if this contract implements the interface defined by +

      Parameters

      • node: string

        The node to update.

        +
      • interfaceId: string

        The EIP 165 interface ID.

        +
      • implementer: string

        The address of a contract that implements this interface for this node.

        +

      Returns Promise<Transaction>

      an array of TransactionReceipt objects

      +
    -
    -
    -

    Generated using TypeDoc

    -
    \ No newline at end of file +

    Parameters

    • interfaceId: string

      The MNS node to query.

      +

    Returns Promise<boolean>

    if the interface is supported

    +
diff --git a/docs/interfaces/profiles.NameResolver.html b/docs/interfaces/profiles.NameResolver.html index facbe87..e43fe4f 100644 --- a/docs/interfaces/profiles.NameResolver.html +++ b/docs/interfaces/profiles.NameResolver.html @@ -1,175 +1,22 @@ -NameResolver | @metrixnames/mnslib
-
- -
-
-
-
- -

Interface NameResolver

-
-

Interface that represents a Name Resolver

-
-
-
-

Hierarchy

-
    -
  • IERC165 -
      -
    • NameResolver
-
-

Implemented by

-
-
-
-
- -
-
-

Methods

-
-
-

Methods

-
- -
diff --git a/docs/interfaces/profiles.PubkeyResolver.html b/docs/interfaces/profiles.PubkeyResolver.html index d07a451..a9e7e24 100644 --- a/docs/interfaces/profiles.PubkeyResolver.html +++ b/docs/interfaces/profiles.PubkeyResolver.html @@ -1,179 +1,22 @@ -PubkeyResolver | @metrixnames/mnslib
-
- -
-
-
-
- -

Interface PubkeyResolver

-
-

Interface that represents an SECP256k1 public key Resolver

-
-
-
-

Hierarchy

-
    -
  • IERC165 -
      -
    • PubkeyResolver
-
-

Implemented by

-
-
-
-
- -
-
-

Methods

-
- -
diff --git a/docs/interfaces/profiles.TextResolver.html b/docs/interfaces/profiles.TextResolver.html index d5d1b00..a1dd232 100644 --- a/docs/interfaces/profiles.TextResolver.html +++ b/docs/interfaces/profiles.TextResolver.html @@ -1,184 +1,23 @@ -TextResolver | @metrixnames/mnslib
-
- -
-
-
-
- -

Interface TextResolver

-
-

Interface that represents an Text Resolver

-
-
-
-

Hierarchy

-
    -
  • IERC165 -
      -
    • TextResolver
-
-

Implemented by

-
-
-
-
- -
-
-

Methods

-
-
-

Methods

-
- -
  • Returns the text data associated with an MNS node and key.

    +

    Parameters

    • node: string

      The MNS node to query.

      +
    • key: string

      The text data key to query.

      +

    Returns Promise<string>

    The associated text data.

    +
diff --git a/docs/modules.html b/docs/modules.html index 3f7d6b1..b1a6169 100644 --- a/docs/modules.html +++ b/docs/modules.html @@ -1,85 +1,17 @@ -@metrixnames/mnslib
-
- -
-
-
-
-

@metrixnames/mnslib

-
-
-

Index

-
-

Namespaces

-
-
-

Classes

-
-
-

Interfaces

-
-
-

Variables

-
-
-

Functions

-
-
- -
-
-

Generated using TypeDoc

-
\ No newline at end of file +@metrixnames/mnslib
diff --git a/docs/modules/profiles.html b/docs/modules/profiles.html index c992a50..89f2929 100644 --- a/docs/modules/profiles.html +++ b/docs/modules/profiles.html @@ -1,81 +1,9 @@ -profiles | @metrixnames/mnslib
-
- -
- -
-

Generated using TypeDoc

-
\ No newline at end of file +profiles | @metrixnames/mnslib
diff --git a/docs/modules/registrars.MrxRegistrar.html b/docs/modules/registrars.MrxRegistrar.html index 06edea8..6e19a10 100644 --- a/docs/modules/registrars.MrxRegistrar.html +++ b/docs/modules/registrars.MrxRegistrar.html @@ -1,75 +1,2 @@ -MrxRegistrar | @metrixnames/mnslib
-
- -
- -
-

Generated using TypeDoc

-
\ No newline at end of file +MrxRegistrar | @metrixnames/mnslib
diff --git a/docs/modules/registrars.MrxRegistrarController.html b/docs/modules/registrars.MrxRegistrarController.html index 83e9386..549cc5e 100644 --- a/docs/modules/registrars.MrxRegistrarController.html +++ b/docs/modules/registrars.MrxRegistrarController.html @@ -1,75 +1,2 @@ -MrxRegistrarController | @metrixnames/mnslib
-
- -
- -
-

Generated using TypeDoc

-
\ No newline at end of file +MrxRegistrarController | @metrixnames/mnslib
diff --git a/docs/modules/registrars.ReverseRegistrar.html b/docs/modules/registrars.ReverseRegistrar.html index 039504c..cf0bae4 100644 --- a/docs/modules/registrars.ReverseRegistrar.html +++ b/docs/modules/registrars.ReverseRegistrar.html @@ -1,75 +1,2 @@ -ReverseRegistrar | @metrixnames/mnslib
-
- -
- -
-

Generated using TypeDoc

-
\ No newline at end of file +ReverseRegistrar | @metrixnames/mnslib
diff --git a/docs/modules/registrars.TestRegistrar.html b/docs/modules/registrars.TestRegistrar.html index 0fe11ae..2483aea 100644 --- a/docs/modules/registrars.TestRegistrar.html +++ b/docs/modules/registrars.TestRegistrar.html @@ -1,75 +1,2 @@ -TestRegistrar | @metrixnames/mnslib
-
- -
- -
-

Generated using TypeDoc

-
\ No newline at end of file +TestRegistrar | @metrixnames/mnslib
diff --git a/docs/modules/registrars.html b/docs/modules/registrars.html index e498a74..930318c 100644 --- a/docs/modules/registrars.html +++ b/docs/modules/registrars.html @@ -1,73 +1,5 @@ -registrars | @metrixnames/mnslib
-
- -
- -
-

Generated using TypeDoc

-
\ No newline at end of file +registrars | @metrixnames/mnslib
diff --git a/docs/variables/CONTRACTS.html b/docs/variables/CONTRACTS.html index 0d484ec..010353a 100644 --- a/docs/variables/CONTRACTS.html +++ b/docs/variables/CONTRACTS.html @@ -1,64 +1 @@ -CONTRACTS | @metrixnames/mnslib
-
- -
-
-
-
- -

Variable CONTRACTSConst

-
CONTRACTS: {
    MainNet: Deployment;
    TestNet: Deployment;
} = ...
-
-

Type declaration

-
-
- -
-
-

Generated using TypeDoc

-
\ No newline at end of file +CONTRACTS | @metrixnames/mnslib

Variable CONTRACTSConst

CONTRACTS: {
    MainNet: Deployment;
    TestNet: Deployment;
} = ...
diff --git a/docs/variables/namehash.html b/docs/variables/namehash.html index e99c671..b29de81 100644 --- a/docs/variables/namehash.html +++ b/docs/variables/namehash.html @@ -1,57 +1 @@ -namehash | @metrixnames/mnslib
-
- -
-
-
-
- -

Variable namehashConst

-
namehash: any = ...
-
- -
-
-

Generated using TypeDoc

-
\ No newline at end of file +namehash | @metrixnames/mnslib

Variable namehashConst

namehash: any = ...
diff --git a/eslint.config.mjs b/eslint.config.mjs new file mode 100644 index 0000000..55352fc --- /dev/null +++ b/eslint.config.mjs @@ -0,0 +1,34 @@ +import typescriptEslint from '@typescript-eslint/eslint-plugin'; +import tsParser from '@typescript-eslint/parser'; +import path from 'node:path'; +import { fileURLToPath } from 'node:url'; +import js from '@eslint/js'; +import { FlatCompat } from '@eslint/eslintrc'; + +const __filename = fileURLToPath(import.meta.url); +const __dirname = path.dirname(__filename); +const compat = new FlatCompat({ + baseDirectory: __dirname, + recommendedConfig: js.configs.recommended, + allConfig: js.configs.all +}); + +export default [ + { + ignores: ['**/node_modules/', '**/lib/', '**/docs'] + }, + ...compat.extends( + 'eslint:recommended', + 'plugin:@typescript-eslint/eslint-recommended', + 'plugin:@typescript-eslint/recommended' + ), + { + plugins: { + '@typescript-eslint': typescriptEslint + }, + + languageOptions: { + parser: tsParser + } + } +]; diff --git a/package-lock.json b/package-lock.json index af0a21b..571993f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,17 +1,17 @@ { "name": "@metrixnames/mnslib", - "version": "2.2.0", + "version": "2.2.2", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@metrixnames/mnslib", - "version": "2.2.0", + "version": "2.2.2", "license": "MIT", "dependencies": { "@ensdomains/address-encoder": "^0.2.20", "@ensdomains/eth-ens-namehash": "^2.0.15", - "@metrixcoin/metrilib": "^1.6.0-beta", + "@metrixcoin/metrilib": "^1.6.1-beta", "bs58": "^5.0.0", "content-hash": "^2.5.2", "ethers": "^6.0.3", @@ -24,17 +24,17 @@ "@types/mocha": "^10.0.1", "@types/node": "^20.3.1", "@types/node-fetch": "^2.6.1", - "@typescript-eslint/eslint-plugin": "^5.23.0", - "@typescript-eslint/parser": "^5.23.0", + "@typescript-eslint/eslint-plugin": "^8.1.0", + "@typescript-eslint/parser": "^8.1.0", "assert": "^2.0.0", - "eslint": "^8.15.0", + "eslint": "^9.9.0", "mocha": "^10.0.0", "nyc": "^15.1.0", "prettier": "^2.6.2", "source-map-support": "^0.5.21", "ts-node": "^10.8.0", - "typedoc": "^0.24.4", - "typescript": "4.9.5" + "typedoc": "^0.26.5", + "typescript": "5.5.4" }, "engines": { "node": ">=14.0.0", @@ -45,9 +45,9 @@ } }, "node_modules/@adraffy/ens-normalize": { - "version": "1.9.2", - "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.9.2.tgz", - "integrity": "sha512-0h+FrQDqe2Wn+IIGFkTCd4aAwTJ+7834Ek1COohCyV26AXhwQ7WQaz+4F/nLOeVl/3BtWHOHLPsq46V8YB46Eg==" + "version": "1.10.1", + "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" }, "node_modules/@ampproject/remapping": { "version": "2.2.1", @@ -63,12 +63,13 @@ } }, "node_modules/@babel/code-frame": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.22.5.tgz", - "integrity": "sha512-Xmwn266vad+6DAqEB2A6V/CcZVp62BbwVmcOJc2RPuwih1kw02TjQvWVWlcKGbBPd+8/0V5DEkOcizRGYsspYQ==", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.24.7.tgz", + "integrity": "sha512-BcYH1CVJBO9tvyIZ2jVeXgSIMvGZ2FDRvDdOIVQyuklNKSsx+eppDEBq/g47Ayw+RqNFE+URvOShmf+f/qwAlA==", "dev": true, "dependencies": { - "@babel/highlight": "^7.22.5" + "@babel/highlight": "^7.24.7", + "picocolors": "^1.0.0" }, "engines": { "node": ">=6.9.0" @@ -114,23 +115,23 @@ } }, "node_modules/@babel/core/node_modules/semver": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", "dev": true, "bin": { "semver": "bin/semver.js" } }, "node_modules/@babel/generator": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.22.5.tgz", - "integrity": "sha512-+lcUbnTRhd0jOewtFSedLyiPsD5tswKkbgcezOqqWFUVNEwoUTlpPOBmvhG7OXWLR4jMdv0czPGH5XbflnD1EA==", + "version": "7.25.0", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.25.0.tgz", + "integrity": "sha512-3LEEcj3PVW8pW2R1SR1M89g/qrYk/m/mB/tLqn7dn4sbBUQyTqnlod+II2U4dqiGtUmkcnAmkMDralTFZttRiw==", "dev": true, "dependencies": { - "@babel/types": "^7.22.5", - "@jridgewell/gen-mapping": "^0.3.2", - "@jridgewell/trace-mapping": "^0.3.17", + "@babel/types": "^7.25.0", + "@jridgewell/gen-mapping": "^0.3.5", + "@jridgewell/trace-mapping": "^0.3.25", "jsesc": "^2.5.1" }, "engines": { @@ -157,9 +158,9 @@ } }, "node_modules/@babel/helper-compilation-targets/node_modules/semver": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", "dev": true, "bin": { "semver": "bin/semver.js" @@ -174,31 +175,6 @@ "node": ">=6.9.0" } }, - "node_modules/@babel/helper-function-name": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.22.5.tgz", - "integrity": "sha512-wtHSq6jMRE3uF2otvfuD3DIvVhOsSNshQl0Qrd7qC9oQJzHvOL4qQXlQn2916+CXGywIjpGuIkoyZRRxHPiNQQ==", - "dev": true, - "dependencies": { - "@babel/template": "^7.22.5", - "@babel/types": "^7.22.5" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-hoist-variables": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.22.5.tgz", - "integrity": "sha512-wGjk9QZVzvknA6yKIUURb8zY3grXCcOZt+/7Wcy8O2uctxhplmUPkOdlgoNhmdVee2c92JXbf1xpMtVNbfoxRw==", - "dev": true, - "dependencies": { - "@babel/types": "^7.22.5" - }, - "engines": { - "node": ">=6.9.0" - } - }, "node_modules/@babel/helper-module-imports": { "version": "7.22.5", "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.22.5.tgz", @@ -255,18 +231,18 @@ } }, "node_modules/@babel/helper-string-parser": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.22.5.tgz", - "integrity": "sha512-mM4COjgZox8U+JcXQwPijIZLElkgEpO5rsERVDJTc2qfCDfERyob6k5WegS14SX18IIjv+XD+GrqNumY5JRCDw==", + "version": "7.24.8", + "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.24.8.tgz", + "integrity": "sha512-pO9KhhRcuUyGnJWwyEgnRJTSIZHiT+vMD0kPeD+so0l7mxkMT19g3pjY9GTnHySck/hDzq+dtW/4VgnMkippsQ==", "dev": true, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-validator-identifier": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.22.5.tgz", - "integrity": "sha512-aJXu+6lErq8ltp+JhkJUfk1MTGyuA4v7f3pA+BJ5HLfNC6nAQ0Cpi9uOquUj8Hehg0aUiHzWQbOVJGao6ztBAQ==", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.24.7.tgz", + "integrity": "sha512-rR+PBcQ1SMQDDyF6X0wxtG8QyLCgUB0eRAGguqRLfkCA87l7yAP7ehq8SNj96OOGTO8OBV70KhuFYcIkHXOg0w==", "dev": true, "engines": { "node": ">=6.9.0" @@ -296,14 +272,15 @@ } }, "node_modules/@babel/highlight": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.22.5.tgz", - "integrity": "sha512-BSKlD1hgnedS5XRnGOljZawtag7H1yPfQp0tdNJCHoH6AZ+Pcm9VvkrK59/Yy593Ypg0zMxH2BxD1VPYUQ7UIw==", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.24.7.tgz", + "integrity": "sha512-EStJpq4OuY8xYfhGVXngigBJRWxftKX9ksiGDnmlY3o7B/V7KIAc9X4oiK87uPJSc/vs5L869bem5fhZa8caZw==", "dev": true, "dependencies": { - "@babel/helper-validator-identifier": "^7.22.5", - "chalk": "^2.0.0", - "js-tokens": "^4.0.0" + "@babel/helper-validator-identifier": "^7.24.7", + "chalk": "^2.4.2", + "js-tokens": "^4.0.0", + "picocolors": "^1.0.0" }, "engines": { "node": ">=6.9.0" @@ -381,10 +358,13 @@ } }, "node_modules/@babel/parser": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.22.5.tgz", - "integrity": "sha512-DFZMC9LJUG9PLOclRC32G63UXwzqS2koQC8dkx+PLdmt1xSePYpbT/NbsrJy8Q/muXz7o/h/d4A7Fuyixm559Q==", + "version": "7.25.3", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.25.3.tgz", + "integrity": "sha512-iLTJKDbJ4hMvFPgQwwsVoxtHyWpKKPBrxkANrSYewDPaPpT5py5yeVkgPIJ7XYXhndxJpaA3PyALSXQ7u8e/Dw==", "dev": true, + "dependencies": { + "@babel/types": "^7.25.2" + }, "bin": { "parser": "bin/babel-parser.js" }, @@ -393,34 +373,31 @@ } }, "node_modules/@babel/template": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.22.5.tgz", - "integrity": "sha512-X7yV7eiwAxdj9k94NEylvbVHLiVG1nvzCV2EAowhxLTwODV1jl9UzZ48leOC0sH7OnuHrIkllaBgneUykIcZaw==", + "version": "7.25.0", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.25.0.tgz", + "integrity": "sha512-aOOgh1/5XzKvg1jvVz7AVrx2piJ2XBi227DHmbY6y+bM9H2FlN+IfecYu4Xl0cNiiVejlsCri89LUsbj8vJD9Q==", "dev": true, "dependencies": { - "@babel/code-frame": "^7.22.5", - "@babel/parser": "^7.22.5", - "@babel/types": "^7.22.5" + "@babel/code-frame": "^7.24.7", + "@babel/parser": "^7.25.0", + "@babel/types": "^7.25.0" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/traverse": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.22.5.tgz", - "integrity": "sha512-7DuIjPgERaNo6r+PZwItpjCZEa5vyw4eJGufeLxrPdBXBoLcCJCIasvK6pK/9DVNrLZTLFhUGqaC6X/PA007TQ==", + "version": "7.25.3", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.25.3.tgz", + "integrity": "sha512-HefgyP1x754oGCsKmV5reSmtV7IXj/kpaE1XYY+D9G5PvKKoFfSbiS4M77MdjuwlZKDIKFCffq9rPU+H/s3ZdQ==", "dev": true, "dependencies": { - "@babel/code-frame": "^7.22.5", - "@babel/generator": "^7.22.5", - "@babel/helper-environment-visitor": "^7.22.5", - "@babel/helper-function-name": "^7.22.5", - "@babel/helper-hoist-variables": "^7.22.5", - "@babel/helper-split-export-declaration": "^7.22.5", - "@babel/parser": "^7.22.5", - "@babel/types": "^7.22.5", - "debug": "^4.1.0", + "@babel/code-frame": "^7.24.7", + "@babel/generator": "^7.25.0", + "@babel/parser": "^7.25.3", + "@babel/template": "^7.25.0", + "@babel/types": "^7.25.2", + "debug": "^4.3.1", "globals": "^11.1.0" }, "engines": { @@ -437,13 +414,13 @@ } }, "node_modules/@babel/types": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.22.5.tgz", - "integrity": "sha512-zo3MIHGOkPOfoRXitsgHLjEXmlDaD/5KU1Uzuc9GNiZPhSqVxVRtxuPaSBZDsYZ9qV88AjtMtWW7ww98loJ9KA==", + "version": "7.25.2", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.25.2.tgz", + "integrity": "sha512-YTnYtra7W9e6/oAZEHj0bJehPRUlLH9/fbpT5LfB0NhQXyALCRkRs3zH9v07IYhkgpqX6Z78FnuccZr/l4Fs4Q==", "dev": true, "dependencies": { - "@babel/helper-string-parser": "^7.22.5", - "@babel/helper-validator-identifier": "^7.22.5", + "@babel/helper-string-parser": "^7.24.8", + "@babel/helper-validator-identifier": "^7.24.7", "to-fast-properties": "^2.0.0" }, "engines": { @@ -527,24 +504,38 @@ } }, "node_modules/@eslint-community/regexpp": { - "version": "4.5.1", - "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.5.1.tgz", - "integrity": "sha512-Z5ba73P98O1KUYCCJTUeVpja9RcGoMdncZ6T49FCUl2lN38JtCJ+3WgIDBv0AuY4WChU5PmtJmOCTlN6FZTFKQ==", + "version": "4.11.0", + "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.11.0.tgz", + "integrity": "sha512-G/M/tIiMrTAxEWRfLfQJMmGNX28IxBg4PBz8XqQhqUHLFI6TL2htpIB1iQCj144V5ee/JaKyT9/WZ0MGZWfA7A==", "dev": true, "engines": { "node": "^12.0.0 || ^14.0.0 || >=16.0.0" } }, + "node_modules/@eslint/config-array": { + "version": "0.17.1", + "resolved": "https://registry.npmjs.org/@eslint/config-array/-/config-array-0.17.1.tgz", + "integrity": "sha512-BlYOpej8AQ8Ev9xVqroV7a02JK3SkBAaN9GfMMH9W6Ch8FlQlkjGw4Ir7+FgYwfirivAf4t+GtzuAxqfukmISA==", + "dev": true, + "dependencies": { + "@eslint/object-schema": "^2.1.4", + "debug": "^4.3.1", + "minimatch": "^3.1.2" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + } + }, "node_modules/@eslint/eslintrc": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.0.3.tgz", - "integrity": "sha512-+5gy6OQfk+xx3q0d6jGZZC3f3KzAkXc/IanVxd1is/VIIziRqqt3ongQz0FiTUXqTk0c7aDB3OaFuKnuSoJicQ==", + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-3.1.0.tgz", + "integrity": "sha512-4Bfj15dVJdoy3RfZmmo86RK1Fwzn6SstsvK9JS+BaVKqC6QQQQyXekNaC+g+LKNgkQ+2VhGAzm6hO40AhMR3zQ==", "dev": true, "dependencies": { "ajv": "^6.12.4", "debug": "^4.3.2", - "espree": "^9.5.2", - "globals": "^13.19.0", + "espree": "^10.0.1", + "globals": "^14.0.0", "ignore": "^5.2.0", "import-fresh": "^3.2.1", "js-yaml": "^4.1.0", @@ -552,33 +543,28 @@ "strip-json-comments": "^3.1.1" }, "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, "funding": { "url": "https://opencollective.com/eslint" } }, "node_modules/@eslint/js": { - "version": "8.42.0", - "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.42.0.tgz", - "integrity": "sha512-6SWlXpWU5AvId8Ac7zjzmIOqMOba/JWY8XZ4A7q7Gn1Vlfg/SFFIlrtHXt9nPn4op9ZPAkl91Jao+QQv3r/ukw==", + "version": "9.9.0", + "resolved": "https://registry.npmjs.org/@eslint/js/-/js-9.9.0.tgz", + "integrity": "sha512-hhetes6ZHP3BlXLxmd8K2SNgkhNSi+UcecbnwWKwpP7kyi/uC75DJ1lOOBO3xrC4jyojtGE3YxKZPHfk4yrgug==", "dev": true, "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" } }, - "node_modules/@humanwhocodes/config-array": { - "version": "0.11.10", - "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.10.tgz", - "integrity": "sha512-KVVjQmNUepDVGXNuoRRdmmEjruj0KfiGSbS8LVc12LMsWDQzRXJ0qdhN8L8uUigKpfEHRhlaQFY0ib1tnUbNeQ==", + "node_modules/@eslint/object-schema": { + "version": "2.1.4", + "resolved": "https://registry.npmjs.org/@eslint/object-schema/-/object-schema-2.1.4.tgz", + "integrity": "sha512-BsWiH1yFGjXXS2yvrf5LyuoSIIbPrGUWob917o+BTKuZ7qJdxX8aJLRxs1fS9n6r7vESrq1OUqb68dANcFXuQQ==", "dev": true, - "dependencies": { - "@humanwhocodes/object-schema": "^1.2.1", - "debug": "^4.1.1", - "minimatch": "^3.0.5" - }, "engines": { - "node": ">=10.10.0" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" } }, "node_modules/@humanwhocodes/module-importer": { @@ -594,11 +580,18 @@ "url": "https://github.com/sponsors/nzakas" } }, - "node_modules/@humanwhocodes/object-schema": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-1.2.1.tgz", - "integrity": "sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA==", - "dev": true + "node_modules/@humanwhocodes/retry": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/@humanwhocodes/retry/-/retry-0.3.0.tgz", + "integrity": "sha512-d2CGZR2o7fS6sWB7DG/3a95bGKQyHMACZ5aW8qGkkqQpUoZV6C0X7Pc7l4ZNMZkfNBf4VWNe9E1jRsf0G146Ew==", + "dev": true, + "engines": { + "node": ">=18.18" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/nzakas" + } }, "node_modules/@istanbuljs/load-nyc-config": { "version": "1.1.0", @@ -724,14 +717,14 @@ } }, "node_modules/@jridgewell/gen-mapping": { - "version": "0.3.3", - "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.3.tgz", - "integrity": "sha512-HLhSWOLRi875zjjMG/r+Nv0oCW8umGb0BgEhyX3dDX3egwZtB8PqLnjz3yedt8R5StBrzcg4aBpnh8UA9D1BoQ==", + "version": "0.3.5", + "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.5.tgz", + "integrity": "sha512-IzL8ZoEDIBRWEzlCcRhOaCupYyN5gdIK+Q6fbFdPDg6HqX6jpkItn7DFIpW9LQzXG6Df9sA7+OKnq0qlz/GaQg==", "dev": true, "dependencies": { - "@jridgewell/set-array": "^1.0.1", + "@jridgewell/set-array": "^1.2.1", "@jridgewell/sourcemap-codec": "^1.4.10", - "@jridgewell/trace-mapping": "^0.3.9" + "@jridgewell/trace-mapping": "^0.3.24" }, "engines": { "node": ">=6.0.0" @@ -747,9 +740,9 @@ } }, "node_modules/@jridgewell/set-array": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/@jridgewell/set-array/-/set-array-1.1.2.tgz", - "integrity": "sha512-xnkseuNADM0gt2bs+BvhO0p78Mk762YnZdsuzFV018NoG1Sj1SCQvpSqa7XUaTam5vAGasABV9qXASMKnFMwMw==", + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/@jridgewell/set-array/-/set-array-1.2.1.tgz", + "integrity": "sha512-R8gLRTZeyp03ymzP/6Lil/28tGeGEzhx1q2k703KGWRAI1VdvPIXdG70VJc2pAMw3NA6JKL5hhFu1sJX0Mnn/A==", "dev": true, "engines": { "node": ">=6.0.0" @@ -762,25 +755,19 @@ "dev": true }, "node_modules/@jridgewell/trace-mapping": { - "version": "0.3.18", - "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.18.tgz", - "integrity": "sha512-w+niJYzMHdd7USdiH2U6869nqhD2nbfZXND5Yp93qIbEmnDNk7PD48o+YchRVpzMU7M6jVCbenTR7PA1FLQ9pA==", + "version": "0.3.25", + "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.25.tgz", + "integrity": "sha512-vNk6aEwybGtawWmy/PzwnGDOjCkLWSD2wqvjGGAgOAwCGWySYXfYoxt00IJkTF+8Lb57DwOb3Aa0o9CApepiYQ==", "dev": true, "dependencies": { - "@jridgewell/resolve-uri": "3.1.0", - "@jridgewell/sourcemap-codec": "1.4.14" + "@jridgewell/resolve-uri": "^3.1.0", + "@jridgewell/sourcemap-codec": "^1.4.14" } }, - "node_modules/@jridgewell/trace-mapping/node_modules/@jridgewell/sourcemap-codec": { - "version": "1.4.14", - "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.14.tgz", - "integrity": "sha512-XPSJHWmi394fuUuzDnGz1wiKqWfo1yXecHQMRf2l6hztTO+nPru658AyDngaBe7isIxEkRsPR3FZh+s7iVa4Uw==", - "dev": true - }, "node_modules/@metrixcoin/metrilib": { - "version": "1.6.0-beta", - "resolved": "https://registry.npmjs.org/@metrixcoin/metrilib/-/metrilib-1.6.0-beta.tgz", - "integrity": "sha512-+68eVTvtxPVWYzegIONpz6fH8PPFwQRY+wkdOoLsBORbaMY+wZDi/kpYd7eIzdLaLiU3gN5/o+Ox5p5At5ewWg==", + "version": "1.6.1-beta", + "resolved": "https://registry.npmjs.org/@metrixcoin/metrilib/-/metrilib-1.6.1-beta.tgz", + "integrity": "sha512-m8bO5kc6uq9Kx68unHyNmuARYAvzP4FyCFQi6OaDffImetKMpA9ysNhE53fcsblfl4AcZx3i2Tv5WXrz0B1QZA==", "dependencies": { "bs58": "^5.0.0", "content-hash": "^2.5.2", @@ -793,27 +780,27 @@ "npm": ">=6.0.0" } }, - "node_modules/@noble/hashes": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.1.2.tgz", - "integrity": "sha512-KYRCASVTv6aeUi1tsF8/vpyR7zpfs3FUzy2Jqm+MU+LmUKhQ0y2FpfwqkCcxSg2ua4GALJd8k2R76WxwZGbQpA==", - "funding": [ - { - "type": "individual", - "url": "https://paulmillr.com/funding/" - } - ] + "node_modules/@noble/curves": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", + "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "dependencies": { + "@noble/hashes": "1.3.2" + }, + "funding": { + "url": "https://paulmillr.com/funding/" + } }, - "node_modules/@noble/secp256k1": { - "version": "1.7.1", - "resolved": "https://registry.npmjs.org/@noble/secp256k1/-/secp256k1-1.7.1.tgz", - "integrity": "sha512-hOUk6AyBFmqVrv7k5WAw/LpszxVbj9gGN4JRkIX52fdFAj1UA61KXmZDvqVEm+pOyec3+fIeZB02LYa/pWOArw==", - "funding": [ - { - "type": "individual", - "url": "https://paulmillr.com/funding/" - } - ] + "node_modules/@noble/hashes": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", + "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "engines": { + "node": ">= 16" + }, + "funding": { + "url": "https://paulmillr.com/funding/" + } }, "node_modules/@nodelib/fs.scandir": { "version": "2.1.5", @@ -850,6 +837,15 @@ "node": ">= 8" } }, + "node_modules/@shikijs/core": { + "version": "1.12.1", + "resolved": "https://registry.npmjs.org/@shikijs/core/-/core-1.12.1.tgz", + "integrity": "sha512-biCz/mnkMktImI6hMfMX3H9kOeqsInxWEyCHbSlL8C/2TR1FqfmGxTLRNwYCKsyCyxWLbB8rEqXRVZuyxuLFmA==", + "dev": true, + "dependencies": { + "@types/hast": "^3.0.4" + } + }, "node_modules/@tsconfig/node10": { "version": "1.0.9", "resolved": "https://registry.npmjs.org/@tsconfig/node10/-/node10-1.0.9.tgz", @@ -874,11 +870,14 @@ "integrity": "sha512-vxhUy4J8lyeyinH7Azl1pdd43GJhZH/tP2weN8TntQblOY+A0XbT8DJk1/oCPuOOyg/Ja757rG0CgHcWC8OfMA==", "dev": true }, - "node_modules/@types/json-schema": { - "version": "7.0.12", - "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.12.tgz", - "integrity": "sha512-Hr5Jfhc9eYOQNPYO5WLDq/n4jqijdHNlDXjuAQkkt+mWdQR+XJToOHrsD4cPaMXpn6KO7y2+wM8AZEs8VpBLVA==", - "dev": true + "node_modules/@types/hast": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/@types/hast/-/hast-3.0.4.tgz", + "integrity": "sha512-WPs+bbQw5aCj+x6laNGWLH3wviHtoCv/P3+otBhbOhJgG8qtpdAMlTCxLtsTWA7LH1Oh/bFCHsBn0TPS5m30EQ==", + "dev": true, + "dependencies": { + "@types/unist": "*" + } }, "node_modules/@types/locks": { "version": "0.2.1", @@ -908,39 +907,38 @@ "form-data": "^3.0.0" } }, - "node_modules/@types/semver": { - "version": "7.5.0", - "resolved": "https://registry.npmjs.org/@types/semver/-/semver-7.5.0.tgz", - "integrity": "sha512-G8hZ6XJiHnuhQKR7ZmysCeJWE08o8T0AXtk5darsCaTVsYZhhgUrq53jizaR2FvsoeCwJhlmwTjkXBY5Pn/ZHw==", + "node_modules/@types/unist": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/@types/unist/-/unist-3.0.2.tgz", + "integrity": "sha512-dqId9J8K/vGi5Zr7oo212BGii5m3q5Hxlkwy3WpYuKPklmBEvsbMYYyLxAQpSffdLl/gdW0XUpKWFvYmyoWCoQ==", "dev": true }, "node_modules/@typescript-eslint/eslint-plugin": { - "version": "5.59.11", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.59.11.tgz", - "integrity": "sha512-XxuOfTkCUiOSyBWIvHlUraLw/JT/6Io1365RO6ZuI88STKMavJZPNMU0lFcUTeQXEhHiv64CbxYxBNoDVSmghg==", + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.1.0.tgz", + "integrity": "sha512-LlNBaHFCEBPHyD4pZXb35mzjGkuGKXU5eeCA1SxvHfiRES0E82dOounfVpL4DCqYvJEKab0bZIA0gCRpdLKkCw==", "dev": true, "dependencies": { - "@eslint-community/regexpp": "^4.4.0", - "@typescript-eslint/scope-manager": "5.59.11", - "@typescript-eslint/type-utils": "5.59.11", - "@typescript-eslint/utils": "5.59.11", - "debug": "^4.3.4", - "grapheme-splitter": "^1.0.4", - "ignore": "^5.2.0", - "natural-compare-lite": "^1.4.0", - "semver": "^7.3.7", - "tsutils": "^3.21.0" + "@eslint-community/regexpp": "^4.10.0", + "@typescript-eslint/scope-manager": "8.1.0", + "@typescript-eslint/type-utils": "8.1.0", + "@typescript-eslint/utils": "8.1.0", + "@typescript-eslint/visitor-keys": "8.1.0", + "graphemer": "^1.4.0", + "ignore": "^5.3.1", + "natural-compare": "^1.4.0", + "ts-api-utils": "^1.3.0" }, "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, "funding": { "type": "opencollective", "url": "https://opencollective.com/typescript-eslint" }, "peerDependencies": { - "@typescript-eslint/parser": "^5.0.0", - "eslint": "^6.0.0 || ^7.0.0 || ^8.0.0" + "@typescript-eslint/parser": "^8.0.0 || ^8.0.0-alpha.0", + "eslint": "^8.57.0 || ^9.0.0" }, "peerDependenciesMeta": { "typescript": { @@ -949,25 +947,26 @@ } }, "node_modules/@typescript-eslint/parser": { - "version": "5.59.11", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-5.59.11.tgz", - "integrity": "sha512-s9ZF3M+Nym6CAZEkJJeO2TFHHDsKAM3ecNkLuH4i4s8/RCPnF5JRip2GyviYkeEAcwGMJxkqG9h2dAsnA1nZpA==", + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.1.0.tgz", + "integrity": "sha512-U7iTAtGgJk6DPX9wIWPPOlt1gO57097G06gIcl0N0EEnNw8RGD62c+2/DiP/zL7KrkqnnqF7gtFGR7YgzPllTA==", "dev": true, "dependencies": { - "@typescript-eslint/scope-manager": "5.59.11", - "@typescript-eslint/types": "5.59.11", - "@typescript-eslint/typescript-estree": "5.59.11", + "@typescript-eslint/scope-manager": "8.1.0", + "@typescript-eslint/types": "8.1.0", + "@typescript-eslint/typescript-estree": "8.1.0", + "@typescript-eslint/visitor-keys": "8.1.0", "debug": "^4.3.4" }, "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, "funding": { "type": "opencollective", "url": "https://opencollective.com/typescript-eslint" }, "peerDependencies": { - "eslint": "^6.0.0 || ^7.0.0 || ^8.0.0" + "eslint": "^8.57.0 || ^9.0.0" }, "peerDependenciesMeta": { "typescript": { @@ -976,16 +975,16 @@ } }, "node_modules/@typescript-eslint/scope-manager": { - "version": "5.59.11", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-5.59.11.tgz", - "integrity": "sha512-dHFOsxoLFtrIcSj5h0QoBT/89hxQONwmn3FOQ0GOQcLOOXm+MIrS8zEAhs4tWl5MraxCY3ZJpaXQQdFMc2Tu+Q==", + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.1.0.tgz", + "integrity": "sha512-DsuOZQji687sQUjm4N6c9xABJa7fjvfIdjqpSIIVOgaENf2jFXiM9hIBZOL3hb6DHK9Nvd2d7zZnoMLf9e0OtQ==", "dev": true, "dependencies": { - "@typescript-eslint/types": "5.59.11", - "@typescript-eslint/visitor-keys": "5.59.11" + "@typescript-eslint/types": "8.1.0", + "@typescript-eslint/visitor-keys": "8.1.0" }, "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, "funding": { "type": "opencollective", @@ -993,26 +992,23 @@ } }, "node_modules/@typescript-eslint/type-utils": { - "version": "5.59.11", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-5.59.11.tgz", - "integrity": "sha512-LZqVY8hMiVRF2a7/swmkStMYSoXMFlzL6sXV6U/2gL5cwnLWQgLEG8tjWPpaE4rMIdZ6VKWwcffPlo1jPfk43g==", + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.1.0.tgz", + "integrity": "sha512-oLYvTxljVvsMnldfl6jIKxTaU7ok7km0KDrwOt1RHYu6nxlhN3TIx8k5Q52L6wR33nOwDgM7VwW1fT1qMNfFIA==", "dev": true, "dependencies": { - "@typescript-eslint/typescript-estree": "5.59.11", - "@typescript-eslint/utils": "5.59.11", + "@typescript-eslint/typescript-estree": "8.1.0", + "@typescript-eslint/utils": "8.1.0", "debug": "^4.3.4", - "tsutils": "^3.21.0" + "ts-api-utils": "^1.3.0" }, "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, "funding": { "type": "opencollective", "url": "https://opencollective.com/typescript-eslint" }, - "peerDependencies": { - "eslint": "*" - }, "peerDependenciesMeta": { "typescript": { "optional": true @@ -1020,12 +1016,12 @@ } }, "node_modules/@typescript-eslint/types": { - "version": "5.59.11", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.59.11.tgz", - "integrity": "sha512-epoN6R6tkvBYSc+cllrz+c2sOFWkbisJZWkOE+y3xHtvYaOE6Wk6B8e114McRJwFRjGvYdJwLXQH5c9osME/AA==", + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.1.0.tgz", + "integrity": "sha512-q2/Bxa0gMOu/2/AKALI0tCKbG2zppccnRIRCW6BaaTlRVaPKft4oVYPp7WOPpcnsgbr0qROAVCVKCvIQ0tbWog==", "dev": true, "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, "funding": { "type": "opencollective", @@ -1033,21 +1029,22 @@ } }, "node_modules/@typescript-eslint/typescript-estree": { - "version": "5.59.11", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.59.11.tgz", - "integrity": "sha512-YupOpot5hJO0maupJXixi6l5ETdrITxeo5eBOeuV7RSKgYdU3G5cxO49/9WRnJq9EMrB7AuTSLH/bqOsXi7wPA==", + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.1.0.tgz", + "integrity": "sha512-NTHhmufocEkMiAord/g++gWKb0Fr34e9AExBRdqgWdVBaKoei2dIyYKD9Q0jBnvfbEA5zaf8plUFMUH6kQ0vGg==", "dev": true, "dependencies": { - "@typescript-eslint/types": "5.59.11", - "@typescript-eslint/visitor-keys": "5.59.11", + "@typescript-eslint/types": "8.1.0", + "@typescript-eslint/visitor-keys": "8.1.0", "debug": "^4.3.4", "globby": "^11.1.0", "is-glob": "^4.0.3", - "semver": "^7.3.7", - "tsutils": "^3.21.0" + "minimatch": "^9.0.4", + "semver": "^7.6.0", + "ts-api-utils": "^1.3.0" }, "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, "funding": { "type": "opencollective", @@ -1059,43 +1056,63 @@ } } }, + "node_modules/@typescript-eslint/typescript-estree/node_modules/brace-expansion": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", + "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "dev": true, + "dependencies": { + "balanced-match": "^1.0.0" + } + }, + "node_modules/@typescript-eslint/typescript-estree/node_modules/minimatch": { + "version": "9.0.5", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz", + "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==", + "dev": true, + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, "node_modules/@typescript-eslint/utils": { - "version": "5.59.11", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-5.59.11.tgz", - "integrity": "sha512-didu2rHSOMUdJThLk4aZ1Or8IcO3HzCw/ZvEjTTIfjIrcdd5cvSIwwDy2AOlE7htSNp7QIZ10fLMyRCveesMLg==", + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.1.0.tgz", + "integrity": "sha512-ypRueFNKTIFwqPeJBfeIpxZ895PQhNyH4YID6js0UoBImWYoSjBsahUn9KMiJXh94uOjVBgHD9AmkyPsPnFwJA==", "dev": true, "dependencies": { - "@eslint-community/eslint-utils": "^4.2.0", - "@types/json-schema": "^7.0.9", - "@types/semver": "^7.3.12", - "@typescript-eslint/scope-manager": "5.59.11", - "@typescript-eslint/types": "5.59.11", - "@typescript-eslint/typescript-estree": "5.59.11", - "eslint-scope": "^5.1.1", - "semver": "^7.3.7" + "@eslint-community/eslint-utils": "^4.4.0", + "@typescript-eslint/scope-manager": "8.1.0", + "@typescript-eslint/types": "8.1.0", + "@typescript-eslint/typescript-estree": "8.1.0" }, "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, "funding": { "type": "opencollective", "url": "https://opencollective.com/typescript-eslint" }, "peerDependencies": { - "eslint": "^6.0.0 || ^7.0.0 || ^8.0.0" + "eslint": "^8.57.0 || ^9.0.0" } }, "node_modules/@typescript-eslint/visitor-keys": { - "version": "5.59.11", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.59.11.tgz", - "integrity": "sha512-KGYniTGG3AMTuKF9QBD7EIrvufkB6O6uX3knP73xbKLMpH+QRPcgnCxjWXSHjMRuOxFLovljqQgQpR0c7GvjoA==", + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.1.0.tgz", + "integrity": "sha512-ba0lNI19awqZ5ZNKh6wCModMwoZs457StTebQ0q1NP58zSi2F6MOZRXwfKZy+jB78JNJ/WH8GSh2IQNzXX8Nag==", "dev": true, "dependencies": { - "@typescript-eslint/types": "5.59.11", - "eslint-visitor-keys": "^3.3.0" + "@typescript-eslint/types": "8.1.0", + "eslint-visitor-keys": "^3.4.3" }, "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, "funding": { "type": "opencollective", @@ -1103,9 +1120,9 @@ } }, "node_modules/acorn": { - "version": "8.8.2", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.8.2.tgz", - "integrity": "sha512-xjIYgE8HBrkpd/sJqOGNspf8uHG+NOHGOw6a/Urj8taM2EXfdNAH2oFcPeIFfsv3+kz/mJrS5VuMqbNLjCa2vw==", + "version": "8.12.1", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.12.1.tgz", + "integrity": "sha512-tcpGyI9zbizT9JbV6oYE477V6mTlXvvi0T0G3SNIYE2apm/G5huBa1+K89VGeovbg+jycCrfhl3ADxErOuO6Jg==", "dev": true, "bin": { "acorn": "bin/acorn" @@ -1184,12 +1201,6 @@ "node": ">=8" } }, - "node_modules/ansi-sequence-parser": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/ansi-sequence-parser/-/ansi-sequence-parser-1.1.0.tgz", - "integrity": "sha512-lEm8mt52to2fT8GhciPCGeCXACSz2UwIN4X2e2LJSnZ5uAbn2/dsYdOmUXq0AtWS5cpAupysIneExOgH0Vd2TQ==", - "dev": true - }, "node_modules/ansi-styles": { "version": "4.3.0", "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", @@ -1360,12 +1371,12 @@ } }, "node_modules/braces": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", - "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz", + "integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==", "dev": true, "dependencies": { - "fill-range": "^7.0.1" + "fill-range": "^7.1.1" }, "engines": { "node": ">=8" @@ -1820,18 +1831,6 @@ "node": ">=8" } }, - "node_modules/doctrine": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-3.0.0.tgz", - "integrity": "sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==", - "dev": true, - "dependencies": { - "esutils": "^2.0.2" - }, - "engines": { - "node": ">=6.0.0" - } - }, "node_modules/electron-to-chromium": { "version": "1.4.428", "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.428.tgz", @@ -1844,6 +1843,18 @@ "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", "dev": true }, + "node_modules/entities": { + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/entities/-/entities-4.5.0.tgz", + "integrity": "sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==", + "dev": true, + "engines": { + "node": ">=0.12" + }, + "funding": { + "url": "https://github.com/fb55/entities?sponsor=1" + } + }, "node_modules/es6-error": { "version": "4.1.1", "resolved": "https://registry.npmjs.org/es6-error/-/es6-error-4.1.1.tgz", @@ -1878,78 +1889,84 @@ } }, "node_modules/eslint": { - "version": "8.42.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.42.0.tgz", - "integrity": "sha512-ulg9Ms6E1WPf67PHaEY4/6E2tEn5/f7FXGzr3t9cBMugOmf1INYvuUwwh1aXQN4MfJ6a5K2iNwP3w4AColvI9A==", + "version": "9.9.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-9.9.0.tgz", + "integrity": "sha512-JfiKJrbx0506OEerjK2Y1QlldtBxkAlLxT5OEcRF8uaQ86noDe2k31Vw9rnSWv+MXZHj7OOUV/dA0AhdLFcyvA==", "dev": true, "dependencies": { "@eslint-community/eslint-utils": "^4.2.0", - "@eslint-community/regexpp": "^4.4.0", - "@eslint/eslintrc": "^2.0.3", - "@eslint/js": "8.42.0", - "@humanwhocodes/config-array": "^0.11.10", + "@eslint-community/regexpp": "^4.11.0", + "@eslint/config-array": "^0.17.1", + "@eslint/eslintrc": "^3.1.0", + "@eslint/js": "9.9.0", "@humanwhocodes/module-importer": "^1.0.1", + "@humanwhocodes/retry": "^0.3.0", "@nodelib/fs.walk": "^1.2.8", - "ajv": "^6.10.0", + "ajv": "^6.12.4", "chalk": "^4.0.0", "cross-spawn": "^7.0.2", "debug": "^4.3.2", - "doctrine": "^3.0.0", "escape-string-regexp": "^4.0.0", - "eslint-scope": "^7.2.0", - "eslint-visitor-keys": "^3.4.1", - "espree": "^9.5.2", - "esquery": "^1.4.2", + "eslint-scope": "^8.0.2", + "eslint-visitor-keys": "^4.0.0", + "espree": "^10.1.0", + "esquery": "^1.5.0", "esutils": "^2.0.2", "fast-deep-equal": "^3.1.3", - "file-entry-cache": "^6.0.1", + "file-entry-cache": "^8.0.0", "find-up": "^5.0.0", "glob-parent": "^6.0.2", - "globals": "^13.19.0", - "graphemer": "^1.4.0", "ignore": "^5.2.0", - "import-fresh": "^3.0.0", "imurmurhash": "^0.1.4", "is-glob": "^4.0.0", "is-path-inside": "^3.0.3", - "js-yaml": "^4.1.0", "json-stable-stringify-without-jsonify": "^1.0.1", "levn": "^0.4.1", "lodash.merge": "^4.6.2", "minimatch": "^3.1.2", "natural-compare": "^1.4.0", - "optionator": "^0.9.1", + "optionator": "^0.9.3", "strip-ansi": "^6.0.1", - "strip-json-comments": "^3.1.0", "text-table": "^0.2.0" }, "bin": { "eslint": "bin/eslint.js" }, "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, "funding": { - "url": "https://opencollective.com/eslint" + "url": "https://eslint.org/donate" + }, + "peerDependencies": { + "jiti": "*" + }, + "peerDependenciesMeta": { + "jiti": { + "optional": true + } } }, "node_modules/eslint-scope": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-5.1.1.tgz", - "integrity": "sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw==", + "version": "8.0.2", + "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-8.0.2.tgz", + "integrity": "sha512-6E4xmrTw5wtxnLA5wYL3WDfhZ/1bUBGOXV0zQvVRDOtrR8D0p6W7fs3JweNYhwRYeGvd/1CKX2se0/2s7Q/nJA==", "dev": true, "dependencies": { "esrecurse": "^4.3.0", - "estraverse": "^4.1.1" + "estraverse": "^5.2.0" }, "engines": { - "node": ">=8.0.0" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" } }, "node_modules/eslint-visitor-keys": { - "version": "3.4.1", - "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.1.tgz", - "integrity": "sha512-pZnmmLwYzf+kWaM/Qgrvpen51upAktaaiI01nsJD/Yr3lMOdNtq0cxkrrg16w64VtisN6okbs7Q8AfGqj4c9fA==", + "version": "3.4.3", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz", + "integrity": "sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==", "dev": true, "engines": { "node": "^12.22.0 || ^14.17.0 || >=16.0.0" @@ -1958,43 +1975,42 @@ "url": "https://opencollective.com/eslint" } }, - "node_modules/eslint/node_modules/eslint-scope": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.2.0.tgz", - "integrity": "sha512-DYj5deGlHBfMt15J7rdtyKNq/Nqlv5KfU4iodrQ019XESsRnwXH9KAE0y3cwtUHDo2ob7CypAnCqefh6vioWRw==", + "node_modules/eslint/node_modules/eslint-visitor-keys": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-4.0.0.tgz", + "integrity": "sha512-OtIRv/2GyiF6o/d8K7MYKKbXrOUBIK6SfkIRM4Z0dY3w+LiQ0vy3F57m0Z71bjbyeiWFiHJ8brqnmE6H6/jEuw==", "dev": true, - "dependencies": { - "esrecurse": "^4.3.0", - "estraverse": "^5.2.0" - }, "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, "funding": { "url": "https://opencollective.com/eslint" } }, - "node_modules/eslint/node_modules/estraverse": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", - "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", - "dev": true, - "engines": { - "node": ">=4.0" - } - }, "node_modules/espree": { - "version": "9.5.2", - "resolved": "https://registry.npmjs.org/espree/-/espree-9.5.2.tgz", - "integrity": "sha512-7OASN1Wma5fum5SrNhFMAMJxOUAbhyfQ8dQ//PJaJbNw0URTPWqIghHWt1MmAANKhHZIYOHruW4Kw4ruUWOdGw==", + "version": "10.1.0", + "resolved": "https://registry.npmjs.org/espree/-/espree-10.1.0.tgz", + "integrity": "sha512-M1M6CpiE6ffoigIOWYO9UDP8TMUw9kqb21tf+08IgDYjCsOvCuDt4jQcZmoYxx+w7zlKw9/N0KXfto+I8/FrXA==", "dev": true, "dependencies": { - "acorn": "^8.8.0", + "acorn": "^8.12.0", "acorn-jsx": "^5.3.2", - "eslint-visitor-keys": "^3.4.1" + "eslint-visitor-keys": "^4.0.0" }, "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/espree/node_modules/eslint-visitor-keys": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-4.0.0.tgz", + "integrity": "sha512-OtIRv/2GyiF6o/d8K7MYKKbXrOUBIK6SfkIRM4Z0dY3w+LiQ0vy3F57m0Z71bjbyeiWFiHJ8brqnmE6H6/jEuw==", + "dev": true, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, "funding": { "url": "https://opencollective.com/eslint" @@ -2025,15 +2041,6 @@ "node": ">=0.10" } }, - "node_modules/esquery/node_modules/estraverse": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", - "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", - "dev": true, - "engines": { - "node": ">=4.0" - } - }, "node_modules/esrecurse": { "version": "4.3.0", "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz", @@ -2046,7 +2053,7 @@ "node": ">=4.0" } }, - "node_modules/esrecurse/node_modules/estraverse": { + "node_modules/estraverse": { "version": "5.3.0", "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", @@ -2055,15 +2062,6 @@ "node": ">=4.0" } }, - "node_modules/estraverse": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz", - "integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==", - "dev": true, - "engines": { - "node": ">=4.0" - } - }, "node_modules/esutils": { "version": "2.0.3", "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz", @@ -2074,9 +2072,9 @@ } }, "node_modules/ethers": { - "version": "6.5.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.5.1.tgz", - "integrity": "sha512-jDpCnUGcyn39hnRUEtrulDZOtJcIPEz4Whccl3N9qhwdLsn1ELuDM9TgGgGJq6ph0p8/Uri+Wezmo/r69E+xkA==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", @@ -2088,13 +2086,13 @@ } ], "dependencies": { - "@adraffy/ens-normalize": "1.9.2", - "@noble/hashes": "1.1.2", - "@noble/secp256k1": "1.7.1", + "@adraffy/ens-normalize": "1.10.1", + "@noble/curves": "1.2.0", + "@noble/hashes": "1.3.2", "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -2161,21 +2159,21 @@ } }, "node_modules/file-entry-cache": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-6.0.1.tgz", - "integrity": "sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg==", + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-8.0.0.tgz", + "integrity": "sha512-XXTUwCvisa5oacNGRP9SfNtYBNAMi+RPwBFmblZEF7N7swHYQS6/Zfk7SRwx4D5j3CH211YNRco1DEMNVfZCnQ==", "dev": true, "dependencies": { - "flat-cache": "^3.0.4" + "flat-cache": "^4.0.0" }, "engines": { - "node": "^10.12.0 || >=12.0.0" + "node": ">=16.0.0" } }, "node_modules/fill-range": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", - "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz", + "integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==", "dev": true, "dependencies": { "to-regex-range": "^5.0.1" @@ -2227,22 +2225,22 @@ } }, "node_modules/flat-cache": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-3.0.4.tgz", - "integrity": "sha512-dm9s5Pw7Jc0GvMYbshN6zchCA9RgQlzzEZX3vylR9IqFfS8XciblUXOKfW6SiuJ0e13eDYZoZV5wdrev7P3Nwg==", + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-4.0.1.tgz", + "integrity": "sha512-f7ccFPK3SXFHpx15UIGyRJ/FJQctuKZ0zVuN3frBo4HnK3cay9VEW0R6yPYFHC0AgqhukPzKjq22t5DmAyqGyw==", "dev": true, "dependencies": { - "flatted": "^3.1.0", - "rimraf": "^3.0.2" + "flatted": "^3.2.9", + "keyv": "^4.5.4" }, "engines": { - "node": "^10.12.0 || >=12.0.0" + "node": ">=16" } }, "node_modules/flatted": { - "version": "3.2.7", - "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.2.7.tgz", - "integrity": "sha512-5nqDSxl8nn5BSNxyR3n4I6eDmbolI6WT+QqR547RwxQapgjQBmtktdP+HTBb/a/zLsbzERTONyUB5pefh5TtjQ==", + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.3.1.tgz", + "integrity": "sha512-X8cqMLLie7KsNUDSdzeN8FYK9rEt4Dt67OsG/DNGnYTSDBG4uFAJFBnUeiV+zCVAvwFy56IjM9sH51jVaEhNxw==", "dev": true }, "node_modules/for-each": { @@ -2401,15 +2399,12 @@ } }, "node_modules/globals": { - "version": "13.20.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-13.20.0.tgz", - "integrity": "sha512-Qg5QtVkCy/kv3FUSlu4ukeZDVf9ee0iXLAUYX13gbR17bnejFTzr4iS9bY7kwCf1NztRNm1t91fjOiyx4CSwPQ==", + "version": "14.0.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-14.0.0.tgz", + "integrity": "sha512-oahGvuMGQlPw/ivIYBjVSrWAfWLBeku5tpPE2fOPLi+WHffIWbuh2tCjhyQhTBPMf5E9jDEH4FOmTYgYwbKwtQ==", "dev": true, - "dependencies": { - "type-fest": "^0.20.2" - }, "engines": { - "node": ">=8" + "node": ">=18" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" @@ -2453,12 +2448,6 @@ "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==", "dev": true }, - "node_modules/grapheme-splitter": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/grapheme-splitter/-/grapheme-splitter-1.0.4.tgz", - "integrity": "sha512-bzh50DW9kTPM00T8y4o8vQg89Di9oLJVLW/KaOGIXJWP/iqCN6WKYkbNOF04vFLJhwcpYUh9ydh/+5vpOqV4YQ==", - "dev": true - }, "node_modules/graphemer": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/graphemer/-/graphemer-1.4.0.tgz", @@ -2610,9 +2599,9 @@ ] }, "node_modules/ignore": { - "version": "5.2.4", - "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.2.4.tgz", - "integrity": "sha512-MAb38BcSbH0eHNBxn7ql2NH/kX33OkB3lZ1BNdh7ENeRChHTYsTvWrMubiIAMNS2llXEEgZ1MUOBtXChP3kaFQ==", + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.2.tgz", + "integrity": "sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==", "dev": true, "engines": { "node": ">= 4" @@ -2896,9 +2885,9 @@ } }, "node_modules/istanbul-lib-instrument/node_modules/semver": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", "dev": true, "bin": { "semver": "bin/semver.js" @@ -3007,6 +2996,12 @@ "node": ">=4" } }, + "node_modules/json-buffer": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.1.tgz", + "integrity": "sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==", + "dev": true + }, "node_modules/json-schema-traverse": { "version": "0.4.1", "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", @@ -3031,11 +3026,14 @@ "node": ">=6" } }, - "node_modules/jsonc-parser": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/jsonc-parser/-/jsonc-parser-3.2.0.tgz", - "integrity": "sha512-gfFQZrcTc8CnKXp6Y4/CBT3fTc0OVuDofpre4aEeEpSBPV5X5v4+Vmx+8snU7RLPrNHPKSgLxGo9YuQzz20o+w==", - "dev": true + "node_modules/keyv": { + "version": "4.5.4", + "resolved": "https://registry.npmjs.org/keyv/-/keyv-4.5.4.tgz", + "integrity": "sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw==", + "dev": true, + "dependencies": { + "json-buffer": "3.0.1" + } }, "node_modules/levn": { "version": "0.4.1", @@ -3050,6 +3048,15 @@ "node": ">= 0.8.0" } }, + "node_modules/linkify-it": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/linkify-it/-/linkify-it-5.0.0.tgz", + "integrity": "sha512-5aHCbzQRADcdP+ATqnDuhhJ/MRIqDkZX5pyjFHRRysS8vZ5AbqGEoFIb6pYHPZ+L/OC2Lc+xT8uHVVR5CAK/wQ==", + "dev": true, + "dependencies": { + "uc.micro": "^2.0.0" + } + }, "node_modules/locate-path": { "version": "6.0.0", "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz", @@ -3129,9 +3136,9 @@ } }, "node_modules/make-dir/node_modules/semver": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", "dev": true, "bin": { "semver": "bin/semver.js" @@ -3143,18 +3150,29 @@ "integrity": "sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw==", "dev": true }, - "node_modules/marked": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/marked/-/marked-4.3.0.tgz", - "integrity": "sha512-PRsaiG84bK+AMvxziE/lCFss8juXjNaWzVbN5tXAm4XjeaS9NAHhop+PjQxz2A9h8Q4M/xGmzP8vqNwy6JeK0A==", + "node_modules/markdown-it": { + "version": "14.1.0", + "resolved": "https://registry.npmjs.org/markdown-it/-/markdown-it-14.1.0.tgz", + "integrity": "sha512-a54IwgWPaeBCAAsv13YgmALOF1elABB08FxO9i+r4VFk5Vl4pKokRPeX8u5TCgSsPi6ec1otfLjdOpVcgbpshg==", "dev": true, - "bin": { - "marked": "bin/marked.js" + "dependencies": { + "argparse": "^2.0.1", + "entities": "^4.4.0", + "linkify-it": "^5.0.0", + "mdurl": "^2.0.0", + "punycode.js": "^2.3.1", + "uc.micro": "^2.1.0" }, - "engines": { - "node": ">= 12" + "bin": { + "markdown-it": "bin/markdown-it.mjs" } }, + "node_modules/mdurl": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/mdurl/-/mdurl-2.0.0.tgz", + "integrity": "sha512-Lf+9+2r+Tdp5wXDXC4PcIBjTDtq4UKjCPMQhKIuzpJNW0b96kVqSwW0bT7FhRSfmAiFYgP+SCRvdrDozfh0U5w==", + "dev": true + }, "node_modules/merge2": { "version": "1.4.1", "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz", @@ -3376,12 +3394,6 @@ "integrity": "sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==", "dev": true }, - "node_modules/natural-compare-lite": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/natural-compare-lite/-/natural-compare-lite-1.4.0.tgz", - "integrity": "sha512-Tj+HTDSJJKaZnfiuw+iaF9skdPpTo2GtEly5JHnWV/hfv2Qj/9RKsGISQtLh2ox3l5EAGw487hnBee0sIJ6v2g==", - "dev": true - }, "node_modules/node-fetch": { "version": "2.6.11", "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.11.tgz", @@ -3631,9 +3643,9 @@ } }, "node_modules/optionator": { - "version": "0.9.1", - "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.1.tgz", - "integrity": "sha512-74RlY5FCnhq4jRxVUPKDaRwrVNXMqsGsiW6AJw4XK8hmtm10wC0ypZBLw5IIp85NZMr91+qd1RvvENwg7jjRFw==", + "version": "0.9.4", + "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.4.tgz", + "integrity": "sha512-6IpQ7mKUxRcZNLIObR0hz7lxsapSSIYNZJwXPGeF0mTVqGKFIXj1DQcMoT22S3ROcLyY/rz0PWaWZ9ayWmad9g==", "dev": true, "dependencies": { "deep-is": "^0.1.3", @@ -3641,7 +3653,7 @@ "levn": "^0.4.1", "prelude-ls": "^1.2.1", "type-check": "^0.4.0", - "word-wrap": "^1.2.3" + "word-wrap": "^1.2.5" }, "engines": { "node": ">= 0.8.0" @@ -3880,9 +3892,18 @@ } }, "node_modules/punycode": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.0.tgz", - "integrity": "sha512-rRV+zQD8tVFys26lAGR9WUuS4iUAngJScM+ZRSKtvl5tKeZ2t5bvdNFdNHBW9FWR4guGHlgmsZ1G7BSm2wTbuA==", + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz", + "integrity": "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/punycode.js": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/punycode.js/-/punycode.js-2.3.1.tgz", + "integrity": "sha512-uxFIHU0YlHYhDQtV4R9J6a52SLx28BCjT+4ieh7IGbgwVJWO+km431c4yRlREUAsAmt/uMjQUyQHNEPf0M39CA==", "dev": true, "engines": { "node": ">=6" @@ -4063,13 +4084,10 @@ ] }, "node_modules/semver": { - "version": "7.5.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.1.tgz", - "integrity": "sha512-Wvss5ivl8TMRZXXESstBA4uR5iXgEN/VC5/sOcuXdVLzcdkz4HWetIoRfG5gb5X+ij/G9rw9YoGn3QoQ8OCSpw==", + "version": "7.6.3", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.3.tgz", + "integrity": "sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A==", "dev": true, - "dependencies": { - "lru-cache": "^6.0.0" - }, "bin": { "semver": "bin/semver.js" }, @@ -4077,24 +4095,6 @@ "node": ">=10" } }, - "node_modules/semver/node_modules/lru-cache": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", - "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", - "dev": true, - "dependencies": { - "yallist": "^4.0.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/semver/node_modules/yallist": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", - "dev": true - }, "node_modules/serialize-javascript": { "version": "6.0.0", "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-6.0.0.tgz", @@ -4163,15 +4163,13 @@ } }, "node_modules/shiki": { - "version": "0.14.2", - "resolved": "https://registry.npmjs.org/shiki/-/shiki-0.14.2.tgz", - "integrity": "sha512-ltSZlSLOuSY0M0Y75KA+ieRaZ0Trf5Wl3gutE7jzLuIcWxLp5i/uEnLoQWNvgKXQ5OMpGkJnVMRLAuzjc0LJ2A==", + "version": "1.12.1", + "resolved": "https://registry.npmjs.org/shiki/-/shiki-1.12.1.tgz", + "integrity": "sha512-nwmjbHKnOYYAe1aaQyEBHvQymJgfm86ZSS7fT8OaPRr4sbAcBNz7PbfAikMEFSDQ6se2j2zobkXvVKcBOm0ysg==", "dev": true, "dependencies": { - "ansi-sequence-parser": "^1.1.0", - "jsonc-parser": "^3.2.0", - "vscode-oniguruma": "^1.7.0", - "vscode-textmate": "^8.0.0" + "@shikijs/core": "1.12.1", + "@types/hast": "^3.0.4" } }, "node_modules/signal-exit": { @@ -4344,6 +4342,18 @@ "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz", "integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==" }, + "node_modules/ts-api-utils": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-1.3.0.tgz", + "integrity": "sha512-UQMIo7pb8WRomKR1/+MFVLTroIvDVtMX3K6OUir8ynLyzB8Jeriont2bTAtmNPa1ekAgN7YPDyf6V+ygrdU+eQ==", + "dev": true, + "engines": { + "node": ">=16" + }, + "peerDependencies": { + "typescript": ">=4.2.0" + } + }, "node_modules/ts-node": { "version": "10.9.1", "resolved": "https://registry.npmjs.org/ts-node/-/ts-node-10.9.1.tgz", @@ -4391,36 +4401,15 @@ "version": "4.0.2", "resolved": "https://registry.npmjs.org/diff/-/diff-4.0.2.tgz", "integrity": "sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A==", - "dev": true, - "engines": { - "node": ">=0.3.1" - } - }, - "node_modules/tslib": { - "version": "2.4.0", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" - }, - "node_modules/tsutils": { - "version": "3.21.0", - "resolved": "https://registry.npmjs.org/tsutils/-/tsutils-3.21.0.tgz", - "integrity": "sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA==", - "dev": true, - "dependencies": { - "tslib": "^1.8.1" - }, + "dev": true, "engines": { - "node": ">= 6" - }, - "peerDependencies": { - "typescript": ">=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta" + "node": ">=0.3.1" } }, - "node_modules/tsutils/node_modules/tslib": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", - "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==", - "dev": true + "node_modules/tslib": { + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" }, "node_modules/type-check": { "version": "0.4.0", @@ -4434,18 +4423,6 @@ "node": ">= 0.8.0" } }, - "node_modules/type-fest": { - "version": "0.20.2", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz", - "integrity": "sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==", - "dev": true, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/typedarray-to-buffer": { "version": "3.1.5", "resolved": "https://registry.npmjs.org/typedarray-to-buffer/-/typedarray-to-buffer-3.1.5.tgz", @@ -4456,24 +4433,25 @@ } }, "node_modules/typedoc": { - "version": "0.24.8", - "resolved": "https://registry.npmjs.org/typedoc/-/typedoc-0.24.8.tgz", - "integrity": "sha512-ahJ6Cpcvxwaxfu4KtjA8qZNqS43wYt6JL27wYiIgl1vd38WW/KWX11YuAeZhuz9v+ttrutSsgK+XO1CjL1kA3w==", + "version": "0.26.5", + "resolved": "https://registry.npmjs.org/typedoc/-/typedoc-0.26.5.tgz", + "integrity": "sha512-Vn9YKdjKtDZqSk+by7beZ+xzkkr8T8CYoiasqyt4TTRFy5+UHzL/mF/o4wGBjRF+rlWQHDb0t6xCpA3JNL5phg==", "dev": true, "dependencies": { "lunr": "^2.3.9", - "marked": "^4.3.0", - "minimatch": "^9.0.0", - "shiki": "^0.14.1" + "markdown-it": "^14.1.0", + "minimatch": "^9.0.5", + "shiki": "^1.9.1", + "yaml": "^2.4.5" }, "bin": { "typedoc": "bin/typedoc" }, "engines": { - "node": ">= 14.14" + "node": ">= 18" }, "peerDependencies": { - "typescript": "4.6.x || 4.7.x || 4.8.x || 4.9.x || 5.0.x || 5.1.x" + "typescript": "4.6.x || 4.7.x || 4.8.x || 4.9.x || 5.0.x || 5.1.x || 5.2.x || 5.3.x || 5.4.x || 5.5.x" } }, "node_modules/typedoc/node_modules/brace-expansion": { @@ -4486,9 +4464,9 @@ } }, "node_modules/typedoc/node_modules/minimatch": { - "version": "9.0.1", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.1.tgz", - "integrity": "sha512-0jWhJpD/MdhPXwPuiRkCbfYfSKp2qnn2eOc279qI7f+osl/l+prKSrvhg157zSYvx/1nmgn2NqdT6k2Z7zSH9w==", + "version": "9.0.5", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz", + "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==", "dev": true, "dependencies": { "brace-expansion": "^2.0.1" @@ -4501,18 +4479,24 @@ } }, "node_modules/typescript": { - "version": "4.9.5", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.9.5.tgz", - "integrity": "sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g==", + "version": "5.5.4", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.5.4.tgz", + "integrity": "sha512-Mtq29sKDAEYP7aljRgtPOpTvOfbwRWlS6dPRzwjdE+C0R4brX/GUyhHSecbHMFLNBLcJIPt9nl9yG5TZ1weH+Q==", "dev": true, "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" }, "engines": { - "node": ">=4.2.0" + "node": ">=14.17" } }, + "node_modules/uc.micro": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/uc.micro/-/uc.micro-2.1.0.tgz", + "integrity": "sha512-ARDJmphmdvUk6Glw7y9DQ2bFkKBHwQHLi2lsaH6PPmz/Ka9sFOBsBluozhDltWmnv9u/cF6Rt87znRTPV+yp/A==", + "dev": true + }, "node_modules/update-browserslist-db": { "version": "1.0.11", "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.0.11.tgz", @@ -4590,18 +4574,6 @@ "resolved": "https://registry.npmjs.org/varint/-/varint-5.0.2.tgz", "integrity": "sha512-lKxKYG6H03yCZUpAGOPOsMcGxd1RHCu1iKvEHYDPmTyq2HueGhD73ssNBqqQWfvYs04G9iUFRvmAVLW20Jw6ow==" }, - "node_modules/vscode-oniguruma": { - "version": "1.7.0", - "resolved": "https://registry.npmjs.org/vscode-oniguruma/-/vscode-oniguruma-1.7.0.tgz", - "integrity": "sha512-L9WMGRfrjOhgHSdOYgCt/yRMsXzLDJSL7BPrOZt73gU0iWO4mpqzqQzOz5srxqTvMBaR0XZTSrVWo4j55Rc6cA==", - "dev": true - }, - "node_modules/vscode-textmate": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/vscode-textmate/-/vscode-textmate-8.0.0.tgz", - "integrity": "sha512-AFbieoL7a5LMqcnOF04ji+rpXadgOXnZsxQr//r83kLPr7biP7am3g9zbaZIaBGwBRWeSvoMD4mgPdX3e4NWBg==", - "dev": true - }, "node_modules/webidl-conversions": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz", @@ -4658,9 +4630,9 @@ } }, "node_modules/word-wrap": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.3.tgz", - "integrity": "sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ==", + "version": "1.2.5", + "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.5.tgz", + "integrity": "sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA==", "dev": true, "engines": { "node": ">=0.10.0" @@ -4708,15 +4680,15 @@ } }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { @@ -4742,6 +4714,18 @@ "integrity": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==", "dev": true }, + "node_modules/yaml": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.5.0.tgz", + "integrity": "sha512-2wWLbGbYDiSqqIKoPjar3MPgB94ErzCtrNE1FdqGuaO0pi2JGjmE8aW8TDZwzU7vuxcGRdL/4gPQwQ7hD5AMSw==", + "dev": true, + "bin": { + "yaml": "bin.mjs" + }, + "engines": { + "node": ">= 14" + } + }, "node_modules/yargs": { "version": "16.2.0", "resolved": "https://registry.npmjs.org/yargs/-/yargs-16.2.0.tgz", @@ -4832,9 +4816,9 @@ }, "dependencies": { "@adraffy/ens-normalize": { - "version": "1.9.2", - "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.9.2.tgz", - "integrity": "sha512-0h+FrQDqe2Wn+IIGFkTCd4aAwTJ+7834Ek1COohCyV26AXhwQ7WQaz+4F/nLOeVl/3BtWHOHLPsq46V8YB46Eg==" + "version": "1.10.1", + "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==" }, "@ampproject/remapping": { "version": "2.2.1", @@ -4847,12 +4831,13 @@ } }, "@babel/code-frame": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.22.5.tgz", - "integrity": "sha512-Xmwn266vad+6DAqEB2A6V/CcZVp62BbwVmcOJc2RPuwih1kw02TjQvWVWlcKGbBPd+8/0V5DEkOcizRGYsspYQ==", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.24.7.tgz", + "integrity": "sha512-BcYH1CVJBO9tvyIZ2jVeXgSIMvGZ2FDRvDdOIVQyuklNKSsx+eppDEBq/g47Ayw+RqNFE+URvOShmf+f/qwAlA==", "dev": true, "requires": { - "@babel/highlight": "^7.22.5" + "@babel/highlight": "^7.24.7", + "picocolors": "^1.0.0" } }, "@babel/compat-data": { @@ -4885,22 +4870,22 @@ }, "dependencies": { "semver": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", "dev": true } } }, "@babel/generator": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.22.5.tgz", - "integrity": "sha512-+lcUbnTRhd0jOewtFSedLyiPsD5tswKkbgcezOqqWFUVNEwoUTlpPOBmvhG7OXWLR4jMdv0czPGH5XbflnD1EA==", + "version": "7.25.0", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.25.0.tgz", + "integrity": "sha512-3LEEcj3PVW8pW2R1SR1M89g/qrYk/m/mB/tLqn7dn4sbBUQyTqnlod+II2U4dqiGtUmkcnAmkMDralTFZttRiw==", "dev": true, "requires": { - "@babel/types": "^7.22.5", - "@jridgewell/gen-mapping": "^0.3.2", - "@jridgewell/trace-mapping": "^0.3.17", + "@babel/types": "^7.25.0", + "@jridgewell/gen-mapping": "^0.3.5", + "@jridgewell/trace-mapping": "^0.3.25", "jsesc": "^2.5.1" } }, @@ -4918,9 +4903,9 @@ }, "dependencies": { "semver": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", "dev": true } } @@ -4931,25 +4916,6 @@ "integrity": "sha512-XGmhECfVA/5sAt+H+xpSg0mfrHq6FzNr9Oxh7PSEBBRUb/mL7Kz3NICXb194rCqAEdxkhPT1a88teizAFyvk8Q==", "dev": true }, - "@babel/helper-function-name": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.22.5.tgz", - "integrity": "sha512-wtHSq6jMRE3uF2otvfuD3DIvVhOsSNshQl0Qrd7qC9oQJzHvOL4qQXlQn2916+CXGywIjpGuIkoyZRRxHPiNQQ==", - "dev": true, - "requires": { - "@babel/template": "^7.22.5", - "@babel/types": "^7.22.5" - } - }, - "@babel/helper-hoist-variables": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.22.5.tgz", - "integrity": "sha512-wGjk9QZVzvknA6yKIUURb8zY3grXCcOZt+/7Wcy8O2uctxhplmUPkOdlgoNhmdVee2c92JXbf1xpMtVNbfoxRw==", - "dev": true, - "requires": { - "@babel/types": "^7.22.5" - } - }, "@babel/helper-module-imports": { "version": "7.22.5", "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.22.5.tgz", @@ -4994,15 +4960,15 @@ } }, "@babel/helper-string-parser": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.22.5.tgz", - "integrity": "sha512-mM4COjgZox8U+JcXQwPijIZLElkgEpO5rsERVDJTc2qfCDfERyob6k5WegS14SX18IIjv+XD+GrqNumY5JRCDw==", + "version": "7.24.8", + "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.24.8.tgz", + "integrity": "sha512-pO9KhhRcuUyGnJWwyEgnRJTSIZHiT+vMD0kPeD+so0l7mxkMT19g3pjY9GTnHySck/hDzq+dtW/4VgnMkippsQ==", "dev": true }, "@babel/helper-validator-identifier": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.22.5.tgz", - "integrity": "sha512-aJXu+6lErq8ltp+JhkJUfk1MTGyuA4v7f3pA+BJ5HLfNC6nAQ0Cpi9uOquUj8Hehg0aUiHzWQbOVJGao6ztBAQ==", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.24.7.tgz", + "integrity": "sha512-rR+PBcQ1SMQDDyF6X0wxtG8QyLCgUB0eRAGguqRLfkCA87l7yAP7ehq8SNj96OOGTO8OBV70KhuFYcIkHXOg0w==", "dev": true }, "@babel/helper-validator-option": { @@ -5023,14 +4989,15 @@ } }, "@babel/highlight": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.22.5.tgz", - "integrity": "sha512-BSKlD1hgnedS5XRnGOljZawtag7H1yPfQp0tdNJCHoH6AZ+Pcm9VvkrK59/Yy593Ypg0zMxH2BxD1VPYUQ7UIw==", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.24.7.tgz", + "integrity": "sha512-EStJpq4OuY8xYfhGVXngigBJRWxftKX9ksiGDnmlY3o7B/V7KIAc9X4oiK87uPJSc/vs5L869bem5fhZa8caZw==", "dev": true, "requires": { - "@babel/helper-validator-identifier": "^7.22.5", - "chalk": "^2.0.0", - "js-tokens": "^4.0.0" + "@babel/helper-validator-identifier": "^7.24.7", + "chalk": "^2.4.2", + "js-tokens": "^4.0.0", + "picocolors": "^1.0.0" }, "dependencies": { "ansi-styles": { @@ -5092,37 +5059,37 @@ } }, "@babel/parser": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.22.5.tgz", - "integrity": "sha512-DFZMC9LJUG9PLOclRC32G63UXwzqS2koQC8dkx+PLdmt1xSePYpbT/NbsrJy8Q/muXz7o/h/d4A7Fuyixm559Q==", - "dev": true + "version": "7.25.3", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.25.3.tgz", + "integrity": "sha512-iLTJKDbJ4hMvFPgQwwsVoxtHyWpKKPBrxkANrSYewDPaPpT5py5yeVkgPIJ7XYXhndxJpaA3PyALSXQ7u8e/Dw==", + "dev": true, + "requires": { + "@babel/types": "^7.25.2" + } }, "@babel/template": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.22.5.tgz", - "integrity": "sha512-X7yV7eiwAxdj9k94NEylvbVHLiVG1nvzCV2EAowhxLTwODV1jl9UzZ48leOC0sH7OnuHrIkllaBgneUykIcZaw==", + "version": "7.25.0", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.25.0.tgz", + "integrity": "sha512-aOOgh1/5XzKvg1jvVz7AVrx2piJ2XBi227DHmbY6y+bM9H2FlN+IfecYu4Xl0cNiiVejlsCri89LUsbj8vJD9Q==", "dev": true, "requires": { - "@babel/code-frame": "^7.22.5", - "@babel/parser": "^7.22.5", - "@babel/types": "^7.22.5" + "@babel/code-frame": "^7.24.7", + "@babel/parser": "^7.25.0", + "@babel/types": "^7.25.0" } }, "@babel/traverse": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.22.5.tgz", - "integrity": "sha512-7DuIjPgERaNo6r+PZwItpjCZEa5vyw4eJGufeLxrPdBXBoLcCJCIasvK6pK/9DVNrLZTLFhUGqaC6X/PA007TQ==", + "version": "7.25.3", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.25.3.tgz", + "integrity": "sha512-HefgyP1x754oGCsKmV5reSmtV7IXj/kpaE1XYY+D9G5PvKKoFfSbiS4M77MdjuwlZKDIKFCffq9rPU+H/s3ZdQ==", "dev": true, "requires": { - "@babel/code-frame": "^7.22.5", - "@babel/generator": "^7.22.5", - "@babel/helper-environment-visitor": "^7.22.5", - "@babel/helper-function-name": "^7.22.5", - "@babel/helper-hoist-variables": "^7.22.5", - "@babel/helper-split-export-declaration": "^7.22.5", - "@babel/parser": "^7.22.5", - "@babel/types": "^7.22.5", - "debug": "^4.1.0", + "@babel/code-frame": "^7.24.7", + "@babel/generator": "^7.25.0", + "@babel/parser": "^7.25.3", + "@babel/template": "^7.25.0", + "@babel/types": "^7.25.2", + "debug": "^4.3.1", "globals": "^11.1.0" }, "dependencies": { @@ -5135,13 +5102,13 @@ } }, "@babel/types": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.22.5.tgz", - "integrity": "sha512-zo3MIHGOkPOfoRXitsgHLjEXmlDaD/5KU1Uzuc9GNiZPhSqVxVRtxuPaSBZDsYZ9qV88AjtMtWW7ww98loJ9KA==", + "version": "7.25.2", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.25.2.tgz", + "integrity": "sha512-YTnYtra7W9e6/oAZEHj0bJehPRUlLH9/fbpT5LfB0NhQXyALCRkRs3zH9v07IYhkgpqX6Z78FnuccZr/l4Fs4Q==", "dev": true, "requires": { - "@babel/helper-string-parser": "^7.22.5", - "@babel/helper-validator-identifier": "^7.22.5", + "@babel/helper-string-parser": "^7.24.8", + "@babel/helper-validator-identifier": "^7.24.7", "to-fast-properties": "^2.0.0" } }, @@ -5217,21 +5184,32 @@ } }, "@eslint-community/regexpp": { - "version": "4.5.1", - "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.5.1.tgz", - "integrity": "sha512-Z5ba73P98O1KUYCCJTUeVpja9RcGoMdncZ6T49FCUl2lN38JtCJ+3WgIDBv0AuY4WChU5PmtJmOCTlN6FZTFKQ==", + "version": "4.11.0", + "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.11.0.tgz", + "integrity": "sha512-G/M/tIiMrTAxEWRfLfQJMmGNX28IxBg4PBz8XqQhqUHLFI6TL2htpIB1iQCj144V5ee/JaKyT9/WZ0MGZWfA7A==", "dev": true }, + "@eslint/config-array": { + "version": "0.17.1", + "resolved": "https://registry.npmjs.org/@eslint/config-array/-/config-array-0.17.1.tgz", + "integrity": "sha512-BlYOpej8AQ8Ev9xVqroV7a02JK3SkBAaN9GfMMH9W6Ch8FlQlkjGw4Ir7+FgYwfirivAf4t+GtzuAxqfukmISA==", + "dev": true, + "requires": { + "@eslint/object-schema": "^2.1.4", + "debug": "^4.3.1", + "minimatch": "^3.1.2" + } + }, "@eslint/eslintrc": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.0.3.tgz", - "integrity": "sha512-+5gy6OQfk+xx3q0d6jGZZC3f3KzAkXc/IanVxd1is/VIIziRqqt3ongQz0FiTUXqTk0c7aDB3OaFuKnuSoJicQ==", + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-3.1.0.tgz", + "integrity": "sha512-4Bfj15dVJdoy3RfZmmo86RK1Fwzn6SstsvK9JS+BaVKqC6QQQQyXekNaC+g+LKNgkQ+2VhGAzm6hO40AhMR3zQ==", "dev": true, "requires": { "ajv": "^6.12.4", "debug": "^4.3.2", - "espree": "^9.5.2", - "globals": "^13.19.0", + "espree": "^10.0.1", + "globals": "^14.0.0", "ignore": "^5.2.0", "import-fresh": "^3.2.1", "js-yaml": "^4.1.0", @@ -5240,21 +5218,16 @@ } }, "@eslint/js": { - "version": "8.42.0", - "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.42.0.tgz", - "integrity": "sha512-6SWlXpWU5AvId8Ac7zjzmIOqMOba/JWY8XZ4A7q7Gn1Vlfg/SFFIlrtHXt9nPn4op9ZPAkl91Jao+QQv3r/ukw==", + "version": "9.9.0", + "resolved": "https://registry.npmjs.org/@eslint/js/-/js-9.9.0.tgz", + "integrity": "sha512-hhetes6ZHP3BlXLxmd8K2SNgkhNSi+UcecbnwWKwpP7kyi/uC75DJ1lOOBO3xrC4jyojtGE3YxKZPHfk4yrgug==", "dev": true }, - "@humanwhocodes/config-array": { - "version": "0.11.10", - "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.10.tgz", - "integrity": "sha512-KVVjQmNUepDVGXNuoRRdmmEjruj0KfiGSbS8LVc12LMsWDQzRXJ0qdhN8L8uUigKpfEHRhlaQFY0ib1tnUbNeQ==", - "dev": true, - "requires": { - "@humanwhocodes/object-schema": "^1.2.1", - "debug": "^4.1.1", - "minimatch": "^3.0.5" - } + "@eslint/object-schema": { + "version": "2.1.4", + "resolved": "https://registry.npmjs.org/@eslint/object-schema/-/object-schema-2.1.4.tgz", + "integrity": "sha512-BsWiH1yFGjXXS2yvrf5LyuoSIIbPrGUWob917o+BTKuZ7qJdxX8aJLRxs1fS9n6r7vESrq1OUqb68dANcFXuQQ==", + "dev": true }, "@humanwhocodes/module-importer": { "version": "1.0.1", @@ -5262,10 +5235,10 @@ "integrity": "sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==", "dev": true }, - "@humanwhocodes/object-schema": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-1.2.1.tgz", - "integrity": "sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA==", + "@humanwhocodes/retry": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/@humanwhocodes/retry/-/retry-0.3.0.tgz", + "integrity": "sha512-d2CGZR2o7fS6sWB7DG/3a95bGKQyHMACZ5aW8qGkkqQpUoZV6C0X7Pc7l4ZNMZkfNBf4VWNe9E1jRsf0G146Ew==", "dev": true }, "@istanbuljs/load-nyc-config": { @@ -5361,14 +5334,14 @@ "dev": true }, "@jridgewell/gen-mapping": { - "version": "0.3.3", - "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.3.tgz", - "integrity": "sha512-HLhSWOLRi875zjjMG/r+Nv0oCW8umGb0BgEhyX3dDX3egwZtB8PqLnjz3yedt8R5StBrzcg4aBpnh8UA9D1BoQ==", + "version": "0.3.5", + "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.5.tgz", + "integrity": "sha512-IzL8ZoEDIBRWEzlCcRhOaCupYyN5gdIK+Q6fbFdPDg6HqX6jpkItn7DFIpW9LQzXG6Df9sA7+OKnq0qlz/GaQg==", "dev": true, "requires": { - "@jridgewell/set-array": "^1.0.1", + "@jridgewell/set-array": "^1.2.1", "@jridgewell/sourcemap-codec": "^1.4.10", - "@jridgewell/trace-mapping": "^0.3.9" + "@jridgewell/trace-mapping": "^0.3.24" } }, "@jridgewell/resolve-uri": { @@ -5378,9 +5351,9 @@ "dev": true }, "@jridgewell/set-array": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/@jridgewell/set-array/-/set-array-1.1.2.tgz", - "integrity": "sha512-xnkseuNADM0gt2bs+BvhO0p78Mk762YnZdsuzFV018NoG1Sj1SCQvpSqa7XUaTam5vAGasABV9qXASMKnFMwMw==", + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/@jridgewell/set-array/-/set-array-1.2.1.tgz", + "integrity": "sha512-R8gLRTZeyp03ymzP/6Lil/28tGeGEzhx1q2k703KGWRAI1VdvPIXdG70VJc2pAMw3NA6JKL5hhFu1sJX0Mnn/A==", "dev": true }, "@jridgewell/sourcemap-codec": { @@ -5390,27 +5363,19 @@ "dev": true }, "@jridgewell/trace-mapping": { - "version": "0.3.18", - "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.18.tgz", - "integrity": "sha512-w+niJYzMHdd7USdiH2U6869nqhD2nbfZXND5Yp93qIbEmnDNk7PD48o+YchRVpzMU7M6jVCbenTR7PA1FLQ9pA==", + "version": "0.3.25", + "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.25.tgz", + "integrity": "sha512-vNk6aEwybGtawWmy/PzwnGDOjCkLWSD2wqvjGGAgOAwCGWySYXfYoxt00IJkTF+8Lb57DwOb3Aa0o9CApepiYQ==", "dev": true, "requires": { - "@jridgewell/resolve-uri": "3.1.0", - "@jridgewell/sourcemap-codec": "1.4.14" - }, - "dependencies": { - "@jridgewell/sourcemap-codec": { - "version": "1.4.14", - "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.14.tgz", - "integrity": "sha512-XPSJHWmi394fuUuzDnGz1wiKqWfo1yXecHQMRf2l6hztTO+nPru658AyDngaBe7isIxEkRsPR3FZh+s7iVa4Uw==", - "dev": true - } + "@jridgewell/resolve-uri": "^3.1.0", + "@jridgewell/sourcemap-codec": "^1.4.14" } }, "@metrixcoin/metrilib": { - "version": "1.6.0-beta", - "resolved": "https://registry.npmjs.org/@metrixcoin/metrilib/-/metrilib-1.6.0-beta.tgz", - "integrity": "sha512-+68eVTvtxPVWYzegIONpz6fH8PPFwQRY+wkdOoLsBORbaMY+wZDi/kpYd7eIzdLaLiU3gN5/o+Ox5p5At5ewWg==", + "version": "1.6.1-beta", + "resolved": "https://registry.npmjs.org/@metrixcoin/metrilib/-/metrilib-1.6.1-beta.tgz", + "integrity": "sha512-m8bO5kc6uq9Kx68unHyNmuARYAvzP4FyCFQi6OaDffImetKMpA9ysNhE53fcsblfl4AcZx3i2Tv5WXrz0B1QZA==", "requires": { "bs58": "^5.0.0", "content-hash": "^2.5.2", @@ -5419,15 +5384,18 @@ "node-fetch": "^2.6.1" } }, - "@noble/hashes": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.1.2.tgz", - "integrity": "sha512-KYRCASVTv6aeUi1tsF8/vpyR7zpfs3FUzy2Jqm+MU+LmUKhQ0y2FpfwqkCcxSg2ua4GALJd8k2R76WxwZGbQpA==" + "@noble/curves": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", + "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "requires": { + "@noble/hashes": "1.3.2" + } }, - "@noble/secp256k1": { - "version": "1.7.1", - "resolved": "https://registry.npmjs.org/@noble/secp256k1/-/secp256k1-1.7.1.tgz", - "integrity": "sha512-hOUk6AyBFmqVrv7k5WAw/LpszxVbj9gGN4JRkIX52fdFAj1UA61KXmZDvqVEm+pOyec3+fIeZB02LYa/pWOArw==" + "@noble/hashes": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", + "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==" }, "@nodelib/fs.scandir": { "version": "2.1.5", @@ -5455,6 +5423,15 @@ "fastq": "^1.6.0" } }, + "@shikijs/core": { + "version": "1.12.1", + "resolved": "https://registry.npmjs.org/@shikijs/core/-/core-1.12.1.tgz", + "integrity": "sha512-biCz/mnkMktImI6hMfMX3H9kOeqsInxWEyCHbSlL8C/2TR1FqfmGxTLRNwYCKsyCyxWLbB8rEqXRVZuyxuLFmA==", + "dev": true, + "requires": { + "@types/hast": "^3.0.4" + } + }, "@tsconfig/node10": { "version": "1.0.9", "resolved": "https://registry.npmjs.org/@tsconfig/node10/-/node10-1.0.9.tgz", @@ -5479,11 +5456,14 @@ "integrity": "sha512-vxhUy4J8lyeyinH7Azl1pdd43GJhZH/tP2weN8TntQblOY+A0XbT8DJk1/oCPuOOyg/Ja757rG0CgHcWC8OfMA==", "dev": true }, - "@types/json-schema": { - "version": "7.0.12", - "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.12.tgz", - "integrity": "sha512-Hr5Jfhc9eYOQNPYO5WLDq/n4jqijdHNlDXjuAQkkt+mWdQR+XJToOHrsD4cPaMXpn6KO7y2+wM8AZEs8VpBLVA==", - "dev": true + "@types/hast": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/@types/hast/-/hast-3.0.4.tgz", + "integrity": "sha512-WPs+bbQw5aCj+x6laNGWLH3wviHtoCv/P3+otBhbOhJgG8qtpdAMlTCxLtsTWA7LH1Oh/bFCHsBn0TPS5m30EQ==", + "dev": true, + "requires": { + "@types/unist": "*" + } }, "@types/locks": { "version": "0.2.1", @@ -5513,115 +5493,132 @@ "form-data": "^3.0.0" } }, - "@types/semver": { - "version": "7.5.0", - "resolved": "https://registry.npmjs.org/@types/semver/-/semver-7.5.0.tgz", - "integrity": "sha512-G8hZ6XJiHnuhQKR7ZmysCeJWE08o8T0AXtk5darsCaTVsYZhhgUrq53jizaR2FvsoeCwJhlmwTjkXBY5Pn/ZHw==", + "@types/unist": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/@types/unist/-/unist-3.0.2.tgz", + "integrity": "sha512-dqId9J8K/vGi5Zr7oo212BGii5m3q5Hxlkwy3WpYuKPklmBEvsbMYYyLxAQpSffdLl/gdW0XUpKWFvYmyoWCoQ==", "dev": true }, "@typescript-eslint/eslint-plugin": { - "version": "5.59.11", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.59.11.tgz", - "integrity": "sha512-XxuOfTkCUiOSyBWIvHlUraLw/JT/6Io1365RO6ZuI88STKMavJZPNMU0lFcUTeQXEhHiv64CbxYxBNoDVSmghg==", + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.1.0.tgz", + "integrity": "sha512-LlNBaHFCEBPHyD4pZXb35mzjGkuGKXU5eeCA1SxvHfiRES0E82dOounfVpL4DCqYvJEKab0bZIA0gCRpdLKkCw==", "dev": true, "requires": { - "@eslint-community/regexpp": "^4.4.0", - "@typescript-eslint/scope-manager": "5.59.11", - "@typescript-eslint/type-utils": "5.59.11", - "@typescript-eslint/utils": "5.59.11", - "debug": "^4.3.4", - "grapheme-splitter": "^1.0.4", - "ignore": "^5.2.0", - "natural-compare-lite": "^1.4.0", - "semver": "^7.3.7", - "tsutils": "^3.21.0" + "@eslint-community/regexpp": "^4.10.0", + "@typescript-eslint/scope-manager": "8.1.0", + "@typescript-eslint/type-utils": "8.1.0", + "@typescript-eslint/utils": "8.1.0", + "@typescript-eslint/visitor-keys": "8.1.0", + "graphemer": "^1.4.0", + "ignore": "^5.3.1", + "natural-compare": "^1.4.0", + "ts-api-utils": "^1.3.0" } }, "@typescript-eslint/parser": { - "version": "5.59.11", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-5.59.11.tgz", - "integrity": "sha512-s9ZF3M+Nym6CAZEkJJeO2TFHHDsKAM3ecNkLuH4i4s8/RCPnF5JRip2GyviYkeEAcwGMJxkqG9h2dAsnA1nZpA==", + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.1.0.tgz", + "integrity": "sha512-U7iTAtGgJk6DPX9wIWPPOlt1gO57097G06gIcl0N0EEnNw8RGD62c+2/DiP/zL7KrkqnnqF7gtFGR7YgzPllTA==", "dev": true, "requires": { - "@typescript-eslint/scope-manager": "5.59.11", - "@typescript-eslint/types": "5.59.11", - "@typescript-eslint/typescript-estree": "5.59.11", + "@typescript-eslint/scope-manager": "8.1.0", + "@typescript-eslint/types": "8.1.0", + "@typescript-eslint/typescript-estree": "8.1.0", + "@typescript-eslint/visitor-keys": "8.1.0", "debug": "^4.3.4" } }, "@typescript-eslint/scope-manager": { - "version": "5.59.11", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-5.59.11.tgz", - "integrity": "sha512-dHFOsxoLFtrIcSj5h0QoBT/89hxQONwmn3FOQ0GOQcLOOXm+MIrS8zEAhs4tWl5MraxCY3ZJpaXQQdFMc2Tu+Q==", + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.1.0.tgz", + "integrity": "sha512-DsuOZQji687sQUjm4N6c9xABJa7fjvfIdjqpSIIVOgaENf2jFXiM9hIBZOL3hb6DHK9Nvd2d7zZnoMLf9e0OtQ==", "dev": true, "requires": { - "@typescript-eslint/types": "5.59.11", - "@typescript-eslint/visitor-keys": "5.59.11" + "@typescript-eslint/types": "8.1.0", + "@typescript-eslint/visitor-keys": "8.1.0" } }, "@typescript-eslint/type-utils": { - "version": "5.59.11", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-5.59.11.tgz", - "integrity": "sha512-LZqVY8hMiVRF2a7/swmkStMYSoXMFlzL6sXV6U/2gL5cwnLWQgLEG8tjWPpaE4rMIdZ6VKWwcffPlo1jPfk43g==", + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.1.0.tgz", + "integrity": "sha512-oLYvTxljVvsMnldfl6jIKxTaU7ok7km0KDrwOt1RHYu6nxlhN3TIx8k5Q52L6wR33nOwDgM7VwW1fT1qMNfFIA==", "dev": true, "requires": { - "@typescript-eslint/typescript-estree": "5.59.11", - "@typescript-eslint/utils": "5.59.11", + "@typescript-eslint/typescript-estree": "8.1.0", + "@typescript-eslint/utils": "8.1.0", "debug": "^4.3.4", - "tsutils": "^3.21.0" + "ts-api-utils": "^1.3.0" } }, "@typescript-eslint/types": { - "version": "5.59.11", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.59.11.tgz", - "integrity": "sha512-epoN6R6tkvBYSc+cllrz+c2sOFWkbisJZWkOE+y3xHtvYaOE6Wk6B8e114McRJwFRjGvYdJwLXQH5c9osME/AA==", + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.1.0.tgz", + "integrity": "sha512-q2/Bxa0gMOu/2/AKALI0tCKbG2zppccnRIRCW6BaaTlRVaPKft4oVYPp7WOPpcnsgbr0qROAVCVKCvIQ0tbWog==", "dev": true }, "@typescript-eslint/typescript-estree": { - "version": "5.59.11", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.59.11.tgz", - "integrity": "sha512-YupOpot5hJO0maupJXixi6l5ETdrITxeo5eBOeuV7RSKgYdU3G5cxO49/9WRnJq9EMrB7AuTSLH/bqOsXi7wPA==", + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.1.0.tgz", + "integrity": "sha512-NTHhmufocEkMiAord/g++gWKb0Fr34e9AExBRdqgWdVBaKoei2dIyYKD9Q0jBnvfbEA5zaf8plUFMUH6kQ0vGg==", "dev": true, "requires": { - "@typescript-eslint/types": "5.59.11", - "@typescript-eslint/visitor-keys": "5.59.11", + "@typescript-eslint/types": "8.1.0", + "@typescript-eslint/visitor-keys": "8.1.0", "debug": "^4.3.4", "globby": "^11.1.0", "is-glob": "^4.0.3", - "semver": "^7.3.7", - "tsutils": "^3.21.0" + "minimatch": "^9.0.4", + "semver": "^7.6.0", + "ts-api-utils": "^1.3.0" + }, + "dependencies": { + "brace-expansion": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", + "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "dev": true, + "requires": { + "balanced-match": "^1.0.0" + } + }, + "minimatch": { + "version": "9.0.5", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz", + "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==", + "dev": true, + "requires": { + "brace-expansion": "^2.0.1" + } + } } }, "@typescript-eslint/utils": { - "version": "5.59.11", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-5.59.11.tgz", - "integrity": "sha512-didu2rHSOMUdJThLk4aZ1Or8IcO3HzCw/ZvEjTTIfjIrcdd5cvSIwwDy2AOlE7htSNp7QIZ10fLMyRCveesMLg==", + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.1.0.tgz", + "integrity": "sha512-ypRueFNKTIFwqPeJBfeIpxZ895PQhNyH4YID6js0UoBImWYoSjBsahUn9KMiJXh94uOjVBgHD9AmkyPsPnFwJA==", "dev": true, "requires": { - "@eslint-community/eslint-utils": "^4.2.0", - "@types/json-schema": "^7.0.9", - "@types/semver": "^7.3.12", - "@typescript-eslint/scope-manager": "5.59.11", - "@typescript-eslint/types": "5.59.11", - "@typescript-eslint/typescript-estree": "5.59.11", - "eslint-scope": "^5.1.1", - "semver": "^7.3.7" + "@eslint-community/eslint-utils": "^4.4.0", + "@typescript-eslint/scope-manager": "8.1.0", + "@typescript-eslint/types": "8.1.0", + "@typescript-eslint/typescript-estree": "8.1.0" } }, "@typescript-eslint/visitor-keys": { - "version": "5.59.11", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.59.11.tgz", - "integrity": "sha512-KGYniTGG3AMTuKF9QBD7EIrvufkB6O6uX3knP73xbKLMpH+QRPcgnCxjWXSHjMRuOxFLovljqQgQpR0c7GvjoA==", + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.1.0.tgz", + "integrity": "sha512-ba0lNI19awqZ5ZNKh6wCModMwoZs457StTebQ0q1NP58zSi2F6MOZRXwfKZy+jB78JNJ/WH8GSh2IQNzXX8Nag==", "dev": true, "requires": { - "@typescript-eslint/types": "5.59.11", - "eslint-visitor-keys": "^3.3.0" + "@typescript-eslint/types": "8.1.0", + "eslint-visitor-keys": "^3.4.3" } }, "acorn": { - "version": "8.8.2", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.8.2.tgz", - "integrity": "sha512-xjIYgE8HBrkpd/sJqOGNspf8uHG+NOHGOw6a/Urj8taM2EXfdNAH2oFcPeIFfsv3+kz/mJrS5VuMqbNLjCa2vw==", + "version": "8.12.1", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.12.1.tgz", + "integrity": "sha512-tcpGyI9zbizT9JbV6oYE477V6mTlXvvi0T0G3SNIYE2apm/G5huBa1+K89VGeovbg+jycCrfhl3ADxErOuO6Jg==", "dev": true }, "acorn-jsx": { @@ -5676,12 +5673,6 @@ "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", "dev": true }, - "ansi-sequence-parser": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/ansi-sequence-parser/-/ansi-sequence-parser-1.1.0.tgz", - "integrity": "sha512-lEm8mt52to2fT8GhciPCGeCXACSz2UwIN4X2e2LJSnZ5uAbn2/dsYdOmUXq0AtWS5cpAupysIneExOgH0Vd2TQ==", - "dev": true - }, "ansi-styles": { "version": "4.3.0", "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", @@ -5811,12 +5802,12 @@ } }, "braces": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", - "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz", + "integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==", "dev": true, "requires": { - "fill-range": "^7.0.1" + "fill-range": "^7.1.1" } }, "browser-stdout": { @@ -6144,15 +6135,6 @@ "path-type": "^4.0.0" } }, - "doctrine": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-3.0.0.tgz", - "integrity": "sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==", - "dev": true, - "requires": { - "esutils": "^2.0.2" - } - }, "electron-to-chromium": { "version": "1.4.428", "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.428.tgz", @@ -6165,6 +6147,12 @@ "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", "dev": true }, + "entities": { + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/entities/-/entities-4.5.0.tgz", + "integrity": "sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==", + "dev": true + }, "es6-error": { "version": "4.1.1", "resolved": "https://registry.npmjs.org/es6-error/-/es6-error-4.1.1.tgz", @@ -6190,95 +6178,88 @@ "dev": true }, "eslint": { - "version": "8.42.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.42.0.tgz", - "integrity": "sha512-ulg9Ms6E1WPf67PHaEY4/6E2tEn5/f7FXGzr3t9cBMugOmf1INYvuUwwh1aXQN4MfJ6a5K2iNwP3w4AColvI9A==", + "version": "9.9.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-9.9.0.tgz", + "integrity": "sha512-JfiKJrbx0506OEerjK2Y1QlldtBxkAlLxT5OEcRF8uaQ86noDe2k31Vw9rnSWv+MXZHj7OOUV/dA0AhdLFcyvA==", "dev": true, "requires": { "@eslint-community/eslint-utils": "^4.2.0", - "@eslint-community/regexpp": "^4.4.0", - "@eslint/eslintrc": "^2.0.3", - "@eslint/js": "8.42.0", - "@humanwhocodes/config-array": "^0.11.10", + "@eslint-community/regexpp": "^4.11.0", + "@eslint/config-array": "^0.17.1", + "@eslint/eslintrc": "^3.1.0", + "@eslint/js": "9.9.0", "@humanwhocodes/module-importer": "^1.0.1", + "@humanwhocodes/retry": "^0.3.0", "@nodelib/fs.walk": "^1.2.8", - "ajv": "^6.10.0", + "ajv": "^6.12.4", "chalk": "^4.0.0", "cross-spawn": "^7.0.2", "debug": "^4.3.2", - "doctrine": "^3.0.0", "escape-string-regexp": "^4.0.0", - "eslint-scope": "^7.2.0", - "eslint-visitor-keys": "^3.4.1", - "espree": "^9.5.2", - "esquery": "^1.4.2", + "eslint-scope": "^8.0.2", + "eslint-visitor-keys": "^4.0.0", + "espree": "^10.1.0", + "esquery": "^1.5.0", "esutils": "^2.0.2", "fast-deep-equal": "^3.1.3", - "file-entry-cache": "^6.0.1", + "file-entry-cache": "^8.0.0", "find-up": "^5.0.0", "glob-parent": "^6.0.2", - "globals": "^13.19.0", - "graphemer": "^1.4.0", "ignore": "^5.2.0", - "import-fresh": "^3.0.0", "imurmurhash": "^0.1.4", "is-glob": "^4.0.0", "is-path-inside": "^3.0.3", - "js-yaml": "^4.1.0", "json-stable-stringify-without-jsonify": "^1.0.1", "levn": "^0.4.1", "lodash.merge": "^4.6.2", "minimatch": "^3.1.2", "natural-compare": "^1.4.0", - "optionator": "^0.9.1", + "optionator": "^0.9.3", "strip-ansi": "^6.0.1", - "strip-json-comments": "^3.1.0", "text-table": "^0.2.0" }, "dependencies": { - "eslint-scope": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.2.0.tgz", - "integrity": "sha512-DYj5deGlHBfMt15J7rdtyKNq/Nqlv5KfU4iodrQ019XESsRnwXH9KAE0y3cwtUHDo2ob7CypAnCqefh6vioWRw==", - "dev": true, - "requires": { - "esrecurse": "^4.3.0", - "estraverse": "^5.2.0" - } - }, - "estraverse": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", - "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", + "eslint-visitor-keys": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-4.0.0.tgz", + "integrity": "sha512-OtIRv/2GyiF6o/d8K7MYKKbXrOUBIK6SfkIRM4Z0dY3w+LiQ0vy3F57m0Z71bjbyeiWFiHJ8brqnmE6H6/jEuw==", "dev": true } } }, "eslint-scope": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-5.1.1.tgz", - "integrity": "sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw==", + "version": "8.0.2", + "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-8.0.2.tgz", + "integrity": "sha512-6E4xmrTw5wtxnLA5wYL3WDfhZ/1bUBGOXV0zQvVRDOtrR8D0p6W7fs3JweNYhwRYeGvd/1CKX2se0/2s7Q/nJA==", "dev": true, "requires": { "esrecurse": "^4.3.0", - "estraverse": "^4.1.1" + "estraverse": "^5.2.0" } }, "eslint-visitor-keys": { - "version": "3.4.1", - "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.1.tgz", - "integrity": "sha512-pZnmmLwYzf+kWaM/Qgrvpen51upAktaaiI01nsJD/Yr3lMOdNtq0cxkrrg16w64VtisN6okbs7Q8AfGqj4c9fA==", + "version": "3.4.3", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz", + "integrity": "sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==", "dev": true }, "espree": { - "version": "9.5.2", - "resolved": "https://registry.npmjs.org/espree/-/espree-9.5.2.tgz", - "integrity": "sha512-7OASN1Wma5fum5SrNhFMAMJxOUAbhyfQ8dQ//PJaJbNw0URTPWqIghHWt1MmAANKhHZIYOHruW4Kw4ruUWOdGw==", + "version": "10.1.0", + "resolved": "https://registry.npmjs.org/espree/-/espree-10.1.0.tgz", + "integrity": "sha512-M1M6CpiE6ffoigIOWYO9UDP8TMUw9kqb21tf+08IgDYjCsOvCuDt4jQcZmoYxx+w7zlKw9/N0KXfto+I8/FrXA==", "dev": true, "requires": { - "acorn": "^8.8.0", + "acorn": "^8.12.0", "acorn-jsx": "^5.3.2", - "eslint-visitor-keys": "^3.4.1" + "eslint-visitor-keys": "^4.0.0" + }, + "dependencies": { + "eslint-visitor-keys": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-4.0.0.tgz", + "integrity": "sha512-OtIRv/2GyiF6o/d8K7MYKKbXrOUBIK6SfkIRM4Z0dY3w+LiQ0vy3F57m0Z71bjbyeiWFiHJ8brqnmE6H6/jEuw==", + "dev": true + } } }, "esprima": { @@ -6294,14 +6275,6 @@ "dev": true, "requires": { "estraverse": "^5.1.0" - }, - "dependencies": { - "estraverse": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", - "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", - "dev": true - } } }, "esrecurse": { @@ -6311,20 +6284,12 @@ "dev": true, "requires": { "estraverse": "^5.2.0" - }, - "dependencies": { - "estraverse": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", - "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", - "dev": true - } } }, "estraverse": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz", - "integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==", + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", + "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", "dev": true }, "esutils": { @@ -6334,17 +6299,17 @@ "dev": true }, "ethers": { - "version": "6.5.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.5.1.tgz", - "integrity": "sha512-jDpCnUGcyn39hnRUEtrulDZOtJcIPEz4Whccl3N9qhwdLsn1ELuDM9TgGgGJq6ph0p8/Uri+Wezmo/r69E+xkA==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "requires": { - "@adraffy/ens-normalize": "1.9.2", - "@noble/hashes": "1.1.2", - "@noble/secp256k1": "1.7.1", + "@adraffy/ens-normalize": "1.10.1", + "@noble/curves": "1.2.0", + "@noble/hashes": "1.3.2", "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "dependencies": { "@types/node": { @@ -6406,18 +6371,18 @@ } }, "file-entry-cache": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-6.0.1.tgz", - "integrity": "sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg==", + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-8.0.0.tgz", + "integrity": "sha512-XXTUwCvisa5oacNGRP9SfNtYBNAMi+RPwBFmblZEF7N7swHYQS6/Zfk7SRwx4D5j3CH211YNRco1DEMNVfZCnQ==", "dev": true, "requires": { - "flat-cache": "^3.0.4" + "flat-cache": "^4.0.0" } }, "fill-range": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", - "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz", + "integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==", "dev": true, "requires": { "to-regex-range": "^5.0.1" @@ -6451,19 +6416,19 @@ "dev": true }, "flat-cache": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-3.0.4.tgz", - "integrity": "sha512-dm9s5Pw7Jc0GvMYbshN6zchCA9RgQlzzEZX3vylR9IqFfS8XciblUXOKfW6SiuJ0e13eDYZoZV5wdrev7P3Nwg==", + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-4.0.1.tgz", + "integrity": "sha512-f7ccFPK3SXFHpx15UIGyRJ/FJQctuKZ0zVuN3frBo4HnK3cay9VEW0R6yPYFHC0AgqhukPzKjq22t5DmAyqGyw==", "dev": true, "requires": { - "flatted": "^3.1.0", - "rimraf": "^3.0.2" + "flatted": "^3.2.9", + "keyv": "^4.5.4" } }, "flatted": { - "version": "3.2.7", - "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.2.7.tgz", - "integrity": "sha512-5nqDSxl8nn5BSNxyR3n4I6eDmbolI6WT+QqR547RwxQapgjQBmtktdP+HTBb/a/zLsbzERTONyUB5pefh5TtjQ==", + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.3.1.tgz", + "integrity": "sha512-X8cqMLLie7KsNUDSdzeN8FYK9rEt4Dt67OsG/DNGnYTSDBG4uFAJFBnUeiV+zCVAvwFy56IjM9sH51jVaEhNxw==", "dev": true }, "for-each": { @@ -6574,13 +6539,10 @@ } }, "globals": { - "version": "13.20.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-13.20.0.tgz", - "integrity": "sha512-Qg5QtVkCy/kv3FUSlu4ukeZDVf9ee0iXLAUYX13gbR17bnejFTzr4iS9bY7kwCf1NztRNm1t91fjOiyx4CSwPQ==", - "dev": true, - "requires": { - "type-fest": "^0.20.2" - } + "version": "14.0.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-14.0.0.tgz", + "integrity": "sha512-oahGvuMGQlPw/ivIYBjVSrWAfWLBeku5tpPE2fOPLi+WHffIWbuh2tCjhyQhTBPMf5E9jDEH4FOmTYgYwbKwtQ==", + "dev": true }, "globby": { "version": "11.1.0", @@ -6611,12 +6573,6 @@ "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==", "dev": true }, - "grapheme-splitter": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/grapheme-splitter/-/grapheme-splitter-1.0.4.tgz", - "integrity": "sha512-bzh50DW9kTPM00T8y4o8vQg89Di9oLJVLW/KaOGIXJWP/iqCN6WKYkbNOF04vFLJhwcpYUh9ydh/+5vpOqV4YQ==", - "dev": true - }, "graphemer": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/graphemer/-/graphemer-1.4.0.tgz", @@ -6714,9 +6670,9 @@ "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==" }, "ignore": { - "version": "5.2.4", - "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.2.4.tgz", - "integrity": "sha512-MAb38BcSbH0eHNBxn7ql2NH/kX33OkB3lZ1BNdh7ENeRChHTYsTvWrMubiIAMNS2llXEEgZ1MUOBtXChP3kaFQ==", + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.2.tgz", + "integrity": "sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==", "dev": true }, "import-fresh": { @@ -6910,9 +6866,9 @@ }, "dependencies": { "semver": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", "dev": true } } @@ -6999,6 +6955,12 @@ "integrity": "sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==", "dev": true }, + "json-buffer": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.1.tgz", + "integrity": "sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==", + "dev": true + }, "json-schema-traverse": { "version": "0.4.1", "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", @@ -7017,11 +6979,14 @@ "integrity": "sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==", "dev": true }, - "jsonc-parser": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/jsonc-parser/-/jsonc-parser-3.2.0.tgz", - "integrity": "sha512-gfFQZrcTc8CnKXp6Y4/CBT3fTc0OVuDofpre4aEeEpSBPV5X5v4+Vmx+8snU7RLPrNHPKSgLxGo9YuQzz20o+w==", - "dev": true + "keyv": { + "version": "4.5.4", + "resolved": "https://registry.npmjs.org/keyv/-/keyv-4.5.4.tgz", + "integrity": "sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw==", + "dev": true, + "requires": { + "json-buffer": "3.0.1" + } }, "levn": { "version": "0.4.1", @@ -7033,6 +6998,15 @@ "type-check": "~0.4.0" } }, + "linkify-it": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/linkify-it/-/linkify-it-5.0.0.tgz", + "integrity": "sha512-5aHCbzQRADcdP+ATqnDuhhJ/MRIqDkZX5pyjFHRRysS8vZ5AbqGEoFIb6pYHPZ+L/OC2Lc+xT8uHVVR5CAK/wQ==", + "dev": true, + "requires": { + "uc.micro": "^2.0.0" + } + }, "locate-path": { "version": "6.0.0", "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz", @@ -7094,9 +7068,9 @@ }, "dependencies": { "semver": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", "dev": true } } @@ -7107,10 +7081,24 @@ "integrity": "sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw==", "dev": true }, - "marked": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/marked/-/marked-4.3.0.tgz", - "integrity": "sha512-PRsaiG84bK+AMvxziE/lCFss8juXjNaWzVbN5tXAm4XjeaS9NAHhop+PjQxz2A9h8Q4M/xGmzP8vqNwy6JeK0A==", + "markdown-it": { + "version": "14.1.0", + "resolved": "https://registry.npmjs.org/markdown-it/-/markdown-it-14.1.0.tgz", + "integrity": "sha512-a54IwgWPaeBCAAsv13YgmALOF1elABB08FxO9i+r4VFk5Vl4pKokRPeX8u5TCgSsPi6ec1otfLjdOpVcgbpshg==", + "dev": true, + "requires": { + "argparse": "^2.0.1", + "entities": "^4.4.0", + "linkify-it": "^5.0.0", + "mdurl": "^2.0.0", + "punycode.js": "^2.3.1", + "uc.micro": "^2.1.0" + } + }, + "mdurl": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/mdurl/-/mdurl-2.0.0.tgz", + "integrity": "sha512-Lf+9+2r+Tdp5wXDXC4PcIBjTDtq4UKjCPMQhKIuzpJNW0b96kVqSwW0bT7FhRSfmAiFYgP+SCRvdrDozfh0U5w==", "dev": true }, "merge2": { @@ -7296,12 +7284,6 @@ "integrity": "sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==", "dev": true }, - "natural-compare-lite": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/natural-compare-lite/-/natural-compare-lite-1.4.0.tgz", - "integrity": "sha512-Tj+HTDSJJKaZnfiuw+iaF9skdPpTo2GtEly5JHnWV/hfv2Qj/9RKsGISQtLh2ox3l5EAGw487hnBee0sIJ6v2g==", - "dev": true - }, "node-fetch": { "version": "2.6.11", "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.11.tgz", @@ -7494,9 +7476,9 @@ } }, "optionator": { - "version": "0.9.1", - "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.1.tgz", - "integrity": "sha512-74RlY5FCnhq4jRxVUPKDaRwrVNXMqsGsiW6AJw4XK8hmtm10wC0ypZBLw5IIp85NZMr91+qd1RvvENwg7jjRFw==", + "version": "0.9.4", + "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.4.tgz", + "integrity": "sha512-6IpQ7mKUxRcZNLIObR0hz7lxsapSSIYNZJwXPGeF0mTVqGKFIXj1DQcMoT22S3ROcLyY/rz0PWaWZ9ayWmad9g==", "dev": true, "requires": { "deep-is": "^0.1.3", @@ -7504,7 +7486,7 @@ "levn": "^0.4.1", "prelude-ls": "^1.2.1", "type-check": "^0.4.0", - "word-wrap": "^1.2.3" + "word-wrap": "^1.2.5" } }, "p-limit": { @@ -7667,9 +7649,15 @@ } }, "punycode": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.0.tgz", - "integrity": "sha512-rRV+zQD8tVFys26lAGR9WUuS4iUAngJScM+ZRSKtvl5tKeZ2t5bvdNFdNHBW9FWR4guGHlgmsZ1G7BSm2wTbuA==", + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz", + "integrity": "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==", + "dev": true + }, + "punycode.js": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/punycode.js/-/punycode.js-2.3.1.tgz", + "integrity": "sha512-uxFIHU0YlHYhDQtV4R9J6a52SLx28BCjT+4ieh7IGbgwVJWO+km431c4yRlREUAsAmt/uMjQUyQHNEPf0M39CA==", "dev": true }, "queue-microtask": { @@ -7777,30 +7765,10 @@ "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==" }, "semver": { - "version": "7.5.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.1.tgz", - "integrity": "sha512-Wvss5ivl8TMRZXXESstBA4uR5iXgEN/VC5/sOcuXdVLzcdkz4HWetIoRfG5gb5X+ij/G9rw9YoGn3QoQ8OCSpw==", - "dev": true, - "requires": { - "lru-cache": "^6.0.0" - }, - "dependencies": { - "lru-cache": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", - "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", - "dev": true, - "requires": { - "yallist": "^4.0.0" - } - }, - "yallist": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", - "dev": true - } - } + "version": "7.6.3", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.3.tgz", + "integrity": "sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A==", + "dev": true }, "serialize-javascript": { "version": "6.0.0", @@ -7852,15 +7820,13 @@ "dev": true }, "shiki": { - "version": "0.14.2", - "resolved": "https://registry.npmjs.org/shiki/-/shiki-0.14.2.tgz", - "integrity": "sha512-ltSZlSLOuSY0M0Y75KA+ieRaZ0Trf5Wl3gutE7jzLuIcWxLp5i/uEnLoQWNvgKXQ5OMpGkJnVMRLAuzjc0LJ2A==", + "version": "1.12.1", + "resolved": "https://registry.npmjs.org/shiki/-/shiki-1.12.1.tgz", + "integrity": "sha512-nwmjbHKnOYYAe1aaQyEBHvQymJgfm86ZSS7fT8OaPRr4sbAcBNz7PbfAikMEFSDQ6se2j2zobkXvVKcBOm0ysg==", "dev": true, "requires": { - "ansi-sequence-parser": "^1.1.0", - "jsonc-parser": "^3.2.0", - "vscode-oniguruma": "^1.7.0", - "vscode-textmate": "^8.0.0" + "@shikijs/core": "1.12.1", + "@types/hast": "^3.0.4" } }, "signal-exit": { @@ -7997,6 +7963,13 @@ "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz", "integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==" }, + "ts-api-utils": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-1.3.0.tgz", + "integrity": "sha512-UQMIo7pb8WRomKR1/+MFVLTroIvDVtMX3K6OUir8ynLyzB8Jeriont2bTAtmNPa1ekAgN7YPDyf6V+ygrdU+eQ==", + "dev": true, + "requires": {} + }, "ts-node": { "version": "10.9.1", "resolved": "https://registry.npmjs.org/ts-node/-/ts-node-10.9.1.tgz", @@ -8031,23 +8004,6 @@ "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" }, - "tsutils": { - "version": "3.21.0", - "resolved": "https://registry.npmjs.org/tsutils/-/tsutils-3.21.0.tgz", - "integrity": "sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA==", - "dev": true, - "requires": { - "tslib": "^1.8.1" - }, - "dependencies": { - "tslib": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", - "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==", - "dev": true - } - } - }, "type-check": { "version": "0.4.0", "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz", @@ -8057,12 +8013,6 @@ "prelude-ls": "^1.2.1" } }, - "type-fest": { - "version": "0.20.2", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz", - "integrity": "sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==", - "dev": true - }, "typedarray-to-buffer": { "version": "3.1.5", "resolved": "https://registry.npmjs.org/typedarray-to-buffer/-/typedarray-to-buffer-3.1.5.tgz", @@ -8073,15 +8023,16 @@ } }, "typedoc": { - "version": "0.24.8", - "resolved": "https://registry.npmjs.org/typedoc/-/typedoc-0.24.8.tgz", - "integrity": "sha512-ahJ6Cpcvxwaxfu4KtjA8qZNqS43wYt6JL27wYiIgl1vd38WW/KWX11YuAeZhuz9v+ttrutSsgK+XO1CjL1kA3w==", + "version": "0.26.5", + "resolved": "https://registry.npmjs.org/typedoc/-/typedoc-0.26.5.tgz", + "integrity": "sha512-Vn9YKdjKtDZqSk+by7beZ+xzkkr8T8CYoiasqyt4TTRFy5+UHzL/mF/o4wGBjRF+rlWQHDb0t6xCpA3JNL5phg==", "dev": true, "requires": { "lunr": "^2.3.9", - "marked": "^4.3.0", - "minimatch": "^9.0.0", - "shiki": "^0.14.1" + "markdown-it": "^14.1.0", + "minimatch": "^9.0.5", + "shiki": "^1.9.1", + "yaml": "^2.4.5" }, "dependencies": { "brace-expansion": { @@ -8094,9 +8045,9 @@ } }, "minimatch": { - "version": "9.0.1", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.1.tgz", - "integrity": "sha512-0jWhJpD/MdhPXwPuiRkCbfYfSKp2qnn2eOc279qI7f+osl/l+prKSrvhg157zSYvx/1nmgn2NqdT6k2Z7zSH9w==", + "version": "9.0.5", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz", + "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==", "dev": true, "requires": { "brace-expansion": "^2.0.1" @@ -8105,9 +8056,15 @@ } }, "typescript": { - "version": "4.9.5", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.9.5.tgz", - "integrity": "sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g==", + "version": "5.5.4", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.5.4.tgz", + "integrity": "sha512-Mtq29sKDAEYP7aljRgtPOpTvOfbwRWlS6dPRzwjdE+C0R4brX/GUyhHSecbHMFLNBLcJIPt9nl9yG5TZ1weH+Q==", + "dev": true + }, + "uc.micro": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/uc.micro/-/uc.micro-2.1.0.tgz", + "integrity": "sha512-ARDJmphmdvUk6Glw7y9DQ2bFkKBHwQHLi2lsaH6PPmz/Ka9sFOBsBluozhDltWmnv9u/cF6Rt87znRTPV+yp/A==", "dev": true }, "update-browserslist-db": { @@ -8164,18 +8121,6 @@ "resolved": "https://registry.npmjs.org/varint/-/varint-5.0.2.tgz", "integrity": "sha512-lKxKYG6H03yCZUpAGOPOsMcGxd1RHCu1iKvEHYDPmTyq2HueGhD73ssNBqqQWfvYs04G9iUFRvmAVLW20Jw6ow==" }, - "vscode-oniguruma": { - "version": "1.7.0", - "resolved": "https://registry.npmjs.org/vscode-oniguruma/-/vscode-oniguruma-1.7.0.tgz", - "integrity": "sha512-L9WMGRfrjOhgHSdOYgCt/yRMsXzLDJSL7BPrOZt73gU0iWO4mpqzqQzOz5srxqTvMBaR0XZTSrVWo4j55Rc6cA==", - "dev": true - }, - "vscode-textmate": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/vscode-textmate/-/vscode-textmate-8.0.0.tgz", - "integrity": "sha512-AFbieoL7a5LMqcnOF04ji+rpXadgOXnZsxQr//r83kLPr7biP7am3g9zbaZIaBGwBRWeSvoMD4mgPdX3e4NWBg==", - "dev": true - }, "webidl-conversions": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz", @@ -8220,9 +8165,9 @@ } }, "word-wrap": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.3.tgz", - "integrity": "sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ==", + "version": "1.2.5", + "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.5.tgz", + "integrity": "sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA==", "dev": true }, "workerpool": { @@ -8261,9 +8206,9 @@ } }, "ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", "requires": {} }, "y18n": { @@ -8278,6 +8223,12 @@ "integrity": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==", "dev": true }, + "yaml": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.5.0.tgz", + "integrity": "sha512-2wWLbGbYDiSqqIKoPjar3MPgB94ErzCtrNE1FdqGuaO0pi2JGjmE8aW8TDZwzU7vuxcGRdL/4gPQwQ7hD5AMSw==", + "dev": true + }, "yargs": { "version": "16.2.0", "resolved": "https://registry.npmjs.org/yargs/-/yargs-16.2.0.tgz", diff --git a/package.json b/package.json index ae18071..7467241 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@metrixnames/mnslib", - "version": "2.2.1", + "version": "2.2.2", "description": "Library for interacting with the Metrix Name Service", "repository": "TheLindaProjectInc/mnslib", "source": "src/index.ts", @@ -22,7 +22,7 @@ "scripts": { "test": "mocha --config mocharc.json", "coverage": "nyc --reporter=json-summary npm run test", - "lint": "eslint . --ext .ts", + "lint": "eslint .", "format": "prettier --write \"**/*.+(js|ts|json)\"", "build": "tsc", "doc": "npx typedoc src" @@ -48,22 +48,22 @@ "@types/mocha": "^10.0.1", "@types/node": "^20.3.1", "@types/node-fetch": "^2.6.1", - "@typescript-eslint/eslint-plugin": "^5.23.0", - "@typescript-eslint/parser": "^5.23.0", + "@typescript-eslint/eslint-plugin": "^8.1.0", + "@typescript-eslint/parser": "^8.1.0", "assert": "^2.0.0", - "eslint": "^8.15.0", + "eslint": "^9.9.0", "mocha": "^10.0.0", "nyc": "^15.1.0", "prettier": "^2.6.2", "source-map-support": "^0.5.21", "ts-node": "^10.8.0", - "typedoc": "^0.24.4", - "typescript": "4.9.5" + "typedoc": "^0.26.5", + "typescript": "5.5.4" }, "dependencies": { "@ensdomains/address-encoder": "^0.2.20", "@ensdomains/eth-ens-namehash": "^2.0.15", - "@metrixcoin/metrilib": "^1.6.0-beta", + "@metrixcoin/metrilib": "^1.6.1-beta", "bs58": "^5.0.0", "content-hash": "^2.5.2", "ethers": "^6.0.3", diff --git a/src/index.spec.ts b/src/index.spec.ts index 3f9d0b9..921352f 100644 --- a/src/index.spec.ts +++ b/src/index.spec.ts @@ -37,14 +37,14 @@ describe('mnslib tests', () => { it('should return expected TestNet address', async () => { const address = await name.getAddress(); - equal(address, '0xC87bB8Ab63De99A58a5339217C4A1C92f0FBFEFe'); + equal(address, '0x0aC0B5E95A1F9717811B9cEebCb6855d02f638b3'); }).timeout(30000); it('should return expected TestNet owner', async () => { const owner = await name.getOwner(); equal( owner.toLowerCase().replace('0x', ''), - 'c87bb8ab63de99a58a5339217c4a1c92f0fbfefe' + '0ac0b5e95a1f9717811b9ceebcb6855d02f638b3' ); }).timeout(30000); diff --git a/src/index.ts b/src/index.ts index e9338f1..1a3dc79 100644 --- a/src/index.ts +++ b/src/index.ts @@ -11,7 +11,7 @@ import Deployment from './interfaces/Deployment'; export * from './mns'; export * from './constants'; -const namehash = require('@ensdomains/eth-ens-namehash').hash; // eslint-disable-line @typescript-eslint/no-var-requires +const namehash = require('@ensdomains/eth-ens-namehash').hash; // eslint-disable-line @typescript-eslint/no-require-imports export { Deployment, diff --git a/src/mns/MNS.ts b/src/mns/MNS.ts index 50188c0..94ce3c2 100644 --- a/src/mns/MNS.ts +++ b/src/mns/MNS.ts @@ -15,7 +15,7 @@ import { Transaction } from '@metrixcoin/metrilib'; -const namehash = require('@ensdomains/eth-ens-namehash').hash; // eslint-disable-line @typescript-eslint/no-var-requires +const namehash = require('@ensdomains/eth-ens-namehash').hash; // eslint-disable-line @typescript-eslint/no-require-imports /** Class which can be used to make registry record queries. */ export default class MNS { diff --git a/src/mns/Resolver.ts b/src/mns/Resolver.ts index 928eaf1..fe7595d 100644 --- a/src/mns/Resolver.ts +++ b/src/mns/Resolver.ts @@ -1,7 +1,7 @@ import { MetrixContract, Provider } from '@metrixcoin/metrilib'; import Name from './Name'; -const namehash = require('@ensdomains/eth-ens-namehash').hash; // eslint-disable-line @typescript-eslint/no-var-requires +const namehash = require('@ensdomains/eth-ens-namehash').hash; // eslint-disable-line @typescript-eslint/no-require-imports /** Class which can be used to get a Name object to make queries with. */ export default class Resolver { diff --git a/src/utils/Content.ts b/src/utils/Content.ts index f25e0e9..529b7c2 100644 --- a/src/utils/Content.ts +++ b/src/utils/Content.ts @@ -1,6 +1,6 @@ import { isHexString } from 'ethers'; import bs58 from 'bs58'; -const contentHash = require('content-hash'); // eslint-disable-line @typescript-eslint/no-var-requires +const contentHash = require('content-hash'); // eslint-disable-line @typescript-eslint/no-require-imports const supportedCodecs = ['ipns-ns', 'ipfs-ns', 'swarm-ns', 'onion', 'onion3']; // eslint-disable-next-line @typescript-eslint/no-explicit-any @@ -98,6 +98,7 @@ export function encodeContenthash(text: string) { }); } } catch (err) { + console.log(err); console.warn('Error encoding content hash', { text, encoded }); //throw 'Error encoding content hash' } diff --git a/src/utils/ContractUtils.ts b/src/utils/ContractUtils.ts index 4ae4124..e597644 100644 --- a/src/utils/ContractUtils.ts +++ b/src/utils/ContractUtils.ts @@ -17,7 +17,7 @@ import { Provider, Transaction } from '@metrixcoin/metrilib'; -const namehash = require('@ensdomains/eth-ens-namehash').hash; // eslint-disable-line @typescript-eslint/no-var-requires +const namehash = require('@ensdomains/eth-ens-namehash').hash; // eslint-disable-line @typescript-eslint/no-require-imports const getMNSAddress = (network: NetworkType) => { return CONTRACTS[network].MNSRegistryWithFallback; @@ -396,6 +396,7 @@ const getTextWithResolver = async ( })(provider); return await resolver.text(nh, key); } catch (e) { + console.log(e); console.warn( 'Error getting text record on the resolver contract, are you sure the resolver address is a resolver contract?' );