Skip to content

Commit

Permalink
remove no-default and add back Durability.Persistent default
Browse files Browse the repository at this point in the history
  • Loading branch information
BlaineHeffron committed Jun 20, 2024
1 parent 4c5c19a commit d996afb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ module.exports = {
"jsdoc/no-multi-asterisks": 0,
"jsdoc/tag-lines": "off",
"jsdoc/require-jsdoc": "off",
"jsdoc/no-defaults": "off",
"valid-jsdoc": "off",
"import/extensions": 0,
"new-cap": 0,
Expand Down
2 changes: 1 addition & 1 deletion src/rpc/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ export class Server {
* data to load as a strkey (`C...` form), a {@link Contract}, or an
* {@link Address} instance
* @param {xdr.ScVal} key the key of the contract data to load
* @param {Durability} [durability] the "durability
* @param {Durability} [durability=Durability.Persistent] the "durability
* keyspace" that this ledger key belongs to, which is either 'temporary'
* or 'persistent' (the default), see {@link Durability}.
*
Expand Down

0 comments on commit d996afb

Please sign in to comment.