@joai/warps 4.36.1 → 4.38.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.d.cts +21 -9
- package/dist/index.d.ts +21 -9
- package/dist/index.js +2 -2
- package/dist/index.mjs +2 -2
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -112,6 +112,17 @@ type WarpChainAction = {
|
|
|
112
112
|
};
|
|
113
113
|
type WarpChainActionStatus = 'pending' | 'success' | 'failed';
|
|
114
114
|
|
|
115
|
+
type LogLevel = 'debug' | 'info' | 'warning' | 'error';
|
|
116
|
+
declare class WarpLogger {
|
|
117
|
+
private static isTestEnv;
|
|
118
|
+
static setLevel(level: LogLevel): void;
|
|
119
|
+
static shouldLog(level: LogLevel): boolean;
|
|
120
|
+
static debug(...args: any[]): void;
|
|
121
|
+
static info(...args: any[]): void;
|
|
122
|
+
static warn(...args: any[]): void;
|
|
123
|
+
static error(...args: any[]): void;
|
|
124
|
+
}
|
|
125
|
+
|
|
115
126
|
type WarpActionExecutionStatus = 'success' | 'error' | 'unhandled';
|
|
116
127
|
type WarpActionExecutionResult = {
|
|
117
128
|
status: WarpActionExecutionStatus;
|
|
@@ -241,6 +252,7 @@ type WarpClientConfig = {
|
|
|
241
252
|
cache?: ClientCacheConfig;
|
|
242
253
|
transform?: ClientTransformConfig;
|
|
243
254
|
index?: ClientIndexConfig;
|
|
255
|
+
logLevel?: LogLevel;
|
|
244
256
|
interceptors?: {
|
|
245
257
|
openLink?: (url: string) => Promise<void>;
|
|
246
258
|
};
|
|
@@ -1280,6 +1292,7 @@ type ExecutionHandlers = {
|
|
|
1280
1292
|
message: string;
|
|
1281
1293
|
chain: WarpChainInfo;
|
|
1282
1294
|
}) => string | Promise<string>;
|
|
1295
|
+
onInputRequest?: (warp: Warp, missingInputs: WarpActionInput[], providedValues: Record<string, string>) => Record<string, string> | Promise<Record<string, string>>;
|
|
1283
1296
|
onPromptGenerate?: (prompt: string, expect?: string | Record<string, any>) => string | null | Promise<string | null>;
|
|
1284
1297
|
onMountAction?: (params: {
|
|
1285
1298
|
action: WarpAction;
|
|
@@ -1306,6 +1319,11 @@ type ExecutionHandlers = {
|
|
|
1306
1319
|
tx: WarpAdapterGenericTransaction | null;
|
|
1307
1320
|
}) => void;
|
|
1308
1321
|
};
|
|
1322
|
+
type WarpExecutorCheckpoint = {
|
|
1323
|
+
identifier: string;
|
|
1324
|
+
actionIndex: number;
|
|
1325
|
+
outputs: Record<string, any>;
|
|
1326
|
+
};
|
|
1309
1327
|
declare class WarpExecutor {
|
|
1310
1328
|
private config;
|
|
1311
1329
|
private adapters;
|
|
@@ -1314,6 +1332,7 @@ declare class WarpExecutor {
|
|
|
1314
1332
|
private loopIterations;
|
|
1315
1333
|
private active;
|
|
1316
1334
|
private warpResolver;
|
|
1335
|
+
private _checkpointIndex;
|
|
1317
1336
|
constructor(config: WarpClientConfig, adapters: ChainAdapter[], handlers?: ExecutionHandlers | undefined);
|
|
1318
1337
|
setWarpResolver(resolver: (identifier: string) => Promise<Warp | null>): void;
|
|
1319
1338
|
/** Stops any scheduled loop re-executions. */
|
|
@@ -1328,6 +1347,7 @@ declare class WarpExecutor {
|
|
|
1328
1347
|
immediateExecutions: WarpActionExecutionResult[];
|
|
1329
1348
|
resolvedInputs: string[];
|
|
1330
1349
|
outputs: Record<string, any>;
|
|
1350
|
+
checkpoint?: WarpExecutorCheckpoint;
|
|
1331
1351
|
}>;
|
|
1332
1352
|
executeAction(warp: Warp, actionIndex: WarpActionIndex, inputs: string[], meta?: {
|
|
1333
1353
|
envs?: Record<string, any>;
|
|
@@ -1503,14 +1523,6 @@ declare class WarpClient {
|
|
|
1503
1523
|
resolveText(warpText: WarpText): string;
|
|
1504
1524
|
}
|
|
1505
1525
|
|
|
1506
|
-
declare class WarpLogger {
|
|
1507
|
-
private static isTestEnv;
|
|
1508
|
-
static debug(...args: any[]): void;
|
|
1509
|
-
static info(...args: any[]): void;
|
|
1510
|
-
static warn(...args: any[]): void;
|
|
1511
|
-
static error(...args: any[]): void;
|
|
1512
|
-
}
|
|
1513
|
-
|
|
1514
1526
|
declare class WarpTypeRegistry implements AdapterTypeRegistry {
|
|
1515
1527
|
private typeHandlers;
|
|
1516
1528
|
private typeAliases;
|
|
@@ -1575,4 +1587,4 @@ declare function resolveInputs(trigger: WebhookTrigger, payload: unknown): Recor
|
|
|
1575
1587
|
*/
|
|
1576
1588
|
declare function resolvePath(obj: unknown, path: string): unknown;
|
|
1577
1589
|
|
|
1578
|
-
export { type AdapterTypeRegistry, type AdapterWarpAbiBuilder, type AdapterWarpBrandBuilder, type AdapterWarpBuilder, type AdapterWarpDataLoader, type AdapterWarpExecutor, type AdapterWarpExplorer, type AdapterWarpOutput, type AdapterWarpRegistry, type AdapterWarpSerializer, type AdapterWarpWallet, type BaseWarpActionInputType, type BaseWarpBuilder, BrowserCryptoProvider, type BuiltInWarpWalletProvider, CLOUD_WALLET_PROVIDERS, CacheTtl, type ChainAdapter, type ChainAdapterFactory, type ClientCacheConfig, type ClientIndexConfig, type ClientTransformConfig, type CodecFunc, type CombinedWarpBuilder, type ContractDeployParams, type ContractFlags, type ContractUpgradeParams, type CryptoProvider, type DetectionResult, type DetectionResultFromHtml, EvmWalletChainNames, type ExecutionHandlers, type GeneratedSourceInfo, type GeneratedSourceType, type HttpAuthHeaders, type InterpolationBag, MultiversxWalletChainNames, NodeCryptoProvider, type ProtocolName, type ResolvedInput, type SignableMessage, type TransformRunner, WARP_LANGUAGES, type WalletCache, type WalletProvider, type WalletProviderFactory, type Warp, type WarpAbi, type WarpAbiContents, type WarpAction, type WarpActionExecutionResult, type WarpActionExecutionStatus, type WarpActionIndex, type WarpActionInput, type WarpActionInputModifier, type WarpActionInputPosition, type WarpActionInputPositionAssetObject, type WarpActionInputSource, type WarpActionInputType, type WarpActionType, type WarpAdapterGenericRemoteTransaction, type WarpAdapterGenericTransaction, type WarpAdapterGenericType, type WarpAdapterGenericValue, WarpAssets, type WarpBrand, WarpBrandBuilder, type WarpBrandColors, type WarpBrandCta, type WarpBrandLogo, type WarpBrandLogoThemed, type WarpBrandSiteConfig, type WarpBrandSiteRoute, type WarpBrandUrls, WarpBuilder, WarpCache, type WarpCacheAdapter, type WarpCacheConfig, WarpCacheKey, type WarpChainAccount, type WarpChainAction, type WarpChainActionStatus, type WarpChainAsset, type WarpChainAssetLogo, type WarpChainAssetLogoThemed, type WarpChainAssetNftMetadata, type WarpChainAssetType, type WarpChainAssetValue, WarpChainDisplayNames, type WarpChainEnv, type WarpChainInfo, type WarpChainInfoLogo, type WarpChainInfoLogoThemed, WarpChainLogos, WarpChainName, WarpChainResolver, WarpClient, type WarpClientConfig, type WarpCollectAction, type WarpCollectDestination, type WarpCollectDestinationHttp, WarpCompositeResolver, type WarpComputeAction, WarpConfig, WarpConstants, type WarpContract, type WarpContractAction, type WarpContractVerification, type WarpDataLoaderOptions, type WarpExecutable, type WarpExecutionMessages, type WarpExecutionNextInfo, type WarpExecutionOutput, WarpExecutor, type WarpExplorerName, WarpFactory, type WarpI18nText, type WarpIdentifierInfo, type WarpIdentifierType, WarpIndex, type WarpInlineAction, WarpInputTypes, WarpInterpolator, type WarpLinkAction, WarpLinkBuilder, WarpLinkDetecter, type WarpLocale, WarpLogger, type WarpLoopAction, type WarpMcpAction, type WarpMcpDestination, type WarpMessageName, type WarpMeta, type WarpMountAction, type WarpNativeValue, type WarpNextConfig, type WarpNextEntry, type WarpOutputName, WarpPlatformName, type WarpPlatformValue, WarpPlatforms, type WarpPromptAction, WarpProtocolVersions, type WarpProviderConfig, type WarpProviderPreferences, type WarpQueryAction, type WarpRegistryConfigInfo, type WarpRegistryInfo, type WarpRelatedEntry, type WarpResolver, type WarpResolverResult, type WarpResulutionPath, type WarpSchedule, type WarpSearchHit, type WarpSearchResult, type WarpSecret, type WarpSection, WarpSerializer, type WarpStateAction, type WarpStructValue, type WarpText, type WarpTheme, type WarpTransferAction, type WarpTrigger, type WarpTrustStatus, type WarpTypeHandler, WarpTypeRegistry, type WarpUnmountAction, type WarpUser, type WarpUserWallets, WarpValidator, type WarpVarPlaceholder, type WarpWalletDetails, type WarpWalletProvider, address, applyOutputToMessages, asset, biguint, bool, buildGeneratedFallbackWarpIdentifier, buildGeneratedSourceWarpIdentifier, buildInputsContext, buildMappedOutput, buildNestedPayload, bytesToBase64, bytesToHex, checkWarpAssetBalance, cleanWarpIdentifier, createAuthHeaders, createAuthMessage, createCryptoProvider, createDefaultWalletProvider, createHttpAuthHeaders, createSignableMessage, createWarpI18nText, createWarpIdentifier, doesWarpRequireWallet, encodeQueryValues, evaluateOutputCommon, evaluateWhenCondition, extractCollectOutput, extractIdentifierInfoFromUrl, extractInlineOutput, extractPromptOutput, extractQueryStringFromIdentifier, extractQueryStringFromUrl, extractResolvedInputValues, extractWarpSecrets, findWarpAdapterForChain, getChainDisplayName, getChainLogo, getCryptoProvider, getGeneratedSourceWarpName, getLatestProtocolIdentifier, getMppFetch, getNextInfo, getNextInfoForStatus, getProviderConfig, getRandomBytes, getRandomHex, getRequiredAssetIds, getWalletFromConfigOrFail, getWarpActionByIndex, getWarpBrandLogoUrl, getWarpChainAssetLogoUrl, getWarpChainInfoLogoUrl, getWarpIdentifierWithQuery, getWarpInfoFromIdentifier, getWarpInputAction, getWarpWalletAddress, getWarpWalletAddressFromConfig, getWarpWalletExternalId, getWarpWalletExternalIdFromConfig, getWarpWalletExternalIdFromConfigOrFail, getWarpWalletMnemonic, getWarpWalletMnemonicFromConfig, getWarpWalletPrivateKey, getWarpWalletPrivateKeyFromConfig, hasInputPrefix, hex, initializeWalletCache, isEqualWarpIdentifier, isGeneratedSourcePrivateIdentifier, isPlatformValue, isWarpActionAutoExecute, isWarpI18nText, isWarpWalletReadOnly, matchesTrigger, mergeNestedPayload, normalizeAndValidateMnemonic, normalizeMnemonic, option, parseOutputOutIndex, parseSignedMessage, parseWarpQueryStringToObject, removeWarpChainPrefix, removeWarpWalletFromConfig, replacePlaceholders, replacePlaceholdersInWhenExpression, resolveActionMessages, resolveInputs, resolveNextString, resolveNextStrings, resolvePath, resolvePlatformValue, resolveRelatedEntries, resolveWarpText, safeWindow, setCryptoProvider, setWarpWalletInConfig, shiftBigintBy, splitInput, stampGeneratedWarpMeta, string, struct, testCryptoAvailability, toInputPayloadValue, toPreviewText, tuple, uint16, uint32, uint64, uint8, validateMnemonicLength, validateSignedMessage, vector, withAdapterFallback };
|
|
1590
|
+
export { type AdapterTypeRegistry, type AdapterWarpAbiBuilder, type AdapterWarpBrandBuilder, type AdapterWarpBuilder, type AdapterWarpDataLoader, type AdapterWarpExecutor, type AdapterWarpExplorer, type AdapterWarpOutput, type AdapterWarpRegistry, type AdapterWarpSerializer, type AdapterWarpWallet, type BaseWarpActionInputType, type BaseWarpBuilder, BrowserCryptoProvider, type BuiltInWarpWalletProvider, CLOUD_WALLET_PROVIDERS, CacheTtl, type ChainAdapter, type ChainAdapterFactory, type ClientCacheConfig, type ClientIndexConfig, type ClientTransformConfig, type CodecFunc, type CombinedWarpBuilder, type ContractDeployParams, type ContractFlags, type ContractUpgradeParams, type CryptoProvider, type DetectionResult, type DetectionResultFromHtml, EvmWalletChainNames, type ExecutionHandlers, type GeneratedSourceInfo, type GeneratedSourceType, type HttpAuthHeaders, type InterpolationBag, type LogLevel, MultiversxWalletChainNames, NodeCryptoProvider, type ProtocolName, type ResolvedInput, type SignableMessage, type TransformRunner, WARP_LANGUAGES, type WalletCache, type WalletProvider, type WalletProviderFactory, type Warp, type WarpAbi, type WarpAbiContents, type WarpAction, type WarpActionExecutionResult, type WarpActionExecutionStatus, type WarpActionIndex, type WarpActionInput, type WarpActionInputModifier, type WarpActionInputPosition, type WarpActionInputPositionAssetObject, type WarpActionInputSource, type WarpActionInputType, type WarpActionType, type WarpAdapterGenericRemoteTransaction, type WarpAdapterGenericTransaction, type WarpAdapterGenericType, type WarpAdapterGenericValue, WarpAssets, type WarpBrand, WarpBrandBuilder, type WarpBrandColors, type WarpBrandCta, type WarpBrandLogo, type WarpBrandLogoThemed, type WarpBrandSiteConfig, type WarpBrandSiteRoute, type WarpBrandUrls, WarpBuilder, WarpCache, type WarpCacheAdapter, type WarpCacheConfig, WarpCacheKey, type WarpChainAccount, type WarpChainAction, type WarpChainActionStatus, type WarpChainAsset, type WarpChainAssetLogo, type WarpChainAssetLogoThemed, type WarpChainAssetNftMetadata, type WarpChainAssetType, type WarpChainAssetValue, WarpChainDisplayNames, type WarpChainEnv, type WarpChainInfo, type WarpChainInfoLogo, type WarpChainInfoLogoThemed, WarpChainLogos, WarpChainName, WarpChainResolver, WarpClient, type WarpClientConfig, type WarpCollectAction, type WarpCollectDestination, type WarpCollectDestinationHttp, WarpCompositeResolver, type WarpComputeAction, WarpConfig, WarpConstants, type WarpContract, type WarpContractAction, type WarpContractVerification, type WarpDataLoaderOptions, type WarpExecutable, type WarpExecutionMessages, type WarpExecutionNextInfo, type WarpExecutionOutput, WarpExecutor, type WarpExecutorCheckpoint, type WarpExplorerName, WarpFactory, type WarpI18nText, type WarpIdentifierInfo, type WarpIdentifierType, WarpIndex, type WarpInlineAction, WarpInputTypes, WarpInterpolator, type WarpLinkAction, WarpLinkBuilder, WarpLinkDetecter, type WarpLocale, WarpLogger, type WarpLoopAction, type WarpMcpAction, type WarpMcpDestination, type WarpMessageName, type WarpMeta, type WarpMountAction, type WarpNativeValue, type WarpNextConfig, type WarpNextEntry, type WarpOutputName, WarpPlatformName, type WarpPlatformValue, WarpPlatforms, type WarpPromptAction, WarpProtocolVersions, type WarpProviderConfig, type WarpProviderPreferences, type WarpQueryAction, type WarpRegistryConfigInfo, type WarpRegistryInfo, type WarpRelatedEntry, type WarpResolver, type WarpResolverResult, type WarpResulutionPath, type WarpSchedule, type WarpSearchHit, type WarpSearchResult, type WarpSecret, type WarpSection, WarpSerializer, type WarpStateAction, type WarpStructValue, type WarpText, type WarpTheme, type WarpTransferAction, type WarpTrigger, type WarpTrustStatus, type WarpTypeHandler, WarpTypeRegistry, type WarpUnmountAction, type WarpUser, type WarpUserWallets, WarpValidator, type WarpVarPlaceholder, type WarpWalletDetails, type WarpWalletProvider, address, applyOutputToMessages, asset, biguint, bool, buildGeneratedFallbackWarpIdentifier, buildGeneratedSourceWarpIdentifier, buildInputsContext, buildMappedOutput, buildNestedPayload, bytesToBase64, bytesToHex, checkWarpAssetBalance, cleanWarpIdentifier, createAuthHeaders, createAuthMessage, createCryptoProvider, createDefaultWalletProvider, createHttpAuthHeaders, createSignableMessage, createWarpI18nText, createWarpIdentifier, doesWarpRequireWallet, encodeQueryValues, evaluateOutputCommon, evaluateWhenCondition, extractCollectOutput, extractIdentifierInfoFromUrl, extractInlineOutput, extractPromptOutput, extractQueryStringFromIdentifier, extractQueryStringFromUrl, extractResolvedInputValues, extractWarpSecrets, findWarpAdapterForChain, getChainDisplayName, getChainLogo, getCryptoProvider, getGeneratedSourceWarpName, getLatestProtocolIdentifier, getMppFetch, getNextInfo, getNextInfoForStatus, getProviderConfig, getRandomBytes, getRandomHex, getRequiredAssetIds, getWalletFromConfigOrFail, getWarpActionByIndex, getWarpBrandLogoUrl, getWarpChainAssetLogoUrl, getWarpChainInfoLogoUrl, getWarpIdentifierWithQuery, getWarpInfoFromIdentifier, getWarpInputAction, getWarpWalletAddress, getWarpWalletAddressFromConfig, getWarpWalletExternalId, getWarpWalletExternalIdFromConfig, getWarpWalletExternalIdFromConfigOrFail, getWarpWalletMnemonic, getWarpWalletMnemonicFromConfig, getWarpWalletPrivateKey, getWarpWalletPrivateKeyFromConfig, hasInputPrefix, hex, initializeWalletCache, isEqualWarpIdentifier, isGeneratedSourcePrivateIdentifier, isPlatformValue, isWarpActionAutoExecute, isWarpI18nText, isWarpWalletReadOnly, matchesTrigger, mergeNestedPayload, normalizeAndValidateMnemonic, normalizeMnemonic, option, parseOutputOutIndex, parseSignedMessage, parseWarpQueryStringToObject, removeWarpChainPrefix, removeWarpWalletFromConfig, replacePlaceholders, replacePlaceholdersInWhenExpression, resolveActionMessages, resolveInputs, resolveNextString, resolveNextStrings, resolvePath, resolvePlatformValue, resolveRelatedEntries, resolveWarpText, safeWindow, setCryptoProvider, setWarpWalletInConfig, shiftBigintBy, splitInput, stampGeneratedWarpMeta, string, struct, testCryptoAvailability, toInputPayloadValue, toPreviewText, tuple, uint16, uint32, uint64, uint8, validateMnemonicLength, validateSignedMessage, vector, withAdapterFallback };
|
package/dist/index.d.ts
CHANGED
|
@@ -112,6 +112,17 @@ type WarpChainAction = {
|
|
|
112
112
|
};
|
|
113
113
|
type WarpChainActionStatus = 'pending' | 'success' | 'failed';
|
|
114
114
|
|
|
115
|
+
type LogLevel = 'debug' | 'info' | 'warning' | 'error';
|
|
116
|
+
declare class WarpLogger {
|
|
117
|
+
private static isTestEnv;
|
|
118
|
+
static setLevel(level: LogLevel): void;
|
|
119
|
+
static shouldLog(level: LogLevel): boolean;
|
|
120
|
+
static debug(...args: any[]): void;
|
|
121
|
+
static info(...args: any[]): void;
|
|
122
|
+
static warn(...args: any[]): void;
|
|
123
|
+
static error(...args: any[]): void;
|
|
124
|
+
}
|
|
125
|
+
|
|
115
126
|
type WarpActionExecutionStatus = 'success' | 'error' | 'unhandled';
|
|
116
127
|
type WarpActionExecutionResult = {
|
|
117
128
|
status: WarpActionExecutionStatus;
|
|
@@ -241,6 +252,7 @@ type WarpClientConfig = {
|
|
|
241
252
|
cache?: ClientCacheConfig;
|
|
242
253
|
transform?: ClientTransformConfig;
|
|
243
254
|
index?: ClientIndexConfig;
|
|
255
|
+
logLevel?: LogLevel;
|
|
244
256
|
interceptors?: {
|
|
245
257
|
openLink?: (url: string) => Promise<void>;
|
|
246
258
|
};
|
|
@@ -1280,6 +1292,7 @@ type ExecutionHandlers = {
|
|
|
1280
1292
|
message: string;
|
|
1281
1293
|
chain: WarpChainInfo;
|
|
1282
1294
|
}) => string | Promise<string>;
|
|
1295
|
+
onInputRequest?: (warp: Warp, missingInputs: WarpActionInput[], providedValues: Record<string, string>) => Record<string, string> | Promise<Record<string, string>>;
|
|
1283
1296
|
onPromptGenerate?: (prompt: string, expect?: string | Record<string, any>) => string | null | Promise<string | null>;
|
|
1284
1297
|
onMountAction?: (params: {
|
|
1285
1298
|
action: WarpAction;
|
|
@@ -1306,6 +1319,11 @@ type ExecutionHandlers = {
|
|
|
1306
1319
|
tx: WarpAdapterGenericTransaction | null;
|
|
1307
1320
|
}) => void;
|
|
1308
1321
|
};
|
|
1322
|
+
type WarpExecutorCheckpoint = {
|
|
1323
|
+
identifier: string;
|
|
1324
|
+
actionIndex: number;
|
|
1325
|
+
outputs: Record<string, any>;
|
|
1326
|
+
};
|
|
1309
1327
|
declare class WarpExecutor {
|
|
1310
1328
|
private config;
|
|
1311
1329
|
private adapters;
|
|
@@ -1314,6 +1332,7 @@ declare class WarpExecutor {
|
|
|
1314
1332
|
private loopIterations;
|
|
1315
1333
|
private active;
|
|
1316
1334
|
private warpResolver;
|
|
1335
|
+
private _checkpointIndex;
|
|
1317
1336
|
constructor(config: WarpClientConfig, adapters: ChainAdapter[], handlers?: ExecutionHandlers | undefined);
|
|
1318
1337
|
setWarpResolver(resolver: (identifier: string) => Promise<Warp | null>): void;
|
|
1319
1338
|
/** Stops any scheduled loop re-executions. */
|
|
@@ -1328,6 +1347,7 @@ declare class WarpExecutor {
|
|
|
1328
1347
|
immediateExecutions: WarpActionExecutionResult[];
|
|
1329
1348
|
resolvedInputs: string[];
|
|
1330
1349
|
outputs: Record<string, any>;
|
|
1350
|
+
checkpoint?: WarpExecutorCheckpoint;
|
|
1331
1351
|
}>;
|
|
1332
1352
|
executeAction(warp: Warp, actionIndex: WarpActionIndex, inputs: string[], meta?: {
|
|
1333
1353
|
envs?: Record<string, any>;
|
|
@@ -1503,14 +1523,6 @@ declare class WarpClient {
|
|
|
1503
1523
|
resolveText(warpText: WarpText): string;
|
|
1504
1524
|
}
|
|
1505
1525
|
|
|
1506
|
-
declare class WarpLogger {
|
|
1507
|
-
private static isTestEnv;
|
|
1508
|
-
static debug(...args: any[]): void;
|
|
1509
|
-
static info(...args: any[]): void;
|
|
1510
|
-
static warn(...args: any[]): void;
|
|
1511
|
-
static error(...args: any[]): void;
|
|
1512
|
-
}
|
|
1513
|
-
|
|
1514
1526
|
declare class WarpTypeRegistry implements AdapterTypeRegistry {
|
|
1515
1527
|
private typeHandlers;
|
|
1516
1528
|
private typeAliases;
|
|
@@ -1575,4 +1587,4 @@ declare function resolveInputs(trigger: WebhookTrigger, payload: unknown): Recor
|
|
|
1575
1587
|
*/
|
|
1576
1588
|
declare function resolvePath(obj: unknown, path: string): unknown;
|
|
1577
1589
|
|
|
1578
|
-
export { type AdapterTypeRegistry, type AdapterWarpAbiBuilder, type AdapterWarpBrandBuilder, type AdapterWarpBuilder, type AdapterWarpDataLoader, type AdapterWarpExecutor, type AdapterWarpExplorer, type AdapterWarpOutput, type AdapterWarpRegistry, type AdapterWarpSerializer, type AdapterWarpWallet, type BaseWarpActionInputType, type BaseWarpBuilder, BrowserCryptoProvider, type BuiltInWarpWalletProvider, CLOUD_WALLET_PROVIDERS, CacheTtl, type ChainAdapter, type ChainAdapterFactory, type ClientCacheConfig, type ClientIndexConfig, type ClientTransformConfig, type CodecFunc, type CombinedWarpBuilder, type ContractDeployParams, type ContractFlags, type ContractUpgradeParams, type CryptoProvider, type DetectionResult, type DetectionResultFromHtml, EvmWalletChainNames, type ExecutionHandlers, type GeneratedSourceInfo, type GeneratedSourceType, type HttpAuthHeaders, type InterpolationBag, MultiversxWalletChainNames, NodeCryptoProvider, type ProtocolName, type ResolvedInput, type SignableMessage, type TransformRunner, WARP_LANGUAGES, type WalletCache, type WalletProvider, type WalletProviderFactory, type Warp, type WarpAbi, type WarpAbiContents, type WarpAction, type WarpActionExecutionResult, type WarpActionExecutionStatus, type WarpActionIndex, type WarpActionInput, type WarpActionInputModifier, type WarpActionInputPosition, type WarpActionInputPositionAssetObject, type WarpActionInputSource, type WarpActionInputType, type WarpActionType, type WarpAdapterGenericRemoteTransaction, type WarpAdapterGenericTransaction, type WarpAdapterGenericType, type WarpAdapterGenericValue, WarpAssets, type WarpBrand, WarpBrandBuilder, type WarpBrandColors, type WarpBrandCta, type WarpBrandLogo, type WarpBrandLogoThemed, type WarpBrandSiteConfig, type WarpBrandSiteRoute, type WarpBrandUrls, WarpBuilder, WarpCache, type WarpCacheAdapter, type WarpCacheConfig, WarpCacheKey, type WarpChainAccount, type WarpChainAction, type WarpChainActionStatus, type WarpChainAsset, type WarpChainAssetLogo, type WarpChainAssetLogoThemed, type WarpChainAssetNftMetadata, type WarpChainAssetType, type WarpChainAssetValue, WarpChainDisplayNames, type WarpChainEnv, type WarpChainInfo, type WarpChainInfoLogo, type WarpChainInfoLogoThemed, WarpChainLogos, WarpChainName, WarpChainResolver, WarpClient, type WarpClientConfig, type WarpCollectAction, type WarpCollectDestination, type WarpCollectDestinationHttp, WarpCompositeResolver, type WarpComputeAction, WarpConfig, WarpConstants, type WarpContract, type WarpContractAction, type WarpContractVerification, type WarpDataLoaderOptions, type WarpExecutable, type WarpExecutionMessages, type WarpExecutionNextInfo, type WarpExecutionOutput, WarpExecutor, type WarpExplorerName, WarpFactory, type WarpI18nText, type WarpIdentifierInfo, type WarpIdentifierType, WarpIndex, type WarpInlineAction, WarpInputTypes, WarpInterpolator, type WarpLinkAction, WarpLinkBuilder, WarpLinkDetecter, type WarpLocale, WarpLogger, type WarpLoopAction, type WarpMcpAction, type WarpMcpDestination, type WarpMessageName, type WarpMeta, type WarpMountAction, type WarpNativeValue, type WarpNextConfig, type WarpNextEntry, type WarpOutputName, WarpPlatformName, type WarpPlatformValue, WarpPlatforms, type WarpPromptAction, WarpProtocolVersions, type WarpProviderConfig, type WarpProviderPreferences, type WarpQueryAction, type WarpRegistryConfigInfo, type WarpRegistryInfo, type WarpRelatedEntry, type WarpResolver, type WarpResolverResult, type WarpResulutionPath, type WarpSchedule, type WarpSearchHit, type WarpSearchResult, type WarpSecret, type WarpSection, WarpSerializer, type WarpStateAction, type WarpStructValue, type WarpText, type WarpTheme, type WarpTransferAction, type WarpTrigger, type WarpTrustStatus, type WarpTypeHandler, WarpTypeRegistry, type WarpUnmountAction, type WarpUser, type WarpUserWallets, WarpValidator, type WarpVarPlaceholder, type WarpWalletDetails, type WarpWalletProvider, address, applyOutputToMessages, asset, biguint, bool, buildGeneratedFallbackWarpIdentifier, buildGeneratedSourceWarpIdentifier, buildInputsContext, buildMappedOutput, buildNestedPayload, bytesToBase64, bytesToHex, checkWarpAssetBalance, cleanWarpIdentifier, createAuthHeaders, createAuthMessage, createCryptoProvider, createDefaultWalletProvider, createHttpAuthHeaders, createSignableMessage, createWarpI18nText, createWarpIdentifier, doesWarpRequireWallet, encodeQueryValues, evaluateOutputCommon, evaluateWhenCondition, extractCollectOutput, extractIdentifierInfoFromUrl, extractInlineOutput, extractPromptOutput, extractQueryStringFromIdentifier, extractQueryStringFromUrl, extractResolvedInputValues, extractWarpSecrets, findWarpAdapterForChain, getChainDisplayName, getChainLogo, getCryptoProvider, getGeneratedSourceWarpName, getLatestProtocolIdentifier, getMppFetch, getNextInfo, getNextInfoForStatus, getProviderConfig, getRandomBytes, getRandomHex, getRequiredAssetIds, getWalletFromConfigOrFail, getWarpActionByIndex, getWarpBrandLogoUrl, getWarpChainAssetLogoUrl, getWarpChainInfoLogoUrl, getWarpIdentifierWithQuery, getWarpInfoFromIdentifier, getWarpInputAction, getWarpWalletAddress, getWarpWalletAddressFromConfig, getWarpWalletExternalId, getWarpWalletExternalIdFromConfig, getWarpWalletExternalIdFromConfigOrFail, getWarpWalletMnemonic, getWarpWalletMnemonicFromConfig, getWarpWalletPrivateKey, getWarpWalletPrivateKeyFromConfig, hasInputPrefix, hex, initializeWalletCache, isEqualWarpIdentifier, isGeneratedSourcePrivateIdentifier, isPlatformValue, isWarpActionAutoExecute, isWarpI18nText, isWarpWalletReadOnly, matchesTrigger, mergeNestedPayload, normalizeAndValidateMnemonic, normalizeMnemonic, option, parseOutputOutIndex, parseSignedMessage, parseWarpQueryStringToObject, removeWarpChainPrefix, removeWarpWalletFromConfig, replacePlaceholders, replacePlaceholdersInWhenExpression, resolveActionMessages, resolveInputs, resolveNextString, resolveNextStrings, resolvePath, resolvePlatformValue, resolveRelatedEntries, resolveWarpText, safeWindow, setCryptoProvider, setWarpWalletInConfig, shiftBigintBy, splitInput, stampGeneratedWarpMeta, string, struct, testCryptoAvailability, toInputPayloadValue, toPreviewText, tuple, uint16, uint32, uint64, uint8, validateMnemonicLength, validateSignedMessage, vector, withAdapterFallback };
|
|
1590
|
+
export { type AdapterTypeRegistry, type AdapterWarpAbiBuilder, type AdapterWarpBrandBuilder, type AdapterWarpBuilder, type AdapterWarpDataLoader, type AdapterWarpExecutor, type AdapterWarpExplorer, type AdapterWarpOutput, type AdapterWarpRegistry, type AdapterWarpSerializer, type AdapterWarpWallet, type BaseWarpActionInputType, type BaseWarpBuilder, BrowserCryptoProvider, type BuiltInWarpWalletProvider, CLOUD_WALLET_PROVIDERS, CacheTtl, type ChainAdapter, type ChainAdapterFactory, type ClientCacheConfig, type ClientIndexConfig, type ClientTransformConfig, type CodecFunc, type CombinedWarpBuilder, type ContractDeployParams, type ContractFlags, type ContractUpgradeParams, type CryptoProvider, type DetectionResult, type DetectionResultFromHtml, EvmWalletChainNames, type ExecutionHandlers, type GeneratedSourceInfo, type GeneratedSourceType, type HttpAuthHeaders, type InterpolationBag, type LogLevel, MultiversxWalletChainNames, NodeCryptoProvider, type ProtocolName, type ResolvedInput, type SignableMessage, type TransformRunner, WARP_LANGUAGES, type WalletCache, type WalletProvider, type WalletProviderFactory, type Warp, type WarpAbi, type WarpAbiContents, type WarpAction, type WarpActionExecutionResult, type WarpActionExecutionStatus, type WarpActionIndex, type WarpActionInput, type WarpActionInputModifier, type WarpActionInputPosition, type WarpActionInputPositionAssetObject, type WarpActionInputSource, type WarpActionInputType, type WarpActionType, type WarpAdapterGenericRemoteTransaction, type WarpAdapterGenericTransaction, type WarpAdapterGenericType, type WarpAdapterGenericValue, WarpAssets, type WarpBrand, WarpBrandBuilder, type WarpBrandColors, type WarpBrandCta, type WarpBrandLogo, type WarpBrandLogoThemed, type WarpBrandSiteConfig, type WarpBrandSiteRoute, type WarpBrandUrls, WarpBuilder, WarpCache, type WarpCacheAdapter, type WarpCacheConfig, WarpCacheKey, type WarpChainAccount, type WarpChainAction, type WarpChainActionStatus, type WarpChainAsset, type WarpChainAssetLogo, type WarpChainAssetLogoThemed, type WarpChainAssetNftMetadata, type WarpChainAssetType, type WarpChainAssetValue, WarpChainDisplayNames, type WarpChainEnv, type WarpChainInfo, type WarpChainInfoLogo, type WarpChainInfoLogoThemed, WarpChainLogos, WarpChainName, WarpChainResolver, WarpClient, type WarpClientConfig, type WarpCollectAction, type WarpCollectDestination, type WarpCollectDestinationHttp, WarpCompositeResolver, type WarpComputeAction, WarpConfig, WarpConstants, type WarpContract, type WarpContractAction, type WarpContractVerification, type WarpDataLoaderOptions, type WarpExecutable, type WarpExecutionMessages, type WarpExecutionNextInfo, type WarpExecutionOutput, WarpExecutor, type WarpExecutorCheckpoint, type WarpExplorerName, WarpFactory, type WarpI18nText, type WarpIdentifierInfo, type WarpIdentifierType, WarpIndex, type WarpInlineAction, WarpInputTypes, WarpInterpolator, type WarpLinkAction, WarpLinkBuilder, WarpLinkDetecter, type WarpLocale, WarpLogger, type WarpLoopAction, type WarpMcpAction, type WarpMcpDestination, type WarpMessageName, type WarpMeta, type WarpMountAction, type WarpNativeValue, type WarpNextConfig, type WarpNextEntry, type WarpOutputName, WarpPlatformName, type WarpPlatformValue, WarpPlatforms, type WarpPromptAction, WarpProtocolVersions, type WarpProviderConfig, type WarpProviderPreferences, type WarpQueryAction, type WarpRegistryConfigInfo, type WarpRegistryInfo, type WarpRelatedEntry, type WarpResolver, type WarpResolverResult, type WarpResulutionPath, type WarpSchedule, type WarpSearchHit, type WarpSearchResult, type WarpSecret, type WarpSection, WarpSerializer, type WarpStateAction, type WarpStructValue, type WarpText, type WarpTheme, type WarpTransferAction, type WarpTrigger, type WarpTrustStatus, type WarpTypeHandler, WarpTypeRegistry, type WarpUnmountAction, type WarpUser, type WarpUserWallets, WarpValidator, type WarpVarPlaceholder, type WarpWalletDetails, type WarpWalletProvider, address, applyOutputToMessages, asset, biguint, bool, buildGeneratedFallbackWarpIdentifier, buildGeneratedSourceWarpIdentifier, buildInputsContext, buildMappedOutput, buildNestedPayload, bytesToBase64, bytesToHex, checkWarpAssetBalance, cleanWarpIdentifier, createAuthHeaders, createAuthMessage, createCryptoProvider, createDefaultWalletProvider, createHttpAuthHeaders, createSignableMessage, createWarpI18nText, createWarpIdentifier, doesWarpRequireWallet, encodeQueryValues, evaluateOutputCommon, evaluateWhenCondition, extractCollectOutput, extractIdentifierInfoFromUrl, extractInlineOutput, extractPromptOutput, extractQueryStringFromIdentifier, extractQueryStringFromUrl, extractResolvedInputValues, extractWarpSecrets, findWarpAdapterForChain, getChainDisplayName, getChainLogo, getCryptoProvider, getGeneratedSourceWarpName, getLatestProtocolIdentifier, getMppFetch, getNextInfo, getNextInfoForStatus, getProviderConfig, getRandomBytes, getRandomHex, getRequiredAssetIds, getWalletFromConfigOrFail, getWarpActionByIndex, getWarpBrandLogoUrl, getWarpChainAssetLogoUrl, getWarpChainInfoLogoUrl, getWarpIdentifierWithQuery, getWarpInfoFromIdentifier, getWarpInputAction, getWarpWalletAddress, getWarpWalletAddressFromConfig, getWarpWalletExternalId, getWarpWalletExternalIdFromConfig, getWarpWalletExternalIdFromConfigOrFail, getWarpWalletMnemonic, getWarpWalletMnemonicFromConfig, getWarpWalletPrivateKey, getWarpWalletPrivateKeyFromConfig, hasInputPrefix, hex, initializeWalletCache, isEqualWarpIdentifier, isGeneratedSourcePrivateIdentifier, isPlatformValue, isWarpActionAutoExecute, isWarpI18nText, isWarpWalletReadOnly, matchesTrigger, mergeNestedPayload, normalizeAndValidateMnemonic, normalizeMnemonic, option, parseOutputOutIndex, parseSignedMessage, parseWarpQueryStringToObject, removeWarpChainPrefix, removeWarpWalletFromConfig, replacePlaceholders, replacePlaceholdersInWhenExpression, resolveActionMessages, resolveInputs, resolveNextString, resolveNextStrings, resolvePath, resolvePlatformValue, resolveRelatedEntries, resolveWarpText, safeWindow, setCryptoProvider, setWarpWalletInConfig, shiftBigintBy, splitInput, stampGeneratedWarpMeta, string, struct, testCryptoAvailability, toInputPayloadValue, toPreviewText, tuple, uint16, uint32, uint64, uint8, validateMnemonicLength, validateSignedMessage, vector, withAdapterFallback };
|