Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Iden3PaymentRailsRequestV1 #275

Merged
merged 54 commits into from
Nov 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
54 commits
Select commit Hold shift + click to select a range
80cf68e
init Iden3PaymentRailsRequestV1
volodymyr-basiuk Oct 1, 2024
83f3488
add unit tests
volodymyr-basiuk Oct 2, 2024
2304cfd
add integration tests
volodymyr-basiuk Oct 2, 2024
af3f1b7
use enums for types
volodymyr-basiuk Oct 2, 2024
e832465
todo added
volodymyr-basiuk Oct 2, 2024
e7ebc72
prettier
volodymyr-basiuk Oct 2, 2024
0942cde
createPaymentRailsV1 function
volodymyr-basiuk Oct 3, 2024
b638140
set typeUrl Iden3PaymentRailsRequestV1.json
volodymyr-basiuk Oct 4, 2024
1830190
format
volodymyr-basiuk Oct 4, 2024
091bff4
check recipient
volodymyr-basiuk Oct 4, 2024
a78b1ac
format
volodymyr-basiuk Oct 4, 2024
cc6b1f1
add currencty and rename value to amount
volodymyr-basiuk Oct 11, 2024
78a5649
add supported in the msg
volodymyr-basiuk Oct 11, 2024
da5b90d
format
volodymyr-basiuk Oct 11, 2024
0f228de
remove expiration
volodymyr-basiuk Oct 11, 2024
3680ef8
Iden3PaymentRequestCryptoV1 expiration
volodymyr-basiuk Oct 11, 2024
ff4c638
format
volodymyr-basiuk Oct 11, 2024
99c77fc
rename Iden3PaymentRailsResponseV1 to Iden3PaymentRailsV1
volodymyr-basiuk Oct 14, 2024
f601100
remove top lvl PaymentRequest type field
volodymyr-basiuk Oct 14, 2024
cddfeac
format
volodymyr-basiuk Oct 14, 2024
dd9a219
fix tests
volodymyr-basiuk Oct 14, 2024
f237306
add @context field to payment messages
volodymyr-basiuk Oct 15, 2024
23ebd25
add Iden3PaymentRailsERC20RequestV1
volodymyr-basiuk Oct 24, 2024
740ef3c
add integration tests
volodymyr-basiuk Oct 24, 2024
f93764f
extend handlePayment
volodymyr-basiuk Oct 24, 2024
694e588
remove signature from Iden3PaymentRequestCryptoV1
volodymyr-basiuk Oct 25, 2024
c246f72
move opts to type
volodymyr-basiuk Oct 25, 2024
e2d06ac
remove salt from domain
volodymyr-basiuk Oct 25, 2024
f4fe3f1
update abi
volodymyr-basiuk Oct 25, 2024
dde1578
update abi (2)
volodymyr-basiuk Oct 25, 2024
0ee7a7c
format
volodymyr-basiuk Oct 25, 2024
858b4e7
ERC20PermitSupported
volodymyr-basiuk Oct 27, 2024
2eac6a2
remove ERC20PermitSupported add add features
volodymyr-basiuk Oct 28, 2024
6c0fe3c
pass nonce to ctx
volodymyr-basiuk Oct 30, 2024
590de0e
refactor payment handler
volodymyr-basiuk Oct 30, 2024
830f705
pass erc20TokenApproveHandler
volodymyr-basiuk Oct 30, 2024
a7914aa
allow using approveHandler even if 2612 supported
volodymyr-basiuk Oct 30, 2024
06f286e
bump minor version
volodymyr-basiuk Oct 30, 2024
470cc87
refactor handlePayment and fix response @context
volodymyr-basiuk Oct 30, 2024
c44d936
merge
volodymyr-basiuk Oct 30, 2024
4c28e58
handle payment expirationDate
volodymyr-basiuk Oct 30, 2024
d432b92
rm opts from createPaymentRails
volodymyr-basiuk Oct 30, 2024
684dcea
proivde config for createPaymentRailsV1
volodymyr-basiuk Oct 31, 2024
9e36bc0
move erc20-permit-sig to storage/blockchain
volodymyr-basiuk Nov 1, 2024
119ad86
resolve comments
volodymyr-basiuk Nov 1, 2024
ca73277
resolve
volodymyr-basiuk Nov 1, 2024
610a262
fix expirationDate value
volodymyr-basiuk Nov 1, 2024
eac7597
verifyEIP712TypedData added and check allowedSigners
volodymyr-basiuk Nov 7, 2024
434e043
replace asset to with
volodymyr-basiuk Nov 7, 2024
5d9d8a4
fix unit
volodymyr-basiuk Nov 7, 2024
21cc80a
add did resolution
volodymyr-basiuk Nov 7, 2024
d5068a9
change err messages
volodymyr-basiuk Nov 7, 2024
6d18de7
Merge branch 'main' into feat/mc-payment
volodymyr-basiuk Nov 8, 2024
e195b0b
Merge branch 'main' into feat/mc-payment
volodymyr-basiuk Nov 18, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ module.exports = {
...spellcheckerRule,
cspell: {
...cspellConfig,
ignoreWords: ['unmarshal', 'JUvpllMEYUZ2joO59UNui_XYDqxVqiFLLAJ8klWuPBw', 'gdwj', 'fwor']
ignoreWords: ['unmarshal', 'JUvpllMEYUZ2joO59UNui_XYDqxVqiFLLAJ8klWuPBw', 'gdwj', 'fwor', 'multichain', "ETHWEI", "ETHGWEI"]
}
}
]
Expand Down
4 changes: 2 additions & 2 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
@@ -1,6 +1,6 @@
{
"name": "@0xpolygonid/js-sdk",
"version": "1.21.4",
"version": "1.22.0",
"description": "SDK to work with Polygon ID",
"main": "dist/node/cjs/index.js",
"module": "dist/node/esm/index.js",
Expand Down
Loading