@zkp2p/zkp2p-attestation 1.5.0 → 1.5.1
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.
- package/CHANGELOG.md +5 -1
- package/README.md +4 -4
- package/dist/index.d.cts +2 -4
- package/dist/index.d.ts +2 -4
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.5.1
|
|
4
|
+
|
|
5
|
+
- Change Venmo identity registration to derive the stories URL from `params.SENDER_ID`. Venmo identity session material now requires only `Cookie`, while the service verifies the authenticated account id before replaying the derived stories request.
|
|
6
|
+
|
|
3
7
|
## 1.5.0
|
|
4
8
|
|
|
5
|
-
-
|
|
9
|
+
- Require the captured Venmo identity stories URL in session material. This release was superseded by `1.5.1` because the runtime no longer requires `sessionMaterial.url`.
|
|
6
10
|
- Require `callerAddress` on identity attestation requests and bind it into the signed `IdentityAttestation`; `verifyIdentityAttestation` now requires `expectedCallerAddress`.
|
|
7
11
|
|
|
8
12
|
## 1.4.0
|
package/README.md
CHANGED
|
@@ -191,13 +191,13 @@ Identity platform matrix:
|
|
|
191
191
|
|
|
192
192
|
| Platform | `actionType` | Required encrypted session material | Public params fields |
|
|
193
193
|
|---|---|---|---|
|
|
194
|
-
| `venmo` | `register_venmo` | `
|
|
194
|
+
| `venmo` | `register_venmo` | `Cookie` | `SENDER_ID` |
|
|
195
195
|
| `paypal` | `register_paypal` | `Cookie` | `{}` |
|
|
196
196
|
| `wise` | `register_wise` | `Cookie`, `X-Access-Token` | `PROFILE_ID` |
|
|
197
197
|
|
|
198
|
-
For Venmo identity, pass
|
|
199
|
-
|
|
200
|
-
|
|
198
|
+
For Venmo identity, pass `SENDER_ID` in public params and include a replayable `Cookie` header in encrypted session
|
|
199
|
+
material. The service verifies the authenticated account id, derives the stories URL from `SENDER_ID`, and requires
|
|
200
|
+
Venmo to return a valid stories response with an explicit `stories` array.
|
|
201
201
|
|
|
202
202
|
Buyer TEE and identity expose discriminated unions keyed by `platform` and `actionType`, including per-platform
|
|
203
203
|
`params`, so invalid pairings fail during TypeScript compilation. Seller credential upload keeps its existing
|
package/dist/index.d.cts
CHANGED
|
@@ -39,10 +39,8 @@ type ChaseBuyerTeeSessionMaterial = RequiredBuyerTeeHeaders<"Cookie" | "x-jpmc-c
|
|
|
39
39
|
type BankOfAmericaBuyerTeeSessionMaterial = RequiredBuyerTeeHeaders<"Cookie">;
|
|
40
40
|
/** Captured PayPal request headers; type requires `Cookie`. */
|
|
41
41
|
type PayPalBuyerTeeSessionMaterial = RequiredBuyerTeeHeaders<"Cookie">;
|
|
42
|
-
/** Captured Venmo identity
|
|
43
|
-
type VenmoIdentitySessionMaterial = RequiredBuyerTeeHeaders<"Cookie"
|
|
44
|
-
url: string;
|
|
45
|
-
};
|
|
42
|
+
/** Captured Venmo identity request headers; type requires `Cookie`. */
|
|
43
|
+
type VenmoIdentitySessionMaterial = RequiredBuyerTeeHeaders<"Cookie">;
|
|
46
44
|
/** Captured PayPal identity request headers; type requires `Cookie`. */
|
|
47
45
|
type PayPalIdentitySessionMaterial = RequiredBuyerTeeHeaders<"Cookie">;
|
|
48
46
|
/** Captured Wise identity request headers; type requires `Cookie` and `X-Access-Token`. */
|
package/dist/index.d.ts
CHANGED
|
@@ -39,10 +39,8 @@ type ChaseBuyerTeeSessionMaterial = RequiredBuyerTeeHeaders<"Cookie" | "x-jpmc-c
|
|
|
39
39
|
type BankOfAmericaBuyerTeeSessionMaterial = RequiredBuyerTeeHeaders<"Cookie">;
|
|
40
40
|
/** Captured PayPal request headers; type requires `Cookie`. */
|
|
41
41
|
type PayPalBuyerTeeSessionMaterial = RequiredBuyerTeeHeaders<"Cookie">;
|
|
42
|
-
/** Captured Venmo identity
|
|
43
|
-
type VenmoIdentitySessionMaterial = RequiredBuyerTeeHeaders<"Cookie"
|
|
44
|
-
url: string;
|
|
45
|
-
};
|
|
42
|
+
/** Captured Venmo identity request headers; type requires `Cookie`. */
|
|
43
|
+
type VenmoIdentitySessionMaterial = RequiredBuyerTeeHeaders<"Cookie">;
|
|
46
44
|
/** Captured PayPal identity request headers; type requires `Cookie`. */
|
|
47
45
|
type PayPalIdentitySessionMaterial = RequiredBuyerTeeHeaders<"Cookie">;
|
|
48
46
|
/** Captured Wise identity request headers; type requires `Cookie` and `X-Access-Token`. */
|
package/package.json
CHANGED