-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: open payments client can now take in a file path as an argument…
… to `privateKey` (#354) * feat(http-signature-utils): split up parseOrProvisionKey into separate methods * feat(open-payments): allow privateKeyFilePath for open-payments client * chore: adding changesets * chore(hsu): use "load" and "generate" instead * chore(open-payments): make walletAddress required during incomingPayment creation * feat(open-payments): privateKey can now be a file path instead * chore: make package bump major * chore(openapi): fix tests * chore(open-payments): update comments & readme * chore(hsu): adding jsdoc * feat(hsu): don't automatically save the generated key to a file
- Loading branch information
Showing
13 changed files
with
397 additions
and
56 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,6 @@ | ||
--- | ||
'@interledger/open-payments': major | ||
--- | ||
|
||
- `createAuthenticatedClient` can now also load a key using a path to the private key file as an argument to `privateKey` | ||
- `walletAddress` is required in the incoming payment creation request |
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 @@ | ||
--- | ||
'@interledger/http-signature-utils': major | ||
--- | ||
|
||
Adding and exporting two additional methods: `loadKey` `generateKey` | ||
|
||
Renaming methods: `parseOrProvisionKey` -> `loadOrGenerateKey` |
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
Oops, something went wrong.