@zkp2p/providers 7.5.0 → 7.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,110 @@
1
+ {
2
+ "actionType": "transfer_chime",
3
+ "proofEngine": "reclaim",
4
+ "authLink": "https://app.chime.com/",
5
+ "url": "https://app.chime.com/api/graphql",
6
+ "method": "POST",
7
+ "body": "{{BODY}}",
8
+ "metadata": {
9
+ "platform": "chime",
10
+ "urlRegex": "https://app\\.chime\\.com/api/graphql",
11
+ "bodyRegex": "\"operationName\":\"GetPayAnyoneActivityDetailsQuery\"",
12
+ "method": "POST",
13
+ "fallbackUrlRegex": "",
14
+ "fallbackMethod": "",
15
+ "preprocessRegex": "",
16
+ "shouldReplayRequestInPage": true,
17
+ "transactionsExtraction": {
18
+ "transactionJsonPathListSelector": "",
19
+ "transactionJsonPathSelectors": {
20
+ "recipient": "$.data.p2p.p2p_activity.pay_friend.receiver_identifier",
21
+ "amount": "$.data.p2p.p2p_activity.pay_friend.amount",
22
+ "date": "$.data.p2p.p2p_activity.timestamp",
23
+ "paymentId": "$.data.p2p.p2p_activity.pay_friend.id"
24
+ }
25
+ },
26
+ "proofMetadataSelectors": [
27
+ {
28
+ "type": "jsonPath",
29
+ "value": "$.data.p2p.p2p_activity.pay_friend.amount"
30
+ },
31
+ {
32
+ "type": "jsonPath",
33
+ "value": "$.data.p2p.p2p_activity.timestamp"
34
+ },
35
+ {
36
+ "type": "jsonPath",
37
+ "value": "$.data.p2p.p2p_activity.pay_friend.receiver_identifier"
38
+ },
39
+ {
40
+ "type": "jsonPath",
41
+ "value": "$.data.p2p.p2p_activity.pay_friend.id"
42
+ },
43
+ {
44
+ "type": "jsonPath",
45
+ "value": "$.data.p2p.p2p_activity.ux_status"
46
+ }
47
+ ],
48
+ "userInput": {
49
+ "promptText": "Select a Pay Anyone transaction",
50
+ "transactionXpath": "//ul[.//a[starts-with(@href, '/accounts/checking/')]]"
51
+ }
52
+ },
53
+ "paramNames": [
54
+ "BODY"
55
+ ],
56
+ "paramSelectors": [
57
+ {
58
+ "type": "regex",
59
+ "value": "^(.*)$",
60
+ "source": "requestBody"
61
+ }
62
+ ],
63
+ "skipRequestHeaders": [
64
+ "Cookie",
65
+ "Accept-Encoding",
66
+ "referer"
67
+ ],
68
+ "secretHeaders": [
69
+ "Cookie"
70
+ ],
71
+ "responseMatches": [
72
+ {
73
+ "type": "regex",
74
+ "value": "\"receiver_identifier\":\"(?<recipientId>[^\"]+)\""
75
+ },
76
+ {
77
+ "type": "regex",
78
+ "value": "\"amount\":(?<amount>[0-9\\.]+)"
79
+ },
80
+ {
81
+ "type": "regex",
82
+ "value": "\"timestamp\":\"(?<timestamp>[^\"]+)\""
83
+ },
84
+ {
85
+ "type": "regex",
86
+ "value": "\"ux_status\":\"(?<status>[^\"]+)\""
87
+ },
88
+ {
89
+ "type": "regex",
90
+ "value": "\"id\":\"(?<paymentId>[^\"]+)\""
91
+ }
92
+ ],
93
+ "responseRedactions": [
94
+ {
95
+ "jsonPath": "$.data.p2p.p2p_activity.pay_friend.receiver_identifier"
96
+ },
97
+ {
98
+ "jsonPath": "$.data.p2p.p2p_activity.pay_friend.amount"
99
+ },
100
+ {
101
+ "jsonPath": "$.data.p2p.p2p_activity.timestamp"
102
+ },
103
+ {
104
+ "jsonPath": "$.data.p2p.p2p_activity.ux_status"
105
+ },
106
+ {
107
+ "jsonPath": "$.data.p2p.p2p_activity.pay_friend.id"
108
+ }
109
+ ]
110
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zkp2p/providers",
3
- "version": "7.5.0",
3
+ "version": "7.6.0",
4
4
  "description": "Provider JSON templates for ZKP2P",
5
5
  "scripts": {
6
6
  "start": "node index.js"
package/providers.json CHANGED
@@ -3,10 +3,12 @@
3
3
  { "id": "bankofamerica", "files": ["bankofamerica/transfer_zelle.json"] },
4
4
  { "id": "cashapp", "files": ["cashapp/transfer_cashapp.json"] },
5
5
  { "id": "chase", "files": ["chase/transfer_zelle.json"] },
6
+ { "id": "chime", "files": ["chime/transfer_chime.json"] },
6
7
  { "id": "citi", "files": ["citi/transfer_zelle.json"] },
7
8
  { "id": "idfc", "files": ["idfc/transfer_idfc.json"] },
8
9
  { "id": "luxon", "files": ["luxon/transfer_luxon.json"] },
9
10
  { "id": "mercadopago", "files": ["mercadopago/transfer_mercadopago.json"] },
11
+ { "id": "mercury", "files": ["mercury/mercury-wires.json"] },
10
12
  { "id": "monzo", "files": ["monzo/transfer_monzo.json"] },
11
13
  { "id": "paypal", "files": ["paypal/transfer_paypal.json"] },
12
14
  { "id": "revolut", "files": ["revolut/transfer_revolut.json"] },