@zkp2p/sdk 0.4.0-rc.1 → 0.4.0-rc.3

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/README.md CHANGED
@@ -206,6 +206,19 @@ const payeeHash = await client.resolvePayeeHash(
206
206
 
207
207
  ## Seller Credential Status
208
208
 
209
+ ```ts
210
+ await client.uploadSellerCredential({
211
+ platform: 'venmo',
212
+ offchainId: 'alice',
213
+ payeeId: '123456',
214
+ sessionMaterial: {
215
+ recipientUsername: 'alice',
216
+ accountId: '123456',
217
+ sessionCookie: 'session-cookie',
218
+ },
219
+ });
220
+ ```
221
+
209
222
  ```ts
210
223
  const status = await client.getSellerCredentialStatus({
211
224
  processorName: 'venmo',
package/dist/index.cjs CHANGED
@@ -49705,9 +49705,11 @@ var Zkp2pClient = class {
49705
49705
  return apiGetTakerTier(req, void 0, baseApiUrl, timeoutMs);
49706
49706
  }
49707
49707
  /**
49708
- * The signed `expiresAtMs` field is an upload-time freshness token minted by attestation-service.
49709
- * Once curator persists the bundle, seller-automated-release availability is governed by curator's
49710
- * probe/revalidation state rather than this timestamp.
49708
+ * The signed `credentialValidatedAt` field is an upload-time freshness witness minted by
49709
+ * attestation-service. `credentialExpiresAt` carries an upstream session expiry hint when one
49710
+ * can be trusted (currently `null` for all platforms). Once curator persists the bundle,
49711
+ * seller-automated-release availability is governed by curator's probe/revalidation state
49712
+ * rather than these timestamps.
49711
49713
  *
49712
49714
  * Curator accepts either a configured API key or bearer token for this endpoint.
49713
49715
  *