@zkp2p/providers 7.8.2 → 7.8.4
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,9 @@
|
|
|
1
|
+
{
|
|
2
|
+
"permissions": {
|
|
3
|
+
"allow": [
|
|
4
|
+
"Bash(openssl s_client -connect secure.bankofamerica.com:443 -servername secure.bankofamerica.com -tlsextdebug)",
|
|
5
|
+
"Bash(openssl s_client -connect secure.bankofamerica.com:443 -servername secure.bankofamerica.com)",
|
|
6
|
+
"Bash(gh pr:*)"
|
|
7
|
+
]
|
|
8
|
+
}
|
|
9
|
+
}
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"transactionsExtraction": {
|
|
16
16
|
"transactionXPathSelectors": {
|
|
17
17
|
"fullName": "normalize-space(//div[@id='account-main']//tr[th[normalize-space()='真实姓名']]//span[@id='username'])",
|
|
18
|
-
"email": "normalize-space(//div[@id='account-main']//tr[th[normalize-space()='邮箱']]//td//span[1])"
|
|
18
|
+
"email": "normalize-space(//div[@id='account-main']//tr[th[normalize-space()='邮箱']]//td//span[1][contains(normalize-space(), '@')])"
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
21
|
},
|
|
@@ -31,21 +31,26 @@
|
|
|
31
31
|
"responseMatches": [
|
|
32
32
|
{
|
|
33
33
|
"type": "regex",
|
|
34
|
-
"value": "
|
|
34
|
+
"value": "(?:['\"]userName['\"]|userName)\\s*:\\s*['\"](?<fullName>[^'\"]+)['\"]"
|
|
35
35
|
},
|
|
36
36
|
{
|
|
37
37
|
"type": "regex",
|
|
38
|
-
"value": "
|
|
38
|
+
"value": "(?:['\"]email['\"]|email)\\s*:\\s*['\"](?<email>[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\.[A-Za-z]{2,})['\"]"
|
|
39
39
|
}
|
|
40
40
|
],
|
|
41
41
|
"responseRedactions": [
|
|
42
42
|
{
|
|
43
|
-
"regex": "
|
|
43
|
+
"regex": "(?:['\"]userName['\"]|userName)\\s*:\\s*['\"][^'\"]+['\"]",
|
|
44
44
|
"jsonPath": "",
|
|
45
45
|
"xPath": ""
|
|
46
46
|
},
|
|
47
47
|
{
|
|
48
|
-
"regex": "
|
|
48
|
+
"regex": "(?:['\"]email['\"]|email)\\s*:\\s*['\"][^'\"]+['\"]",
|
|
49
|
+
"jsonPath": "",
|
|
50
|
+
"xPath": ""
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"regex": "(?:['\"]mobile['\"]|mobile)\\s*:\\s*['\"][^'\"]+['\"]",
|
|
49
54
|
"jsonPath": "",
|
|
50
55
|
"xPath": ""
|
|
51
56
|
}
|
|
@@ -95,6 +95,7 @@
|
|
|
95
95
|
}
|
|
96
96
|
],
|
|
97
97
|
"additionalClientOptions": {
|
|
98
|
+
"supportedProtocolVersions": ["TLS1_2"],
|
|
98
99
|
"cipherSuites": [
|
|
99
100
|
"TLS_CHACHA20_POLY1305_SHA256",
|
|
100
101
|
"TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256",
|
|
@@ -104,6 +105,7 @@
|
|
|
104
105
|
"mobile": {
|
|
105
106
|
"includeAdditionalCookieDomains": [],
|
|
106
107
|
"additionalClientOptions": {
|
|
108
|
+
"supportedProtocolVersions": ["TLS1_2"],
|
|
107
109
|
"cipherSuites": [
|
|
108
110
|
"TLS_AES_128_GCM_SHA256",
|
|
109
111
|
"TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256",
|
package/package.json
CHANGED
package/providers.json
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
{ "id": "royalbankcanada", "files": ["royalbankcanada/transfer_interac.json"] },
|
|
16
16
|
{ "id": "usbank", "files": ["usbank/transfer_zelle.json"] },
|
|
17
17
|
{ "id": "venmo", "files": ["venmo/transfer_venmo.json"] },
|
|
18
|
-
{ "id": "wise", "files": ["wise/transfer_wise.json"] },
|
|
18
|
+
{ "id": "wise", "files": ["wise/transfer_wise.json", "wise/register_wise.json"] },
|
|
19
19
|
{ "id": "n26", "files": ["n26/transfer_n26.json"] },
|
|
20
20
|
{ "id": "alipay", "files": ["alipay/transfer_alipay.json", "alipay/register_alipay.json"] },
|
|
21
21
|
{ "id": "td_bank", "files": ["td_bank/transfer_zelle.json"] }
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
{
|
|
2
|
+
"actionType": "register_wise",
|
|
3
|
+
"proofEngine": "reclaim",
|
|
4
|
+
"authLink": "https://wise.com/flows/request",
|
|
5
|
+
"url": "https://wise.com/gateway/v4/profiles/{{PROFILE_ID}}/multi-currency-account",
|
|
6
|
+
"method": "GET",
|
|
7
|
+
"body": "",
|
|
8
|
+
"metadata": {
|
|
9
|
+
"platform": "wise",
|
|
10
|
+
"urlRegex": "https://wise.com/gateway/v1/profiles/[0-9]+/identifiers/profile-link$",
|
|
11
|
+
"method": "GET",
|
|
12
|
+
"fallbackUrlRegex": "",
|
|
13
|
+
"fallbackMethod": "",
|
|
14
|
+
"preprocessRegex": "",
|
|
15
|
+
"transactionsExtraction": {
|
|
16
|
+
"transactionJsonPathListSelector": "",
|
|
17
|
+
"transactionJsonPathSelectors": {
|
|
18
|
+
"wiseTag": "$.nickname"
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
"paramNames": [
|
|
23
|
+
"PROFILE_ID"
|
|
24
|
+
],
|
|
25
|
+
"paramSelectors": [
|
|
26
|
+
{
|
|
27
|
+
"type": "regex",
|
|
28
|
+
"value": "https://wise.com/gateway/v1/profiles/([0-9]+)/identifiers/profile-link$",
|
|
29
|
+
"source": "url"
|
|
30
|
+
}
|
|
31
|
+
],
|
|
32
|
+
"skipRequestHeaders": [],
|
|
33
|
+
"secretHeaders": [
|
|
34
|
+
"Cookie",
|
|
35
|
+
"X-Access-Token"
|
|
36
|
+
],
|
|
37
|
+
"responseMatches": [
|
|
38
|
+
{
|
|
39
|
+
"type": "regex",
|
|
40
|
+
"value": "\"recipientId\":(?<mcAccountId>[0-9]+)"
|
|
41
|
+
}
|
|
42
|
+
],
|
|
43
|
+
"responseRedactions": [
|
|
44
|
+
{
|
|
45
|
+
"jsonPath": "$.recipientId"
|
|
46
|
+
}
|
|
47
|
+
],
|
|
48
|
+
"additionalProofs": [
|
|
49
|
+
{
|
|
50
|
+
"url": "https://wise.com/gateway/v1/profiles/{{PROFILE_ID}}/identifiers/profile-link",
|
|
51
|
+
"method": "GET",
|
|
52
|
+
"body": "",
|
|
53
|
+
"paramNames": [
|
|
54
|
+
"PROFILE_ID"
|
|
55
|
+
],
|
|
56
|
+
"paramSelectors": [
|
|
57
|
+
{
|
|
58
|
+
"type": "regex",
|
|
59
|
+
"value": "https://wise.com/gateway/v1/profiles/([0-9]+)/identifiers/profile-link$",
|
|
60
|
+
"source": "url"
|
|
61
|
+
}
|
|
62
|
+
],
|
|
63
|
+
"skipRequestHeaders": [],
|
|
64
|
+
"secretHeaders": [
|
|
65
|
+
"Cookie",
|
|
66
|
+
"X-Access-Token"
|
|
67
|
+
],
|
|
68
|
+
"responseMatches": [
|
|
69
|
+
{
|
|
70
|
+
"type": "regex",
|
|
71
|
+
"value": "\"nickname\":\"@(?<wiseTag>[^\"]+)\""
|
|
72
|
+
}
|
|
73
|
+
],
|
|
74
|
+
"responseRedactions": [
|
|
75
|
+
{
|
|
76
|
+
"jsonPath": "$.nickname"
|
|
77
|
+
}
|
|
78
|
+
]
|
|
79
|
+
}
|
|
80
|
+
]
|
|
81
|
+
}
|