-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Change sync options * Remove clone
- Loading branch information
Showing
31 changed files
with
336 additions
and
165 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
"nodejs-binding": patch | ||
--- | ||
|
||
Renamed AccountSyncOptions to SyncOptions; | ||
Added AccountSyncOptions, AliasSyncOptions and NftSyncOptions; | ||
Replaced SyncOptions::syncAliasesAndNfts with SyncOptions::{account, alias, nft}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
85 changes: 1 addition & 84 deletions
85
documentation/docs/references/nodejs/interfaces/AccountSyncOptions.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,86 +1,3 @@ | ||
# Interface: AccountSyncOptions | ||
|
||
Sync options for an account | ||
|
||
## Table of contents | ||
|
||
### Properties | ||
|
||
- [addresses](AccountSyncOptions.md#addresses) | ||
- [addressStartIndex](AccountSyncOptions.md#addressstartindex) | ||
- [addressStartIndexInternal](AccountSyncOptions.md#addressstartindexinternal) | ||
- [forceSyncing](AccountSyncOptions.md#forcesyncing) | ||
- [syncPendingTransactions](AccountSyncOptions.md#syncpendingtransactions) | ||
- [syncAliasesAndNfts](AccountSyncOptions.md#syncaliasesandnfts) | ||
- [syncOnlyMostBasicOutputs](AccountSyncOptions.md#synconlymostbasicoutputs) | ||
- [syncNativeTokenFoundries](AccountSyncOptions.md#syncnativetokenfoundries) | ||
|
||
## Properties | ||
|
||
### addresses | ||
|
||
• `Optional` **addresses**: `string`[] | ||
|
||
Specific Bech32 encoded addresses of the account to sync, if addresses are provided, | ||
then `address_start_index` will be ignored | ||
|
||
___ | ||
|
||
### addressStartIndex | ||
|
||
• `Optional` **addressStartIndex**: `number` | ||
|
||
Address index from which to start syncing addresses. 0 by default, using a higher index will be faster because | ||
addresses with a lower index will be skipped, but could result in a wrong balance for that reason | ||
|
||
___ | ||
|
||
### addressStartIndexInternal | ||
|
||
• `Optional` **addressStartIndexInternal**: `number` | ||
|
||
Address index from which to start syncing internal addresses. 0 by default, using a higher index will be faster | ||
because addresses with a lower index will be skipped, but could result in a wrong balance for that reason | ||
|
||
___ | ||
|
||
### forceSyncing | ||
|
||
• `Optional` **forceSyncing**: `boolean` | ||
|
||
Usually syncing is skipped if it's called in between 200ms, because there can only be new changes every | ||
milestone and calling it twice "at the same time" will not return new data | ||
When this to true, we will sync anyways, even if it's called 0ms after the las sync finished. Default: false. | ||
|
||
___ | ||
|
||
### syncPendingTransactions | ||
|
||
• `Optional` **syncPendingTransactions**: `boolean` | ||
|
||
Checks pending transactions and promotes/reattaches them if necessary. Default: true. | ||
|
||
___ | ||
|
||
### syncAliasesAndNfts | ||
|
||
• `Optional` **syncAliasesAndNfts**: `boolean` | ||
|
||
Specifies if only basic outputs should be synced or also alias and nft outputs. Default: true. | ||
|
||
___ | ||
|
||
### syncOnlyMostBasicOutputs | ||
|
||
• `Optional` **syncOnlyMostBasicOutputs**: `boolean` | ||
|
||
Specifies if only basic outputs with an AddressUnlockCondition alone should be synced, will overwrite | ||
`syncAliasesAndNfts`. Default: false. | ||
|
||
___ | ||
|
||
### syncNativeTokenFoundries | ||
|
||
• `Optional` **syncNativeTokenFoundries**: `boolean` | ||
|
||
Sync native token foundries, so their metadata can be returned in the balance. Default: false. | ||
Specifies what outputs should be synced for the ed25519 addresses from the account. |
3 changes: 3 additions & 0 deletions
3
documentation/docs/references/nodejs/interfaces/AliasSyncOptions.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Interface: AliasSyncOptions | ||
|
||
Specifies what outputs should be synced for the address of an alias output. |
3 changes: 3 additions & 0 deletions
3
documentation/docs/references/nodejs/interfaces/NftSyncOptions.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Interface: NftSyncOptions | ||
|
||
Specifies what outputs should be synced for the address of an nft output. |
Oops, something went wrong.