@taqueria/protocol 0.25.19-rc → 0.25.22-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.
Files changed (118) hide show
  1. package/EphemeralState.d.ts +308 -304
  2. package/EphemeralState.d.ts.map +1 -1
  3. package/ParsedPluginInfo.d.ts +774 -764
  4. package/ParsedPluginInfo.d.ts.map +1 -1
  5. package/PluginInfo.d.ts +954 -942
  6. package/PluginInfo.d.ts.map +1 -1
  7. package/PluginSchema.d.ts +1855 -1835
  8. package/PluginSchema.d.ts.map +1 -1
  9. package/TaqError.d.ts +1 -1
  10. package/TaqError.d.ts.map +1 -1
  11. package/TaqError.js.map +1 -1
  12. package/TaqError.mjs.map +1 -1
  13. package/i18n.js +1 -1
  14. package/i18n.js.map +1 -1
  15. package/i18n.mjs +1 -1
  16. package/i18n.mjs.map +1 -1
  17. package/out/types/Config.d.ts +476 -468
  18. package/out/types/Config.d.ts.map +1 -1
  19. package/out/types/ConfigAccount.d.js +19 -0
  20. package/out/types/ConfigAccount.d.js.map +1 -0
  21. package/out/types/ConfigAccount.d.mjs +1 -0
  22. package/out/types/ConfigAccount.d.mjs.map +1 -0
  23. package/out/types/ConfigAccount.d.ts +106 -0
  24. package/out/types/ConfigAccount.d.ts.map +1 -0
  25. package/out/types/ConfigAccount.js +80 -0
  26. package/out/types/ConfigAccount.js.map +1 -0
  27. package/out/types/ConfigAccount.mjs +49 -0
  28. package/out/types/ConfigAccount.mjs.map +1 -0
  29. package/out/types/ConfigEnvironmentFileV2.d.js +19 -0
  30. package/out/types/ConfigEnvironmentFileV2.d.js.map +1 -0
  31. package/out/types/ConfigEnvironmentFileV2.d.mjs +1 -0
  32. package/out/types/ConfigEnvironmentFileV2.d.mjs.map +1 -0
  33. package/out/types/ConfigEnvironmentFileV2.d.ts +153 -0
  34. package/out/types/ConfigEnvironmentFileV2.d.ts.map +1 -0
  35. package/out/types/ConfigEnvironmentFileV2.js +80 -0
  36. package/out/types/ConfigEnvironmentFileV2.js.map +1 -0
  37. package/out/types/ConfigEnvironmentFileV2.mjs +49 -0
  38. package/out/types/ConfigEnvironmentFileV2.mjs.map +1 -0
  39. package/out/types/ConfigFileV1.d.js +19 -0
  40. package/out/types/ConfigFileV1.d.js.map +1 -0
  41. package/out/types/ConfigFileV1.d.mjs +1 -0
  42. package/out/types/ConfigFileV1.d.mjs.map +1 -0
  43. package/out/types/ConfigFileV1.d.ts +1370 -0
  44. package/out/types/ConfigFileV1.d.ts.map +1 -0
  45. package/out/types/ConfigFileV1.js +80 -0
  46. package/out/types/ConfigFileV1.js.map +1 -0
  47. package/out/types/ConfigFileV1.mjs +49 -0
  48. package/out/types/ConfigFileV1.mjs.map +1 -0
  49. package/out/types/ConfigFileV2.d.js +19 -0
  50. package/out/types/ConfigFileV2.d.js.map +1 -0
  51. package/out/types/ConfigFileV2.d.mjs +1 -0
  52. package/out/types/ConfigFileV2.d.mjs.map +1 -0
  53. package/out/types/ConfigFileV2.d.ts +741 -0
  54. package/out/types/ConfigFileV2.d.ts.map +1 -0
  55. package/out/types/ConfigFileV2.js +80 -0
  56. package/out/types/ConfigFileV2.js.map +1 -0
  57. package/out/types/ConfigFileV2.mjs +49 -0
  58. package/out/types/ConfigFileV2.mjs.map +1 -0
  59. package/out/types/CurrencyAmountV2.d.js +19 -0
  60. package/out/types/CurrencyAmountV2.d.js.map +1 -0
  61. package/out/types/CurrencyAmountV2.d.mjs +1 -0
  62. package/out/types/CurrencyAmountV2.d.mjs.map +1 -0
  63. package/out/types/CurrencyAmountV2.d.ts +56 -0
  64. package/out/types/CurrencyAmountV2.d.ts.map +1 -0
  65. package/out/types/CurrencyAmountV2.js +80 -0
  66. package/out/types/CurrencyAmountV2.js.map +1 -0
  67. package/out/types/CurrencyAmountV2.mjs +49 -0
  68. package/out/types/CurrencyAmountV2.mjs.map +1 -0
  69. package/out/types/EphemeralState.d.ts +2525 -2493
  70. package/out/types/EphemeralState.d.ts.map +1 -1
  71. package/out/types/LoadedConfig.d.ts +476 -468
  72. package/out/types/LoadedConfig.d.ts.map +1 -1
  73. package/out/types/NetworkAccountConfig.d.ts +52 -39
  74. package/out/types/NetworkAccountConfig.d.ts.map +1 -1
  75. package/out/types/NetworkConfig.d.ts +84 -76
  76. package/out/types/NetworkConfig.d.ts.map +1 -1
  77. package/out/types/Operation.d.ts +808 -800
  78. package/out/types/Operation.d.ts.map +1 -1
  79. package/out/types/ParsedConfig.d.ts +531 -523
  80. package/out/types/ParsedConfig.d.ts.map +1 -1
  81. package/out/types/ParsedOperation.d.ts +619 -611
  82. package/out/types/ParsedOperation.d.ts.map +1 -1
  83. package/out/types/ParsedTemplate.d.ts +619 -611
  84. package/out/types/ParsedTemplate.d.ts.map +1 -1
  85. package/out/types/PluginInfo.d.ts +1267 -1251
  86. package/out/types/PluginInfo.d.ts.map +1 -1
  87. package/out/types/PluginSchema.d.ts +4363 -4323
  88. package/out/types/PluginSchema.d.ts.map +1 -1
  89. package/out/types/ProxyTaskArgs.d.ts +639 -631
  90. package/out/types/ProxyTaskArgs.d.ts.map +1 -1
  91. package/out/types/ProxyTemplateArgs.d.ts +639 -631
  92. package/out/types/ProxyTemplateArgs.d.ts.map +1 -1
  93. package/out/types/RequestArgs.d.ts +639 -631
  94. package/out/types/RequestArgs.d.ts.map +1 -1
  95. package/out/types/SandboxConfig.d.ts +26 -26
  96. package/out/types/Template.d.ts +808 -800
  97. package/out/types/Template.d.ts.map +1 -1
  98. package/out/types-strict.d.js.map +1 -1
  99. package/out/types-strict.d.ts +103 -15
  100. package/out/types-strict.d.ts.map +1 -1
  101. package/out/types-strict.js.map +1 -1
  102. package/out/types-zod.d.js.map +1 -1
  103. package/out/types-zod.d.ts +4210 -3601
  104. package/out/types-zod.d.ts.map +1 -1
  105. package/out/types-zod.js +69 -14
  106. package/out/types-zod.js.map +1 -1
  107. package/out/types-zod.mjs +64 -14
  108. package/out/types-zod.mjs.map +1 -1
  109. package/package.json +2 -2
  110. package/types-config-files.d.ts +12 -0
  111. package/types-config-files.d.ts.map +1 -0
  112. package/types-config-files.js +267 -0
  113. package/types-config-files.js.map +1 -0
  114. package/types-config-files.mjs +239 -0
  115. package/types-config-files.mjs.map +1 -0
  116. package/types.d.ts +91 -13
  117. package/types.d.ts.map +1 -1
  118. package/types.js.map +1 -1
