Skip to content

Commit

Permalink
build: generate links to source code in documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
peterpeterparker committed Jul 2, 2023
1 parent 9b1784e commit f3c2e5c
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 8 deletions.
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
"text-encoding": "^0.7.0",
"ts-jest": "^29.1.0",
"ts-protoc-gen": "^0.15.0",
"tsdoc-markdown": "^0.0.1",
"tsdoc-markdown": "^0.0.2",
"typescript": "^4.9.5",
"whatwg-fetch": "^3.6.2"
},
Expand Down
2 changes: 2 additions & 0 deletions packages/ledger/src/utils/payment.utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,14 @@ import { isNullish, nonNullish } from "@dfinity/utils";
* Please note that this function doesn't perform any validity checks on the extracted information.
* It does not verify if the token is known or if the identifier is a valid address.
*
* ```
* urn = token ":" address [ "?" params]
* token = [ ckbtc / icp / chat / bitcoin / ethereum ... ]
* address = STRING
* params = param [ "&" params ]
* param = [ amountparam ]
* amountparam = "amount=" *digit [ "." *digit ]
* ``
*
* @param code string
* @returns { token: string; identifier: string; amount?: number } | undefined
Expand Down

0 comments on commit f3c2e5c

Please sign in to comment.