@zkp2p/sdk 0.4.0-rc.2 → 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.
Files changed (2) hide show
  1. package/README.md +13 -0
  2. package/package.json +1 -1
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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zkp2p/sdk",
3
- "version": "0.4.0-rc.2",
3
+ "version": "0.4.0-rc.3",
4
4
  "description": "ZKP2P Client SDK - TypeScript SDK for deposit management, liquidity provision, and onramping",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.cjs",