@zkp2p/sdk 0.3.1 → 0.3.2
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 +2 -2
- package/dist/chunk-J5LGTIGS.mjs +9 -0
- package/dist/chunk-J5LGTIGS.mjs.map +1 -0
- package/dist/chunk-JRDFLSA7.mjs +40529 -0
- package/dist/chunk-JRDFLSA7.mjs.map +1 -0
- package/dist/{currency-PKI2EGJD.mjs → currency-MARF3D2J.mjs} +3 -2
- package/dist/{currency-PKI2EGJD.mjs.map → currency-MARF3D2J.mjs.map} +1 -1
- package/dist/index.cjs +40838 -178
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +7 -3
- package/dist/index.d.ts +7 -3
- package/dist/index.mjs +311 -14
- package/dist/index.mjs.map +1 -1
- package/dist/protocolViewerParsers-CQSES3QX.mjs +5 -0
- package/dist/{protocolViewerParsers-TPB47QOH.mjs.map → protocolViewerParsers-CQSES3QX.mjs.map} +1 -1
- package/dist/react.d.mts +2 -2
- package/dist/react.d.ts +2 -2
- package/dist/react.mjs +1 -0
- package/dist/react.mjs.map +1 -1
- package/dist/{timeout-QB7K5SOB.mjs → timeout-YLP3WHZF.mjs} +3 -2
- package/dist/timeout-YLP3WHZF.mjs.map +1 -0
- package/dist/{vaultUtils-DATqc35J.d.mts → vaultUtils-C-9Z50Ak.d.mts} +495 -45
- package/dist/{vaultUtils-DATqc35J.d.ts → vaultUtils-C-9Z50Ak.d.ts} +495 -45
- package/package.json +1 -1
- package/dist/chunk-AXX3QCRW.mjs +0 -522
- package/dist/chunk-AXX3QCRW.mjs.map +0 -1
- package/dist/protocolViewerParsers-TPB47QOH.mjs +0 -4
- package/dist/timeout-QB7K5SOB.mjs.map +0 -1
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { enrichPvDepositView, enrichPvIntentView, parseDepositView, parseIntentView } from './chunk-JRDFLSA7.mjs';
|
|
2
|
+
import './chunk-ZFBH4HD7.mjs';
|
|
3
|
+
import './chunk-J5LGTIGS.mjs';
|
|
4
|
+
//# sourceMappingURL=protocolViewerParsers-CQSES3QX.mjs.map
|
|
5
|
+
//# sourceMappingURL=protocolViewerParsers-CQSES3QX.mjs.map
|
package/dist/{protocolViewerParsers-TPB47QOH.mjs.map → protocolViewerParsers-CQSES3QX.mjs.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"protocolViewerParsers-
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"protocolViewerParsers-CQSES3QX.mjs"}
|
package/dist/react.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Z as Zkp2pClient, P as PostDepositDetailsRequest,
|
|
2
|
-
export {
|
|
1
|
+
import { Z as Zkp2pClient, P as PostDepositDetailsRequest, m as SignalIntentMethodParams, aV as PreparedTransaction, aY as TakerTier, f as GetTakerTierRequest, g as GetTakerTierResponse, F as FulfillIntentMethodParams, cc as SendTransactionFn, cd as SendBatchFn, ca as DelegationDepositTarget, cb as BatchResult } from './vaultUtils-C-9Z50Ak.mjs';
|
|
2
|
+
export { c8 as DelegationRoute, c9 as DelegationState, ce as VAULT_ZERO_ADDRESS, c2 as ZERO_RATE_MANAGER_ID, cf as asErrorMessage, cg as assertDelegationMethodSupport, c7 as classifyDelegationState, c6 as getDelegationRoute, c3 as isZeroRateManagerId, c4 as normalizeRateManagerId, c5 as normalizeRegistry } from './vaultUtils-C-9Z50Ak.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,
|
|
2
|
-
export {
|
|
1
|
+
import { Z as Zkp2pClient, P as PostDepositDetailsRequest, m as SignalIntentMethodParams, aV as PreparedTransaction, aY as TakerTier, f as GetTakerTierRequest, g as GetTakerTierResponse, F as FulfillIntentMethodParams, cc as SendTransactionFn, cd as SendBatchFn, ca as DelegationDepositTarget, cb as BatchResult } from './vaultUtils-C-9Z50Ak.js';
|
|
2
|
+
export { c8 as DelegationRoute, c9 as DelegationState, ce as VAULT_ZERO_ADDRESS, c2 as ZERO_RATE_MANAGER_ID, cf as asErrorMessage, cg as assertDelegationMethodSupport, c7 as classifyDelegationState, c6 as getDelegationRoute, c3 as isZeroRateManagerId, c4 as normalizeRateManagerId, c5 as normalizeRegistry } from './vaultUtils-C-9Z50Ak.js';
|
|
3
3
|
import { Hash, Address, Hex } from 'viem';
|
|
4
4
|
import '@zkp2p/indexer-schema';
|
|
5
5
|
import 'abitype';
|
package/dist/react.mjs
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { asErrorMessage, ZERO_ADDRESS, getDelegationRoute, assertDelegationMethodSupport, prepareClearDelegationTx, normalizeRateManagerId, normalizeRegistry, isZeroRateManagerId, assertAtomicDelegationSwitchSupport, prepareSetDelegationTx } from './chunk-LPJE2MN7.mjs';
|
|
2
2
|
export { ZERO_ADDRESS as VAULT_ZERO_ADDRESS, ZERO_RATE_MANAGER_ID, asErrorMessage, assertDelegationMethodSupport, classifyDelegationState, getDelegationRoute, isZeroRateManagerId, normalizeRateManagerId, normalizeRegistry } from './chunk-LPJE2MN7.mjs';
|
|
3
|
+
import './chunk-J5LGTIGS.mjs';
|
|
3
4
|
import { useState, useCallback, useMemo, useEffect } from 'react';
|
|
4
5
|
import { formatUnits } from 'viem';
|
|
5
6
|
|