From 3765cb2bb548037ea1f8ff4ada3e98482c747b83 Mon Sep 17 00:00:00 2001
From: stjet <49297268+stjet@users.noreply.github.com>
Date: Mon, 11 Nov 2024 01:16:34 +0000
Subject: [PATCH] include .js files in npm package
---
.npmignore | 5 +++++
docs/classes/DomainAccount.html | 4 ++--
docs/classes/DomainAccountManager.html | 4 ++--
docs/classes/Resolver.html | 4 ++--
docs/classes/TLDAccount.html | 4 ++--
docs/classes/TLDAccountManager.html | 4 ++--
docs/functions/address_to_cid_v0.html | 2 +-
docs/functions/base58_to_hex.html | 2 +-
docs/functions/bigint_to_uint8array.html | 2 +-
docs/functions/bns_seed_format_to_hex.html | 2 +-
docs/functions/cid_v0_to_address.html | 2 +-
docs/functions/decode_domain_name.html | 2 +-
docs/functions/encode_domain_name.html | 2 +-
docs/functions/hex_to_base58.html | 2 +-
docs/functions/hex_to_bns_seed_format.html | 2 +-
docs/functions/is_bns_seed_format.html | 2 +-
docs/interfaces/Domain.html | 4 ++--
docs/interfaces/DomainBlock.html | 4 ++--
docs/interfaces/DomainFreeze.html | 4 ++--
docs/interfaces/DomainMetadata.html | 4 ++--
docs/interfaces/DomainReceive.html | 4 ++--
docs/interfaces/DomainResolver.html | 4 ++--
docs/interfaces/DomainTransfer.html | 4 ++--
docs/types/DomainBlocks.html | 2 +-
docs/variables/BSF_HEX_CHARS.html | 2 +-
docs/variables/FREEZE_PUB_KEY.html | 2 +-
docs/variables/FREEZE_REP.html | 2 +-
docs/variables/HEX_CHARS.html | 2 +-
docs/variables/LOG.html | 2 +-
docs/variables/TRANS_MAX.html | 2 +-
docs/variables/TRANS_MIN.html | 2 +-
package.json | 2 +-
32 files changed, 48 insertions(+), 43 deletions(-)
create mode 100644 .npmignore
diff --git a/.npmignore b/.npmignore
new file mode 100644
index 0000000..7fa9042
--- /dev/null
+++ b/.npmignore
@@ -0,0 +1,5 @@
+node_modules
+node_test
+browser_test
+docs
+.secret
diff --git a/docs/classes/DomainAccount.html b/docs/classes/DomainAccount.html
index 92b4aa8..8e3ae45 100644
--- a/docs/classes/DomainAccount.html
+++ b/docs/classes/DomainAccount.html
@@ -1,8 +1,8 @@
-
DomainAccount | bns IndexConstructors constructor
+
DomainAccount | bns Constructors constructor new Domain Account ( rpc , address , domain ? ) : DomainAccount Parameters rpc : RPC address : ` ban_ ${ string } ` | ` nano_ ${ string } ` Optional domain : Domain Properties Readonly address address : ` ban_ ${ string } ` | ` nano_ ${ string } `
Methods get_ history_ from_ open get_ history_ from_ open ( head , count ) : Promise < AccountHistoryRawRPC > Parameters head : string count : number get_ open_ and_ frontier get_ open_ and_ frontier ( ) : Promise < [ string , string ] > Returns Promise < [ string , string ] >
\ No newline at end of file
+
Constructors constructor new Domain Account ( rpc , address , domain ? ) : DomainAccount Parameters rpc : RPC address : ` ban_ ${ string } ` | ` nano_ ${ string } ` Optional domain : Domain Properties Readonly address address : ` ban_ ${ string } ` | ` nano_ ${ string } `
Methods get_ history_ from_ open get_ history_ from_ open ( head , count ) : Promise < AccountHistoryRawRPC > Parameters head : string count : number get_ open_ and_ frontier get_ open_ and_ frontier ( ) : Promise < [ string , string ] > Returns Promise < [ string , string ] >
\ No newline at end of file
diff --git a/docs/classes/DomainAccountManager.html b/docs/classes/DomainAccountManager.html
index 26fc140..6d7de06 100644
--- a/docs/classes/DomainAccountManager.html
+++ b/docs/classes/DomainAccountManager.html
@@ -1,4 +1,4 @@
-DomainAccountManager | bns Class DomainAccountManager IndexConstructors constructor
+
DomainAccountManager | bns Class DomainAccountManager Properties Readonly address address : ` ban_ ${ string } ` | ` nano_ ${ string } `
Methods declare_ domain_ metadata declare_ domain_ metadata ( metadata_hash ) : Promise < void > Returns Promise < void > declare_ domain_ resolve_ to declare_ domain_ resolve_ to ( address ) : Promise < void > Parameters address : ` ban_ ${ string } ` | ` nano_ ${ string } ` Returns Promise < void > freeze freeze ( ) : Promise < void > Returns Promise < void > get_ history_ from_ open get_ history_ from_ open ( head , count ) : Promise < AccountHistoryRawRPC > Parameters head : string count : number get_ open_ and_ frontier get_ open_ and_ frontier ( ) : Promise < [ string , string ] > Returns Promise < [ string , string ] > receive_ domain receive_ domain ( receive_hash , tld ? , allow_burning ? ) : Promise < void > Parameters receive_hash : string Optional tld : ` ban_ ${ string } ` | ` nano_ ${ string } ` Optional allow_burning : boolean Returns Promise < void > transfer_ domain transfer_ domain ( domain_name , to ) : Promise < string > Parameters domain_name : string to : ` ban_ ${ string } ` | ` nano_ ${ string } ` Returns Promise < string >
\ No newline at end of file
+
Properties Readonly address address : ` ban_ ${ string } ` | ` nano_ ${ string } `
Methods declare_ domain_ metadata declare_ domain_ metadata ( metadata_hash ) : Promise < void > Returns Promise < void > declare_ domain_ resolve_ to declare_ domain_ resolve_ to ( address ) : Promise < void > Parameters address : ` ban_ ${ string } ` | ` nano_ ${ string } ` Returns Promise < void > freeze freeze ( ) : Promise < void > Returns Promise < void > get_ history_ from_ open get_ history_ from_ open ( head , count ) : Promise < AccountHistoryRawRPC > Parameters head : string count : number get_ open_ and_ frontier get_ open_ and_ frontier ( ) : Promise < [ string , string ] > Returns Promise < [ string , string ] > receive_ domain receive_ domain ( receive_hash , tld ? , allow_burning ? ) : Promise < void > Parameters receive_hash : string Optional tld : ` ban_ ${ string } ` | ` nano_ ${ string } ` Optional allow_burning : boolean Returns Promise < void > transfer_ domain transfer_ domain ( domain_name , to ) : Promise < string > Parameters domain_name : string to : ` ban_ ${ string } ` | ` nano_ ${ string } ` Returns Promise < string >
\ No newline at end of file
diff --git a/docs/classes/Resolver.html b/docs/classes/Resolver.html
index e1d24b2..58934ea 100644
--- a/docs/classes/Resolver.html
+++ b/docs/classes/Resolver.html
@@ -1,6 +1,6 @@
-Resolver | bns IndexConstructors constructor
+
Resolver | bns Constructors constructor new Resolver ( rpc , tld_mapping ) : Resolver Parameters rpc : RPC tld_mapping : Record < string , ` ban_ ${ string } ` | ` nano_ ${ string } ` > Properties tld_ mapping tld_ mapping : Record < string , ` ban_ ${ string } ` | ` nano_ ${ string } ` >
Methods resolve resolve ( domain_name , tld ) : Promise < Domain > Parameters domain_name : string tld : string Returns Promise < Domain > resolve_ backwards_ ish resolve_ backwards_ ish ( domain_account_address , tld ) : Promise < Domain > Parameters domain_account_address : ` ban_ ${ string } ` | ` nano_ ${ string } ` tld : string Returns Promise < Domain >
\ No newline at end of file
+
Constructors constructor new Resolver ( rpc , tld_mapping ) : Resolver Parameters rpc : RPC tld_mapping : Record < string , ` ban_ ${ string } ` | ` nano_ ${ string } ` > Properties tld_ mapping tld_ mapping : Record < string , ` ban_ ${ string } ` | ` nano_ ${ string } ` >
Methods resolve resolve ( domain_name , tld ) : Promise < Domain > Parameters domain_name : string tld : string Returns Promise < Domain > resolve_ backwards_ ish resolve_ backwards_ ish ( domain_account_address , tld ) : Promise < Domain > Parameters domain_account_address : ` ban_ ${ string } ` | ` nano_ ${ string } ` tld : string Returns Promise < Domain >
\ No newline at end of file
diff --git a/docs/classes/TLDAccount.html b/docs/classes/TLDAccount.html
index d1565f0..60fd61c 100644
--- a/docs/classes/TLDAccount.html
+++ b/docs/classes/TLDAccount.html
@@ -1,4 +1,4 @@
-TLDAccount | bns IndexConstructors constructor
+
TLDAccount | bns Constructors constructor new TLDAccount ( rpc , address ) : TLDAccount Parameters rpc : RPC address : ` ban_ ${ string } ` | ` nano_ ${ string } ` Properties Readonly address address : ` ban_ ${ string } ` | ` nano_ ${ string } `
Methods get_ all_ issued get_ all_ issued ( ) : Promise < Domain [] > Returns Promise < Domain [] > get_ history_ from_ open get_ history_ from_ open ( head , count ) : Promise < AccountHistoryRawRPC > Parameters head : string count : number get_ open_ and_ frontier get_ open_ and_ frontier ( ) : Promise < [ string , string ] > Returns Promise < [ string , string ] >
\ No newline at end of file
+
Constructors constructor new TLDAccount ( rpc , address ) : TLDAccount Parameters rpc : RPC address : ` ban_ ${ string } ` | ` nano_ ${ string } ` Properties Readonly address address : ` ban_ ${ string } ` | ` nano_ ${ string } `
Methods get_ all_ issued get_ all_ issued ( ) : Promise < Domain [] > Returns Promise < Domain [] > get_ history_ from_ open get_ history_ from_ open ( head , count ) : Promise < AccountHistoryRawRPC > Parameters head : string count : number get_ open_ and_ frontier get_ open_ and_ frontier ( ) : Promise < [ string , string ] > Returns Promise < [ string , string ] >
\ No newline at end of file
diff --git a/docs/classes/TLDAccountManager.html b/docs/classes/TLDAccountManager.html
index aac1af7..91227f8 100644
--- a/docs/classes/TLDAccountManager.html
+++ b/docs/classes/TLDAccountManager.html
@@ -1,4 +1,4 @@
-TLDAccountManager | bns IndexConstructors constructor
+
TLDAccountManager | bns Properties Readonly address address : ` ban_ ${ string } ` | ` nano_ ${ string } `
Methods freeze freeze ( ) : Promise < void > Returns Promise < void > get_ all_ issued get_ all_ issued ( ) : Promise < Domain [] > Returns Promise < Domain [] > get_ history_ from_ open get_ history_ from_ open ( head , count ) : Promise < AccountHistoryRawRPC > Parameters head : string count : number get_ open_ and_ frontier get_ open_ and_ frontier ( ) : Promise < [ string , string ] > Returns Promise < [ string , string ] > issue_ domain_ name issue_ domain_ name ( domain_name , to ) : Promise < string > Parameters domain_name : string to : ` ban_ ${ string } ` | ` nano_ ${ string } ` Returns Promise < string > receive receive ( ) : Promise < void > Returns Promise < void >
\ No newline at end of file
+
Properties Readonly address address : ` ban_ ${ string } ` | ` nano_ ${ string } `
Methods freeze freeze ( ) : Promise < void > Returns Promise < void > get_ all_ issued get_ all_ issued ( ) : Promise < Domain [] > Returns Promise < Domain [] > get_ history_ from_ open get_ history_ from_ open ( head , count ) : Promise < AccountHistoryRawRPC > Parameters head : string count : number get_ open_ and_ frontier get_ open_ and_ frontier ( ) : Promise < [ string , string ] > Returns Promise < [ string , string ] > issue_ domain_ name issue_ domain_ name ( domain_name , to ) : Promise < string > Parameters domain_name : string to : ` ban_ ${ string } ` | ` nano_ ${ string } ` Returns Promise < string > receive receive ( ) : Promise < void > Returns Promise < void >
\ No newline at end of file
diff --git a/docs/functions/address_to_cid_v0.html b/docs/functions/address_to_cid_v0.html
index b694dce..de8a0ef 100644
--- a/docs/functions/address_to_cid_v0.html
+++ b/docs/functions/address_to_cid_v0.html
@@ -1,2 +1,2 @@
address_to_cid_v0 | bns Function address_to_cid_v0 address_ to_ cid_ v0 ( address ) : string Parameters address : ` ban_ ${ string } ` | ` nano_ ${ string } ` Returns string
\ No newline at end of file
+Parameters address : ` ban_ ${ string } ` | ` nano_ ${ string } ` Returns string
Banano address to IPFS CID v0
-