@taqueria/protocol 0.27.2-alpha → 0.27.3-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
package/Base.js
CHANGED
|
@@ -29,10 +29,11 @@ var import_TaqError = require("@taqueria/protocol/TaqError");
|
|
|
29
29
|
var import_fluture = require("fluture");
|
|
30
30
|
var import_zod = require("zod");
|
|
31
31
|
var createSchema = (params) => {
|
|
32
|
+
var _a, _b;
|
|
32
33
|
const { rawSchema, isStringLike } = params;
|
|
33
|
-
const internalSchema = params.internalSchema
|
|
34
|
+
const internalSchema = (_a = params.internalSchema) != null ? _a : params.rawSchema;
|
|
34
35
|
const noop = (val) => val;
|
|
35
|
-
const transformer = params.transformer
|
|
36
|
+
const transformer = (_b = params.transformer) != null ? _b : noop;
|
|
36
37
|
const schema = isStringLike ? internalSchema.transform(
|
|
37
38
|
(val) => transformer(val)
|
|
38
39
|
) : internalSchema.transform(
|
|
@@ -75,9 +76,4 @@ var createType = (params) => {
|
|
|
75
76
|
};
|
|
76
77
|
};
|
|
77
78
|
var Base_default = createType;
|
|
78
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
79
|
-
0 && (module.exports = {
|
|
80
|
-
createSchema,
|
|
81
|
-
createType
|
|
82
|
-
});
|
|
83
79
|
//# sourceMappingURL=Base.js.map
|
package/Base.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["Base.ts"],"sourcesContent":["import { toFutureParseErr, toFutureParseUnknownErr } from '@taqueria/protocol/TaqError';\nimport { FutureInstance, resolve } from 'fluture';\nimport { z, ZodError, ZodSchema } from 'zod';\n\ntype Future<L, R> = FutureInstance<L, R>;\n\ntype ErrMsg = string | ((value: unknown, previous?: unknown) => string);\n\ninterface CreateSchemaParams {\n\trawSchema: ZodSchema;\n\tinternalSchema?: ZodSchema;\n\ttransformer?: (value: unknown) => unknown;\n\tisStringLike?: boolean;\n}\n\ninterface CreateTypeParams extends CreateSchemaParams {\n\tparseErrMsg: ErrMsg;\n\tunknownErrMsg: ErrMsg;\n}\nexport type Flatten<T> = { [k in keyof T]: T[k] };\n\nexport const createSchema = <I>(params: CreateSchemaParams) => {\n\tconst { rawSchema, isStringLike } = params;\n\tconst internalSchema = params.internalSchema ?? params.rawSchema;\n\tconst noop = (val: unknown) => val;\n\tconst transformer = params.transformer ?? noop;\n\n\tconst schema = isStringLike\n\t\t? internalSchema\n\t\t\t.transform((val: unknown) =>\n\t\t\t\ttransformer(val) as I & {\n\t\t\t\t\treadonly __type: 'generated' & z.infer<typeof internalSchema>;\n\t\t\t\t}\n\t\t\t)\n\t\t: internalSchema\n\t\t\t.transform((val: unknown) =>\n\t\t\t\ttransformer(val) as Flatten<\n\t\t\t\t\tI & {\n\t\t\t\t\t\treadonly __type: 'generated' & z.infer<typeof internalSchema>;\n\t\t\t\t\t}\n\t\t\t\t>\n\t\t\t);\n\n\ttype GeneratedSchema = typeof schema;\n\n\treturn {\n\t\trawSchema,\n\t\tinternalSchema,\n\t\tschema,\n\t};\n};\n\n// TODO:\n// TypeScript appears to have a bug with default generic values\n// For instance, I'd like to use this:\n// export const createType = <R, I = R>(params: CreateTypeParams) => {\n//\n// However, I == unknown when having I default to R if no I was given.\n// So, we need to require R and I explicitly\nexport const createType = <R, I>(params: CreateTypeParams) => {\n\tconst schemas = createSchema<I>(params);\n\tconst { parseErrMsg, unknownErrMsg } = params;\n\n\ttype T = z.infer<typeof schemas.schema>;\n\n\tconst internalOf = (input: unknown) => {\n\t\ttry {\n\t\t\treturn resolve<T>(schemas.schema.parse(input));\n\t\t} catch (previous) {\n\t\t\tconst parseMsg = typeof parseErrMsg === 'string'\n\t\t\t\t? parseErrMsg\n\t\t\t\t: parseErrMsg(input, previous);\n\n\t\t\tconst unknownMsg = typeof unknownErrMsg === 'string'\n\t\t\t\t? unknownErrMsg\n\t\t\t\t: unknownErrMsg(input);\n\n\t\t\tif (previous instanceof ZodError) {\n\t\t\t\treturn toFutureParseErr<T>(previous, parseMsg, input);\n\t\t\t}\n\t\t\treturn toFutureParseUnknownErr<T>(previous, unknownMsg, input);\n\t\t}\n\t};\n\tconst of = internalOf;\n\n\tconst make = (input: I) => internalOf(input);\n\n\tconst create = (input: R | I) => schemas.schema.parse(input) as T;\n\n\tconst from = (input: unknown) => schemas.schema.parse(input) as T;\n\n\tconst factory = {\n\t\tmake,\n\t\tof,\n\t\tcreate,\n\t\tfrom,\n\t};\n\n\treturn {\n\t\tschemas,\n\t\tfactory,\n\t};\n};\n\nexport default createType;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,sBAA0D;AAC1D,qBAAwC;AACxC,iBAAuC;AAmBhC,IAAM,eAAe,CAAI,WAA+B;
|
|
1
|
+
{"version":3,"sources":["Base.ts"],"sourcesContent":["import { toFutureParseErr, toFutureParseUnknownErr } from '@taqueria/protocol/TaqError';\nimport { FutureInstance, resolve } from 'fluture';\nimport { z, ZodError, ZodSchema } from 'zod';\n\ntype Future<L, R> = FutureInstance<L, R>;\n\ntype ErrMsg = string | ((value: unknown, previous?: unknown) => string);\n\ninterface CreateSchemaParams {\n\trawSchema: ZodSchema;\n\tinternalSchema?: ZodSchema;\n\ttransformer?: (value: unknown) => unknown;\n\tisStringLike?: boolean;\n}\n\ninterface CreateTypeParams extends CreateSchemaParams {\n\tparseErrMsg: ErrMsg;\n\tunknownErrMsg: ErrMsg;\n}\nexport type Flatten<T> = { [k in keyof T]: T[k] };\n\nexport const createSchema = <I>(params: CreateSchemaParams) => {\n\tconst { rawSchema, isStringLike } = params;\n\tconst internalSchema = params.internalSchema ?? params.rawSchema;\n\tconst noop = (val: unknown) => val;\n\tconst transformer = params.transformer ?? noop;\n\n\tconst schema = isStringLike\n\t\t? internalSchema\n\t\t\t.transform((val: unknown) =>\n\t\t\t\ttransformer(val) as I & {\n\t\t\t\t\treadonly __type: 'generated' & z.infer<typeof internalSchema>;\n\t\t\t\t}\n\t\t\t)\n\t\t: internalSchema\n\t\t\t.transform((val: unknown) =>\n\t\t\t\ttransformer(val) as Flatten<\n\t\t\t\t\tI & {\n\t\t\t\t\t\treadonly __type: 'generated' & z.infer<typeof internalSchema>;\n\t\t\t\t\t}\n\t\t\t\t>\n\t\t\t);\n\n\ttype GeneratedSchema = typeof schema;\n\n\treturn {\n\t\trawSchema,\n\t\tinternalSchema,\n\t\tschema,\n\t};\n};\n\n// TODO:\n// TypeScript appears to have a bug with default generic values\n// For instance, I'd like to use this:\n// export const createType = <R, I = R>(params: CreateTypeParams) => {\n//\n// However, I == unknown when having I default to R if no I was given.\n// So, we need to require R and I explicitly\nexport const createType = <R, I>(params: CreateTypeParams) => {\n\tconst schemas = createSchema<I>(params);\n\tconst { parseErrMsg, unknownErrMsg } = params;\n\n\ttype T = z.infer<typeof schemas.schema>;\n\n\tconst internalOf = (input: unknown) => {\n\t\ttry {\n\t\t\treturn resolve<T>(schemas.schema.parse(input));\n\t\t} catch (previous) {\n\t\t\tconst parseMsg = typeof parseErrMsg === 'string'\n\t\t\t\t? parseErrMsg\n\t\t\t\t: parseErrMsg(input, previous);\n\n\t\t\tconst unknownMsg = typeof unknownErrMsg === 'string'\n\t\t\t\t? unknownErrMsg\n\t\t\t\t: unknownErrMsg(input);\n\n\t\t\tif (previous instanceof ZodError) {\n\t\t\t\treturn toFutureParseErr<T>(previous, parseMsg, input);\n\t\t\t}\n\t\t\treturn toFutureParseUnknownErr<T>(previous, unknownMsg, input);\n\t\t}\n\t};\n\tconst of = internalOf;\n\n\tconst make = (input: I) => internalOf(input);\n\n\tconst create = (input: R | I) => schemas.schema.parse(input) as T;\n\n\tconst from = (input: unknown) => schemas.schema.parse(input) as T;\n\n\tconst factory = {\n\t\tmake,\n\t\tof,\n\t\tcreate,\n\t\tfrom,\n\t};\n\n\treturn {\n\t\tschemas,\n\t\tfactory,\n\t};\n};\n\nexport default createType;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,sBAA0D;AAC1D,qBAAwC;AACxC,iBAAuC;AAmBhC,IAAM,eAAe,CAAI,WAA+B;AArB/D;AAsBC,QAAM,EAAE,WAAW,aAAa,IAAI;AACpC,QAAM,kBAAiB,YAAO,mBAAP,YAAyB,OAAO;AACvD,QAAM,OAAO,CAAC,QAAiB;AAC/B,QAAM,eAAc,YAAO,gBAAP,YAAsB;AAE1C,QAAM,SAAS,eACZ,eACA;AAAA,IAAU,CAAC,QACX,YAAY,GAAG;AAAA,EAGhB,IACC,eACA;AAAA,IAAU,CAAC,QACX,YAAY,GAAG;AAAA,EAKhB;AAIF,SAAO;AAAA,IACN;AAAA,IACA;AAAA,IACA;AAAA,EACD;AACD;AASO,IAAM,aAAa,CAAO,WAA6B;AAC7D,QAAM,UAAU,aAAgB,MAAM;AACtC,QAAM,EAAE,aAAa,cAAc,IAAI;AAIvC,QAAM,aAAa,CAAC,UAAmB;AACtC,QAAI;AACH,iBAAO,wBAAW,QAAQ,OAAO,MAAM,KAAK,CAAC;AAAA,IAC9C,SAAS,UAAP;AACD,YAAM,WAAW,OAAO,gBAAgB,WACrC,cACA,YAAY,OAAO,QAAQ;AAE9B,YAAM,aAAa,OAAO,kBAAkB,WACzC,gBACA,cAAc,KAAK;AAEtB,UAAI,oBAAoB,qBAAU;AACjC,mBAAO,kCAAoB,UAAU,UAAU,KAAK;AAAA,MACrD;AACA,iBAAO,yCAA2B,UAAU,YAAY,KAAK;AAAA,IAC9D;AAAA,EACD;AACA,QAAM,KAAK;AAEX,QAAM,OAAO,CAAC,UAAa,WAAW,KAAK;AAE3C,QAAM,SAAS,CAAC,UAAiB,QAAQ,OAAO,MAAM,KAAK;AAE3D,QAAM,OAAO,CAAC,UAAmB,QAAQ,OAAO,MAAM,KAAK;AAE3D,QAAM,UAAU;AAAA,IACf;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EACD;AAEA,SAAO;AAAA,IACN;AAAA,IACA;AAAA,EACD;AACD;AAEA,IAAO,eAAQ;","names":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ConfigEnvironmentFileV2.d.ts","sourceRoot":"","sources":["ConfigEnvironmentFileV2.ts"],"names":[],"mappings":"AAAA,cAAc,sDAAsD,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
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 __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
15
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
16
|
+
|
|
17
|
+
// ConfigEnvironmentFileV2.ts
|
|
18
|
+
var ConfigEnvironmentFileV2_exports = {};
|
|
19
|
+
module.exports = __toCommonJS(ConfigEnvironmentFileV2_exports);
|
|
20
|
+
__reExport(ConfigEnvironmentFileV2_exports, require("@taqueria/protocol/out/types/ConfigEnvironmentFileV2"), module.exports);
|
|
21
|
+
//# sourceMappingURL=ConfigEnvironmentFileV2.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["ConfigEnvironmentFileV2.ts"],"sourcesContent":["export * from '@taqueria/protocol/out/types/ConfigEnvironmentFileV2';\n"],"mappings":";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA,4CAAc,iEAAd;","names":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ConfigFileV2.d.ts","sourceRoot":"","sources":["ConfigFileV2.ts"],"names":[],"mappings":"AAAA,cAAc,2CAA2C,CAAC"}
|
package/ConfigFileV2.js
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
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 __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
15
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
16
|
+
|
|
17
|
+
// ConfigFileV2.ts
|
|
18
|
+
var ConfigFileV2_exports = {};
|
|
19
|
+
module.exports = __toCommonJS(ConfigFileV2_exports);
|
|
20
|
+
__reExport(ConfigFileV2_exports, require("@taqueria/protocol/out/types/ConfigFileV2"), module.exports);
|
|
21
|
+
//# sourceMappingURL=ConfigFileV2.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["ConfigFileV2.ts"],"sourcesContent":["export * from '@taqueria/protocol/out/types/ConfigFileV2';\n"],"mappings":";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA,iCAAc,sDAAd;","names":[]}
|