@provex/indexer-client 1.11.0 → 2.0.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/dist/index.cjs +168 -248
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +13 -0
- package/dist/index.d.ts +13 -0
- package/dist/index.js +169 -249
- package/dist/index.js.map +1 -1
- package/package.json +5 -4
package/dist/index.d.cts
CHANGED
|
@@ -1757,6 +1757,19 @@ declare class Deposit {
|
|
|
1757
1757
|
* UI that wants to render inactive provider cards with a muted treatment.
|
|
1758
1758
|
*/
|
|
1759
1759
|
isProviderActive(key: ProviderKey | SubProviderKey): boolean;
|
|
1760
|
+
/**
|
|
1761
|
+
* Whether a `depositVerifierAdded` row belongs to a provider. A V2 row
|
|
1762
|
+
* matches by its verifier address. A V3 row matches by the provider's contract
|
|
1763
|
+
* id in `paymentMethodId`, or by a `paymentMethodId` that `verifierGetsKey`
|
|
1764
|
+
* resolves to the provider (for example a V2 verifier address).
|
|
1765
|
+
*/
|
|
1766
|
+
private verifierRowMatchesProvider;
|
|
1767
|
+
/**
|
|
1768
|
+
* The ACTIVE verifier row for a provider, or null. A row the maker switched
|
|
1769
|
+
* off with `setPaymentMethodActive(false)` is skipped. Rows from before the
|
|
1770
|
+
* `active` field existed have no such property and count as active, so older
|
|
1771
|
+
* data stays visible.
|
|
1772
|
+
*/
|
|
1760
1773
|
getVerifier(key: ProviderKey | SubProviderKey): DepositVerifierAdded | PonderDepositVerifierAdded | null;
|
|
1761
1774
|
providerByIntentHash(hash: Hex): ProviderKey | null;
|
|
1762
1775
|
}
|
package/dist/index.d.ts
CHANGED
|
@@ -1757,6 +1757,19 @@ declare class Deposit {
|
|
|
1757
1757
|
* UI that wants to render inactive provider cards with a muted treatment.
|
|
1758
1758
|
*/
|
|
1759
1759
|
isProviderActive(key: ProviderKey | SubProviderKey): boolean;
|
|
1760
|
+
/**
|
|
1761
|
+
* Whether a `depositVerifierAdded` row belongs to a provider. A V2 row
|
|
1762
|
+
* matches by its verifier address. A V3 row matches by the provider's contract
|
|
1763
|
+
* id in `paymentMethodId`, or by a `paymentMethodId` that `verifierGetsKey`
|
|
1764
|
+
* resolves to the provider (for example a V2 verifier address).
|
|
1765
|
+
*/
|
|
1766
|
+
private verifierRowMatchesProvider;
|
|
1767
|
+
/**
|
|
1768
|
+
* The ACTIVE verifier row for a provider, or null. A row the maker switched
|
|
1769
|
+
* off with `setPaymentMethodActive(false)` is skipped. Rows from before the
|
|
1770
|
+
* `active` field existed have no such property and count as active, so older
|
|
1771
|
+
* data stays visible.
|
|
1772
|
+
*/
|
|
1760
1773
|
getVerifier(key: ProviderKey | SubProviderKey): DepositVerifierAdded | PonderDepositVerifierAdded | null;
|
|
1761
1774
|
providerByIntentHash(hash: Hex): ProviderKey | null;
|
|
1762
1775
|
}
|