@zkp2p/sdk 0.11.0-rc.5 → 0.11.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.
- package/README.md +10 -9
- package/dist/{chunk-R4MPJTU7.mjs → chunk-LPKFXAKY.mjs} +91 -91
- package/dist/{chunk-R4MPJTU7.mjs.map → chunk-LPKFXAKY.mjs.map} +1 -1
- package/dist/index.cjs +204 -218
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.mjs +35 -49
- package/dist/index.mjs.map +1 -1
- package/dist/protocolViewerParsers-M7C2ICV3.mjs +5 -0
- package/dist/{protocolViewerParsers-EXBJYYDQ.mjs.map → protocolViewerParsers-M7C2ICV3.mjs.map} +1 -1
- package/dist/react.d.mts +2 -2
- package/dist/react.d.ts +2 -2
- package/dist/{vaultUtils-Kk5IunVy.d.mts → vaultUtils-DmGhwFto.d.mts} +1 -1
- package/dist/{vaultUtils-Kk5IunVy.d.ts → vaultUtils-DmGhwFto.d.ts} +1 -1
- package/package.json +3 -3
- package/dist/protocolViewerParsers-EXBJYYDQ.mjs +0 -5
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { enrichPvDepositView, enrichPvIntentView, parseDepositView, parseIntentView } from './chunk-LPKFXAKY.mjs';
|
|
2
|
+
import './chunk-ZFBH4HD7.mjs';
|
|
3
|
+
import './chunk-J5LGTIGS.mjs';
|
|
4
|
+
//# sourceMappingURL=protocolViewerParsers-M7C2ICV3.mjs.map
|
|
5
|
+
//# sourceMappingURL=protocolViewerParsers-M7C2ICV3.mjs.map
|
package/dist/{protocolViewerParsers-EXBJYYDQ.mjs.map → protocolViewerParsers-M7C2ICV3.mjs.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"protocolViewerParsers-
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"protocolViewerParsers-M7C2ICV3.mjs"}
|
package/dist/react.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Z as Zkp2pClient, P as PostDepositDetailsRequest, a1 as SignalIntentMethodParams, bJ as PreparedTransaction, a2 as FulfillIntentMethodParams, c_ as SendTransactionFn, c$ as SendBatchFn, cY as DelegationDepositTarget, cZ as BatchResult, aa as IntentGuardianErrorCode, a6 as IntentGuardianPolicy, a7 as IntentGuardianQuote } from './vaultUtils-
|
|
2
|
-
export { cW as DelegationRoute, cX as DelegationState, de as VAULT_ZERO_ADDRESS, cQ as ZERO_RATE_MANAGER_ID, df as asErrorMessage, dg as assertDelegationMethodSupport, cV as classifyDelegationState, cU as getDelegationRoute, cR as isZeroRateManagerId, cS as normalizeRateManagerId, cT as normalizeRegistry } from './vaultUtils-
|
|
1
|
+
import { Z as Zkp2pClient, P as PostDepositDetailsRequest, a1 as SignalIntentMethodParams, bJ as PreparedTransaction, a2 as FulfillIntentMethodParams, c_ as SendTransactionFn, c$ as SendBatchFn, cY as DelegationDepositTarget, cZ as BatchResult, aa as IntentGuardianErrorCode, a6 as IntentGuardianPolicy, a7 as IntentGuardianQuote } from './vaultUtils-DmGhwFto.mjs';
|
|
2
|
+
export { cW as DelegationRoute, cX as DelegationState, de as VAULT_ZERO_ADDRESS, cQ as ZERO_RATE_MANAGER_ID, df as asErrorMessage, dg as assertDelegationMethodSupport, cV as classifyDelegationState, cU as getDelegationRoute, cR as isZeroRateManagerId, cS as normalizeRateManagerId, cT as normalizeRegistry } from './vaultUtils-DmGhwFto.mjs';
|
|
3
3
|
import { Hash, Address, Hex } from 'viem';
|
|
4
4
|
import '@zkp2p/indexer-schema';
|
|
5
5
|
import 'abitype';
|
package/dist/react.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Z as Zkp2pClient, P as PostDepositDetailsRequest, a1 as SignalIntentMethodParams, bJ as PreparedTransaction, a2 as FulfillIntentMethodParams, c_ as SendTransactionFn, c$ as SendBatchFn, cY as DelegationDepositTarget, cZ as BatchResult, aa as IntentGuardianErrorCode, a6 as IntentGuardianPolicy, a7 as IntentGuardianQuote } from './vaultUtils-
|
|
2
|
-
export { cW as DelegationRoute, cX as DelegationState, de as VAULT_ZERO_ADDRESS, cQ as ZERO_RATE_MANAGER_ID, df as asErrorMessage, dg as assertDelegationMethodSupport, cV as classifyDelegationState, cU as getDelegationRoute, cR as isZeroRateManagerId, cS as normalizeRateManagerId, cT as normalizeRegistry } from './vaultUtils-
|
|
1
|
+
import { Z as Zkp2pClient, P as PostDepositDetailsRequest, a1 as SignalIntentMethodParams, bJ as PreparedTransaction, a2 as FulfillIntentMethodParams, c_ as SendTransactionFn, c$ as SendBatchFn, cY as DelegationDepositTarget, cZ as BatchResult, aa as IntentGuardianErrorCode, a6 as IntentGuardianPolicy, a7 as IntentGuardianQuote } from './vaultUtils-DmGhwFto.js';
|
|
2
|
+
export { cW as DelegationRoute, cX as DelegationState, de as VAULT_ZERO_ADDRESS, cQ as ZERO_RATE_MANAGER_ID, df as asErrorMessage, dg as assertDelegationMethodSupport, cV as classifyDelegationState, cU as getDelegationRoute, cR as isZeroRateManagerId, cS as normalizeRateManagerId, cT as normalizeRegistry } from './vaultUtils-DmGhwFto.js';
|
|
3
3
|
import { Hash, Address, Hex } from 'viem';
|
|
4
4
|
import '@zkp2p/indexer-schema';
|
|
5
5
|
import 'abitype';
|
|
@@ -2803,7 +2803,7 @@ declare class Zkp2pClient {
|
|
|
2803
2803
|
private getEscrowContexts;
|
|
2804
2804
|
private resolveOrchestratorForEscrow;
|
|
2805
2805
|
private lookupIntentRouting;
|
|
2806
|
-
private
|
|
2806
|
+
private lookupIntentRoutingOnchain;
|
|
2807
2807
|
private warnOrchestratorFallback;
|
|
2808
2808
|
private resolveOrchestratorContext;
|
|
2809
2809
|
/**
|
|
@@ -2803,7 +2803,7 @@ declare class Zkp2pClient {
|
|
|
2803
2803
|
private getEscrowContexts;
|
|
2804
2804
|
private resolveOrchestratorForEscrow;
|
|
2805
2805
|
private lookupIntentRouting;
|
|
2806
|
-
private
|
|
2806
|
+
private lookupIntentRoutingOnchain;
|
|
2807
2807
|
private warnOrchestratorFallback;
|
|
2808
2808
|
private resolveOrchestratorContext;
|
|
2809
2809
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zkp2p/sdk",
|
|
3
|
-
"version": "0.11.0
|
|
3
|
+
"version": "0.11.0",
|
|
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",
|
|
@@ -87,8 +87,8 @@
|
|
|
87
87
|
"node": ">=22"
|
|
88
88
|
},
|
|
89
89
|
"dependencies": {
|
|
90
|
-
"@zkp2p/indexer-schema": "0.20.0
|
|
91
|
-
"@zkp2p/contracts-v2": "0.4.0
|
|
90
|
+
"@zkp2p/indexer-schema": "0.20.0",
|
|
91
|
+
"@zkp2p/contracts-v2": "0.4.0",
|
|
92
92
|
"@zkp2p/zkp2p-attestation": "2.0.0",
|
|
93
93
|
"ethers": "^6.0.0",
|
|
94
94
|
"ox": "^0.11.1"
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export { enrichPvDepositView, enrichPvIntentView, parseDepositView, parseIntentView } from './chunk-R4MPJTU7.mjs';
|
|
2
|
-
import './chunk-ZFBH4HD7.mjs';
|
|
3
|
-
import './chunk-J5LGTIGS.mjs';
|
|
4
|
-
//# sourceMappingURL=protocolViewerParsers-EXBJYYDQ.mjs.map
|
|
5
|
-
//# sourceMappingURL=protocolViewerParsers-EXBJYYDQ.mjs.map
|