-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add metadata hash + raw data to request pay service (#12)
- Loading branch information
Showing
4 changed files
with
16 additions
and
4 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,6 +31,8 @@ export const validPayServiceParams = [ | |
['text/plain', 'Payment to user0'], | ||
['text/identifier', '[email protected]'], | ||
], | ||
metadataHash: | ||
'ad2c140d48fb958bc57d6d92536eedf2b21f6e3128c858cc27117b48a6d33abe', | ||
min: 1, | ||
}, | ||
}, | ||
|
@@ -60,12 +62,14 @@ export const validPayServiceParams = [ | |
fixed: true, | ||
identifier: '[email protected]', | ||
image: '', | ||
min: 10, | ||
max: 10, | ||
metadata: [ | ||
['text/plain', 'Payment to user11'], | ||
['text/identifier', '[email protected]'], | ||
], | ||
min: 10, | ||
metadataHash: | ||
'382190a9edf28041fa43931f9f047c04252be80d6ae6483407fa3711df6d4152', | ||
}, | ||
}, | ||
] |