@taqueria/protocol 0.27.2-alpha → 0.27.2-rc
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/Base.js +3 -7
- package/Base.js.map +1 -1
- package/ConfigEnvironmentFileV2.d.ts +2 -0
- package/ConfigEnvironmentFileV2.d.ts.map +1 -0
- package/ConfigEnvironmentFileV2.js +21 -0
- package/ConfigEnvironmentFileV2.js.map +1 -0
- package/ConfigFileV2.d.ts +2 -0
- package/ConfigFileV2.d.ts.map +1 -0
- package/ConfigFileV2.js +21 -0
- package/ConfigFileV2.js.map +1 -0
- package/EphemeralState.d.ts +308 -304
- package/EphemeralState.d.ts.map +1 -1
- package/EphemeralState.js +4 -14
- package/EphemeralState.js.map +1 -1
- package/ParsedPluginInfo.d.ts +774 -764
- package/ParsedPluginInfo.d.ts.map +1 -1
- package/ParsedPluginInfo.js +2 -12
- package/ParsedPluginInfo.js.map +1 -1
- package/PersistentState.js +0 -11
- package/PersistentState.js.map +1 -1
- package/PluginInfo.d.ts +954 -942
- package/PluginInfo.d.ts.map +1 -1
- package/PluginInfo.js +6 -16
- package/PluginInfo.js.map +1 -1
- package/PluginSchema.d.ts +1855 -1835
- package/PluginSchema.d.ts.map +1 -1
- package/PluginSchema.js +4 -14
- package/PluginSchema.js.map +1 -1
- package/SHA256.js +0 -11
- package/SanitizedAbsPath.js +0 -10
- package/SanitizedArgs.d.ts +75 -445
- package/SanitizedArgs.d.ts.map +1 -1
- package/SanitizedArgs.js +22 -89
- package/SanitizedArgs.js.map +1 -1
- package/TaqError.d.ts +1 -1
- package/TaqError.d.ts.map +1 -1
- package/TaqError.js +0 -9
- package/TaqError.js.map +1 -1
- package/Template.js +0 -4
- package/helpers.js +0 -4
- package/i18n.d.ts.map +1 -1
- package/i18n.js +3 -10
- package/i18n.js.map +1 -1
- package/index.d.ts +4 -3
- package/index.d.ts.map +1 -1
- package/index.js +5 -58
- package/index.js.map +1 -1
- package/out/types/Alias.js +0 -10
- package/out/types/BuildNumber.js +0 -10
- package/out/types/Command.js +0 -10
- package/out/types/Config.d.ts +476 -468
- package/out/types/Config.d.ts.map +1 -1
- package/out/types/Config.js +0 -10
- package/out/types/ConfigAccount.d.js +19 -0
- package/out/types/ConfigAccount.d.js.map +1 -0
- package/out/types/ConfigAccount.d.ts +106 -0
- package/out/types/ConfigAccount.d.ts.map +1 -0
- package/out/types/ConfigAccount.js +70 -0
- package/out/types/ConfigAccount.js.map +1 -0
- package/out/types/ConfigArtifactsDir.js +0 -10
- package/out/types/ConfigContractsDir.js +0 -10
- package/out/types/ConfigEnvironmentFileV2.d.js +19 -0
- package/out/types/ConfigEnvironmentFileV2.d.js.map +1 -0
- package/out/types/ConfigEnvironmentFileV2.d.ts +166 -0
- package/out/types/ConfigEnvironmentFileV2.d.ts.map +1 -0
- package/out/types/ConfigEnvironmentFileV2.js +70 -0
- package/out/types/ConfigEnvironmentFileV2.js.map +1 -0
- package/out/types/ConfigFileV1.d.js +19 -0
- package/out/types/ConfigFileV1.d.js.map +1 -0
- package/out/types/ConfigFileV1.d.ts +1370 -0
- package/out/types/ConfigFileV1.d.ts.map +1 -0
- package/out/types/ConfigFileV1.js +70 -0
- package/out/types/ConfigFileV1.js.map +1 -0
- package/out/types/ConfigFileV2.d.js +19 -0
- package/out/types/ConfigFileV2.d.js.map +1 -0
- package/out/types/ConfigFileV2.d.ts +762 -0
- package/out/types/ConfigFileV2.d.ts.map +1 -0
- package/out/types/ConfigFileV2.js +70 -0
- package/out/types/ConfigFileV2.js.map +1 -0
- package/out/types/Contract.js +0 -10
- package/out/types/CurrencyAmountV2.d.js +19 -0
- package/out/types/CurrencyAmountV2.d.js.map +1 -0
- package/out/types/CurrencyAmountV2.d.ts +56 -0
- package/out/types/CurrencyAmountV2.d.ts.map +1 -0
- package/out/types/CurrencyAmountV2.js +70 -0
- package/out/types/CurrencyAmountV2.js.map +1 -0
- package/out/types/EconomicalProtocolHash.js +0 -10
- package/out/types/Environment.js +0 -10
- package/out/types/EphemeralState.d.ts +2525 -2493
- package/out/types/EphemeralState.d.ts.map +1 -1
- package/out/types/EphemeralState.js +0 -10
- package/out/types/Faucet.js +0 -10
- package/out/types/HumanReadableIdentifier.js +0 -10
- package/out/types/InstalledPlugin.js +0 -10
- package/out/types/LoadedConfig.d.ts +476 -468
- package/out/types/LoadedConfig.d.ts.map +1 -1
- package/out/types/LoadedConfig.js +0 -10
- package/out/types/MetadataConfig.js +0 -10
- package/out/types/NetworkAccountConfig.d.ts +52 -39
- package/out/types/NetworkAccountConfig.d.ts.map +1 -1
- package/out/types/NetworkAccountConfig.js +0 -10
- package/out/types/NetworkConfig.d.ts +84 -76
- package/out/types/NetworkConfig.d.ts.map +1 -1
- package/out/types/NetworkConfig.js +0 -10
- package/out/types/NonEmptyString.js +0 -10
- package/out/types/Operation.d.ts +808 -800
- package/out/types/Operation.d.ts.map +1 -1
- package/out/types/Operation.js +0 -10
- package/out/types/Option.js +0 -10
- package/out/types/ParsedConfig.d.ts +531 -523
- package/out/types/ParsedConfig.d.ts.map +1 -1
- package/out/types/ParsedConfig.js +0 -10
- package/out/types/ParsedOperation.d.ts +619 -611
- package/out/types/ParsedOperation.d.ts.map +1 -1
- package/out/types/ParsedOperation.js +0 -10
- package/out/types/ParsedTemplate.d.ts +619 -611
- package/out/types/ParsedTemplate.d.ts.map +1 -1
- package/out/types/ParsedTemplate.js +0 -10
- package/out/types/PersistedOperation.js +0 -10
- package/out/types/PersistedTask.js +0 -10
- package/out/types/PersistentState.js +0 -10
- package/out/types/PluginActionName.js +0 -10
- package/out/types/PluginDependenciesResponse.js +0 -10
- package/out/types/PluginInfo.d.ts +1267 -1251
- package/out/types/PluginInfo.d.ts.map +1 -1
- package/out/types/PluginInfo.js +0 -10
- package/out/types/PluginJsonResponse.js +0 -10
- package/out/types/PluginProxyResponse.js +0 -10
- package/out/types/PluginResponseEncoding.js +0 -10
- package/out/types/PluginSchema.d.ts +4363 -4323
- package/out/types/PluginSchema.d.ts.map +1 -1
- package/out/types/PluginSchema.js +0 -10
- package/out/types/PositionalArg.js +0 -10
- package/out/types/Provisioner.js +0 -10
- package/out/types/ProvisionerID.js +0 -10
- package/out/types/Provisions.js +0 -10
- package/out/types/ProxyTaskArgs.d.ts +639 -631
- package/out/types/ProxyTaskArgs.d.ts.map +1 -1
- package/out/types/ProxyTaskArgs.js +0 -10
- package/out/types/ProxyTemplateArgs.d.ts +639 -631
- package/out/types/ProxyTemplateArgs.d.ts.map +1 -1
- package/out/types/ProxyTemplateArgs.js +0 -10
- package/out/types/PublicKeyHash.js +0 -10
- package/out/types/RequestArgs.d.ts +639 -631
- package/out/types/RequestArgs.d.ts.map +1 -1
- package/out/types/RequestArgs.js +0 -10
- package/out/types/RuntimeDependency.js +0 -10
- package/out/types/RuntimeDependencyReport.js +0 -10
- package/out/types/SHA256.js +0 -10
- package/out/types/SandboxAccountConfig.js +0 -10
- package/out/types/SandboxAccounts.d.js +19 -0
- package/out/types/SandboxAccounts.d.js.map +1 -0
- package/out/types/SandboxAccounts.d.ts +43 -0
- package/out/types/SandboxAccounts.d.ts.map +1 -0
- package/out/types/SandboxAccounts.js +70 -0
- package/out/types/SandboxAccounts.js.map +1 -0
- package/out/types/SandboxConfig.d.ts +26 -26
- package/out/types/SandboxConfig.js +0 -10
- package/out/types/SanitizedAbsPath.js +0 -10
- package/out/types/SanitizedArgs.js +0 -10
- package/out/types/SanitizedPath.js +0 -10
- package/out/types/ScaffoldConfig.js +0 -10
- package/out/types/Settings.d.ts +13 -13
- package/out/types/Settings.js +0 -10
- package/out/types/SingleChar.js +0 -10
- package/out/types/Task.js +0 -10
- package/out/types/Template.d.ts +808 -800
- package/out/types/Template.d.ts.map +1 -1
- package/out/types/Template.js +0 -10
- package/out/types/Timestamp.js +0 -10
- package/out/types/Tz.js +0 -10
- package/out/types/TzKtConfig.js +0 -10
- package/out/types/Url.js +0 -10
- package/out/types/Verb.js +0 -10
- package/out/types/VersionNumber.js +0 -10
- package/out/types-strict.d.js.map +1 -1
- package/out/types-strict.d.ts +109 -16
- package/out/types-strict.d.ts.map +1 -1
- package/out/types-strict.js.map +1 -1
- package/out/types-zod.d.js.map +1 -1
- package/out/types-zod.d.ts +4228 -3604
- package/out/types-zod.d.ts.map +1 -1
- package/out/types-zod.js +72 -78
- package/out/types-zod.js.map +1 -1
- package/package.json +6 -27
- package/taqueria-protocol-types.js +0 -39
- package/tsup.config.d.ts +4 -0
- package/tsup.config.d.ts.map +1 -0
- package/types-config-files.d.ts +21 -0
- package/types-config-files.d.ts.map +1 -0
- package/types-config-files.js +343 -0
- package/types-config-files.js.map +1 -0
- package/types.d.ts +94 -14
- package/types.d.ts.map +1 -1
- package/types.js.map +1 -1
- package/tzkt-config.js +0 -10
- package/Alias.mjs +0 -3
- package/Alias.mjs.map +0 -1
- package/Base.mjs +0 -57
- package/Base.mjs.map +0 -1
- package/Command.mjs +0 -3
- package/Command.mjs.map +0 -1
- package/Config.mjs +0 -3
- package/Config.mjs.map +0 -1
- package/ConfigArtifactsDir.mjs +0 -3
- package/ConfigArtifactsDir.mjs.map +0 -1
- package/ConfigContractsDir.mjs +0 -3
- package/ConfigContractsDir.mjs.map +0 -1
- package/Contract.mjs +0 -3
- package/Contract.mjs.map +0 -1
- package/Crypto.mjs +0 -1
- package/Crypto.mjs.map +0 -1
- package/EconomicalProtocolHash.mjs +0 -3
- package/EconomicalProtocolHash.mjs.map +0 -1
- package/Environment.mjs +0 -3
- package/Environment.mjs.map +0 -1
- package/EphemeralState.mjs +0 -238
- package/EphemeralState.mjs.map +0 -1
- package/Faucet.mjs +0 -3
- package/Faucet.mjs.map +0 -1
- package/HumanReadableIdentifier.mjs +0 -3
- package/HumanReadableIdentifier.mjs.map +0 -1
- package/InstalledPlugin.mjs +0 -3
- package/InstalledPlugin.mjs.map +0 -1
- package/LoadedConfig.mjs +0 -3
- package/LoadedConfig.mjs.map +0 -1
- package/MetadataConfig.mjs +0 -3
- package/MetadataConfig.mjs.map +0 -1
- package/NetworkAccountConfig.mjs +0 -3
- package/NetworkAccountConfig.mjs.map +0 -1
- package/NetworkConfig.mjs +0 -3
- package/NetworkConfig.mjs.map +0 -1
- package/NonEmptyString.mjs +0 -3
- package/NonEmptyString.mjs.map +0 -1
- package/Operation.mjs +0 -3
- package/Operation.mjs.map +0 -1
- package/Option.mjs +0 -3
- package/Option.mjs.map +0 -1
- package/ParsedOperation.mjs +0 -3
- package/ParsedOperation.mjs.map +0 -1
- package/ParsedPluginInfo.mjs +0 -44
- package/ParsedPluginInfo.mjs.map +0 -1
- package/ParsedTemplate.mjs +0 -3
- package/ParsedTemplate.mjs.map +0 -1
- package/PersistentState.mjs +0 -60
- package/PersistentState.mjs.map +0 -1
- package/PluginActionName.mjs +0 -3
- package/PluginActionName.mjs.map +0 -1
- package/PluginDependenciesResponse.mjs +0 -3
- package/PluginDependenciesResponse.mjs.map +0 -1
- package/PluginInfo.mjs +0 -76
- package/PluginInfo.mjs.map +0 -1
- package/PluginJsonResponse.mjs +0 -3
- package/PluginJsonResponse.mjs.map +0 -1
- package/PluginProxyResponse.mjs +0 -3
- package/PluginProxyResponse.mjs.map +0 -1
- package/PluginResponseEncoding.mjs +0 -3
- package/PluginResponseEncoding.mjs.map +0 -1
- package/PluginSchema.mjs +0 -59
- package/PluginSchema.mjs.map +0 -1
- package/PositionalArg.mjs +0 -3
- package/PositionalArg.mjs.map +0 -1
- package/Provisioner.mjs +0 -3
- package/Provisioner.mjs.map +0 -1
- package/ProvisionerID.mjs +0 -3
- package/ProvisionerID.mjs.map +0 -1
- package/Provisions.mjs +0 -3
- package/Provisions.mjs.map +0 -1
- package/ProxyTaskArgs.mjs +0 -3
- package/ProxyTaskArgs.mjs.map +0 -1
- package/ProxyTemplateArgs.mjs +0 -3
- package/ProxyTemplateArgs.mjs.map +0 -1
- package/PublicKeyHash.mjs +0 -3
- package/PublicKeyHash.mjs.map +0 -1
- package/RequestArgs.mjs +0 -3
- package/RequestArgs.mjs.map +0 -1
- package/SHA256.mjs +0 -59
- package/SHA256.mjs.map +0 -1
- package/SandboxAccountConfig.mjs +0 -3
- package/SandboxAccountConfig.mjs.map +0 -1
- package/SandboxConfig.mjs +0 -3
- package/SandboxConfig.mjs.map +0 -1
- package/SanitizedAbsPath.mjs +0 -27
- package/SanitizedAbsPath.mjs.map +0 -1
- package/SanitizedArgs.mjs +0 -198
- package/SanitizedArgs.mjs.map +0 -1
- package/SanitizedPath.mjs +0 -3
- package/SanitizedPath.mjs.map +0 -1
- package/ScaffoldConfig.mjs +0 -3
- package/ScaffoldConfig.mjs.map +0 -1
- package/Settings.mjs +0 -3
- package/Settings.mjs.map +0 -1
- package/SingleChar.mjs +0 -3
- package/SingleChar.mjs.map +0 -1
- package/TaqError.mjs +0 -35
- package/TaqError.mjs.map +0 -1
- package/Task.mjs +0 -3
- package/Task.mjs.map +0 -1
- package/Template.mjs +0 -10
- package/Template.mjs.map +0 -1
- package/Timestamp.mjs +0 -3
- package/Timestamp.mjs.map +0 -1
- package/Tz.mjs +0 -3
- package/Tz.mjs.map +0 -1
- package/Url.mjs +0 -3
- package/Url.mjs.map +0 -1
- package/Verb.mjs +0 -3
- package/Verb.mjs.map +0 -1
- package/VersionNumber.mjs +0 -3
- package/VersionNumber.mjs.map +0 -1
- package/helpers.mjs +0 -28
- package/helpers.mjs.map +0 -1
- package/i18n.mjs +0 -67
- package/i18n.mjs.map +0 -1
- package/index.mjs +0 -108
- package/index.mjs.map +0 -1
- package/out/types/Alias.d.mjs +0 -1
- package/out/types/Alias.d.mjs.map +0 -1
- package/out/types/Alias.mjs +0 -49
- package/out/types/Alias.mjs.map +0 -1
- package/out/types/BuildNumber.d.mjs +0 -1
- package/out/types/BuildNumber.d.mjs.map +0 -1
- package/out/types/BuildNumber.mjs +0 -49
- package/out/types/BuildNumber.mjs.map +0 -1
- package/out/types/Command.d.mjs +0 -1
- package/out/types/Command.d.mjs.map +0 -1
- package/out/types/Command.mjs +0 -49
- package/out/types/Command.mjs.map +0 -1
- package/out/types/Config.d.mjs +0 -1
- package/out/types/Config.d.mjs.map +0 -1
- package/out/types/Config.mjs +0 -49
- package/out/types/Config.mjs.map +0 -1
- package/out/types/ConfigArtifactsDir.d.mjs +0 -1
- package/out/types/ConfigArtifactsDir.d.mjs.map +0 -1
- package/out/types/ConfigArtifactsDir.mjs +0 -49
- package/out/types/ConfigArtifactsDir.mjs.map +0 -1
- package/out/types/ConfigContractsDir.d.mjs +0 -1
- package/out/types/ConfigContractsDir.d.mjs.map +0 -1
- package/out/types/ConfigContractsDir.mjs +0 -49
- package/out/types/ConfigContractsDir.mjs.map +0 -1
- package/out/types/Contract.d.mjs +0 -1
- package/out/types/Contract.d.mjs.map +0 -1
- package/out/types/Contract.mjs +0 -49
- package/out/types/Contract.mjs.map +0 -1
- package/out/types/EconomicalProtocolHash.d.mjs +0 -1
- package/out/types/EconomicalProtocolHash.d.mjs.map +0 -1
- package/out/types/EconomicalProtocolHash.mjs +0 -49
- package/out/types/EconomicalProtocolHash.mjs.map +0 -1
- package/out/types/Environment.d.mjs +0 -1
- package/out/types/Environment.d.mjs.map +0 -1
- package/out/types/Environment.mjs +0 -49
- package/out/types/Environment.mjs.map +0 -1
- package/out/types/EphemeralState.d.mjs +0 -1
- package/out/types/EphemeralState.d.mjs.map +0 -1
- package/out/types/EphemeralState.mjs +0 -49
- package/out/types/EphemeralState.mjs.map +0 -1
- package/out/types/Faucet.d.mjs +0 -1
- package/out/types/Faucet.d.mjs.map +0 -1
- package/out/types/Faucet.mjs +0 -49
- package/out/types/Faucet.mjs.map +0 -1
- package/out/types/HumanReadableIdentifier.d.mjs +0 -1
- package/out/types/HumanReadableIdentifier.d.mjs.map +0 -1
- package/out/types/HumanReadableIdentifier.mjs +0 -49
- package/out/types/HumanReadableIdentifier.mjs.map +0 -1
- package/out/types/InstalledPlugin.d.mjs +0 -1
- package/out/types/InstalledPlugin.d.mjs.map +0 -1
- package/out/types/InstalledPlugin.mjs +0 -49
- package/out/types/InstalledPlugin.mjs.map +0 -1
- package/out/types/LoadedConfig.d.mjs +0 -1
- package/out/types/LoadedConfig.d.mjs.map +0 -1
- package/out/types/LoadedConfig.mjs +0 -49
- package/out/types/LoadedConfig.mjs.map +0 -1
- package/out/types/MetadataConfig.d.mjs +0 -1
- package/out/types/MetadataConfig.d.mjs.map +0 -1
- package/out/types/MetadataConfig.mjs +0 -49
- package/out/types/MetadataConfig.mjs.map +0 -1
- package/out/types/NetworkAccountConfig.d.mjs +0 -1
- package/out/types/NetworkAccountConfig.d.mjs.map +0 -1
- package/out/types/NetworkAccountConfig.mjs +0 -49
- package/out/types/NetworkAccountConfig.mjs.map +0 -1
- package/out/types/NetworkConfig.d.mjs +0 -1
- package/out/types/NetworkConfig.d.mjs.map +0 -1
- package/out/types/NetworkConfig.mjs +0 -49
- package/out/types/NetworkConfig.mjs.map +0 -1
- package/out/types/NonEmptyString.d.mjs +0 -1
- package/out/types/NonEmptyString.d.mjs.map +0 -1
- package/out/types/NonEmptyString.mjs +0 -49
- package/out/types/NonEmptyString.mjs.map +0 -1
- package/out/types/Operation.d.mjs +0 -1
- package/out/types/Operation.d.mjs.map +0 -1
- package/out/types/Operation.mjs +0 -49
- package/out/types/Operation.mjs.map +0 -1
- package/out/types/Option.d.mjs +0 -1
- package/out/types/Option.d.mjs.map +0 -1
- package/out/types/Option.mjs +0 -49
- package/out/types/Option.mjs.map +0 -1
- package/out/types/ParsedConfig.d.mjs +0 -1
- package/out/types/ParsedConfig.d.mjs.map +0 -1
- package/out/types/ParsedConfig.mjs +0 -49
- package/out/types/ParsedConfig.mjs.map +0 -1
- package/out/types/ParsedOperation.d.mjs +0 -1
- package/out/types/ParsedOperation.d.mjs.map +0 -1
- package/out/types/ParsedOperation.mjs +0 -49
- package/out/types/ParsedOperation.mjs.map +0 -1
- package/out/types/ParsedTemplate.d.mjs +0 -1
- package/out/types/ParsedTemplate.d.mjs.map +0 -1
- package/out/types/ParsedTemplate.mjs +0 -49
- package/out/types/ParsedTemplate.mjs.map +0 -1
- package/out/types/PersistedOperation.d.mjs +0 -1
- package/out/types/PersistedOperation.d.mjs.map +0 -1
- package/out/types/PersistedOperation.mjs +0 -49
- package/out/types/PersistedOperation.mjs.map +0 -1
- package/out/types/PersistedTask.d.mjs +0 -1
- package/out/types/PersistedTask.d.mjs.map +0 -1
- package/out/types/PersistedTask.mjs +0 -49
- package/out/types/PersistedTask.mjs.map +0 -1
- package/out/types/PersistentState.d.mjs +0 -1
- package/out/types/PersistentState.d.mjs.map +0 -1
- package/out/types/PersistentState.mjs +0 -49
- package/out/types/PersistentState.mjs.map +0 -1
- package/out/types/PluginActionName.d.mjs +0 -1
- package/out/types/PluginActionName.d.mjs.map +0 -1
- package/out/types/PluginActionName.mjs +0 -49
- package/out/types/PluginActionName.mjs.map +0 -1
- package/out/types/PluginDependenciesResponse.d.mjs +0 -1
- package/out/types/PluginDependenciesResponse.d.mjs.map +0 -1
- package/out/types/PluginDependenciesResponse.mjs +0 -49
- package/out/types/PluginDependenciesResponse.mjs.map +0 -1
- package/out/types/PluginInfo.d.mjs +0 -1
- package/out/types/PluginInfo.d.mjs.map +0 -1
- package/out/types/PluginInfo.mjs +0 -49
- package/out/types/PluginInfo.mjs.map +0 -1
- package/out/types/PluginJsonResponse.d.mjs +0 -1
- package/out/types/PluginJsonResponse.d.mjs.map +0 -1
- package/out/types/PluginJsonResponse.mjs +0 -49
- package/out/types/PluginJsonResponse.mjs.map +0 -1
- package/out/types/PluginProxyResponse.d.mjs +0 -1
- package/out/types/PluginProxyResponse.d.mjs.map +0 -1
- package/out/types/PluginProxyResponse.mjs +0 -49
- package/out/types/PluginProxyResponse.mjs.map +0 -1
- package/out/types/PluginResponseEncoding.d.mjs +0 -1
- package/out/types/PluginResponseEncoding.d.mjs.map +0 -1
- package/out/types/PluginResponseEncoding.mjs +0 -49
- package/out/types/PluginResponseEncoding.mjs.map +0 -1
- package/out/types/PluginSchema.d.mjs +0 -1
- package/out/types/PluginSchema.d.mjs.map +0 -1
- package/out/types/PluginSchema.mjs +0 -49
- package/out/types/PluginSchema.mjs.map +0 -1
- package/out/types/PositionalArg.d.mjs +0 -1
- package/out/types/PositionalArg.d.mjs.map +0 -1
- package/out/types/PositionalArg.mjs +0 -49
- package/out/types/PositionalArg.mjs.map +0 -1
- package/out/types/Provisioner.d.mjs +0 -1
- package/out/types/Provisioner.d.mjs.map +0 -1
- package/out/types/Provisioner.mjs +0 -49
- package/out/types/Provisioner.mjs.map +0 -1
- package/out/types/ProvisionerID.d.mjs +0 -1
- package/out/types/ProvisionerID.d.mjs.map +0 -1
- package/out/types/ProvisionerID.mjs +0 -49
- package/out/types/ProvisionerID.mjs.map +0 -1
- package/out/types/Provisions.d.mjs +0 -1
- package/out/types/Provisions.d.mjs.map +0 -1
- package/out/types/Provisions.mjs +0 -49
- package/out/types/Provisions.mjs.map +0 -1
- package/out/types/ProxyTaskArgs.d.mjs +0 -1
- package/out/types/ProxyTaskArgs.d.mjs.map +0 -1
- package/out/types/ProxyTaskArgs.mjs +0 -49
- package/out/types/ProxyTaskArgs.mjs.map +0 -1
- package/out/types/ProxyTemplateArgs.d.mjs +0 -1
- package/out/types/ProxyTemplateArgs.d.mjs.map +0 -1
- package/out/types/ProxyTemplateArgs.mjs +0 -49
- package/out/types/ProxyTemplateArgs.mjs.map +0 -1
- package/out/types/PublicKeyHash.d.mjs +0 -1
- package/out/types/PublicKeyHash.d.mjs.map +0 -1
- package/out/types/PublicKeyHash.mjs +0 -49
- package/out/types/PublicKeyHash.mjs.map +0 -1
- package/out/types/RequestArgs.d.mjs +0 -1
- package/out/types/RequestArgs.d.mjs.map +0 -1
- package/out/types/RequestArgs.mjs +0 -49
- package/out/types/RequestArgs.mjs.map +0 -1
- package/out/types/RuntimeDependency.d.mjs +0 -1
- package/out/types/RuntimeDependency.d.mjs.map +0 -1
- package/out/types/RuntimeDependency.mjs +0 -49
- package/out/types/RuntimeDependency.mjs.map +0 -1
- package/out/types/RuntimeDependencyReport.d.mjs +0 -1
- package/out/types/RuntimeDependencyReport.d.mjs.map +0 -1
- package/out/types/RuntimeDependencyReport.mjs +0 -49
- package/out/types/RuntimeDependencyReport.mjs.map +0 -1
- package/out/types/SHA256.d.mjs +0 -1
- package/out/types/SHA256.d.mjs.map +0 -1
- package/out/types/SHA256.mjs +0 -49
- package/out/types/SHA256.mjs.map +0 -1
- package/out/types/SandboxAccountConfig.d.mjs +0 -1
- package/out/types/SandboxAccountConfig.d.mjs.map +0 -1
- package/out/types/SandboxAccountConfig.mjs +0 -49
- package/out/types/SandboxAccountConfig.mjs.map +0 -1
- package/out/types/SandboxConfig.d.mjs +0 -1
- package/out/types/SandboxConfig.d.mjs.map +0 -1
- package/out/types/SandboxConfig.mjs +0 -49
- package/out/types/SandboxConfig.mjs.map +0 -1
- package/out/types/SanitizedAbsPath.d.mjs +0 -1
- package/out/types/SanitizedAbsPath.d.mjs.map +0 -1
- package/out/types/SanitizedAbsPath.mjs +0 -49
- package/out/types/SanitizedAbsPath.mjs.map +0 -1
- package/out/types/SanitizedArgs.d.mjs +0 -1
- package/out/types/SanitizedArgs.d.mjs.map +0 -1
- package/out/types/SanitizedArgs.mjs +0 -49
- package/out/types/SanitizedArgs.mjs.map +0 -1
- package/out/types/SanitizedPath.d.mjs +0 -1
- package/out/types/SanitizedPath.d.mjs.map +0 -1
- package/out/types/SanitizedPath.mjs +0 -49
- package/out/types/SanitizedPath.mjs.map +0 -1
- package/out/types/ScaffoldConfig.d.mjs +0 -1
- package/out/types/ScaffoldConfig.d.mjs.map +0 -1
- package/out/types/ScaffoldConfig.mjs +0 -49
- package/out/types/ScaffoldConfig.mjs.map +0 -1
- package/out/types/Settings.d.mjs +0 -1
- package/out/types/Settings.d.mjs.map +0 -1
- package/out/types/Settings.mjs +0 -49
- package/out/types/Settings.mjs.map +0 -1
- package/out/types/SingleChar.d.mjs +0 -1
- package/out/types/SingleChar.d.mjs.map +0 -1
- package/out/types/SingleChar.mjs +0 -49
- package/out/types/SingleChar.mjs.map +0 -1
- package/out/types/Task.d.mjs +0 -1
- package/out/types/Task.d.mjs.map +0 -1
- package/out/types/Task.mjs +0 -49
- package/out/types/Task.mjs.map +0 -1
- package/out/types/Template.d.mjs +0 -1
- package/out/types/Template.d.mjs.map +0 -1
- package/out/types/Template.mjs +0 -49
- package/out/types/Template.mjs.map +0 -1
- package/out/types/Timestamp.d.mjs +0 -1
- package/out/types/Timestamp.d.mjs.map +0 -1
- package/out/types/Timestamp.mjs +0 -49
- package/out/types/Timestamp.mjs.map +0 -1
- package/out/types/Tz.d.mjs +0 -1
- package/out/types/Tz.d.mjs.map +0 -1
- package/out/types/Tz.mjs +0 -49
- package/out/types/Tz.mjs.map +0 -1
- package/out/types/TzKtConfig.d.mjs +0 -1
- package/out/types/TzKtConfig.d.mjs.map +0 -1
- package/out/types/TzKtConfig.mjs +0 -49
- package/out/types/TzKtConfig.mjs.map +0 -1
- package/out/types/Url.d.mjs +0 -1
- package/out/types/Url.d.mjs.map +0 -1
- package/out/types/Url.mjs +0 -49
- package/out/types/Url.mjs.map +0 -1
- package/out/types/Verb.d.mjs +0 -1
- package/out/types/Verb.d.mjs.map +0 -1
- package/out/types/Verb.mjs +0 -49
- package/out/types/Verb.mjs.map +0 -1
- package/out/types/VersionNumber.d.mjs +0 -1
- package/out/types/VersionNumber.d.mjs.map +0 -1
- package/out/types/VersionNumber.mjs +0 -49
- package/out/types/VersionNumber.mjs.map +0 -1
- package/out/types-strict.d.mjs +0 -1
- package/out/types-strict.d.mjs.map +0 -1
- package/out/types-strict.mjs +0 -1
- package/out/types-strict.mjs.map +0 -1
- package/out/types-zod.d.mjs +0 -1
- package/out/types-zod.d.mjs.map +0 -1
- package/out/types-zod.mjs +0 -366
- package/out/types-zod.mjs.map +0 -1
- package/taqueria-protocol-types.mjs +0 -76
- package/taqueria-protocol-types.mjs.map +0 -1
- package/types.mjs +0 -1
- package/types.mjs.map +0 -1
- package/tzkt-config.mjs +0 -28
- package/tzkt-config.mjs.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ConfigFileV2.d.ts","sourceRoot":"","sources":["ConfigFileV2.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,QAAQ,EAA4E,MAAM,6BAA6B,CAAC;AACjI,OAAO,EAAE,cAAc,EAAmB,MAAM,SAAS,CAAC;AAE1D,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AACxD,OAAO,EAAE,YAAY,IAAI,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AAGzF,YAAY,EAAE,kBAAkB,IAAI,YAAY,EAAE,CAAC;AAEnD,eAAO,MAAM,IAAI,UAAW,OAAO,KAAG,kBAoBrC,CAAC;AAEF,eAAO,MAAM,MAAM,UAAW,YAAY,KAAG,kBAAiC,CAAC;AAE/E,eAAO,MAAM,EAAE,UAAW,OAAO,KAAG,eAAe,QAAQ,EAAE,kBAAkB,CAO9E,CAAC;AAEF,eAAO,MAAM,IAAI,UAAW,KAAK,kBAAkB,EAAE,QAAQ,CAAC,KAAG,eAAe,QAAQ,EAAE,kBAAkB,CAAc,CAAC;AAG3H,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGnB,CAAC;AACF,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAoB,CAAC;AAC3C,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAqB,CAAC;AAEjD,MAAM,MAAM,CAAC,GAAG,kBAAkB,CAAC"}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from2, except, desc) => {
|
|
11
|
+
if (from2 && typeof from2 === "object" || typeof from2 === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from2))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from2[key], enumerable: !(desc = __getOwnPropDesc(from2, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
|
|
20
|
+
// out/types/ConfigFileV2.ts
|
|
21
|
+
var ConfigFileV2_exports = {};
|
|
22
|
+
__export(ConfigFileV2_exports, {
|
|
23
|
+
create: () => create,
|
|
24
|
+
from: () => from,
|
|
25
|
+
internalSchema: () => internalSchema,
|
|
26
|
+
make: () => make,
|
|
27
|
+
of: () => of,
|
|
28
|
+
rawSchema: () => rawSchema,
|
|
29
|
+
schemas: () => schemas
|
|
30
|
+
});
|
|
31
|
+
module.exports = __toCommonJS(ConfigFileV2_exports);
|
|
32
|
+
var import_TaqError = require("@taqueria/protocol/TaqError");
|
|
33
|
+
var import_fluture = require("fluture");
|
|
34
|
+
var import_zod = require("zod");
|
|
35
|
+
var import_types_zod = require("@taqueria/protocol/out/types-zod");
|
|
36
|
+
var from = (input) => {
|
|
37
|
+
try {
|
|
38
|
+
return import_types_zod.configFileV2Schema.parse(input);
|
|
39
|
+
} catch (previous) {
|
|
40
|
+
if (previous instanceof import_zod.ZodError) {
|
|
41
|
+
const msgs = previous.errors.reduce(
|
|
42
|
+
(retval, issue) => {
|
|
43
|
+
const path = issue.path.join(" \u2192 ");
|
|
44
|
+
const msg = path + ": " + issue.message;
|
|
45
|
+
return [...retval, msg];
|
|
46
|
+
},
|
|
47
|
+
["ConfigFileV2 is invalid:"]
|
|
48
|
+
);
|
|
49
|
+
const validationErr = msgs.join("\n") + "\n";
|
|
50
|
+
throw (0, import_TaqError.toParseErr)(previous, validationErr);
|
|
51
|
+
}
|
|
52
|
+
throw (0, import_TaqError.toParseUnknownErr)(previous, "There was a problem trying to parse a ConfigFileV2.");
|
|
53
|
+
}
|
|
54
|
+
};
|
|
55
|
+
var create = (input) => from(input);
|
|
56
|
+
var of = (input) => {
|
|
57
|
+
try {
|
|
58
|
+
return (0, import_fluture.resolve)(from(input));
|
|
59
|
+
} catch (err) {
|
|
60
|
+
return (0, import_fluture.reject)(err);
|
|
61
|
+
}
|
|
62
|
+
};
|
|
63
|
+
var make = (input) => of(input);
|
|
64
|
+
var schemas = {
|
|
65
|
+
rawSchema: import_types_zod.configFileV2Schema,
|
|
66
|
+
schema: import_types_zod.configFileV2Schema.transform((val) => val)
|
|
67
|
+
};
|
|
68
|
+
var rawSchema = schemas.rawSchema;
|
|
69
|
+
var internalSchema = import_types_zod.configFileV2Schema;
|
|
70
|
+
//# sourceMappingURL=ConfigFileV2.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["ConfigFileV2.ts"],"sourcesContent":["// Generated file: Do not edit \n// generated from @taqueria-protocol-types\n \nimport { TaqError, toFutureParseErr, toFutureParseUnknownErr, toParseErr, toParseUnknownErr } from '@taqueria/protocol/TaqError';\nimport { FutureInstance, resolve, reject } from 'fluture';\nimport { ZodError } from 'zod';\nimport { ConfigFileV2 } from '@taqueria/protocol/types';\nimport { ConfigFileV2 as ConfigFileV2Strict } from '@taqueria/protocol/out/types-strict';\nimport { configFileV2Schema } from '@taqueria/protocol/out/types-zod';\n\nexport type { ConfigFileV2Strict as ConfigFileV2 };\n\nexport const from = (input: unknown): ConfigFileV2Strict => {\n\ttry {\n\t\treturn configFileV2Schema.parse(input) as ConfigFileV2Strict;\n\t}\n\tcatch (previous: unknown) {\n\t\tif (previous instanceof ZodError) {\n\t\t\tconst msgs: string[] = previous.errors.reduce(\n\t\t\t\t(retval, issue) => {\n\t\t\t\t\tconst path = issue.path.join(' → ');\n\t\t\t\t\tconst msg = path + ': ' + issue.message;\n\t\t\t\t\treturn [...retval, msg];\n\t\t\t\t},\n\t\t\t\t[\"ConfigFileV2 is invalid:\"],\n\t\t\t);\n\t\t\tconst validationErr = msgs.join('\\n') + '\\n';\n\t\t\tthrow toParseErr(previous, validationErr);\n\t\t}\n\t\tthrow toParseUnknownErr(previous, \"There was a problem trying to parse a ConfigFileV2.\")\n\t}\n \n};\n\nexport const create = (input: ConfigFileV2): ConfigFileV2Strict => from(input);\n\nexport const of = (input: unknown): FutureInstance<TaqError, ConfigFileV2Strict> => {\n\ttry {\n\t\treturn resolve(from(input))\n\t}\n\tcatch (err){\n\t\treturn reject(err) as FutureInstance<TaqError, never>\n\t}\n};\n\nexport const make = (input: Omit<ConfigFileV2Strict, '__type'>): FutureInstance<TaqError, ConfigFileV2Strict> => of(input);\n\n// TEMP: for interoperation with old protocol types during transition\nexport const schemas = {\n\trawSchema: configFileV2Schema,\n\tschema: configFileV2Schema.transform(val => val as ConfigFileV2Strict),\n};\nexport const rawSchema = schemas.rawSchema;\nexport const internalSchema = configFileV2Schema;\n\nexport type t = ConfigFileV2Strict;\n "],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAGA,sBAAmG;AACnG,qBAAgD;AAChD,iBAAyB;AAGzB,uBAAmC;AAI5B,IAAM,OAAO,CAAC,UAAuC;AAC3D,MAAI;AACH,WAAO,oCAAmB,MAAM,KAAK;AAAA,EACtC,SACO,UAAP;AACC,QAAI,oBAAoB,qBAAU;AACjC,YAAM,OAAiB,SAAS,OAAO;AAAA,QACtC,CAAC,QAAQ,UAAU;AAClB,gBAAM,OAAO,MAAM,KAAK,KAAK,UAAK;AAClC,gBAAM,MAAM,OAAO,OAAO,MAAM;AAChC,iBAAO,CAAC,GAAG,QAAQ,GAAG;AAAA,QACvB;AAAA,QACA,CAAC,0BAA0B;AAAA,MAC5B;AACA,YAAM,gBAAgB,KAAK,KAAK,IAAI,IAAI;AACxC,gBAAM,4BAAW,UAAU,aAAa;AAAA,IACzC;AACA,cAAM,mCAAkB,UAAU,qDAAqD;AAAA,EACxF;AAED;AAEO,IAAM,SAAS,CAAC,UAA4C,KAAK,KAAK;AAEtE,IAAM,KAAK,CAAC,UAAiE;AACnF,MAAI;AACH,eAAO,wBAAQ,KAAK,KAAK,CAAC;AAAA,EAC3B,SACO,KAAP;AACC,eAAO,uBAAO,GAAG;AAAA,EAClB;AACD;AAEO,IAAM,OAAO,CAAC,UAA4F,GAAG,KAAK;AAGlH,IAAM,UAAU;AAAA,EACtB,WAAW;AAAA,EACX,QAAQ,oCAAmB,UAAU,SAAO,GAAyB;AACtE;AACO,IAAM,YAAY,QAAQ;AAC1B,IAAM,iBAAiB;","names":[]}
|
package/out/types/Contract.js
CHANGED
|
@@ -67,14 +67,4 @@ var schemas = {
|
|
|
67
67
|
};
|
|
68
68
|
var rawSchema = schemas.rawSchema;
|
|
69
69
|
var internalSchema = import_types_zod.contractSchema;
|
|
70
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
71
|
-
0 && (module.exports = {
|
|
72
|
-
create,
|
|
73
|
-
from,
|
|
74
|
-
internalSchema,
|
|
75
|
-
make,
|
|
76
|
-
of,
|
|
77
|
-
rawSchema,
|
|
78
|
-
schemas
|
|
79
|
-
});
|
|
80
70
|
//# sourceMappingURL=Contract.js.map
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __copyProps = (to, from, except, desc) => {
|
|
7
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
8
|
+
for (let key of __getOwnPropNames(from))
|
|
9
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
10
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
11
|
+
}
|
|
12
|
+
return to;
|
|
13
|
+
};
|
|
14
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
15
|
+
|
|
16
|
+
// out/types/CurrencyAmountV2.d.ts
|
|
17
|
+
var CurrencyAmountV2_d_exports = {};
|
|
18
|
+
module.exports = __toCommonJS(CurrencyAmountV2_d_exports);
|
|
19
|
+
//# sourceMappingURL=CurrencyAmountV2.d.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["CurrencyAmountV2.ts"],"sourcesContent":["// Generated file: Do not edit \n// generated from @taqueria-protocol-types\n \nimport { TaqError, toFutureParseErr, toFutureParseUnknownErr, toParseErr, toParseUnknownErr } from '@taqueria/protocol/TaqError';\nimport { FutureInstance, resolve, reject } from 'fluture';\nimport { ZodError } from 'zod';\nimport { CurrencyAmountV2 } from '@taqueria/protocol/types';\nimport { CurrencyAmountV2 as CurrencyAmountV2Strict } from '@taqueria/protocol/out/types-strict';\nimport { currencyAmountV2Schema } from '@taqueria/protocol/out/types-zod';\n\nexport type { CurrencyAmountV2Strict as CurrencyAmountV2 };\n\nexport const from = (input: unknown): CurrencyAmountV2Strict => {\n\ttry {\n\t\treturn currencyAmountV2Schema.parse(input) as CurrencyAmountV2Strict;\n\t}\n\tcatch (previous: unknown) {\n\t\tif (previous instanceof ZodError) {\n\t\t\tconst msgs: string[] = previous.errors.reduce(\n\t\t\t\t(retval, issue) => {\n\t\t\t\t\tconst path = issue.path.join(' → ');\n\t\t\t\t\tconst msg = path + ': ' + issue.message;\n\t\t\t\t\treturn [...retval, msg];\n\t\t\t\t},\n\t\t\t\t[\"CurrencyAmountV2 is invalid:\"],\n\t\t\t);\n\t\t\tconst validationErr = msgs.join('\\n') + '\\n';\n\t\t\tthrow toParseErr(previous, validationErr);\n\t\t}\n\t\tthrow toParseUnknownErr(previous, \"There was a problem trying to parse a CurrencyAmountV2.\")\n\t}\n \n};\n\nexport const create = (input: CurrencyAmountV2): CurrencyAmountV2Strict => from(input);\n\nexport const of = (input: unknown): FutureInstance<TaqError, CurrencyAmountV2Strict> => {\n\ttry {\n\t\treturn resolve(from(input))\n\t}\n\tcatch (err){\n\t\treturn reject(err) as FutureInstance<TaqError, never>\n\t}\n};\n\nexport const make = (input: Omit<CurrencyAmountV2Strict, '__type'>): FutureInstance<TaqError, CurrencyAmountV2Strict> => of(input);\n\n// TEMP: for interoperation with old protocol types during transition\nexport const schemas = {\n\trawSchema: currencyAmountV2Schema,\n\tschema: currencyAmountV2Schema.transform(val => val as CurrencyAmountV2Strict),\n};\nexport const rawSchema = schemas.rawSchema;\nexport const internalSchema = currencyAmountV2Schema;\n\nexport type t = CurrencyAmountV2Strict;\n "],"mappings":";;;;;;;;;;;;;;;;AAGA;;","names":[]}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { TaqError } from '@taqueria/protocol/TaqError';
|
|
2
|
+
import { FutureInstance } from 'fluture';
|
|
3
|
+
import { CurrencyAmountV2 } from '@taqueria/protocol/types';
|
|
4
|
+
import { CurrencyAmountV2 as CurrencyAmountV2Strict } from '@taqueria/protocol/out/types-strict';
|
|
5
|
+
export type { CurrencyAmountV2Strict as CurrencyAmountV2 };
|
|
6
|
+
export declare const from: (input: unknown) => CurrencyAmountV2Strict;
|
|
7
|
+
export declare const create: (input: CurrencyAmountV2) => CurrencyAmountV2Strict;
|
|
8
|
+
export declare const of: (input: unknown) => FutureInstance<TaqError, CurrencyAmountV2Strict>;
|
|
9
|
+
export declare const make: (input: Omit<CurrencyAmountV2Strict, '__type'>) => FutureInstance<TaqError, CurrencyAmountV2Strict>;
|
|
10
|
+
export declare const schemas: {
|
|
11
|
+
rawSchema: import("zod").ZodObject<{
|
|
12
|
+
amount: import("zod").ZodString;
|
|
13
|
+
units: import("zod").ZodString;
|
|
14
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
15
|
+
amount: string;
|
|
16
|
+
units: string;
|
|
17
|
+
}, {
|
|
18
|
+
amount: string;
|
|
19
|
+
units: string;
|
|
20
|
+
}>;
|
|
21
|
+
schema: import("zod").ZodEffects<import("zod").ZodObject<{
|
|
22
|
+
amount: import("zod").ZodString;
|
|
23
|
+
units: import("zod").ZodString;
|
|
24
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
25
|
+
amount: string;
|
|
26
|
+
units: string;
|
|
27
|
+
}, {
|
|
28
|
+
amount: string;
|
|
29
|
+
units: string;
|
|
30
|
+
}>, CurrencyAmountV2Strict, {
|
|
31
|
+
amount: string;
|
|
32
|
+
units: string;
|
|
33
|
+
}>;
|
|
34
|
+
};
|
|
35
|
+
export declare const rawSchema: import("zod").ZodObject<{
|
|
36
|
+
amount: import("zod").ZodString;
|
|
37
|
+
units: import("zod").ZodString;
|
|
38
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
39
|
+
amount: string;
|
|
40
|
+
units: string;
|
|
41
|
+
}, {
|
|
42
|
+
amount: string;
|
|
43
|
+
units: string;
|
|
44
|
+
}>;
|
|
45
|
+
export declare const internalSchema: import("zod").ZodObject<{
|
|
46
|
+
amount: import("zod").ZodString;
|
|
47
|
+
units: import("zod").ZodString;
|
|
48
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
49
|
+
amount: string;
|
|
50
|
+
units: string;
|
|
51
|
+
}, {
|
|
52
|
+
amount: string;
|
|
53
|
+
units: string;
|
|
54
|
+
}>;
|
|
55
|
+
export type t = CurrencyAmountV2Strict;
|
|
56
|
+
//# sourceMappingURL=CurrencyAmountV2.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CurrencyAmountV2.d.ts","sourceRoot":"","sources":["CurrencyAmountV2.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,QAAQ,EAA4E,MAAM,6BAA6B,CAAC;AACjI,OAAO,EAAE,cAAc,EAAmB,MAAM,SAAS,CAAC;AAE1D,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAC5D,OAAO,EAAE,gBAAgB,IAAI,sBAAsB,EAAE,MAAM,qCAAqC,CAAC;AAGjG,YAAY,EAAE,sBAAsB,IAAI,gBAAgB,EAAE,CAAC;AAE3D,eAAO,MAAM,IAAI,UAAW,OAAO,KAAG,sBAoBrC,CAAC;AAEF,eAAO,MAAM,MAAM,UAAW,gBAAgB,KAAG,sBAAqC,CAAC;AAEvF,eAAO,MAAM,EAAE,UAAW,OAAO,KAAG,eAAe,QAAQ,EAAE,sBAAsB,CAOlF,CAAC;AAEF,eAAO,MAAM,IAAI,UAAW,KAAK,sBAAsB,EAAE,QAAQ,CAAC,KAAG,eAAe,QAAQ,EAAE,sBAAsB,CAAc,CAAC;AAGnI,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;CAGnB,CAAC;AACF,eAAO,MAAM,SAAS;;;;;;;;;EAAoB,CAAC;AAC3C,eAAO,MAAM,cAAc;;;;;;;;;EAAyB,CAAC;AAErD,MAAM,MAAM,CAAC,GAAG,sBAAsB,CAAC"}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from2, except, desc) => {
|
|
11
|
+
if (from2 && typeof from2 === "object" || typeof from2 === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from2))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from2[key], enumerable: !(desc = __getOwnPropDesc(from2, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
|
|
20
|
+
// out/types/CurrencyAmountV2.ts
|
|
21
|
+
var CurrencyAmountV2_exports = {};
|
|
22
|
+
__export(CurrencyAmountV2_exports, {
|
|
23
|
+
create: () => create,
|
|
24
|
+
from: () => from,
|
|
25
|
+
internalSchema: () => internalSchema,
|
|
26
|
+
make: () => make,
|
|
27
|
+
of: () => of,
|
|
28
|
+
rawSchema: () => rawSchema,
|
|
29
|
+
schemas: () => schemas
|
|
30
|
+
});
|
|
31
|
+
module.exports = __toCommonJS(CurrencyAmountV2_exports);
|
|
32
|
+
var import_TaqError = require("@taqueria/protocol/TaqError");
|
|
33
|
+
var import_fluture = require("fluture");
|
|
34
|
+
var import_zod = require("zod");
|
|
35
|
+
var import_types_zod = require("@taqueria/protocol/out/types-zod");
|
|
36
|
+
var from = (input) => {
|
|
37
|
+
try {
|
|
38
|
+
return import_types_zod.currencyAmountV2Schema.parse(input);
|
|
39
|
+
} catch (previous) {
|
|
40
|
+
if (previous instanceof import_zod.ZodError) {
|
|
41
|
+
const msgs = previous.errors.reduce(
|
|
42
|
+
(retval, issue) => {
|
|
43
|
+
const path = issue.path.join(" \u2192 ");
|
|
44
|
+
const msg = path + ": " + issue.message;
|
|
45
|
+
return [...retval, msg];
|
|
46
|
+
},
|
|
47
|
+
["CurrencyAmountV2 is invalid:"]
|
|
48
|
+
);
|
|
49
|
+
const validationErr = msgs.join("\n") + "\n";
|
|
50
|
+
throw (0, import_TaqError.toParseErr)(previous, validationErr);
|
|
51
|
+
}
|
|
52
|
+
throw (0, import_TaqError.toParseUnknownErr)(previous, "There was a problem trying to parse a CurrencyAmountV2.");
|
|
53
|
+
}
|
|
54
|
+
};
|
|
55
|
+
var create = (input) => from(input);
|
|
56
|
+
var of = (input) => {
|
|
57
|
+
try {
|
|
58
|
+
return (0, import_fluture.resolve)(from(input));
|
|
59
|
+
} catch (err) {
|
|
60
|
+
return (0, import_fluture.reject)(err);
|
|
61
|
+
}
|
|
62
|
+
};
|
|
63
|
+
var make = (input) => of(input);
|
|
64
|
+
var schemas = {
|
|
65
|
+
rawSchema: import_types_zod.currencyAmountV2Schema,
|
|
66
|
+
schema: import_types_zod.currencyAmountV2Schema.transform((val) => val)
|
|
67
|
+
};
|
|
68
|
+
var rawSchema = schemas.rawSchema;
|
|
69
|
+
var internalSchema = import_types_zod.currencyAmountV2Schema;
|
|
70
|
+
//# sourceMappingURL=CurrencyAmountV2.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["CurrencyAmountV2.ts"],"sourcesContent":["// Generated file: Do not edit \n// generated from @taqueria-protocol-types\n \nimport { TaqError, toFutureParseErr, toFutureParseUnknownErr, toParseErr, toParseUnknownErr } from '@taqueria/protocol/TaqError';\nimport { FutureInstance, resolve, reject } from 'fluture';\nimport { ZodError } from 'zod';\nimport { CurrencyAmountV2 } from '@taqueria/protocol/types';\nimport { CurrencyAmountV2 as CurrencyAmountV2Strict } from '@taqueria/protocol/out/types-strict';\nimport { currencyAmountV2Schema } from '@taqueria/protocol/out/types-zod';\n\nexport type { CurrencyAmountV2Strict as CurrencyAmountV2 };\n\nexport const from = (input: unknown): CurrencyAmountV2Strict => {\n\ttry {\n\t\treturn currencyAmountV2Schema.parse(input) as CurrencyAmountV2Strict;\n\t}\n\tcatch (previous: unknown) {\n\t\tif (previous instanceof ZodError) {\n\t\t\tconst msgs: string[] = previous.errors.reduce(\n\t\t\t\t(retval, issue) => {\n\t\t\t\t\tconst path = issue.path.join(' → ');\n\t\t\t\t\tconst msg = path + ': ' + issue.message;\n\t\t\t\t\treturn [...retval, msg];\n\t\t\t\t},\n\t\t\t\t[\"CurrencyAmountV2 is invalid:\"],\n\t\t\t);\n\t\t\tconst validationErr = msgs.join('\\n') + '\\n';\n\t\t\tthrow toParseErr(previous, validationErr);\n\t\t}\n\t\tthrow toParseUnknownErr(previous, \"There was a problem trying to parse a CurrencyAmountV2.\")\n\t}\n \n};\n\nexport const create = (input: CurrencyAmountV2): CurrencyAmountV2Strict => from(input);\n\nexport const of = (input: unknown): FutureInstance<TaqError, CurrencyAmountV2Strict> => {\n\ttry {\n\t\treturn resolve(from(input))\n\t}\n\tcatch (err){\n\t\treturn reject(err) as FutureInstance<TaqError, never>\n\t}\n};\n\nexport const make = (input: Omit<CurrencyAmountV2Strict, '__type'>): FutureInstance<TaqError, CurrencyAmountV2Strict> => of(input);\n\n// TEMP: for interoperation with old protocol types during transition\nexport const schemas = {\n\trawSchema: currencyAmountV2Schema,\n\tschema: currencyAmountV2Schema.transform(val => val as CurrencyAmountV2Strict),\n};\nexport const rawSchema = schemas.rawSchema;\nexport const internalSchema = currencyAmountV2Schema;\n\nexport type t = CurrencyAmountV2Strict;\n "],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAGA,sBAAmG;AACnG,qBAAgD;AAChD,iBAAyB;AAGzB,uBAAuC;AAIhC,IAAM,OAAO,CAAC,UAA2C;AAC/D,MAAI;AACH,WAAO,wCAAuB,MAAM,KAAK;AAAA,EAC1C,SACO,UAAP;AACC,QAAI,oBAAoB,qBAAU;AACjC,YAAM,OAAiB,SAAS,OAAO;AAAA,QACtC,CAAC,QAAQ,UAAU;AAClB,gBAAM,OAAO,MAAM,KAAK,KAAK,UAAK;AAClC,gBAAM,MAAM,OAAO,OAAO,MAAM;AAChC,iBAAO,CAAC,GAAG,QAAQ,GAAG;AAAA,QACvB;AAAA,QACA,CAAC,8BAA8B;AAAA,MAChC;AACA,YAAM,gBAAgB,KAAK,KAAK,IAAI,IAAI;AACxC,gBAAM,4BAAW,UAAU,aAAa;AAAA,IACzC;AACA,cAAM,mCAAkB,UAAU,yDAAyD;AAAA,EAC5F;AAED;AAEO,IAAM,SAAS,CAAC,UAAoD,KAAK,KAAK;AAE9E,IAAM,KAAK,CAAC,UAAqE;AACvF,MAAI;AACH,eAAO,wBAAQ,KAAK,KAAK,CAAC;AAAA,EAC3B,SACO,KAAP;AACC,eAAO,uBAAO,GAAG;AAAA,EAClB;AACD;AAEO,IAAM,OAAO,CAAC,UAAoG,GAAG,KAAK;AAG1H,IAAM,UAAU;AAAA,EACtB,WAAW;AAAA,EACX,QAAQ,wCAAuB,UAAU,SAAO,GAA6B;AAC9E;AACO,IAAM,YAAY,QAAQ;AAC1B,IAAM,iBAAiB;","names":[]}
|
|
@@ -67,14 +67,4 @@ var schemas = {
|
|
|
67
67
|
};
|
|
68
68
|
var rawSchema = schemas.rawSchema;
|
|
69
69
|
var internalSchema = import_types_zod.economicalProtocolHashSchema;
|
|
70
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
71
|
-
0 && (module.exports = {
|
|
72
|
-
create,
|
|
73
|
-
from,
|
|
74
|
-
internalSchema,
|
|
75
|
-
make,
|
|
76
|
-
of,
|
|
77
|
-
rawSchema,
|
|
78
|
-
schemas
|
|
79
|
-
});
|
|
80
70
|
//# sourceMappingURL=EconomicalProtocolHash.js.map
|
package/out/types/Environment.js
CHANGED
|
@@ -67,14 +67,4 @@ var schemas = {
|
|
|
67
67
|
};
|
|
68
68
|
var rawSchema = schemas.rawSchema;
|
|
69
69
|
var internalSchema = import_types_zod.environmentSchema;
|
|
70
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
71
|
-
0 && (module.exports = {
|
|
72
|
-
create,
|
|
73
|
-
from,
|
|
74
|
-
internalSchema,
|
|
75
|
-
make,
|
|
76
|
-
of,
|
|
77
|
-
rawSchema,
|
|
78
|
-
schemas
|
|
79
|
-
});
|
|
80
70
|
//# sourceMappingURL=Environment.js.map
|