@zkp2p/sdk 0.3.2-rc.0 → 0.4.0-rc.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 +58 -1
- package/dist/chunk-J5LGTIGS.mjs +9 -0
- package/dist/chunk-J5LGTIGS.mjs.map +1 -0
- package/dist/chunk-L526MKG3.mjs +41021 -0
- package/dist/chunk-L526MKG3.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 +41232 -216
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +17 -25
- package/dist/index.d.ts +17 -25
- package/dist/index.mjs +168 -35
- package/dist/index.mjs.map +1 -1
- package/dist/protocolViewerParsers-GGSM2243.mjs +5 -0
- package/dist/{protocolViewerParsers-ZQZ6QGEX.mjs.map → protocolViewerParsers-GGSM2243.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-C-9Z50Ak.d.mts → vaultUtils-BBdtW9in.d.mts} +25 -13
- package/dist/{vaultUtils-C-9Z50Ak.d.ts → vaultUtils-BBdtW9in.d.ts} +25 -13
- package/package.json +3 -2
- package/dist/chunk-ENH4KRFK.mjs +0 -506
- package/dist/chunk-ENH4KRFK.mjs.map +0 -1
- package/dist/protocolViewerParsers-ZQZ6QGEX.mjs +0 -4
- package/dist/timeout-QB7K5SOB.mjs.map +0 -1
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { enrichPvDepositView, enrichPvIntentView, parseDepositView, parseIntentView } from './chunk-L526MKG3.mjs';
|
|
2
|
+
import './chunk-ZFBH4HD7.mjs';
|
|
3
|
+
import './chunk-J5LGTIGS.mjs';
|
|
4
|
+
//# sourceMappingURL=protocolViewerParsers-GGSM2243.mjs.map
|
|
5
|
+
//# sourceMappingURL=protocolViewerParsers-GGSM2243.mjs.map
|
package/dist/{protocolViewerParsers-ZQZ6QGEX.mjs.map → protocolViewerParsers-GGSM2243.mjs.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"protocolViewerParsers-
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"protocolViewerParsers-GGSM2243.mjs"}
|
package/dist/react.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Z as Zkp2pClient, P as PostDepositDetailsRequest, m as SignalIntentMethodParams,
|
|
2
|
-
export {
|
|
1
|
+
import { Z as Zkp2pClient, P as PostDepositDetailsRequest, m as SignalIntentMethodParams, aX as PreparedTransaction, a_ as TakerTier, f as GetTakerTierRequest, g as GetTakerTierResponse, F as FulfillIntentMethodParams, ce as SendTransactionFn, cf as SendBatchFn, cc as DelegationDepositTarget, cd as BatchResult } from './vaultUtils-BBdtW9in.mjs';
|
|
2
|
+
export { ca as DelegationRoute, cb as DelegationState, cg as VAULT_ZERO_ADDRESS, c4 as ZERO_RATE_MANAGER_ID, ch as asErrorMessage, ci as assertDelegationMethodSupport, c9 as classifyDelegationState, c8 as getDelegationRoute, c5 as isZeroRateManagerId, c6 as normalizeRateManagerId, c7 as normalizeRegistry } from './vaultUtils-BBdtW9in.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, m as SignalIntentMethodParams,
|
|
2
|
-
export {
|
|
1
|
+
import { Z as Zkp2pClient, P as PostDepositDetailsRequest, m as SignalIntentMethodParams, aX as PreparedTransaction, a_ as TakerTier, f as GetTakerTierRequest, g as GetTakerTierResponse, F as FulfillIntentMethodParams, ce as SendTransactionFn, cf as SendBatchFn, cc as DelegationDepositTarget, cd as BatchResult } from './vaultUtils-BBdtW9in.js';
|
|
2
|
+
export { ca as DelegationRoute, cb as DelegationState, cg as VAULT_ZERO_ADDRESS, c4 as ZERO_RATE_MANAGER_ID, ch as asErrorMessage, ci as assertDelegationMethodSupport, c9 as classifyDelegationState, c8 as getDelegationRoute, c5 as isZeroRateManagerId, c6 as normalizeRateManagerId, c7 as normalizeRegistry } from './vaultUtils-BBdtW9in.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
|
|