@flapsdk/vault-runtime 0.1.42 → 0.1.43
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 +19 -1
- package/{chunk-PLIQ3EPB.js → chunk-56WOVXXG.js} +67 -14
- package/chunk-56WOVXXG.js.map +1 -0
- package/{chunk-Z5OBYOB2.js → chunk-HJZVFN57.js} +8 -8
- package/chunk-HJZVFN57.js.map +1 -0
- package/{chunk-PZX6PEW4.js → chunk-ZH7JPICS.js} +4 -4
- package/{chunk-PZX6PEW4.js.map → chunk-ZH7JPICS.js.map} +1 -1
- package/host-client.d.mts +1 -1
- package/host-client.js +3 -3
- package/host.d.mts +5 -5
- package/host.js +1 -1
- package/{hostRuntimeConfig-CKjug1-9.d.mts → hostRuntimeConfig-B-w3HrT1.d.mts} +1 -1
- package/{mpegts-L3KBZN7J.js → mpegts-536UQHCG.js} +6 -6
- package/{mpegts-L3KBZN7J.js.map → mpegts-536UQHCG.js.map} +1 -1
- package/package.json +2 -2
- package/runtime-contract.json +3 -2
- package/sdk.d.mts +4 -4
- package/sdk.js +5 -5
- package/sdk.js.map +1 -1
- package/server.d.mts +3 -3
- package/{txError-CJDsAoqw.d.mts → txError-B6PglmOO.d.mts} +1 -1
- package/{types-BolUPLIE.d.mts → types-CUJv4dxm.d.mts} +13 -3
- package/ui.d.mts +1 -1
- package/ui.js +1 -1
- package/chunk-PLIQ3EPB.js.map +0 -1
- package/chunk-Z5OBYOB2.js.map +0 -1
package/host-client.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
|
-
import {
|
|
3
|
+
import { ap as VaultManifest, aw as VaultRuntimeContextOverrides, D as HostRuntimeResult, a2 as OracleReader, Y as NftMetadataReader, S as MediaUploader, T as NftAccountWithdrawalPolicy, u as FlapWalletRuntime } from './types-CUJv4dxm.mjs';
|
|
4
4
|
import 'viem';
|
|
5
5
|
|
|
6
6
|
interface RuntimeProviderProps {
|
package/host-client.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export { VaultRuntimeProvider, useFlapWalletRuntime } from './chunk-
|
|
3
|
-
import './chunk-
|
|
2
|
+
export { VaultRuntimeProvider, useFlapWalletRuntime } from './chunk-HJZVFN57.js';
|
|
3
|
+
import './chunk-56WOVXXG.js';
|
|
4
4
|
import './chunk-WN4MIMCY.js';
|
|
5
5
|
import './chunk-JLI25XFB.js';
|
|
6
|
-
import './chunk-
|
|
6
|
+
import './chunk-ZH7JPICS.js';
|
|
7
7
|
import './chunk-B4WKI3EW.js';
|
|
8
8
|
import './chunk-GY7YY67I.js';
|
|
9
9
|
import './chunk-BUSYA2B4.js';
|
package/host.d.mts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { a as Address,
|
|
2
|
-
export { A as ActionAvailabilityStage, C as ContractEventRequest,
|
|
3
|
-
import { d as MiniAppRouterAdapter, b as MiniAppRouteSnapshot } from './txError-
|
|
4
|
-
export { C as CreateTaxInfoHostContextInput, M as MINI_APP_ROUTING_VERSION, a as MINI_APP_SLUG_PATTERN, c as MiniAppRouter, O as OracleReadError, R as ResolveRenderSurfaceInput, e as RuntimeMatchInput, T as TaxVaultHostSnapshot, f as TxErrorKind, V as VaultBindingPolicy, Z as ZERO_ADDRESS, g as buildLocalOracleUrl, h as createLocalOracleReader, i as createTaxInfoHostContext, j as fetchOracleJson, k as fetchProvisionedOracle, l as formatCountdown, m as formatPercentBps, n as formatTokenAmount, o as getTupleField, p as getTxErrorKind, q as handleTxError, r as isActionAvailableForPhase, s as isCustomVaultTaxToken, t as isManifestRuntimeMatch, u as isMiniAppSlug, v as isSameAddress, w as isStandaloneMiniApp, x as isValidAddress, y as isVaultBindingMatch, z as normalizeAddress, A as normalizeOnchainPortalTokenVersion, B as parseFeeVaultInfo, D as parsePortalTokenInfo, E as parseTaxTokenInfo, F as parseTokenAmount, G as parseVaultPortalInfo, H as readTaxVaultHostContext, I as resolveFeeMode, J as resolveManifestBinding, K as resolveTaxInfoRenderSurface, L as resolveTokenMarketPhase, N as resolveVaultBinding, P as shortenAddress, Q as standardErc20Abi } from './txError-
|
|
1
|
+
import { a as Address, ad as TokenRuntimeSnapshot, ac as TokenMetadataSnapshot, x as HostRuntimeInput, H as HostRuntimeAddresses, D as HostRuntimeResult, g as CreateVaultRuntimeContextInput, av as VaultRuntimeContext } from './types-CUJv4dxm.mjs';
|
|
2
|
+
export { A as ActionAvailabilityStage, C as ContractEventRequest, e as ContractReadRequest, f as ContractWriteRequest, E as EndpointPolicy, F as FLAP_WALLET_RUNTIME_VERSION, h as FeeMode, i as FlapChainSdk, j as FlapFeeVaultInfo, k as FlapI18n, l as FlapNotify, m as FlapSendTransactionRequest, n as FlapTaxInfo, o as FlapTokenInfo, p as FlapTransactionReceipt, q as FlapVaultPortalInfo, r as FlapVaultSdk, s as FlapWallet, t as FlapWalletAccount, u as FlapWalletRuntime, v as HostRuntimeDataSource, w as HostRuntimeDegradeReason, y as HostRuntimePolicy, z as HostRuntimePresentationFetcher, B as HostRuntimePresentationRequest, G as HostRuntimeSources, I as HostRuntimeStatus, J as HostRuntimeWarning, K as HostTokenPresentation, L as IpfsUploadResult, M as ManifestBindingEntry, N as ManifestExternalContract, O as ManifestNftAccountWithdrawal, P as ManifestResolvedContract, Q as MediaUploadOptions, R as MediaUploadRequest, S as MediaUploader, T as NftAccountWithdrawalPolicy, U as NftAccountWithdrawalReceipt, V as NftAccountWithdrawalRequest, W as NftMetadataAttribute, X as NftMetadataReadRequest, Y as NftMetadataReader, Z as NftMetadataReaderRequest, _ as NftMetadataSnapshot, $ as NftMetadataSource, a0 as OracleProvision, a1 as OracleReadRequest, a2 as OracleReader, a3 as ParsedResolvedContract, a4 as PaymentToken, a5 as ResolvedContractCheck, a6 as ResolvedContractHandle, a7 as ReviewedBeaconPin, a8 as ReviewedContractPin, a9 as RuntimeOracleRegistry, aa as SimulateResult, ab as TokenMarketPhase, ae as TxReceipt, af as VaultArtifactSurface, ag as VaultComponentProps, ah as VaultHostContext, ai as VaultLaunchConfigComponentProps, aj as VaultLaunchConfigContext, ak as VaultLaunchConfigResult, al as VaultLaunchConfigSummaryItem, am as VaultLaunchConfigValues, an as VaultLaunchSchema, ao as VaultLaunchSchemaField, ap as VaultManifest, aq as VaultManifestCapability, ar as VaultManifestDisplayTitle, as as VaultManifestLayout, at as VaultManifestMode, au as VaultRenderSurface, aw as VaultRuntimeContextOverrides, ax as VaultRuntimeExtraConfig, ay as createFlapChainSdk, az as parseAppWalletContracts } from './types-CUJv4dxm.mjs';
|
|
3
|
+
import { d as MiniAppRouterAdapter, b as MiniAppRouteSnapshot } from './txError-B6PglmOO.mjs';
|
|
4
|
+
export { C as CreateTaxInfoHostContextInput, M as MINI_APP_ROUTING_VERSION, a as MINI_APP_SLUG_PATTERN, c as MiniAppRouter, O as OracleReadError, R as ResolveRenderSurfaceInput, e as RuntimeMatchInput, T as TaxVaultHostSnapshot, f as TxErrorKind, V as VaultBindingPolicy, Z as ZERO_ADDRESS, g as buildLocalOracleUrl, h as createLocalOracleReader, i as createTaxInfoHostContext, j as fetchOracleJson, k as fetchProvisionedOracle, l as formatCountdown, m as formatPercentBps, n as formatTokenAmount, o as getTupleField, p as getTxErrorKind, q as handleTxError, r as isActionAvailableForPhase, s as isCustomVaultTaxToken, t as isManifestRuntimeMatch, u as isMiniAppSlug, v as isSameAddress, w as isStandaloneMiniApp, x as isValidAddress, y as isVaultBindingMatch, z as normalizeAddress, A as normalizeOnchainPortalTokenVersion, B as parseFeeVaultInfo, D as parsePortalTokenInfo, E as parseTaxTokenInfo, F as parseTokenAmount, G as parseVaultPortalInfo, H as readTaxVaultHostContext, I as resolveFeeMode, J as resolveManifestBinding, K as resolveTaxInfoRenderSurface, L as resolveTokenMarketPhase, N as resolveVaultBinding, P as shortenAddress, Q as standardErc20Abi } from './txError-B6PglmOO.mjs';
|
|
5
5
|
import { PublicClient } from 'viem';
|
|
6
6
|
export { erc20Abi } from 'viem';
|
|
7
|
-
export { L as LocalHostPresentationFetcherOptions, R as ResolveHostPresentationBatchInput, a as ResolveHostPresentationInput, T as TaxVaultHostChainConfig, c as createLocalHostPresentationFetcher, g as getTaxVaultHostChainConfig, l as loadFlapHostTokenPresentation, b as loadFlapHostTokenPresentationBatch } from './hostRuntimeConfig-
|
|
7
|
+
export { L as LocalHostPresentationFetcherOptions, R as ResolveHostPresentationBatchInput, a as ResolveHostPresentationInput, T as TaxVaultHostChainConfig, c as createLocalHostPresentationFetcher, g as getTaxVaultHostChainConfig, l as loadFlapHostTokenPresentation, b as loadFlapHostTokenPresentationBatch } from './hostRuntimeConfig-B-w3HrT1.mjs';
|
|
8
8
|
|
|
9
9
|
declare function readErc20TokenMetadata(publicClient: PublicClient, tokenAddress?: Address | null): Promise<TokenMetadataSnapshot | null>;
|
|
10
10
|
declare function loadTokenRuntimeSnapshot(publicClient: PublicClient, chainId: number, tokenAddress?: Address | null): Promise<TokenRuntimeSnapshot | null>;
|
package/host.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { erc20Abi } from './chunk-WQ7WM2BC.js';
|
|
2
2
|
export { MINI_APP_ROUTING_VERSION, MINI_APP_SLUG_PATTERN, erc20Abi, getTxErrorKind, handleTxError, isMiniAppSlug, isStandaloneMiniApp, standardErc20Abi } from './chunk-WQ7WM2BC.js';
|
|
3
|
-
export { FLAP_WALLET_RUNTIME_VERSION, chainLabelForChain, createFlapChainSdk, createVaultRuntimeContext, explorerForChain, parseAppWalletContracts } from './chunk-
|
|
3
|
+
export { FLAP_WALLET_RUNTIME_VERSION, chainLabelForChain, createFlapChainSdk, createVaultRuntimeContext, explorerForChain, parseAppWalletContracts } from './chunk-56WOVXXG.js';
|
|
4
4
|
export { createLocalHostPresentationFetcher, loadFlapHostTokenPresentation, loadFlapHostTokenPresentationBatch } from './chunk-JJJSK6HF.js';
|
|
5
5
|
export { OracleReadError, buildLocalOracleUrl, createLocalOracleReader, fetchOracleJson, fetchProvisionedOracle } from './chunk-JLI25XFB.js';
|
|
6
6
|
import { isValidAddress, ZERO_ADDRESS, parsePortalTokenInfo, normalizeOnchainPortalTokenVersion, createTaxInfoHostContext, parseTaxTokenInfo, parseVaultPortalInfo, readTaxVaultHostContext } from './chunk-B4WKI3EW.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as Address,
|
|
1
|
+
import { a as Address, z as HostRuntimePresentationFetcher, K as HostTokenPresentation } from './types-CUJv4dxm.mjs';
|
|
2
2
|
|
|
3
3
|
interface ResolveHostPresentationInput {
|
|
4
4
|
chainId: number;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { __commonJS } from './chunk-BUSYA2B4.js';
|
|
2
2
|
|
|
3
|
-
//
|
|
3
|
+
// node_modules/mpegts.js/dist/mpegts.js
|
|
4
4
|
var require_mpegts = __commonJS({
|
|
5
|
-
"
|
|
5
|
+
"node_modules/mpegts.js/dist/mpegts.js"(exports, module) {
|
|
6
6
|
!(function(e, t) {
|
|
7
7
|
"object" == typeof exports && "object" == typeof module ? module.exports = t() : "function" == typeof define && define.amd ? define([], t) : "object" == typeof exports ? exports.mpegts = t() : e.mpegts = t();
|
|
8
8
|
})(exports, function() {
|
|
@@ -5152,13 +5152,13 @@ var require_mpegts = __commonJS({
|
|
|
5152
5152
|
});
|
|
5153
5153
|
}
|
|
5154
5154
|
});
|
|
5155
|
-
var
|
|
5155
|
+
var mpegts536UQHCG = require_mpegts();
|
|
5156
5156
|
/*! Bundled license information:
|
|
5157
5157
|
|
|
5158
5158
|
mpegts.js/dist/mpegts.js:
|
|
5159
5159
|
(*! For license information please see mpegts.js.LICENSE.txt *)
|
|
5160
5160
|
*/
|
|
5161
5161
|
|
|
5162
|
-
export {
|
|
5163
|
-
//# sourceMappingURL=mpegts-
|
|
5164
|
-
//# sourceMappingURL=mpegts-
|
|
5162
|
+
export { mpegts536UQHCG as default };
|
|
5163
|
+
//# sourceMappingURL=mpegts-536UQHCG.js.map
|
|
5164
|
+
//# sourceMappingURL=mpegts-536UQHCG.js.map
|