diff --git a/assets/main.js b/assets/main.js index 01bcad5..d0aa8d5 100644 --- a/assets/main.js +++ b/assets/main.js @@ -1,6 +1,6 @@ "use strict"; "use strict";(()=>{var Pe=Object.create;var ne=Object.defineProperty;var Ie=Object.getOwnPropertyDescriptor;var Oe=Object.getOwnPropertyNames;var _e=Object.getPrototypeOf,Re=Object.prototype.hasOwnProperty;var Me=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports);var Fe=(t,e,n,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Oe(e))!Re.call(t,i)&&i!==n&&ne(t,i,{get:()=>e[i],enumerable:!(r=Ie(e,i))||r.enumerable});return t};var De=(t,e,n)=>(n=t!=null?Pe(_e(t)):{},Fe(e||!t||!t.__esModule?ne(n,"default",{value:t,enumerable:!0}):n,t));var ae=Me((se,oe)=>{(function(){var t=function(e){var n=new t.Builder;return 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(n){e.console&&console.warn&&console.warn(n)}}(this),t.utils.asString=function(e){return e==null?"":e.toString()},t.utils.clone=function(e){if(e==null)return e;for(var n=Object.create(null),r=Object.keys(e),i=0;i0){var d=t.utils.clone(n)||{};d.position=[a,u],d.index=s.length,s.push(new t.Token(r.slice(a,o),d))}a=o+1}}return s},t.tokenizer.separator=/[\s\-]+/;t.Pipeline=function(){this._stack=[]},t.Pipeline.registeredFunctions=Object.create(null),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 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. -`,e)},t.Pipeline.load=function(e){var n=new t.Pipeline;return e.forEach(function(r){var i=t.Pipeline.registeredFunctions[r];if(i)n.add(i);else throw new Error("Cannot load unregistered function: "+r)}),n},t.Pipeline.prototype.add=function(){var e=Array.prototype.slice.call(arguments);e.forEach(function(n){t.Pipeline.warnIfFunctionNotRegistered(n),this._stack.push(n)},this)},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,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 n=this._stack.indexOf(e);n!=-1&&this._stack.splice(n,1)},t.Pipeline.prototype.run=function(e){for(var n=this._stack.length,r=0;r1&&(oe&&(r=s),o!=e);)i=r-n,s=n+Math.floor(i/2),o=this.elements[s*2];if(o==e||o>e)return s*2;if(ol?d+=2: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),n=1,r=0;n0){var o=s.str.charAt(0),a;o in s.node.edges?a=s.node.edges[o]:(a=new t.TokenSet,s.node.edges[o]=a),s.str.length==1&&(a.final=!0),i.push({node:a,editsRemaining:s.editsRemaining,str:s.str.slice(1)})}if(s.editsRemaining!=0){if("*"in s.node.edges)var l=s.node.edges["*"];else{var l=new t.TokenSet;s.node.edges["*"]=l}if(s.str.length==0&&(l.final=!0),i.push({node:l,editsRemaining:s.editsRemaining-1,str:s.str}),s.str.length>1&&i.push({node:s.node,editsRemaining:s.editsRemaining-1,str:s.str.slice(1)}),s.str.length==1&&(s.node.final=!0),s.str.length>=1){if("*"in s.node.edges)var u=s.node.edges["*"];else{var u=new t.TokenSet;s.node.edges["*"]=u}s.str.length==1&&(u.final=!0),i.push({node:u,editsRemaining:s.editsRemaining-1,str:s.str.slice(1)})}if(s.str.length>1){var d=s.str.charAt(0),v=s.str.charAt(1),f;v in s.node.edges?f=s.node.edges[v]:(f=new t.TokenSet,s.node.edges[v]=f),s.str.length==1&&(f.final=!0),i.push({node:f,editsRemaining:s.editsRemaining-1,str:d+s.str.slice(2)})}}}return r},t.TokenSet.fromString=function(e){for(var n=new t.TokenSet,r=n,i=0,s=e.length;i=e;n--){var r=this.uncheckedNodes[n],i=r.child.toString();i in this.minimizedNodes?r.parent.edges[r.char]=this.minimizedNodes[i]:(r.child._str=i,this.minimizedNodes[i]=r.child),this.uncheckedNodes.pop()}};t.Index=function(e){this.invertedIndex=e.invertedIndex,this.fieldVectors=e.fieldVectors,this.tokenSet=e.tokenSet,this.fields=e.fields,this.pipeline=e.pipeline},t.Index.prototype.search=function(e){return this.query(function(n){var r=new t.QueryParser(e,n);r.parse()})},t.Index.prototype.query=function(e){for(var n=new t.Query(this.fields),r=Object.create(null),i=Object.create(null),s=Object.create(null),o=Object.create(null),a=Object.create(null),l=0;l1?this._b=1:this._b=e},t.Builder.prototype.k1=function(e){this._k1=e},t.Builder.prototype.add=function(e,n){var r=e[this._ref],i=Object.keys(this._fields);this._documents[r]=n||{},this.documentCount+=1;for(var s=0;s=this.length)return t.QueryLexer.EOS;var e=this.str.charAt(this.pos);return this.pos+=1,e},t.QueryLexer.prototype.width=function(){return this.pos-this.start},t.QueryLexer.prototype.ignore=function(){this.start==this.pos&&(this.pos+=1),this.start=this.pos},t.QueryLexer.prototype.backup=function(){this.pos-=1},t.QueryLexer.prototype.acceptDigitRun=function(){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(){return this.pos1&&(e.backup(),e.emit(t.QueryLexer.TERM)),e.ignore(),e.more())return t.QueryLexer.lexText},t.QueryLexer.lexEditDistance=function(e){return e.ignore(),e.acceptDigitRun(),e.emit(t.QueryLexer.EDIT_DISTANCE),t.QueryLexer.lexText},t.QueryLexer.lexBoost=function(e){return e.ignore(),e.acceptDigitRun(),e.emit(t.QueryLexer.BOOST),t.QueryLexer.lexText},t.QueryLexer.lexEOS=function(e){e.width()>0&&e.emit(t.QueryLexer.TERM)},t.QueryLexer.termSeparator=t.tokenizer.separator,t.QueryLexer.lexText=function(e){for(;;){var n=e.next();if(n==t.QueryLexer.EOS)return t.QueryLexer.lexEOS;if(n.charCodeAt(0)==92){e.escapeCharacter();continue}if(n==":")return t.QueryLexer.lexField;if(n=="~")return e.backup(),e.width()>0&&e.emit(t.QueryLexer.TERM),t.QueryLexer.lexEditDistance;if(n=="^")return e.backup(),e.width()>0&&e.emit(t.QueryLexer.TERM),t.QueryLexer.lexBoost;if(n=="+"&&e.width()===1||n=="-"&&e.width()===1)return e.emit(t.QueryLexer.PRESENCE),t.QueryLexer.lexText;if(n.match(t.QueryLexer.termSeparator))return t.QueryLexer.lexTerm}},t.QueryParser=function(e,n){this.lexer=new t.QueryLexer(e),this.query=n,this.currentClause={},this.lexemeIdx=0},t.QueryParser.prototype.parse=function(){this.lexer.run(),this.lexemes=this.lexer.lexemes;for(var e=t.QueryParser.parseClause;e;)e=e(this);return this.query},t.QueryParser.prototype.peekLexeme=function(){return this.lexemes[this.lexemeIdx]},t.QueryParser.prototype.consumeLexeme=function(){var e=this.peekLexeme();return this.lexemeIdx+=1,e},t.QueryParser.prototype.nextClause=function(){var e=this.currentClause;this.query.clause(e),this.currentClause={}},t.QueryParser.parseClause=function(e){var n=e.peekLexeme();if(n!=null)switch(n.type){case t.QueryLexer.PRESENCE:return t.QueryParser.parsePresence;case t.QueryLexer.FIELD:return t.QueryParser.parseField;case t.QueryLexer.TERM:return t.QueryParser.parseTerm;default:var r="expected either a field or a term, found "+n.type;throw n.str.length>=1&&(r+=" with value '"+n.str+"'"),new t.QueryParseError(r,n.start,n.end)}},t.QueryParser.parsePresence=function(e){var n=e.consumeLexeme();if(n!=null){switch(n.str){case"-":e.currentClause.presence=t.Query.presence.PROHIBITED;break;case"+":e.currentClause.presence=t.Query.presence.REQUIRED;break;default:var r="unrecognised presence operator'"+n.str+"'";throw new t.QueryParseError(r,n.start,n.end)}var i=e.peekLexeme();if(i==null){var r="expecting term or field, found nothing";throw new t.QueryParseError(r,n.start,n.end)}switch(i.type){case t.QueryLexer.FIELD:return t.QueryParser.parseField;case t.QueryLexer.TERM:return t.QueryParser.parseTerm;default:var r="expecting term or field, found '"+i.type+"'";throw new t.QueryParseError(r,i.start,i.end)}}},t.QueryParser.parseField=function(e){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 '"+n.str+"', possible fields: "+r;throw new t.QueryParseError(i,n.start,n.end)}e.currentClause.fields=[n.str];var s=e.peekLexeme();if(s==null){var i="expecting term, found nothing";throw new t.QueryParseError(i,n.start,n.end)}switch(s.type){case t.QueryLexer.TERM:return t.QueryParser.parseTerm;default:var i="expecting term, found '"+s.type+"'";throw new t.QueryParseError(i,s.start,s.end)}}},t.QueryParser.parseTerm=function(e){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(r.type){case t.QueryLexer.TERM:return e.nextClause(),t.QueryParser.parseTerm;case t.QueryLexer.FIELD:return e.nextClause(),t.QueryParser.parseField;case t.QueryLexer.EDIT_DISTANCE:return t.QueryParser.parseEditDistance;case t.QueryLexer.BOOST:return t.QueryParser.parseBoost;case t.QueryLexer.PRESENCE:return e.nextClause(),t.QueryParser.parsePresence;default:var i="Unexpected lexeme type '"+r.type+"'";throw new t.QueryParseError(i,r.start,r.end)}}},t.QueryParser.parseEditDistance=function(e){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,n.start,n.end)}e.currentClause.editDistance=r;var s=e.peekLexeme();if(s==null){e.nextClause();return}switch(s.type){case t.QueryLexer.TERM:return e.nextClause(),t.QueryParser.parseTerm;case t.QueryLexer.FIELD:return e.nextClause(),t.QueryParser.parseField;case t.QueryLexer.EDIT_DISTANCE:return t.QueryParser.parseEditDistance;case t.QueryLexer.BOOST:return t.QueryParser.parseBoost;case t.QueryLexer.PRESENCE:return e.nextClause(),t.QueryParser.parsePresence;default:var i="Unexpected lexeme type '"+s.type+"'";throw new t.QueryParseError(i,s.start,s.end)}}},t.QueryParser.parseBoost=function(e){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,n.start,n.end)}e.currentClause.boost=r;var s=e.peekLexeme();if(s==null){e.nextClause();return}switch(s.type){case t.QueryLexer.TERM:return e.nextClause(),t.QueryParser.parseTerm;case t.QueryLexer.FIELD:return e.nextClause(),t.QueryParser.parseField;case t.QueryLexer.EDIT_DISTANCE:return t.QueryParser.parseEditDistance;case t.QueryLexer.BOOST:return t.QueryParser.parseBoost;case t.QueryLexer.PRESENCE:return e.nextClause(),t.QueryParser.parsePresence;default:var i="Unexpected lexeme type '"+s.type+"'";throw new t.QueryParseError(i,s.start,s.end)}}},function(e,n){typeof define=="function"&&define.amd?define(n):typeof se=="object"?oe.exports=n():e.lunr=n()}(this,function(){return t})})()});var re=[];function G(t,e){re.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())}createComponents(e){re.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()}ensureActivePageVisible(){let e=document.querySelector(".tsd-navigation .current"),n=e?.parentElement;for(;n&&!n.classList.contains(".tsd-navigation");)n instanceof HTMLDetailsElement&&(n.open=!0),n=n.parentElement;if(e){let r=e.getBoundingClientRect().top-document.documentElement.clientHeight/4;document.querySelector(".site-menu").scrollTop=r}}ensureFocusedElementVisible(){if(this.alwaysVisibleMember&&(this.alwaysVisibleMember.classList.remove("always-visible"),this.alwaysVisibleMember.firstElementChild.remove(),this.alwaysVisibleMember=null),!location.hash)return;let e=document.getElementById(location.hash.substring(1));if(!e)return;let n=e.parentElement;for(;n&&n.tagName!=="SECTION";)n=n.parentElement;if(n&&n.offsetParent==null){this.alwaysVisibleMember=n,n.classList.add("always-visible");let r=document.createElement("p");r.classList.add("warning"),r.textContent="This member is normally hidden due to your filter settings.",n.prepend(r)}}listenForCodeCopies(){document.querySelectorAll("pre > button").forEach(e=>{let n;e.addEventListener("click",()=>{e.previousElementSibling instanceof HTMLElement&&navigator.clipboard.writeText(e.previousElementSibling.innerText.trim()),e.textContent="Copied!",e.classList.add("visible"),clearTimeout(n),n=setTimeout(()=>{e.classList.remove("visible"),n=setTimeout(()=>{e.textContent="Copy"},100)},1e3)})})}};var ie=(t,e=100)=>{let n;return()=>{clearTimeout(n),n=setTimeout(()=>t(),e)}};var de=De(ae());async function le(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=de.Index.load(i.index),e.classList.remove("loading"),e.classList.add("ready")}function he(){let t=document.getElementById("tsd-search");if(!t)return;let e={base:t.dataset.base+"/"},n=document.getElementById("tsd-search-script");t.classList.add("loading"),n&&(n.addEventListener("error",()=>{t.classList.remove("loading"),t.classList.add("failure")}),n.addEventListener("load",()=>{le(e,t)}),le(e,t));let r=document.querySelector("#tsd-search input"),i=document.querySelector("#tsd-search .results");if(!r||!i)throw new Error("The input field or the result list wrapper was not found");let s=!1;i.addEventListener("mousedown",()=>s=!0),i.addEventListener("mouseup",()=>{s=!1,t.classList.remove("has-focus")}),r.addEventListener("focus",()=>t.classList.add("has-focus")),r.addEventListener("blur",()=>{s||(s=!1,t.classList.remove("has-focus"))}),Ae(t,i,r,e)}function Ae(t,e,n,r){n.addEventListener("input",ie(()=>{Ne(t,e,n,r)},200));let i=!1;n.addEventListener("keydown",s=>{i=!0,s.key=="Enter"?Ve(e,n):s.key=="Escape"?n.blur():s.key=="ArrowUp"?ue(e,-1):s.key==="ArrowDown"?ue(e,1):i=!1}),n.addEventListener("keypress",s=>{i&&s.preventDefault()}),document.body.addEventListener("keydown",s=>{s.altKey||s.ctrlKey||s.metaKey||!n.matches(":focus")&&s.key==="/"&&(n.focus(),s.preventDefault())})}function Ne(t,e,n,r){if(!r.index||!r.data)return;e.textContent="";let i=n.value.trim(),s=i?r.index.search(`*${i}*`):[];for(let o=0;oa.score-o.score);for(let o=0,a=Math.min(10,s.length);o`,d=ce(l.name,i);globalThis.DEBUG_SEARCH_WEIGHTS&&(d+=` (score: ${s[o].score.toFixed(2)})`),l.parent&&(d=` +`,e)},t.Pipeline.load=function(e){var n=new t.Pipeline;return e.forEach(function(r){var i=t.Pipeline.registeredFunctions[r];if(i)n.add(i);else throw new Error("Cannot load unregistered function: "+r)}),n},t.Pipeline.prototype.add=function(){var e=Array.prototype.slice.call(arguments);e.forEach(function(n){t.Pipeline.warnIfFunctionNotRegistered(n),this._stack.push(n)},this)},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,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 n=this._stack.indexOf(e);n!=-1&&this._stack.splice(n,1)},t.Pipeline.prototype.run=function(e){for(var n=this._stack.length,r=0;r1&&(oe&&(r=s),o!=e);)i=r-n,s=n+Math.floor(i/2),o=this.elements[s*2];if(o==e||o>e)return s*2;if(ol?d+=2: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),n=1,r=0;n0){var o=s.str.charAt(0),a;o in s.node.edges?a=s.node.edges[o]:(a=new t.TokenSet,s.node.edges[o]=a),s.str.length==1&&(a.final=!0),i.push({node:a,editsRemaining:s.editsRemaining,str:s.str.slice(1)})}if(s.editsRemaining!=0){if("*"in s.node.edges)var l=s.node.edges["*"];else{var l=new t.TokenSet;s.node.edges["*"]=l}if(s.str.length==0&&(l.final=!0),i.push({node:l,editsRemaining:s.editsRemaining-1,str:s.str}),s.str.length>1&&i.push({node:s.node,editsRemaining:s.editsRemaining-1,str:s.str.slice(1)}),s.str.length==1&&(s.node.final=!0),s.str.length>=1){if("*"in s.node.edges)var u=s.node.edges["*"];else{var u=new t.TokenSet;s.node.edges["*"]=u}s.str.length==1&&(u.final=!0),i.push({node:u,editsRemaining:s.editsRemaining-1,str:s.str.slice(1)})}if(s.str.length>1){var d=s.str.charAt(0),v=s.str.charAt(1),f;v in s.node.edges?f=s.node.edges[v]:(f=new t.TokenSet,s.node.edges[v]=f),s.str.length==1&&(f.final=!0),i.push({node:f,editsRemaining:s.editsRemaining-1,str:d+s.str.slice(2)})}}}return r},t.TokenSet.fromString=function(e){for(var n=new t.TokenSet,r=n,i=0,s=e.length;i=e;n--){var r=this.uncheckedNodes[n],i=r.child.toString();i in this.minimizedNodes?r.parent.edges[r.char]=this.minimizedNodes[i]:(r.child._str=i,this.minimizedNodes[i]=r.child),this.uncheckedNodes.pop()}};t.Index=function(e){this.invertedIndex=e.invertedIndex,this.fieldVectors=e.fieldVectors,this.tokenSet=e.tokenSet,this.fields=e.fields,this.pipeline=e.pipeline},t.Index.prototype.search=function(e){return this.query(function(n){var r=new t.QueryParser(e,n);r.parse()})},t.Index.prototype.query=function(e){for(var n=new t.Query(this.fields),r=Object.create(null),i=Object.create(null),s=Object.create(null),o=Object.create(null),a=Object.create(null),l=0;l1?this._b=1:this._b=e},t.Builder.prototype.k1=function(e){this._k1=e},t.Builder.prototype.add=function(e,n){var r=e[this._ref],i=Object.keys(this._fields);this._documents[r]=n||{},this.documentCount+=1;for(var s=0;s=this.length)return t.QueryLexer.EOS;var e=this.str.charAt(this.pos);return this.pos+=1,e},t.QueryLexer.prototype.width=function(){return this.pos-this.start},t.QueryLexer.prototype.ignore=function(){this.start==this.pos&&(this.pos+=1),this.start=this.pos},t.QueryLexer.prototype.backup=function(){this.pos-=1},t.QueryLexer.prototype.acceptDigitRun=function(){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(){return this.pos1&&(e.backup(),e.emit(t.QueryLexer.TERM)),e.ignore(),e.more())return t.QueryLexer.lexText},t.QueryLexer.lexEditDistance=function(e){return e.ignore(),e.acceptDigitRun(),e.emit(t.QueryLexer.EDIT_DISTANCE),t.QueryLexer.lexText},t.QueryLexer.lexBoost=function(e){return e.ignore(),e.acceptDigitRun(),e.emit(t.QueryLexer.BOOST),t.QueryLexer.lexText},t.QueryLexer.lexEOS=function(e){e.width()>0&&e.emit(t.QueryLexer.TERM)},t.QueryLexer.termSeparator=t.tokenizer.separator,t.QueryLexer.lexText=function(e){for(;;){var n=e.next();if(n==t.QueryLexer.EOS)return t.QueryLexer.lexEOS;if(n.charCodeAt(0)==92){e.escapeCharacter();continue}if(n==":")return t.QueryLexer.lexField;if(n=="~")return e.backup(),e.width()>0&&e.emit(t.QueryLexer.TERM),t.QueryLexer.lexEditDistance;if(n=="^")return e.backup(),e.width()>0&&e.emit(t.QueryLexer.TERM),t.QueryLexer.lexBoost;if(n=="+"&&e.width()===1||n=="-"&&e.width()===1)return e.emit(t.QueryLexer.PRESENCE),t.QueryLexer.lexText;if(n.match(t.QueryLexer.termSeparator))return t.QueryLexer.lexTerm}},t.QueryParser=function(e,n){this.lexer=new t.QueryLexer(e),this.query=n,this.currentClause={},this.lexemeIdx=0},t.QueryParser.prototype.parse=function(){this.lexer.run(),this.lexemes=this.lexer.lexemes;for(var e=t.QueryParser.parseClause;e;)e=e(this);return this.query},t.QueryParser.prototype.peekLexeme=function(){return this.lexemes[this.lexemeIdx]},t.QueryParser.prototype.consumeLexeme=function(){var e=this.peekLexeme();return this.lexemeIdx+=1,e},t.QueryParser.prototype.nextClause=function(){var e=this.currentClause;this.query.clause(e),this.currentClause={}},t.QueryParser.parseClause=function(e){var n=e.peekLexeme();if(n!=null)switch(n.type){case t.QueryLexer.PRESENCE:return t.QueryParser.parsePresence;case t.QueryLexer.FIELD:return t.QueryParser.parseField;case t.QueryLexer.TERM:return t.QueryParser.parseTerm;default:var r="expected either a field or a term, found "+n.type;throw n.str.length>=1&&(r+=" with value '"+n.str+"'"),new t.QueryParseError(r,n.start,n.end)}},t.QueryParser.parsePresence=function(e){var n=e.consumeLexeme();if(n!=null){switch(n.str){case"-":e.currentClause.presence=t.Query.presence.PROHIBITED;break;case"+":e.currentClause.presence=t.Query.presence.REQUIRED;break;default:var r="unrecognised presence operator'"+n.str+"'";throw new t.QueryParseError(r,n.start,n.end)}var i=e.peekLexeme();if(i==null){var r="expecting term or field, found nothing";throw new t.QueryParseError(r,n.start,n.end)}switch(i.type){case t.QueryLexer.FIELD:return t.QueryParser.parseField;case t.QueryLexer.TERM:return t.QueryParser.parseTerm;default:var r="expecting term or field, found '"+i.type+"'";throw new t.QueryParseError(r,i.start,i.end)}}},t.QueryParser.parseField=function(e){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 '"+n.str+"', possible fields: "+r;throw new t.QueryParseError(i,n.start,n.end)}e.currentClause.fields=[n.str];var s=e.peekLexeme();if(s==null){var i="expecting term, found nothing";throw new t.QueryParseError(i,n.start,n.end)}switch(s.type){case t.QueryLexer.TERM:return t.QueryParser.parseTerm;default:var i="expecting term, found '"+s.type+"'";throw new t.QueryParseError(i,s.start,s.end)}}},t.QueryParser.parseTerm=function(e){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(r.type){case t.QueryLexer.TERM:return e.nextClause(),t.QueryParser.parseTerm;case t.QueryLexer.FIELD:return e.nextClause(),t.QueryParser.parseField;case t.QueryLexer.EDIT_DISTANCE:return t.QueryParser.parseEditDistance;case t.QueryLexer.BOOST:return t.QueryParser.parseBoost;case t.QueryLexer.PRESENCE:return e.nextClause(),t.QueryParser.parsePresence;default:var i="Unexpected lexeme type '"+r.type+"'";throw new t.QueryParseError(i,r.start,r.end)}}},t.QueryParser.parseEditDistance=function(e){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,n.start,n.end)}e.currentClause.editDistance=r;var s=e.peekLexeme();if(s==null){e.nextClause();return}switch(s.type){case t.QueryLexer.TERM:return e.nextClause(),t.QueryParser.parseTerm;case t.QueryLexer.FIELD:return e.nextClause(),t.QueryParser.parseField;case t.QueryLexer.EDIT_DISTANCE:return t.QueryParser.parseEditDistance;case t.QueryLexer.BOOST:return t.QueryParser.parseBoost;case t.QueryLexer.PRESENCE:return e.nextClause(),t.QueryParser.parsePresence;default:var i="Unexpected lexeme type '"+s.type+"'";throw new t.QueryParseError(i,s.start,s.end)}}},t.QueryParser.parseBoost=function(e){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,n.start,n.end)}e.currentClause.boost=r;var s=e.peekLexeme();if(s==null){e.nextClause();return}switch(s.type){case t.QueryLexer.TERM:return e.nextClause(),t.QueryParser.parseTerm;case t.QueryLexer.FIELD:return e.nextClause(),t.QueryParser.parseField;case t.QueryLexer.EDIT_DISTANCE:return t.QueryParser.parseEditDistance;case t.QueryLexer.BOOST:return t.QueryParser.parseBoost;case t.QueryLexer.PRESENCE:return e.nextClause(),t.QueryParser.parsePresence;default:var i="Unexpected lexeme type '"+s.type+"'";throw new t.QueryParseError(i,s.start,s.end)}}},function(e,n){typeof define=="function"&&define.amd?define(n):typeof se=="object"?oe.exports=n():e.lunr=n()}(this,function(){return t})})()});var re=[];function G(t,e){re.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())}createComponents(e){re.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()}ensureActivePageVisible(){let e=document.querySelector(".tsd-navigation .current"),n=e?.parentElement;for(;n&&!n.classList.contains(".tsd-navigation");)n instanceof HTMLDetailsElement&&(n.open=!0),n=n.parentElement;if(e){let r=e.getBoundingClientRect().top-document.documentElement.clientHeight/4;document.querySelector(".site-menu").scrollTop=r}}ensureFocusedElementVisible(){if(this.alwaysVisibleMember&&(this.alwaysVisibleMember.classList.remove("always-visible"),this.alwaysVisibleMember.firstElementChild.remove(),this.alwaysVisibleMember=null),!location.hash)return;let e=document.getElementById(location.hash.substring(1));if(!e)return;let n=e.parentElement;for(;n&&n.tagName!=="SECTION";)n=n.parentElement;if(n&&n.offsetParent==null){this.alwaysVisibleMember=n,n.classList.add("always-visible");let r=document.createElement("p");r.classList.add("warning"),r.textContent="This member is normally hidden due to your filter settings.",n.prepend(r)}}listenForCodeCopies(){document.querySelectorAll("pre > button").forEach(e=>{let n;e.addEventListener("click",()=>{e.previousElementSibling instanceof HTMLElement&&navigator.clipboard.writeText(e.previousElementSibling.innerText.trim()),e.textContent="Copied!",e.classList.add("visible"),clearTimeout(n),n=setTimeout(()=>{e.classList.remove("visible"),n=setTimeout(()=>{e.textContent="Copy"},100)},1e3)})})}};var ie=(t,e=100)=>{let n;return()=>{clearTimeout(n),n=setTimeout(()=>t(),e)}};var de=De(ae());async function le(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=de.Index.load(i.index),e.classList.remove("loading"),e.classList.add("ready")}function he(){let t=document.getElementById("tsd-search");if(!t)return;let e={base:t.dataset.base+"/"},n=document.getElementById("tsd-search-script");t.classList.add("loading"),n&&(n.addEventListener("error",()=>{t.classList.remove("loading"),t.classList.add("failure")}),n.addEventListener("load",()=>{le(e,t)}),le(e,t));let r=document.querySelector("#tsd-search input"),i=document.querySelector("#tsd-search .results");if(!r||!i)throw new Error("The input field or the result list wrapper was not found");let s=!1;i.addEventListener("mousedown",()=>s=!0),i.addEventListener("mouseup",()=>{s=!1,t.classList.remove("has-focus")}),r.addEventListener("focus",()=>t.classList.add("has-focus")),r.addEventListener("blur",()=>{s||(s=!1,t.classList.remove("has-focus"))}),Ae(t,i,r,e)}function Ae(t,e,n,r){n.addEventListener("input",ie(()=>{Ne(t,e,n,r)},200));let i=!1;n.addEventListener("keydown",s=>{i=!0,s.key=="Enter"?Ve(e,n):s.key=="Escape"?n.blur():s.key=="ArrowUp"?ue(e,-1):s.key==="ArrowDown"?ue(e,1):i=!1}),n.addEventListener("keypress",s=>{i&&s.preventDefault()}),document.body.addEventListener("keydown",s=>{s.altKey||s.ctrlKey||s.metaKey||!n.matches(":focus")&&s.key==="/"&&(n.focus(),s.preventDefault())})}function Ne(t,e,n,r){if(!r.index||!r.data)return;e.textContent="";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;oa.score-o.score);for(let o=0,a=Math.min(10,s.length);o`,d=ce(l.name,i);globalThis.DEBUG_SEARCH_WEIGHTS&&(d+=` (score: ${s[o].score.toFixed(2)})`),l.parent&&(d=` ${ce(l.parent,i)}.${d}`);let v=document.createElement("li");v.classList.value=l.classes??"";let f=document.createElement("a");f.href=r.base+l.url,f.innerHTML=u+d,v.append(f),e.appendChild(v)}}function ue(t,e){let n=t.querySelector(".current");if(!n)n=t.querySelector(e==1?"li:first-child":"li:last-child"),n&&n.classList.add("current");else{let r=n;if(e===1)do r=r.nextElementSibling??void 0;while(r instanceof HTMLElement&&r.offsetParent==null);else do r=r.previousElementSibling??void 0;while(r instanceof HTMLElement&&r.offsetParent==null);r&&(n.classList.remove("current"),r.classList.add("current"))}}function Ve(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),e.blur()}}function ce(t,e){if(e==="")return t;let n=t.toLocaleLowerCase(),r=e.toLocaleLowerCase(),i=[],s=0,o=n.indexOf(r);for(;o!=-1;)i.push(K(t.substring(s,o)),`${K(t.substring(o,o+r.length))}`),s=o+r.length,o=n.indexOf(r,s);return i.push(K(t.substring(s))),i.join("")}var Be={"&":"&","<":"<",">":">","'":"'",'"':"""};function K(t){return t.replace(/[&<>"'"]/g,e=>Be[e])}var C=class{constructor(e){this.el=e.el,this.app=e.app}};var F="mousedown",pe="mousemove",B="mouseup",J={x:0,y:0},fe=!1,ee=!1,He=!1,D=!1,me=/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);document.documentElement.classList.add(me?"is-mobile":"not-mobile");me&&"ontouchstart"in document.documentElement&&(He=!0,F="touchstart",pe="touchmove",B="touchend");document.addEventListener(F,t=>{ee=!0,D=!1;let e=F=="touchstart"?t.targetTouches[0]:t;J.y=e.pageY||0,J.x=e.pageX||0});document.addEventListener(pe,t=>{if(ee&&!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(B,()=>{ee=!1});document.addEventListener("click",t=>{fe&&(t.preventDefault(),t.stopImmediatePropagation(),fe=!1)});var X=class extends C{constructor(n){super(n);this.className=this.el.dataset.toggle||"",this.el.addEventListener(B,r=>this.onPointerUp(r)),this.el.addEventListener("click",r=>r.preventDefault()),document.addEventListener(F,r=>this.onDocumentPointerDown(r)),document.addEventListener(B,r=>this.onDocumentPointerUp(r))}setActive(n){if(this.active==n)return;this.active=n,document.documentElement.classList.toggle("has-"+this.className,n),this.el.classList.toggle("active",n);let r=(this.active?"to-has-":"from-has-")+this.className;document.documentElement.classList.add(r),setTimeout(()=>document.documentElement.classList.remove(r),500)}onPointerUp(n){D||(this.setActive(!0),n.preventDefault())}onDocumentPointerDown(n){if(this.active){if(n.target.closest(".col-sidebar, .tsd-filter-group"))return;this.setActive(!1)}}onDocumentPointerUp(n){if(!D&&this.active&&n.target.closest(".col-sidebar")){let r=n.target.closest("a");if(r){let i=window.location.href;i.indexOf("#")!=-1&&(i=i.substring(0,i.indexOf("#"))),r.href.substring(0,i.length)==i&&setTimeout(()=>this.setActive(!1),250)}}}};var te;try{te=localStorage}catch{te={getItem(){return null},setItem(){}}}var Q=te;var ve=document.head.appendChild(document.createElement("style"));ve.dataset.for="filters";var Y=class extends C{constructor(n){super(n);this.key=`filter-${this.el.name}`,this.value=this.el.checked,this.el.addEventListener("change",()=>{this.setLocalStorage(this.el.checked)}),this.setLocalStorage(this.fromLocalStorage()),ve.innerHTML+=`html:not(.${this.key}) .tsd-is-${this.el.name} { display: none; } `}fromLocalStorage(){let n=Q.getItem(this.key);return n?n==="true":this.el.checked}setLocalStorage(n){Q.setItem(this.key,n.toString()),this.value=n,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(n=>{n.style.display="block";let r=Array.from(n.querySelectorAll(".tsd-index-link")).every(i=>i.offsetParent==null);n.style.display=r?"none":"block"})}};var Z=class extends C{constructor(n){super(n);this.summary=this.el.querySelector(".tsd-accordion-summary"),this.icon=this.summary.querySelector("svg"),this.key=`tsd-accordion-${this.summary.dataset.key??this.summary.textContent.trim().replace(/\s+/g,"-").toLowerCase()}`;let r=Q.getItem(this.key);this.el.open=r?r==="true":this.el.open,this.el.addEventListener("toggle",()=>this.update());let i=this.summary.querySelector("a");i&&i.addEventListener("click",()=>{location.assign(i.href)}),this.update()}update(){this.icon.style.transform=`rotate(${this.el.open?0:-90}deg)`,Q.setItem(this.key,this.el.open.toString())}};function ge(t){let e=Q.getItem("tsd-theme")||"os";t.value=e,ye(e),t.addEventListener("change",()=>{Q.setItem("tsd-theme",t.value),ye(t.value)})}function ye(t){document.documentElement.dataset.theme=t}var Le;function be(){let t=document.getElementById("tsd-nav-script");t&&(t.addEventListener("load",xe),xe())}async function xe(){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();Le=t.dataset.base+"/",t.innerHTML="";for(let s of i)we(s,t,[]);window.app.createComponents(t),window.app.ensureActivePageVisible()}function we(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-index-accordion`:"tsd-index-accordion",s.dataset.key=i.join("$");let o=s.appendChild(document.createElement("summary"));o.className="tsd-accordion-summary",o.innerHTML='',Ee(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)we(u,l,i)}else Ee(t,r,t.class)}function Ee(t,e,n){if(t.path){let r=e.appendChild(document.createElement("a"));r.href=Le+t.path,n&&(r.className=n),location.href===r.href&&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(Y,".tsd-filter-item input[type=checkbox]");var Se=document.getElementById("tsd-theme");Se&&ge(Se);var je=new U;Object.defineProperty(window,"app",{value:je});he();be();})(); /*! Bundled license information: diff --git a/assets/navigation.js b/assets/navigation.js index 68b2682..23b777b 100644 --- a/assets/navigation.js +++ b/assets/navigation.js @@ -1 +1 @@ -window.navigationData = "data:application/octet-stream;base64,H4sIAAAAAAAAA5XUXW+CMBSA4f/Sa7NNNl3m7dwSM7MZXdiF8eJYjtCstKQUo1n234dflC9Ld0MCfXlyIIXlD9G402REmAhwR3okAR3lp7EMMo7p7fHyTaRjnq9952dk5PUIjRgPFAoyWhbAs0LQ+JFoJkVqICY0qg3Qwqp0NXkw/O3VQN9zJYvSCVV+/x+wqW34ZPyGe5t3CqzE7H0xRypVMAYNNqoSupF+3/ecyEPoSDqCjpzB9D5pcWrK3dNjf+CVJAExpkk+goG2oBiszV4ukqp138pMUYS50o2dQgtJj1vJSJtM0OOGOkun9SowfGgAX0xHL7uEKTjc3MVVawueHxVQPcvWnNF8j16H66UFDVFPJQVu9UqRhYpBpRHw68w5sBAJopoEr0rGc5lpJkLrWG11J/4p3elya4Ez0fnoRdJgViUoRY5US9X8xV9WnP7yLBHpokGZkQqsHFoH2wJnAbROViw5j+Y3MTOb4Sqp5e2f72j9bI12qVoec/UHNbIGn2EHAAA=" \ No newline at end of file +window.navigationData = "data:application/octet-stream;base64,H4sIAAAAAAAAA5XUXU/CMBSA4f/S60UFBeNuRRMCUQJmXhAvDt2BNXbd0p2REeN/N3yt+6LU2/Xtk7Ol6/KHERbEfCZUiAXzWAoUMZ/FSZhLzG4Pj28iiiXz2LdQIfP7HuORkKFGxfxlCTxrBML3lESiMgMJRajXwEur1jXkwfDXa4BB35UsSydUB71/wKa24ePRBHc27xhYidnbYo480eEICGxULXQjg17QdyL3oSPpCDpyBqNd2uE0lLunx96gX5EUxJilwNFAW9ACVuYsl0nduu9kpqg2FDlgx9BC8sNRMtI6V/xwoE7Scb0ODB9awKeg6KVIhYb95mtcvbbgWJAGTrN8JQWf4O4y3Cwt6AZpmnCQVq8SWagYdBaBvMycAguRIupx+KqTeJ7kJNTGOlZXfRX/SNzpamuBc3X11cukxXxVoAwlckp0+4o/rzjd8iJV2aJFmZFKrBpaB9uCFCF0TlYuOY8WtDEzm+FqqeXrn3Z0/rZGO1cdr/n1BzWyBp9hBwAA" \ No newline at end of file diff --git a/assets/search.js b/assets/search.js index fcaaf9b..e6b7fdc 100644 --- a/assets/search.js +++ b/assets/search.js @@ -1 +1 @@ -window.searchData = "data:application/octet-stream;base64,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"; \ No newline at end of file +window.searchData = "data:application/octet-stream;base64,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"; \ No newline at end of file diff --git a/assets/style.css b/assets/style.css index 108428c..07a385b 100644 --- a/assets/style.css +++ b/assets/style.css @@ -11,6 +11,7 @@ --light-color-text-aside: #6e6e6e; --light-color-link: #1f70c2; + --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); @@ -50,6 +51,7 @@ --dark-color-text-aside: #dddddd; --dark-color-link: #00aff4; + --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); @@ -91,6 +93,7 @@ --color-text-aside: var(--light-color-text-aside); --color-link: var(--light-color-link); + --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); @@ -132,6 +135,7 @@ --color-text-aside: var(--dark-color-text-aside); --color-link: var(--dark-color-link); + --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); @@ -180,6 +184,7 @@ body { --color-text-aside: var(--light-color-text-aside); --color-link: var(--light-color-link); + --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); @@ -219,6 +224,7 @@ body { --color-text-aside: var(--dark-color-text-aside); --color-link: var(--dark-color-link); + --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); @@ -984,6 +990,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; diff --git a/functions/index.create.html b/functions/index.create.html index d1d00b4..6d76295 100644 --- a/functions/index.create.html +++ b/functions/index.create.html @@ -1,26 +1,4 @@ -create | ipns - v7.0.1
-
- -
-
-
-
- -

Function create

-
-
    - -
  • -

    Creates a new IPNS record and signs it with the given private key. +create | ipns - v7.0.2

    Function create

    • Creates a new IPNS record and signs it with the given private key. The IPNS Record validity should follow the [RFC3339]https://www.ietf.org/rfc/rfc3339.txt with nanoseconds precision. Note: This function does not embed the public key. If you want to do that, use EmbedPublicKey.

      The passed value can be a CID, a PeerID or an arbitrary string path.

      @@ -29,94 +7,9 @@

      Function create

    • PeerIDs will create recursive records, eg. the record value will be /ipns/${cidV1Libp2pKey}
    • String paths will be stored in the record as-is, but they must start with "/"
    -
    -
    -

    Parameters

    -
      -
    • -
      peerId: PeerId
      -

      peer id containing private key for signing the record.

      -
      -
    • -
    • -
      value: string | PeerId | CID<unknown, number, number, Version>
      -

      content to be stored in the record.

      -
      -
    • -
    • -
      seq: number | bigint
      -

      number representing the current version of the record.

      -
      -
    • -
    • -
      lifetime: number
      -

      lifetime of the record (in milliseconds).

      -
      -
    • -
    • -
      Optional options: CreateV2OrV1Options
      -

      additional create options.

      -
      -
    -

    Returns Promise<IPNSRecordV1V2>

    -
  • - -
  • -
    -

    Parameters

    -
    -

    Returns Promise<IPNSRecordV2>

  • - -
  • -
    -

    Parameters

    -
    -

    Returns Promise<IPNSRecordV1V2>

-
- -
-
\ No newline at end of file +

Parameters

  • peerId: PeerId

    peer id containing private key for signing the record.

    +
  • value: string | PeerId | CID<unknown, number, number, Version>

    content to be stored in the record.

    +
  • seq: number | bigint

    number representing the current version of the record.

    +
  • lifetime: number

    lifetime of the record (in milliseconds).

    +
  • Optional options: CreateV2OrV1Options

    additional create options.

    +

Returns Promise<IPNSRecordV1V2>

  • Parameters

    Returns Promise<IPNSRecordV2>

  • Parameters

    Returns Promise<IPNSRecordV1V2>

  • \ No newline at end of file diff --git a/functions/index.createWithExpiration.html b/functions/index.createWithExpiration.html index ea6325f..d65d09b 100644 --- a/functions/index.createWithExpiration.html +++ b/functions/index.createWithExpiration.html @@ -1,26 +1,4 @@ -createWithExpiration | ipns - v7.0.1
    -
    - -
    -
    -
    -
    - -

    Function createWithExpiration

    -
    -
      - -
    • -

      Same as create(), but instead of generating a new Date, it receives the intended expiration time +createWithExpiration | ipns - v7.0.2

      Function createWithExpiration

      • Same as create(), but instead of generating a new Date, it receives the intended expiration time WARNING: nano precision is not standard, make sure the value in seconds is 9 orders of magnitude lesser than the one provided.

        The passed value can be a CID, a PeerID or an arbitrary string path.

          @@ -28,94 +6,9 @@

          Function createWithExpiration

      • PeerIDs will create recursive records, eg. the record value will be /ipns/${cidV1Libp2pKey}
      • String paths will be stored in the record as-is, but they must start with "/"
      -
      -
      -

      Parameters

      -
        -
      • -
        peerId: PeerId
        -

        PeerId containing private key for signing the record.

        -
        -
      • -
      • -
        value: string | PeerId | CID<unknown, number, number, Version>
        -

        content to be stored in the record.

        -
        -
      • -
      • -
        seq: number | bigint
        -

        number representing the current version of the record.

        -
        -
      • -
      • -
        expiration: string
        -

        expiration datetime for record in the [RFC3339]https://www.ietf.org/rfc/rfc3339.txt with nanoseconds precision.

        -
        -
      • -
      • -
        Optional options: CreateV2OrV1Options
        -

        additional creation options.

        -
        -
      -

      Returns Promise<IPNSRecordV1V2>

      -
    • - -
    • -
      -

      Parameters

      -
      -

      Returns Promise<IPNSRecordV2>

    • - -
    • -
      -

      Parameters

      -
      -

      Returns Promise<IPNSRecordV1V2>

    -
    - -
    -
    \ No newline at end of file +

    Parameters

    • peerId: PeerId

      PeerId containing private key for signing the record.

      +
    • value: string | PeerId | CID<unknown, number, number, Version>

      content to be stored in the record.

      +
    • seq: number | bigint

      number representing the current version of the record.

      +
    • expiration: string

      expiration datetime for record in the [RFC3339]https://www.ietf.org/rfc/rfc3339.txt with nanoseconds precision.

      +
    • Optional options: CreateV2OrV1Options

      additional creation options.

      +

    Returns Promise<IPNSRecordV1V2>

  • Parameters

    Returns Promise<IPNSRecordV2>

  • Parameters

    Returns Promise<IPNSRecordV1V2>

  • \ No newline at end of file diff --git a/functions/index.extractPublicKey.html b/functions/index.extractPublicKey.html index 9f5df4e..28944a3 100644 --- a/functions/index.extractPublicKey.html +++ b/functions/index.extractPublicKey.html @@ -1,58 +1,3 @@ -extractPublicKey | ipns - v7.0.1
    -
    - -
    -
    -
    -
    - -

    Function extractPublicKey

    -
    -
    \ No newline at end of file diff --git a/functions/index.getLocalKey.html b/functions/index.getLocalKey.html index 076ebed..ad334d0 100644 --- a/functions/index.getLocalKey.html +++ b/functions/index.getLocalKey.html @@ -1,59 +1,4 @@ -getLocalKey | ipns - v7.0.1
    -
    - -
    -
    -
    -
    - -

    Function getLocalKey

    -
    -
      - -
    • -

      Get key for storing the record locally. +getLocalKey | ipns - v7.0.2

      Function getLocalKey

      • Get key for storing the record locally. Format: /ipns/${base32()}

        -
        -
        -

        Parameters

        -
        -

        Returns Key

        -
      -
      - -
      -
      \ No newline at end of file +

      Parameters

      Returns Key

    \ No newline at end of file diff --git a/functions/index.marshal.html b/functions/index.marshal.html index d36aa7e..202104c 100644 --- a/functions/index.marshal.html +++ b/functions/index.marshal.html @@ -1,52 +1 @@ -marshal | ipns - v7.0.1
    -
    - -
    -
    -
    -
    - -

    Function marshal

    -
    -
    -
    - -
    -
    \ No newline at end of file +marshal | ipns - v7.0.2

    Function marshal

    \ No newline at end of file diff --git a/functions/index.peerIdFromRoutingKey.html b/functions/index.peerIdFromRoutingKey.html index 52f08b9..7b5f748 100644 --- a/functions/index.peerIdFromRoutingKey.html +++ b/functions/index.peerIdFromRoutingKey.html @@ -1,52 +1 @@ -peerIdFromRoutingKey | ipns - v7.0.1
    -
    - -
    -
    -
    -
    - -

    Function peerIdFromRoutingKey

    -
    -
    -
    - -
    -
    \ No newline at end of file +peerIdFromRoutingKey | ipns - v7.0.2

    Function peerIdFromRoutingKey

    \ No newline at end of file diff --git a/functions/index.peerIdToRoutingKey.html b/functions/index.peerIdToRoutingKey.html index c75bf5f..c28f136 100644 --- a/functions/index.peerIdToRoutingKey.html +++ b/functions/index.peerIdToRoutingKey.html @@ -1,52 +1 @@ -peerIdToRoutingKey | ipns - v7.0.1
    -
    - -
    -
    -
    -
    - -

    Function peerIdToRoutingKey

    -
    -
    -
    - -
    -
    \ No newline at end of file +peerIdToRoutingKey | ipns - v7.0.2

    Function peerIdToRoutingKey

    \ No newline at end of file diff --git a/functions/index.unmarshal.html b/functions/index.unmarshal.html index 562d41a..5d451e7 100644 --- a/functions/index.unmarshal.html +++ b/functions/index.unmarshal.html @@ -1,52 +1 @@ -unmarshal | ipns - v7.0.1
    -
    - -
    -
    -
    -
    - -

    Function unmarshal

    -
    -
    -
    - -
    -
    \ No newline at end of file +unmarshal | ipns - v7.0.2

    Function unmarshal

    \ No newline at end of file diff --git a/functions/selector.ipnsSelector.html b/functions/selector.ipnsSelector.html index 125219d..2efb043 100644 --- a/functions/selector.ipnsSelector.html +++ b/functions/selector.ipnsSelector.html @@ -1,54 +1 @@ -ipnsSelector | ipns - v7.0.1
    -
    - -
    -
    -
    -
    - -

    Function ipnsSelector

    -
    -
    -
    - -
    -
    \ No newline at end of file +ipnsSelector | ipns - v7.0.2

    Function ipnsSelector

    \ No newline at end of file diff --git a/functions/validator.ipnsValidator.html b/functions/validator.ipnsValidator.html index 03f7f34..e47f1d0 100644 --- a/functions/validator.ipnsValidator.html +++ b/functions/validator.ipnsValidator.html @@ -1,54 +1 @@ -ipnsValidator | ipns - v7.0.1
    -
    - -
    -
    -
    -
    - -

    Function ipnsValidator

    -
    -
    -
    - -
    -
    \ No newline at end of file +ipnsValidator | ipns - v7.0.2

    Function ipnsValidator

    \ No newline at end of file diff --git a/functions/validator.validate.html b/functions/validator.validate.html index 5f527d0..44f5f2e 100644 --- a/functions/validator.validate.html +++ b/functions/validator.validate.html @@ -1,58 +1,3 @@ -validate | ipns - v7.0.1
    -
    - -
    -
    -
    -
    - -

    Function validate

    -
    -
      - -
    • -

      Validates the given IPNS Record against the given public key. We need a "raw" +validate | ipns - v7.0.2

      Function validate

      • Validates the given IPNS Record against the given public key. We need a "raw" record in order to be able to access to all of its fields.

        -
        -
        -

        Parameters

        -
        -

        Returns Promise<void>

        -
      -
      - -
      -
      \ No newline at end of file +

      Parameters

      Returns Promise<void>

    \ No newline at end of file diff --git a/index.html b/index.html index 4c6619b..632e8ea 100644 --- a/index.html +++ b/index.html @@ -1,18 +1,4 @@ -ipns - v7.0.1
    -
    - -
    -
    -
    -
    -

    ipns - v7.0.1

    -

    ipns

    ipfs.tech +ipns - v7.0.2

    Please be aware that all interactions related to this repo are subject to the IPFS Code of Conduct.

    Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

    -
    -
    -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/interfaces/index.CreateOptions.html b/interfaces/index.CreateOptions.html index e056899..419f3e6 100644 --- a/interfaces/index.CreateOptions.html +++ b/interfaces/index.CreateOptions.html @@ -1,67 +1,2 @@ -CreateOptions | ipns - v7.0.1
    -
    - -
    -
    -
    -
    - -

    Interface CreateOptions

    -
    -

    Hierarchy

    -
      -
    • CreateOptions
    -
    -
    -
    - -
    -
    -

    Properties

    -
    -
    -

    Properties

    -
    - -
    v1Compatible?: boolean
    -
    - -
    -
    \ No newline at end of file +CreateOptions | ipns - v7.0.2

    Interface CreateOptions

    interface CreateOptions {
        v1Compatible?: boolean;
    }

    Properties

    Properties

    v1Compatible?: boolean
    \ No newline at end of file diff --git a/interfaces/index.CreateV2Options.html b/interfaces/index.CreateV2Options.html index 19d6d88..0b89fff 100644 --- a/interfaces/index.CreateV2Options.html +++ b/interfaces/index.CreateV2Options.html @@ -1,67 +1,2 @@ -CreateV2Options | ipns - v7.0.1
    -
    - -
    -
    -
    -
    - -

    Interface CreateV2Options

    -
    -

    Hierarchy

    -
      -
    • CreateV2Options
    -
    -
    -
    - -
    -
    -

    Properties

    -
    -
    -

    Properties

    -
    - -
    v1Compatible: false
    -
    - -
    -
    \ No newline at end of file +CreateV2Options | ipns - v7.0.2

    Interface CreateV2Options

    interface CreateV2Options {
        v1Compatible: false;
    }

    Properties

    Properties

    v1Compatible: false
    \ No newline at end of file diff --git a/interfaces/index.CreateV2OrV1Options.html b/interfaces/index.CreateV2OrV1Options.html index 9a1ed5f..d26ecd5 100644 --- a/interfaces/index.CreateV2OrV1Options.html +++ b/interfaces/index.CreateV2OrV1Options.html @@ -1,67 +1,2 @@ -CreateV2OrV1Options | ipns - v7.0.1
    -
    - -
    -
    -
    -
    - -

    Interface CreateV2OrV1Options

    -
    -

    Hierarchy

    -
      -
    • CreateV2OrV1Options
    -
    -
    -
    - -
    -
    -

    Properties

    -
    -
    -

    Properties

    -
    - -
    v1Compatible: true
    -
    - -
    -
    \ No newline at end of file +CreateV2OrV1Options | ipns - v7.0.2

    Interface CreateV2OrV1Options

    interface CreateV2OrV1Options {
        v1Compatible: true;
    }

    Properties

    Properties

    v1Compatible: true
    \ No newline at end of file diff --git a/interfaces/index.IDKeys.html b/interfaces/index.IDKeys.html index 5b7e5df..c80e2c5 100644 --- a/interfaces/index.IDKeys.html +++ b/interfaces/index.IDKeys.html @@ -1,88 +1,5 @@ -IDKeys | ipns - v7.0.1
    -
    - -
    -
    -
    -
    - -

    Interface IDKeys

    -
    -

    Hierarchy

    -
      -
    • IDKeys
    -
    -
    -
    - -
    -
    -

    Properties

    -
    ipnsKey +IDKeys | ipns - v7.0.2

    Interface IDKeys

    interface IDKeys {
        ipnsKey: Key;
        pkKey: Key;
        routingKey: Key;
        routingPubKey: Key;
    }
    -
    -

    Properties

    -
    - -
    ipnsKey: Key
    -
    - -
    pkKey: Key
    -
    - -
    routingKey: Key
    -
    - -
    routingPubKey: Key
    -
    - -
    -
    \ No newline at end of file +

    Properties

    ipnsKey: Key
    pkKey: Key
    routingKey: Key
    routingPubKey: Key
    \ No newline at end of file diff --git a/interfaces/index.IPNSRecordData.html b/interfaces/index.IPNSRecordData.html index b22d52f..0165a66 100644 --- a/interfaces/index.IPNSRecordData.html +++ b/interfaces/index.IPNSRecordData.html @@ -1,95 +1,6 @@ -IPNSRecordData | ipns - v7.0.1
    -
    - -
    -
    -
    -
    - -

    Interface IPNSRecordData

    -
    -

    Hierarchy

    -
      -
    • IPNSRecordData
    -
    -
    -
    - -
    -
    -

    Properties

    -
    Sequence +IPNSRecordData | ipns - v7.0.2

    Interface IPNSRecordData

    interface IPNSRecordData {
        Sequence: bigint;
        TTL: bigint;
        Validity: Uint8Array;
        ValidityType: EOL;
        Value: Uint8Array;
    }
    -
    -

    Properties

    -
    - -
    Sequence: bigint
    -
    - -
    TTL: bigint
    -
    - -
    Validity: Uint8Array
    -
    - -
    ValidityType: EOL
    -
    - -
    Value: Uint8Array
    -
    - -
    -
    \ No newline at end of file +

    Properties

    Sequence: bigint
    TTL: bigint
    Validity: Uint8Array
    ValidityType: EOL
    Value: Uint8Array
    \ No newline at end of file diff --git a/interfaces/index.IPNSRecordV1V2.html b/interfaces/index.IPNSRecordV1V2.html index b44b68c..e605ffc 100644 --- a/interfaces/index.IPNSRecordV1V2.html +++ b/interfaces/index.IPNSRecordV1V2.html @@ -1,35 +1,4 @@ -IPNSRecordV1V2 | ipns - v7.0.1
    -
    - -
    -
    -
    -
    - -

    Interface IPNSRecordV1V2

    -
    -

    Hierarchy

    -
      -
    • IPNSRecordV1V2
    -
    -
    -
    - -
    -
    -

    Properties

    -
    data +IPNSRecordV1V2 | ipns - v7.0.2

    Interface IPNSRecordV1V2

    interface IPNSRecordV1V2 {
        data: Uint8Array;
        pubKey?: Uint8Array;
        sequence: bigint;
        signatureV1: Uint8Array;
        signatureV2: Uint8Array;
        ttl?: bigint;
        validity: Timestamp;
        validityType: EOL;
        value: string;
    }

    Properties

    data pubKey? sequence signatureV1 @@ -38,113 +7,13 @@

    Properties

    validity validityType value -
    -
    -

    Properties

    -
    - - -

    extensible data

    -
    -
    -
    - -
    pubKey?: Uint8Array
    -

    the public portion of the key that signed this record (only present if it was not embedded in the IPNS key)

    -
    -
    -
    - -
    sequence: bigint
    -

    number representing the version of the record

    -
    -
    -
    - -
    signatureV1: Uint8Array
    -

    signature of the record

    -
    -
    -
    - -
    signatureV2: Uint8Array
    -

    the v2 signature of the record

    -
    -
    -
    - -
    ttl?: bigint
    -

    ttl in nanoseconds

    -
    -
    -
    - -
    validity: Timestamp
    -

    expiration datetime for the record in RFC3339 format

    -
    -
    -
    - -
    validityType: EOL
    -

    Type of validation being used

    -
    -
    -
    - -
    value: string
    -

    value of the record

    -
    -
    -
    - -
    -
    \ No newline at end of file +

    Properties

    extensible data

    +
    pubKey?: Uint8Array

    the public portion of the key that signed this record (only present if it was not embedded in the IPNS key)

    +
    sequence: bigint

    number representing the version of the record

    +
    signatureV1: Uint8Array

    signature of the record

    +
    signatureV2: Uint8Array

    the v2 signature of the record

    +
    ttl?: bigint

    ttl in nanoseconds

    +
    validity: Timestamp

    expiration datetime for the record in RFC3339 format

    +
    validityType: EOL

    Type of validation being used

    +
    value: string

    value of the record

    +
    \ No newline at end of file diff --git a/interfaces/index.IPNSRecordV2.html b/interfaces/index.IPNSRecordV2.html index 3d1f277..7d89890 100644 --- a/interfaces/index.IPNSRecordV2.html +++ b/interfaces/index.IPNSRecordV2.html @@ -1,35 +1,4 @@ -IPNSRecordV2 | ipns - v7.0.1
    -
    - -
    -
    -
    -
    - -

    Interface IPNSRecordV2

    -
    -

    Hierarchy

    -
      -
    • IPNSRecordV2
    -
    -
    -
    - -
    -
    -

    Properties

    -
    data +IPNSRecordV2 | ipns - v7.0.2

    Interface IPNSRecordV2

    interface IPNSRecordV2 {
        data: Uint8Array;
        pubKey?: Uint8Array;
        sequence: bigint;
        signatureV2: Uint8Array;
        ttl?: bigint;
        validity: Timestamp;
        validityType: EOL;
        value: string;
    }

    Properties

    data pubKey? sequence signatureV2 @@ -37,104 +6,12 @@

    Properties

    validity validityType value -
    -
    -

    Properties

    -
    - - -

    extensible data

    -
    -
    -
    - -
    pubKey?: Uint8Array
    -

    the public portion of the key that signed this record (only present if it was not embedded in the IPNS key)

    -
    -
    -
    - -
    sequence: bigint
    -

    number representing the version of the record

    -
    -
    -
    - -
    signatureV2: Uint8Array
    -

    the v2 signature of the record

    -
    -
    -
    - -
    ttl?: bigint
    -

    ttl in nanoseconds

    -
    -
    -
    - -
    validity: Timestamp
    -

    expiration datetime for the record in RFC3339 format

    -
    -
    -
    - -
    validityType: EOL
    -

    Type of validation being used

    -
    -
    -
    - -
    value: string
    -

    value of the record

    -
    -
    -
    - -
    -
    \ No newline at end of file +

    Properties

    extensible data

    +
    pubKey?: Uint8Array

    the public portion of the key that signed this record (only present if it was not embedded in the IPNS key)

    +
    sequence: bigint

    number representing the version of the record

    +
    signatureV2: Uint8Array

    the v2 signature of the record

    +
    ttl?: bigint

    ttl in nanoseconds

    +
    validity: Timestamp

    expiration datetime for the record in RFC3339 format

    +
    validityType: EOL

    Type of validation being used

    +
    value: string

    value of the record

    +
    \ No newline at end of file diff --git a/modules/index.html b/modules/index.html index 62e0d90..1cb67c1 100644 --- a/modules/index.html +++ b/modules/index.html @@ -1,47 +1,14 @@ -index | ipns - v7.0.1
    -
    - -
    -
    -
    -
    - -

    Module index

    -
    -
    -

    Index

    -
    -

    Interfaces

    -
    CreateOptions +index | ipns - v7.0.2
    -
    - -
    -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/modules/selector.html b/modules/selector.html index 5072464..4e92458 100644 --- a/modules/selector.html +++ b/modules/selector.html @@ -1,48 +1,2 @@ -selector | ipns - v7.0.1
    -
    - -
    -
    -
    -
    - -

    Module selector

    -
    -
    -

    Index

    -
    -

    Functions

    -
    -
    - -
    -
    \ No newline at end of file +selector | ipns - v7.0.2

    Module selector

    Index

    Functions

    \ No newline at end of file diff --git a/modules/validator.html b/modules/validator.html index 7cb4669..77b4780 100644 --- a/modules/validator.html +++ b/modules/validator.html @@ -1,49 +1,3 @@ -validator | ipns - v7.0.1
    -
    - -
    -
    -
    -
    - -

    Module validator

    -
    -
    -

    Index

    -
    -

    Functions

    -
    ipnsValidator +validator | ipns - v7.0.2

    Module validator

    Index

    Functions

    -
    - -
    -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/types/index.IPNSRecord.html b/types/index.IPNSRecord.html index 33b6e15..3d54919 100644 --- a/types/index.IPNSRecord.html +++ b/types/index.IPNSRecord.html @@ -1,43 +1 @@ -IPNSRecord | ipns - v7.0.1
    -
    - -
    -
    -
    -
    - -

    Type alias IPNSRecord

    -
    -
    - -
    -
    \ No newline at end of file +IPNSRecord | ipns - v7.0.2

    Type alias IPNSRecord

    \ No newline at end of file diff --git a/variables/index.namespace.html b/variables/index.namespace.html index bbac7b4..96bea60 100644 --- a/variables/index.namespace.html +++ b/variables/index.namespace.html @@ -1,43 +1 @@ -namespace | ipns - v7.0.1
    -
    - -
    -
    -
    -
    - -

    Variable namespaceConst

    -
    namespace: "/ipns/" = '/ipns/'
    -
    - -
    -
    \ No newline at end of file +namespace | ipns - v7.0.2

    Variable namespaceConst

    namespace: "/ipns/" = '/ipns/'
    \ No newline at end of file diff --git a/variables/index.namespaceLength.html b/variables/index.namespaceLength.html index 19e635b..b9a39b7 100644 --- a/variables/index.namespaceLength.html +++ b/variables/index.namespaceLength.html @@ -1,43 +1 @@ -namespaceLength | ipns - v7.0.1
    -
    - -
    -
    -
    -
    - -

    Variable namespaceLengthConst

    -
    namespaceLength: number = namespace.length
    -
    - -
    -
    \ No newline at end of file +namespaceLength | ipns - v7.0.2

    Variable namespaceLengthConst

    namespaceLength: number = namespace.length
    \ No newline at end of file