@@ -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/ConfigFileV1.d.ts
17
+ var ConfigFileV1_d_exports = {};
18
+ module.exports = __toCommonJS(ConfigFileV1_d_exports);
19
+ //# sourceMappingURL=ConfigFileV1.d.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["ConfigFileV1.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 { ConfigFileV1 } from '@taqueria/protocol/types';\nimport { ConfigFileV1 as ConfigFileV1Strict } from '@taqueria/protocol/out/types-strict';\nimport { configFileV1Schema } from '@taqueria/protocol/out/types-zod';\n\nexport type { ConfigFileV1Strict as ConfigFileV1 };\n\nexport const from = (input: unknown): ConfigFileV1Strict => {\n\ttry {\n\t\treturn configFileV1Schema.parse(input) as ConfigFileV1Strict;\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[\"ConfigFileV1 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 ConfigFileV1.\")\n\t}\n \n};\n\nexport const create = (input: ConfigFileV1): ConfigFileV1Strict => from(input);\n\nexport const of = (input: unknown): FutureInstance<TaqError, ConfigFileV1Strict> => {\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<ConfigFileV1Strict, '__type'>): FutureInstance<TaqError, ConfigFileV1Strict> => of(input);\n\n// TEMP: for interoperation with old protocol types during transition\nexport const schemas = {\n\trawSchema: configFileV1Schema,\n\tschema: configFileV1Schema.transform(val => val as ConfigFileV1Strict),\n};\nexport const rawSchema = schemas.rawSchema;\nexport const internalSchema = configFileV1Schema;\n\nexport type t = ConfigFileV1Strict;\n "],"mappings":";;;;;;;;;;;;;;;;AAGA;;","names":[]}
@@ -0,0 +1 @@
1
+ //# sourceMappingURL=ConfigFileV1.d.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}