@taqueria/protocol 0.25.4-alpha → 0.25.11-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 (964) hide show
  1. package/Alias.d.ts +41 -1
  2. package/Alias.d.ts.map +1 -1
  3. package/Alias.js +51 -2
  4. package/Alias.js.map +1 -1
  5. package/Alias.mjs +32 -1
  6. package/Alias.mjs.map +1 -1
  7. package/Base.d.ts +6 -6
  8. package/Base.js.map +1 -1
  9. package/Base.mjs.map +1 -1
  10. package/Command.d.ts +23 -1
  11. package/Command.d.ts.map +1 -1
  12. package/Command.js +42 -2
  13. package/Command.js.map +1 -1
  14. package/Command.mjs +23 -1
  15. package/Command.mjs.map +1 -1
  16. package/Config.d.ts +2079 -1
  17. package/Config.d.ts.map +1 -1
  18. package/Config.js +153 -2
  19. package/Config.js.map +1 -1
  20. package/Config.mjs +130 -1
  21. package/Config.mjs.map +1 -1
  22. package/Contract.d.ts +81 -1
  23. package/Contract.d.ts.map +1 -1
  24. package/Contract.js +49 -2
  25. package/Contract.js.map +1 -1
  26. package/Contract.mjs +30 -1
  27. package/Contract.mjs.map +1 -1
  28. package/Crypto.d.ts +2 -4
  29. package/Crypto.d.ts.map +1 -1
  30. package/Crypto.js +16 -0
  31. package/Crypto.js.map +1 -1
  32. package/Crypto.mjs +9 -0
  33. package/Crypto.mjs.map +1 -1
  34. package/EconomicalProtocolHash.d.ts +40 -1
  35. package/EconomicalProtocolHash.d.ts.map +1 -1
  36. package/EconomicalProtocolHash.js +45 -2
  37. package/EconomicalProtocolHash.js.map +1 -1
  38. package/EconomicalProtocolHash.mjs +25 -1
  39. package/EconomicalProtocolHash.mjs.map +1 -1
  40. package/Environment.d.ts +133 -1
  41. package/Environment.d.ts.map +1 -1
  42. package/Environment.js +63 -6
  43. package/Environment.js.map +1 -1
  44. package/Environment.mjs +38 -1
  45. package/Environment.mjs.map +1 -1
  46. package/EphemeralState.d.ts +4343 -1765
  47. package/EphemeralState.d.ts.map +1 -1
  48. package/EphemeralState.js +40 -39
  49. package/EphemeralState.js.map +1 -1
  50. package/EphemeralState.mjs +20 -30
  51. package/EphemeralState.mjs.map +1 -1
  52. package/Faucet.d.ts +203 -1
  53. package/Faucet.d.ts.map +1 -1
  54. package/Faucet.js +77 -2
  55. package/Faucet.js.map +1 -1
  56. package/Faucet.mjs +57 -1
  57. package/Faucet.mjs.map +1 -1
  58. package/HumanReadableIdentifier.d.ts +23 -1
  59. package/HumanReadableIdentifier.d.ts.map +1 -1
  60. package/HumanReadableIdentifier.js +42 -2
  61. package/HumanReadableIdentifier.js.map +1 -1
  62. package/HumanReadableIdentifier.mjs +23 -1
  63. package/HumanReadableIdentifier.mjs.map +1 -1
  64. package/InstalledPlugin.d.ts +91 -1
  65. package/InstalledPlugin.d.ts.map +1 -1
  66. package/InstalledPlugin.js +48 -2
  67. package/InstalledPlugin.js.map +1 -1
  68. package/InstalledPlugin.mjs +28 -1
  69. package/InstalledPlugin.mjs.map +1 -1
  70. package/LoadedConfig.d.ts +2343 -1
  71. package/LoadedConfig.d.ts.map +1 -1
  72. package/LoadedConfig.js +61 -2
  73. package/LoadedConfig.js.map +1 -1
  74. package/LoadedConfig.mjs +39 -1
  75. package/LoadedConfig.mjs.map +1 -1
  76. package/MetadataConfig.d.ts +154 -1
  77. package/MetadataConfig.d.ts.map +1 -1
  78. package/MetadataConfig.js +56 -2
  79. package/MetadataConfig.js.map +1 -1
  80. package/MetadataConfig.mjs +36 -1
  81. package/MetadataConfig.mjs.map +1 -1
  82. package/NetworkConfig.d.ts +443 -1
  83. package/NetworkConfig.d.ts.map +1 -1
  84. package/NetworkConfig.js +66 -2
  85. package/NetworkConfig.js.map +1 -1
  86. package/NetworkConfig.mjs +46 -1
  87. package/NetworkConfig.mjs.map +1 -1
  88. package/Operation.d.ts +1469 -1
  89. package/Operation.d.ts.map +1 -1
  90. package/Operation.js +79 -2
  91. package/Operation.js.map +1 -1
  92. package/Operation.mjs +58 -1
  93. package/Operation.mjs.map +1 -1
  94. package/Option.d.ts +308 -1
  95. package/Option.d.ts.map +1 -1
  96. package/Option.js +84 -2
  97. package/Option.js.map +1 -1
  98. package/Option.mjs +63 -1
  99. package/Option.mjs.map +1 -1
  100. package/ParsedOperation.d.ts +879 -1
  101. package/ParsedOperation.d.ts.map +1 -1
  102. package/ParsedOperation.js +44 -2
  103. package/ParsedOperation.js.map +1 -1
  104. package/ParsedOperation.mjs +24 -1
  105. package/ParsedOperation.mjs.map +1 -1
  106. package/ParsedTemplate.d.ts +1023 -1
  107. package/ParsedTemplate.d.ts.map +1 -1
  108. package/ParsedTemplate.js +52 -2
  109. package/ParsedTemplate.js.map +1 -1
  110. package/ParsedTemplate.mjs +32 -1
  111. package/ParsedTemplate.mjs.map +1 -1
  112. package/PersistentState.d.ts +243 -113
  113. package/PersistentState.d.ts.map +1 -1
  114. package/PluginActionName.d.ts +21 -1
  115. package/PluginActionName.d.ts.map +1 -1
  116. package/PluginActionName.js +29 -2
  117. package/PluginActionName.js.map +1 -1
  118. package/PluginActionName.mjs +21 -1
  119. package/PluginActionName.mjs.map +1 -1
  120. package/PluginDependenciesResponse.d.ts +151 -1
  121. package/PluginDependenciesResponse.d.ts.map +1 -1
  122. package/PluginDependenciesResponse.js +44 -2
  123. package/PluginDependenciesResponse.js.map +1 -1
  124. package/PluginDependenciesResponse.mjs +26 -1
  125. package/PluginDependenciesResponse.mjs.map +1 -1
  126. package/PluginInfo.d.ts +3011 -4404
  127. package/PluginInfo.d.ts.map +1 -1
  128. package/PluginJsonResponse.d.ts +98 -1
  129. package/PluginJsonResponse.d.ts.map +1 -1
  130. package/PluginJsonResponse.js +40 -2
  131. package/PluginJsonResponse.js.map +1 -1
  132. package/PluginJsonResponse.mjs +23 -1
  133. package/PluginJsonResponse.mjs.map +1 -1
  134. package/PluginProxyResponse.d.ts +15 -1
  135. package/PluginProxyResponse.d.ts.map +1 -1
  136. package/PluginProxyResponse.js +42 -2
  137. package/PluginProxyResponse.js.map +1 -1
  138. package/PluginProxyResponse.mjs +23 -1
  139. package/PluginProxyResponse.mjs.map +1 -1
  140. package/PluginResponseEncoding.d.ts +31 -1
  141. package/PluginResponseEncoding.d.ts.map +1 -1
  142. package/PluginResponseEncoding.js +44 -2
  143. package/PluginResponseEncoding.js.map +1 -1
  144. package/PluginResponseEncoding.mjs +25 -1
  145. package/PluginResponseEncoding.mjs.map +1 -1
  146. package/PluginSchema.d.ts +6893 -8290
  147. package/PluginSchema.d.ts.map +1 -1
  148. package/PluginSchema.js +17 -6
  149. package/PluginSchema.js.map +1 -1
  150. package/PluginSchema.mjs +17 -6
  151. package/PluginSchema.mjs.map +1 -1
  152. package/PositionalArg.d.ts +182 -1
  153. package/PositionalArg.d.ts.map +1 -1
  154. package/PositionalArg.js +59 -2
  155. package/PositionalArg.js.map +1 -1
  156. package/PositionalArg.mjs +39 -1
  157. package/PositionalArg.mjs.map +1 -1
  158. package/Provisioner.d.ts +268 -1
  159. package/Provisioner.d.ts.map +1 -1
  160. package/Provisioner.js +67 -2
  161. package/Provisioner.js.map +1 -1
  162. package/Provisioner.mjs +46 -1
  163. package/Provisioner.mjs.map +1 -1
  164. package/ProvisionerID.d.ts +40 -1
  165. package/ProvisionerID.d.ts.map +1 -1
  166. package/ProvisionerID.js +42 -2
  167. package/ProvisionerID.js.map +1 -1
  168. package/ProvisionerID.mjs +22 -1
  169. package/ProvisionerID.mjs.map +1 -1
  170. package/Provisions.d.ts +236 -1
  171. package/Provisions.d.ts.map +1 -1
  172. package/Provisions.js +74 -2
  173. package/Provisions.js.map +1 -1
  174. package/Provisions.mjs +55 -1
  175. package/Provisions.mjs.map +1 -1
  176. package/PublicKeyHash.d.ts +41 -1
  177. package/PublicKeyHash.d.ts.map +1 -1
  178. package/PublicKeyHash.js +46 -2
  179. package/PublicKeyHash.js.map +1 -1
  180. package/PublicKeyHash.mjs +26 -1
  181. package/PublicKeyHash.mjs.map +1 -1
  182. package/RequestArgs.d.ts +5547 -1
  183. package/RequestArgs.d.ts.map +1 -1
  184. package/RequestArgs.js +121 -6
  185. package/RequestArgs.js.map +1 -1
  186. package/RequestArgs.mjs +87 -1
  187. package/RequestArgs.mjs.map +1 -1
  188. package/SHA256.d.ts +7 -15
  189. package/SHA256.d.ts.map +1 -1
  190. package/SHA256.js +3 -21
  191. package/SHA256.js.map +1 -1
  192. package/SHA256.mjs +3 -20
  193. package/SHA256.mjs.map +1 -1
  194. package/SandboxAccountConfig.d.ts +144 -1
  195. package/SandboxAccountConfig.d.ts.map +1 -1
  196. package/SandboxAccountConfig.js +53 -2
  197. package/SandboxAccountConfig.js.map +1 -1
  198. package/SandboxAccountConfig.mjs +33 -1
  199. package/SandboxAccountConfig.mjs.map +1 -1
  200. package/SandboxConfig.d.ts +542 -1
  201. package/SandboxConfig.d.ts.map +1 -1
  202. package/SandboxConfig.js +84 -2
  203. package/SandboxConfig.js.map +1 -1
  204. package/SandboxConfig.mjs +64 -1
  205. package/SandboxConfig.mjs.map +1 -1
  206. package/SanitizedAbsPath.d.ts +10 -10
  207. package/SanitizedArgs.d.ts +726 -824
  208. package/SanitizedArgs.d.ts.map +1 -1
  209. package/SanitizedArgs.js +3 -5
  210. package/SanitizedArgs.js.map +1 -1
  211. package/SanitizedArgs.mjs +3 -5
  212. package/SanitizedArgs.mjs.map +1 -1
  213. package/SanitizedPath.d.ts +23 -1
  214. package/SanitizedPath.d.ts.map +1 -1
  215. package/SanitizedPath.js +45 -2
  216. package/SanitizedPath.js.map +1 -1
  217. package/SanitizedPath.mjs +26 -1
  218. package/SanitizedPath.mjs.map +1 -1
  219. package/ScaffoldConfig.d.ts +4 -1
  220. package/ScaffoldConfig.d.ts.map +1 -1
  221. package/ScaffoldConfig.js +0 -2
  222. package/ScaffoldConfig.js.map +1 -1
  223. package/ScaffoldConfig.mjs +0 -2
  224. package/ScaffoldConfig.mjs.map +1 -1
  225. package/Settings.d.ts +74 -1
  226. package/Settings.d.ts.map +1 -1
  227. package/Settings.js +47 -2
  228. package/Settings.js.map +1 -1
  229. package/Settings.mjs +27 -1
  230. package/Settings.mjs.map +1 -1
  231. package/SingleChar.d.ts +40 -1
  232. package/SingleChar.d.ts.map +1 -1
  233. package/SingleChar.js +43 -2
  234. package/SingleChar.js.map +1 -1
  235. package/SingleChar.mjs +23 -1
  236. package/SingleChar.mjs.map +1 -1
  237. package/Task.d.ts +817 -1
  238. package/Task.d.ts.map +1 -1
  239. package/Task.js +76 -2
  240. package/Task.js.map +1 -1
  241. package/Task.mjs +56 -1
  242. package/Task.mjs.map +1 -1
  243. package/Template.d.ts +1736 -7
  244. package/Template.d.ts.map +1 -1
  245. package/Template.js +89 -8
  246. package/Template.js.map +1 -1
  247. package/Template.mjs +75 -6
  248. package/Template.mjs.map +1 -1
  249. package/Timestamp.d.ts +43 -1
  250. package/Timestamp.d.ts.map +1 -1
  251. package/Timestamp.js +46 -2
  252. package/Timestamp.js.map +1 -1
  253. package/Timestamp.mjs +25 -1
  254. package/Timestamp.mjs.map +1 -1
  255. package/Tz.d.ts +39 -1
  256. package/Tz.d.ts.map +1 -1
  257. package/Tz.js +43 -2
  258. package/Tz.js.map +1 -1
  259. package/Tz.mjs +23 -1
  260. package/Tz.mjs.map +1 -1
  261. package/Url.d.ts +41 -1
  262. package/Url.d.ts.map +1 -1
  263. package/Url.js +49 -2
  264. package/Url.js.map +1 -1
  265. package/Url.mjs +28 -1
  266. package/Url.mjs.map +1 -1
  267. package/Verb.d.ts +40 -1
  268. package/Verb.d.ts.map +1 -1
  269. package/Verb.js +43 -2
  270. package/Verb.js.map +1 -1
  271. package/Verb.mjs +23 -1
  272. package/Verb.mjs.map +1 -1
  273. package/VersionNumber.d.ts +23 -1
  274. package/VersionNumber.d.ts.map +1 -1
  275. package/VersionNumber.js +42 -2
  276. package/VersionNumber.js.map +1 -1
  277. package/VersionNumber.mjs +23 -1
  278. package/VersionNumber.mjs.map +1 -1
  279. package/package.json +4 -17
  280. package/tzkt-config.d.ts +10 -10
  281. package/ConfigArtifactsDir.d.ts +0 -2
  282. package/ConfigArtifactsDir.d.ts.map +0 -1
  283. package/ConfigArtifactsDir.js +0 -21
  284. package/ConfigArtifactsDir.js.map +0 -1
  285. package/ConfigArtifactsDir.mjs +0 -3
  286. package/ConfigArtifactsDir.mjs.map +0 -1
  287. package/ConfigContractsDir.d.ts +0 -2
  288. package/ConfigContractsDir.d.ts.map +0 -1
  289. package/ConfigContractsDir.js +0 -21
  290. package/ConfigContractsDir.js.map +0 -1
  291. package/ConfigContractsDir.mjs +0 -3
  292. package/ConfigContractsDir.mjs.map +0 -1
  293. package/NetworkAccountConfig.d.ts +0 -2
  294. package/NetworkAccountConfig.d.ts.map +0 -1
  295. package/NetworkAccountConfig.js +0 -21
  296. package/NetworkAccountConfig.js.map +0 -1
  297. package/NetworkAccountConfig.mjs +0 -3
  298. package/NetworkAccountConfig.mjs.map +0 -1
  299. package/NonEmptyString.d.ts +0 -2
  300. package/NonEmptyString.d.ts.map +0 -1
  301. package/NonEmptyString.js +0 -21
  302. package/NonEmptyString.js.map +0 -1
  303. package/NonEmptyString.mjs +0 -3
  304. package/NonEmptyString.mjs.map +0 -1
  305. package/ParsedPluginInfo.d.ts +0 -4124
  306. package/ParsedPluginInfo.d.ts.map +0 -1
  307. package/ParsedPluginInfo.js +0 -81
  308. package/ParsedPluginInfo.js.map +0 -1
  309. package/ParsedPluginInfo.mjs +0 -44
  310. package/ParsedPluginInfo.mjs.map +0 -1
  311. package/ProxyTaskArgs.d.ts +0 -2
  312. package/ProxyTaskArgs.d.ts.map +0 -1
  313. package/ProxyTaskArgs.js +0 -21
  314. package/ProxyTaskArgs.js.map +0 -1
  315. package/ProxyTaskArgs.mjs +0 -3
  316. package/ProxyTaskArgs.mjs.map +0 -1
  317. package/ProxyTemplateArgs.d.ts +0 -2
  318. package/ProxyTemplateArgs.d.ts.map +0 -1
  319. package/ProxyTemplateArgs.js +0 -21
  320. package/ProxyTemplateArgs.js.map +0 -1
  321. package/ProxyTemplateArgs.mjs +0 -3
  322. package/ProxyTemplateArgs.mjs.map +0 -1
  323. package/helpers.d.ts +0 -5
  324. package/helpers.d.ts.map +0 -1
  325. package/helpers.js +0 -53
  326. package/helpers.js.map +0 -1
  327. package/helpers.mjs +0 -28
  328. package/helpers.mjs.map +0 -1
  329. package/index.d.ts +0 -53
  330. package/index.d.ts.map +0 -1
  331. package/index.js +0 -190
  332. package/index.js.map +0 -1
  333. package/index.mjs +0 -108
  334. package/index.mjs.map +0 -1
  335. package/out/types/Alias.d.js +0 -19
  336. package/out/types/Alias.d.js.map +0 -1
  337. package/out/types/Alias.d.mjs +0 -1
  338. package/out/types/Alias.d.mjs.map +0 -1
  339. package/out/types/Alias.d.ts +0 -29
  340. package/out/types/Alias.d.ts.map +0 -1
  341. package/out/types/Alias.js +0 -80
  342. package/out/types/Alias.js.map +0 -1
  343. package/out/types/Alias.mjs +0 -49
  344. package/out/types/Alias.mjs.map +0 -1
  345. package/out/types/BuildNumber.d.js +0 -19
  346. package/out/types/BuildNumber.d.js.map +0 -1
  347. package/out/types/BuildNumber.d.mjs +0 -1
  348. package/out/types/BuildNumber.d.mjs.map +0 -1
  349. package/out/types/BuildNumber.d.ts +0 -17
  350. package/out/types/BuildNumber.d.ts.map +0 -1
  351. package/out/types/BuildNumber.js +0 -80
  352. package/out/types/BuildNumber.js.map +0 -1
  353. package/out/types/BuildNumber.mjs +0 -49
  354. package/out/types/BuildNumber.mjs.map +0 -1
  355. package/out/types/Command.d.js +0 -19
  356. package/out/types/Command.d.js.map +0 -1
  357. package/out/types/Command.d.mjs +0 -1
  358. package/out/types/Command.d.mjs.map +0 -1
  359. package/out/types/Command.d.ts +0 -17
  360. package/out/types/Command.d.ts.map +0 -1
  361. package/out/types/Command.js +0 -80
  362. package/out/types/Command.js.map +0 -1
  363. package/out/types/Command.mjs +0 -49
  364. package/out/types/Command.mjs.map +0 -1
  365. package/out/types/Config.d.js +0 -19
  366. package/out/types/Config.d.js.map +0 -1
  367. package/out/types/Config.d.mjs +0 -1
  368. package/out/types/Config.d.mjs.map +0 -1
  369. package/out/types/Config.d.ts +0 -1362
  370. package/out/types/Config.d.ts.map +0 -1
  371. package/out/types/Config.js +0 -80
  372. package/out/types/Config.js.map +0 -1
  373. package/out/types/Config.mjs +0 -49
  374. package/out/types/Config.mjs.map +0 -1
  375. package/out/types/ConfigArtifactsDir.d.js +0 -19
  376. package/out/types/ConfigArtifactsDir.d.js.map +0 -1
  377. package/out/types/ConfigArtifactsDir.d.mjs +0 -1
  378. package/out/types/ConfigArtifactsDir.d.mjs.map +0 -1
  379. package/out/types/ConfigArtifactsDir.d.ts +0 -17
  380. package/out/types/ConfigArtifactsDir.d.ts.map +0 -1
  381. package/out/types/ConfigArtifactsDir.js +0 -80
  382. package/out/types/ConfigArtifactsDir.js.map +0 -1
  383. package/out/types/ConfigArtifactsDir.mjs +0 -49
  384. package/out/types/ConfigArtifactsDir.mjs.map +0 -1
  385. package/out/types/ConfigContractsDir.d.js +0 -19
  386. package/out/types/ConfigContractsDir.d.js.map +0 -1
  387. package/out/types/ConfigContractsDir.d.mjs +0 -1
  388. package/out/types/ConfigContractsDir.d.mjs.map +0 -1
  389. package/out/types/ConfigContractsDir.d.ts +0 -17
  390. package/out/types/ConfigContractsDir.d.ts.map +0 -1
  391. package/out/types/ConfigContractsDir.js +0 -80
  392. package/out/types/ConfigContractsDir.js.map +0 -1
  393. package/out/types/ConfigContractsDir.mjs +0 -49
  394. package/out/types/ConfigContractsDir.mjs.map +0 -1
  395. package/out/types/Contract.d.js +0 -19
  396. package/out/types/Contract.d.js.map +0 -1
  397. package/out/types/Contract.d.mjs +0 -1
  398. package/out/types/Contract.d.mjs.map +0 -1
  399. package/out/types/Contract.d.ts +0 -56
  400. package/out/types/Contract.d.ts.map +0 -1
  401. package/out/types/Contract.js +0 -80
  402. package/out/types/Contract.js.map +0 -1
  403. package/out/types/Contract.mjs +0 -49
  404. package/out/types/Contract.mjs.map +0 -1
  405. package/out/types/EconomicalProtocolHash.d.js +0 -19
  406. package/out/types/EconomicalProtocolHash.d.js.map +0 -1
  407. package/out/types/EconomicalProtocolHash.d.mjs +0 -1
  408. package/out/types/EconomicalProtocolHash.d.mjs.map +0 -1
  409. package/out/types/EconomicalProtocolHash.d.ts +0 -17
  410. package/out/types/EconomicalProtocolHash.d.ts.map +0 -1
  411. package/out/types/EconomicalProtocolHash.js +0 -80
  412. package/out/types/EconomicalProtocolHash.js.map +0 -1
  413. package/out/types/EconomicalProtocolHash.mjs +0 -49
  414. package/out/types/EconomicalProtocolHash.mjs.map +0 -1
  415. package/out/types/Environment.d.js +0 -19
  416. package/out/types/Environment.d.js.map +0 -1
  417. package/out/types/Environment.d.mjs +0 -1
  418. package/out/types/Environment.d.mjs.map +0 -1
  419. package/out/types/Environment.d.ts +0 -82
  420. package/out/types/Environment.d.ts.map +0 -1
  421. package/out/types/Environment.js +0 -80
  422. package/out/types/Environment.js.map +0 -1
  423. package/out/types/Environment.mjs +0 -49
  424. package/out/types/Environment.mjs.map +0 -1
  425. package/out/types/EphemeralState.d.js +0 -19
  426. package/out/types/EphemeralState.d.js.map +0 -1
  427. package/out/types/EphemeralState.d.mjs +0 -1
  428. package/out/types/EphemeralState.d.mjs.map +0 -1
  429. package/out/types/EphemeralState.d.ts +0 -13579
  430. package/out/types/EphemeralState.d.ts.map +0 -1
  431. package/out/types/EphemeralState.js +0 -80
  432. package/out/types/EphemeralState.js.map +0 -1
  433. package/out/types/EphemeralState.mjs +0 -49
  434. package/out/types/EphemeralState.mjs.map +0 -1
  435. package/out/types/Faucet.d.js +0 -19
  436. package/out/types/Faucet.d.js.map +0 -1
  437. package/out/types/Faucet.d.mjs +0 -1
  438. package/out/types/Faucet.d.mjs.map +0 -1
  439. package/out/types/Faucet.d.ts +0 -108
  440. package/out/types/Faucet.d.ts.map +0 -1
  441. package/out/types/Faucet.js +0 -80
  442. package/out/types/Faucet.js.map +0 -1
  443. package/out/types/Faucet.mjs +0 -49
  444. package/out/types/Faucet.mjs.map +0 -1
  445. package/out/types/HumanReadableIdentifier.d.js +0 -19
  446. package/out/types/HumanReadableIdentifier.d.js.map +0 -1
  447. package/out/types/HumanReadableIdentifier.d.mjs +0 -1
  448. package/out/types/HumanReadableIdentifier.d.mjs.map +0 -1
  449. package/out/types/HumanReadableIdentifier.d.ts +0 -17
  450. package/out/types/HumanReadableIdentifier.d.ts.map +0 -1
  451. package/out/types/HumanReadableIdentifier.js +0 -80
  452. package/out/types/HumanReadableIdentifier.js.map +0 -1
  453. package/out/types/HumanReadableIdentifier.mjs +0 -49
  454. package/out/types/HumanReadableIdentifier.mjs.map +0 -1
  455. package/out/types/InstalledPlugin.d.js +0 -19
  456. package/out/types/InstalledPlugin.d.js.map +0 -1
  457. package/out/types/InstalledPlugin.d.mjs +0 -1
  458. package/out/types/InstalledPlugin.d.mjs.map +0 -1
  459. package/out/types/InstalledPlugin.d.ts +0 -56
  460. package/out/types/InstalledPlugin.d.ts.map +0 -1
  461. package/out/types/InstalledPlugin.js +0 -80
  462. package/out/types/InstalledPlugin.js.map +0 -1
  463. package/out/types/InstalledPlugin.mjs +0 -49
  464. package/out/types/InstalledPlugin.mjs.map +0 -1
  465. package/out/types/LoadedConfig.d.js +0 -19
  466. package/out/types/LoadedConfig.d.js.map +0 -1
  467. package/out/types/LoadedConfig.d.mjs +0 -1
  468. package/out/types/LoadedConfig.d.mjs.map +0 -1
  469. package/out/types/LoadedConfig.d.ts +0 -1405
  470. package/out/types/LoadedConfig.d.ts.map +0 -1
  471. package/out/types/LoadedConfig.js +0 -80
  472. package/out/types/LoadedConfig.js.map +0 -1
  473. package/out/types/LoadedConfig.mjs +0 -49
  474. package/out/types/LoadedConfig.mjs.map +0 -1
  475. package/out/types/MetadataConfig.d.js +0 -19
  476. package/out/types/MetadataConfig.d.js.map +0 -1
  477. package/out/types/MetadataConfig.d.mjs +0 -1
  478. package/out/types/MetadataConfig.d.mjs.map +0 -1
  479. package/out/types/MetadataConfig.d.ts +0 -95
  480. package/out/types/MetadataConfig.d.ts.map +0 -1
  481. package/out/types/MetadataConfig.js +0 -80
  482. package/out/types/MetadataConfig.js.map +0 -1
  483. package/out/types/MetadataConfig.mjs +0 -49
  484. package/out/types/MetadataConfig.mjs.map +0 -1
  485. package/out/types/NetworkAccountConfig.d.js +0 -19
  486. package/out/types/NetworkAccountConfig.d.js.map +0 -1
  487. package/out/types/NetworkAccountConfig.d.mjs +0 -1
  488. package/out/types/NetworkAccountConfig.d.mjs.map +0 -1
  489. package/out/types/NetworkAccountConfig.d.ts +0 -69
  490. package/out/types/NetworkAccountConfig.d.ts.map +0 -1
  491. package/out/types/NetworkAccountConfig.js +0 -80
  492. package/out/types/NetworkAccountConfig.js.map +0 -1
  493. package/out/types/NetworkAccountConfig.mjs +0 -49
  494. package/out/types/NetworkAccountConfig.mjs.map +0 -1
  495. package/out/types/NetworkConfig.d.js +0 -19
  496. package/out/types/NetworkConfig.d.js.map +0 -1
  497. package/out/types/NetworkConfig.d.mjs +0 -1
  498. package/out/types/NetworkConfig.d.mjs.map +0 -1
  499. package/out/types/NetworkConfig.d.ts +0 -326
  500. package/out/types/NetworkConfig.d.ts.map +0 -1
  501. package/out/types/NetworkConfig.js +0 -80
  502. package/out/types/NetworkConfig.js.map +0 -1
  503. package/out/types/NetworkConfig.mjs +0 -49
  504. package/out/types/NetworkConfig.mjs.map +0 -1
  505. package/out/types/NonEmptyString.d.js +0 -19
  506. package/out/types/NonEmptyString.d.js.map +0 -1
  507. package/out/types/NonEmptyString.d.mjs +0 -1
  508. package/out/types/NonEmptyString.d.mjs.map +0 -1
  509. package/out/types/NonEmptyString.d.ts +0 -17
  510. package/out/types/NonEmptyString.d.ts.map +0 -1
  511. package/out/types/NonEmptyString.js +0 -80
  512. package/out/types/NonEmptyString.js.map +0 -1
  513. package/out/types/NonEmptyString.mjs +0 -49
  514. package/out/types/NonEmptyString.mjs.map +0 -1
  515. package/out/types/Operation.d.js +0 -19
  516. package/out/types/Operation.d.js.map +0 -1
  517. package/out/types/Operation.d.mjs +0 -1
  518. package/out/types/Operation.d.mjs.map +0 -1
  519. package/out/types/Operation.d.ts +0 -3545
  520. package/out/types/Operation.d.ts.map +0 -1
  521. package/out/types/Operation.js +0 -80
  522. package/out/types/Operation.js.map +0 -1
  523. package/out/types/Operation.mjs +0 -49
  524. package/out/types/Operation.mjs.map +0 -1
  525. package/out/types/Option.d.js +0 -19
  526. package/out/types/Option.d.js.map +0 -1
  527. package/out/types/Option.d.mjs +0 -1
  528. package/out/types/Option.d.mjs.map +0 -1
  529. package/out/types/Option.d.ts +0 -134
  530. package/out/types/Option.d.ts.map +0 -1
  531. package/out/types/Option.js +0 -80
  532. package/out/types/Option.js.map +0 -1
  533. package/out/types/Option.mjs +0 -49
  534. package/out/types/Option.mjs.map +0 -1
  535. package/out/types/ParsedConfig.d.js +0 -19
  536. package/out/types/ParsedConfig.d.js.map +0 -1
  537. package/out/types/ParsedConfig.d.mjs +0 -1
  538. package/out/types/ParsedConfig.d.mjs.map +0 -1
  539. package/out/types/ParsedConfig.d.ts +0 -1626
  540. package/out/types/ParsedConfig.d.ts.map +0 -1
  541. package/out/types/ParsedConfig.js +0 -80
  542. package/out/types/ParsedConfig.js.map +0 -1
  543. package/out/types/ParsedConfig.mjs +0 -49
  544. package/out/types/ParsedConfig.mjs.map +0 -1
  545. package/out/types/ParsedOperation.d.js +0 -19
  546. package/out/types/ParsedOperation.d.js.map +0 -1
  547. package/out/types/ParsedOperation.d.mjs +0 -1
  548. package/out/types/ParsedOperation.d.mjs.map +0 -1
  549. package/out/types/ParsedOperation.d.ts +0 -2690
  550. package/out/types/ParsedOperation.d.ts.map +0 -1
  551. package/out/types/ParsedOperation.js +0 -80
  552. package/out/types/ParsedOperation.js.map +0 -1
  553. package/out/types/ParsedOperation.mjs +0 -49
  554. package/out/types/ParsedOperation.mjs.map +0 -1
  555. package/out/types/ParsedTemplate.d.js +0 -19
  556. package/out/types/ParsedTemplate.d.js.map +0 -1
  557. package/out/types/ParsedTemplate.d.mjs +0 -1
  558. package/out/types/ParsedTemplate.d.mjs.map +0 -1
  559. package/out/types/ParsedTemplate.d.ts +0 -2589
  560. package/out/types/ParsedTemplate.d.ts.map +0 -1
  561. package/out/types/ParsedTemplate.js +0 -80
  562. package/out/types/ParsedTemplate.js.map +0 -1
  563. package/out/types/ParsedTemplate.mjs +0 -49
  564. package/out/types/ParsedTemplate.mjs.map +0 -1
  565. package/out/types/PersistedOperation.d.js +0 -19
  566. package/out/types/PersistedOperation.d.js.map +0 -1
  567. package/out/types/PersistedOperation.d.mjs +0 -1
  568. package/out/types/PersistedOperation.d.mjs.map +0 -1
  569. package/out/types/PersistedOperation.d.ts +0 -69
  570. package/out/types/PersistedOperation.d.ts.map +0 -1
  571. package/out/types/PersistedOperation.js +0 -80
  572. package/out/types/PersistedOperation.js.map +0 -1
  573. package/out/types/PersistedOperation.mjs +0 -49
  574. package/out/types/PersistedOperation.mjs.map +0 -1
  575. package/out/types/PersistedTask.d.js +0 -19
  576. package/out/types/PersistedTask.d.js.map +0 -1
  577. package/out/types/PersistedTask.d.mjs +0 -1
  578. package/out/types/PersistedTask.d.mjs.map +0 -1
  579. package/out/types/PersistedTask.d.ts +0 -82
  580. package/out/types/PersistedTask.d.ts.map +0 -1
  581. package/out/types/PersistedTask.js +0 -80
  582. package/out/types/PersistedTask.js.map +0 -1
  583. package/out/types/PersistedTask.mjs +0 -49
  584. package/out/types/PersistedTask.mjs.map +0 -1
  585. package/out/types/PersistentState.d.js +0 -19
  586. package/out/types/PersistentState.d.js.map +0 -1
  587. package/out/types/PersistentState.d.mjs +0 -1
  588. package/out/types/PersistentState.d.mjs.map +0 -1
  589. package/out/types/PersistentState.d.ts +0 -245
  590. package/out/types/PersistentState.d.ts.map +0 -1
  591. package/out/types/PersistentState.js +0 -80
  592. package/out/types/PersistentState.js.map +0 -1
  593. package/out/types/PersistentState.mjs +0 -49
  594. package/out/types/PersistentState.mjs.map +0 -1
  595. package/out/types/PluginActionName.d.js +0 -19
  596. package/out/types/PluginActionName.d.js.map +0 -1
  597. package/out/types/PluginActionName.d.mjs +0 -1
  598. package/out/types/PluginActionName.d.mjs.map +0 -1
  599. package/out/types/PluginActionName.d.ts +0 -27
  600. package/out/types/PluginActionName.d.ts.map +0 -1
  601. package/out/types/PluginActionName.js +0 -80
  602. package/out/types/PluginActionName.js.map +0 -1
  603. package/out/types/PluginActionName.mjs +0 -49
  604. package/out/types/PluginActionName.mjs.map +0 -1
  605. package/out/types/PluginDependenciesResponse.d.js +0 -19
  606. package/out/types/PluginDependenciesResponse.d.js.map +0 -1
  607. package/out/types/PluginDependenciesResponse.d.mjs +0 -1
  608. package/out/types/PluginDependenciesResponse.d.mjs.map +0 -1
  609. package/out/types/PluginDependenciesResponse.d.ts +0 -173
  610. package/out/types/PluginDependenciesResponse.d.ts.map +0 -1
  611. package/out/types/PluginDependenciesResponse.js +0 -80
  612. package/out/types/PluginDependenciesResponse.js.map +0 -1
  613. package/out/types/PluginDependenciesResponse.mjs +0 -49
  614. package/out/types/PluginDependenciesResponse.mjs.map +0 -1
  615. package/out/types/PluginInfo.d.js +0 -19
  616. package/out/types/PluginInfo.d.js.map +0 -1
  617. package/out/types/PluginInfo.d.mjs +0 -1
  618. package/out/types/PluginInfo.d.mjs.map +0 -1
  619. package/out/types/PluginInfo.d.ts +0 -6396
  620. package/out/types/PluginInfo.d.ts.map +0 -1
  621. package/out/types/PluginInfo.js +0 -80
  622. package/out/types/PluginInfo.js.map +0 -1
  623. package/out/types/PluginInfo.mjs +0 -49
  624. package/out/types/PluginInfo.mjs.map +0 -1
  625. package/out/types/PluginJsonResponse.d.js +0 -19
  626. package/out/types/PluginJsonResponse.d.js.map +0 -1
  627. package/out/types/PluginJsonResponse.d.mjs +0 -1
  628. package/out/types/PluginJsonResponse.d.mjs.map +0 -1
  629. package/out/types/PluginJsonResponse.d.ts +0 -61
  630. package/out/types/PluginJsonResponse.d.ts.map +0 -1
  631. package/out/types/PluginJsonResponse.js +0 -80
  632. package/out/types/PluginJsonResponse.js.map +0 -1
  633. package/out/types/PluginJsonResponse.mjs +0 -49
  634. package/out/types/PluginJsonResponse.mjs.map +0 -1
  635. package/out/types/PluginProxyResponse.d.js +0 -19
  636. package/out/types/PluginProxyResponse.d.js.map +0 -1
  637. package/out/types/PluginProxyResponse.d.mjs +0 -1
  638. package/out/types/PluginProxyResponse.d.mjs.map +0 -1
  639. package/out/types/PluginProxyResponse.d.ts +0 -65
  640. package/out/types/PluginProxyResponse.d.ts.map +0 -1
  641. package/out/types/PluginProxyResponse.js +0 -80
  642. package/out/types/PluginProxyResponse.js.map +0 -1
  643. package/out/types/PluginProxyResponse.mjs +0 -49
  644. package/out/types/PluginProxyResponse.mjs.map +0 -1
  645. package/out/types/PluginResponseEncoding.d.js +0 -19
  646. package/out/types/PluginResponseEncoding.d.js.map +0 -1
  647. package/out/types/PluginResponseEncoding.d.mjs +0 -1
  648. package/out/types/PluginResponseEncoding.d.mjs.map +0 -1
  649. package/out/types/PluginResponseEncoding.d.ts +0 -23
  650. package/out/types/PluginResponseEncoding.d.ts.map +0 -1
  651. package/out/types/PluginResponseEncoding.js +0 -80
  652. package/out/types/PluginResponseEncoding.js.map +0 -1
  653. package/out/types/PluginResponseEncoding.mjs +0 -49
  654. package/out/types/PluginResponseEncoding.mjs.map +0 -1
  655. package/out/types/PluginSchema.d.js +0 -19
  656. package/out/types/PluginSchema.d.js.map +0 -1
  657. package/out/types/PluginSchema.d.mjs +0 -1
  658. package/out/types/PluginSchema.d.mjs.map +0 -1
  659. package/out/types/PluginSchema.d.ts +0 -18435
  660. package/out/types/PluginSchema.d.ts.map +0 -1
  661. package/out/types/PluginSchema.js +0 -80
  662. package/out/types/PluginSchema.js.map +0 -1
  663. package/out/types/PluginSchema.mjs +0 -49
  664. package/out/types/PluginSchema.mjs.map +0 -1
  665. package/out/types/PositionalArg.d.js +0 -19
  666. package/out/types/PositionalArg.d.js.map +0 -1
  667. package/out/types/PositionalArg.d.mjs +0 -1
  668. package/out/types/PositionalArg.d.mjs.map +0 -1
  669. package/out/types/PositionalArg.d.ts +0 -95
  670. package/out/types/PositionalArg.d.ts.map +0 -1
  671. package/out/types/PositionalArg.js +0 -80
  672. package/out/types/PositionalArg.js.map +0 -1
  673. package/out/types/PositionalArg.mjs +0 -49
  674. package/out/types/PositionalArg.mjs.map +0 -1
  675. package/out/types/Provisioner.d.js +0 -19
  676. package/out/types/Provisioner.d.js.map +0 -1
  677. package/out/types/Provisioner.d.mjs +0 -1
  678. package/out/types/Provisioner.d.mjs.map +0 -1
  679. package/out/types/Provisioner.d.ts +0 -108
  680. package/out/types/Provisioner.d.ts.map +0 -1
  681. package/out/types/Provisioner.js +0 -80
  682. package/out/types/Provisioner.js.map +0 -1
  683. package/out/types/Provisioner.mjs +0 -49
  684. package/out/types/Provisioner.mjs.map +0 -1
  685. package/out/types/ProvisionerID.d.js +0 -19
  686. package/out/types/ProvisionerID.d.js.map +0 -1
  687. package/out/types/ProvisionerID.d.mjs +0 -1
  688. package/out/types/ProvisionerID.d.mjs.map +0 -1
  689. package/out/types/ProvisionerID.d.ts +0 -17
  690. package/out/types/ProvisionerID.d.ts.map +0 -1
  691. package/out/types/ProvisionerID.js +0 -80
  692. package/out/types/ProvisionerID.js.map +0 -1
  693. package/out/types/ProvisionerID.mjs +0 -49
  694. package/out/types/ProvisionerID.mjs.map +0 -1
  695. package/out/types/Provisions.d.js +0 -19
  696. package/out/types/Provisions.d.js.map +0 -1
  697. package/out/types/Provisions.d.mjs +0 -1
  698. package/out/types/Provisions.d.mjs.map +0 -1
  699. package/out/types/Provisions.d.ts +0 -108
  700. package/out/types/Provisions.d.ts.map +0 -1
  701. package/out/types/Provisions.js +0 -80
  702. package/out/types/Provisions.js.map +0 -1
  703. package/out/types/Provisions.mjs +0 -49
  704. package/out/types/Provisions.mjs.map +0 -1
  705. package/out/types/ProxyTaskArgs.d.js +0 -19
  706. package/out/types/ProxyTaskArgs.d.js.map +0 -1
  707. package/out/types/ProxyTaskArgs.d.mjs +0 -1
  708. package/out/types/ProxyTaskArgs.d.mjs.map +0 -1
  709. package/out/types/ProxyTaskArgs.d.ts +0 -2176
  710. package/out/types/ProxyTaskArgs.d.ts.map +0 -1
  711. package/out/types/ProxyTaskArgs.js +0 -80
  712. package/out/types/ProxyTaskArgs.js.map +0 -1
  713. package/out/types/ProxyTaskArgs.mjs +0 -49
  714. package/out/types/ProxyTaskArgs.mjs.map +0 -1
  715. package/out/types/ProxyTemplateArgs.d.js +0 -19
  716. package/out/types/ProxyTemplateArgs.d.js.map +0 -1
  717. package/out/types/ProxyTemplateArgs.d.mjs +0 -1
  718. package/out/types/ProxyTemplateArgs.d.mjs.map +0 -1
  719. package/out/types/ProxyTemplateArgs.d.ts +0 -2176
  720. package/out/types/ProxyTemplateArgs.d.ts.map +0 -1
  721. package/out/types/ProxyTemplateArgs.js +0 -80
  722. package/out/types/ProxyTemplateArgs.js.map +0 -1
  723. package/out/types/ProxyTemplateArgs.mjs +0 -49
  724. package/out/types/ProxyTemplateArgs.mjs.map +0 -1
  725. package/out/types/PublicKeyHash.d.js +0 -19
  726. package/out/types/PublicKeyHash.d.js.map +0 -1
  727. package/out/types/PublicKeyHash.d.mjs +0 -1
  728. package/out/types/PublicKeyHash.d.mjs.map +0 -1
  729. package/out/types/PublicKeyHash.d.ts +0 -17
  730. package/out/types/PublicKeyHash.d.ts.map +0 -1
  731. package/out/types/PublicKeyHash.js +0 -80
  732. package/out/types/PublicKeyHash.js.map +0 -1
  733. package/out/types/PublicKeyHash.mjs +0 -49
  734. package/out/types/PublicKeyHash.mjs.map +0 -1
  735. package/out/types/RequestArgs.d.js +0 -19
  736. package/out/types/RequestArgs.d.js.map +0 -1
  737. package/out/types/RequestArgs.d.mjs +0 -1
  738. package/out/types/RequestArgs.d.mjs.map +0 -1
  739. package/out/types/RequestArgs.d.ts +0 -2159
  740. package/out/types/RequestArgs.d.ts.map +0 -1
  741. package/out/types/RequestArgs.js +0 -80
  742. package/out/types/RequestArgs.js.map +0 -1
  743. package/out/types/RequestArgs.mjs +0 -49
  744. package/out/types/RequestArgs.mjs.map +0 -1
  745. package/out/types/RuntimeDependency.d.js +0 -19
  746. package/out/types/RuntimeDependency.d.js.map +0 -1
  747. package/out/types/RuntimeDependency.d.mjs +0 -1
  748. package/out/types/RuntimeDependency.d.mjs.map +0 -1
  749. package/out/types/RuntimeDependency.d.ts +0 -82
  750. package/out/types/RuntimeDependency.d.ts.map +0 -1
  751. package/out/types/RuntimeDependency.js +0 -80
  752. package/out/types/RuntimeDependency.js.map +0 -1
  753. package/out/types/RuntimeDependency.mjs +0 -49
  754. package/out/types/RuntimeDependency.mjs.map +0 -1
  755. package/out/types/RuntimeDependencyReport.d.js +0 -19
  756. package/out/types/RuntimeDependencyReport.d.js.map +0 -1
  757. package/out/types/RuntimeDependencyReport.d.mjs +0 -1
  758. package/out/types/RuntimeDependencyReport.d.mjs.map +0 -1
  759. package/out/types/RuntimeDependencyReport.d.ts +0 -99
  760. package/out/types/RuntimeDependencyReport.d.ts.map +0 -1
  761. package/out/types/RuntimeDependencyReport.js +0 -80
  762. package/out/types/RuntimeDependencyReport.js.map +0 -1
  763. package/out/types/RuntimeDependencyReport.mjs +0 -49
  764. package/out/types/RuntimeDependencyReport.mjs.map +0 -1
  765. package/out/types/SHA256.d.js +0 -19
  766. package/out/types/SHA256.d.js.map +0 -1
  767. package/out/types/SHA256.d.mjs +0 -1
  768. package/out/types/SHA256.d.mjs.map +0 -1
  769. package/out/types/SHA256.d.ts +0 -17
  770. package/out/types/SHA256.d.ts.map +0 -1
  771. package/out/types/SHA256.js +0 -80
  772. package/out/types/SHA256.js.map +0 -1
  773. package/out/types/SHA256.mjs +0 -49
  774. package/out/types/SHA256.mjs.map +0 -1
  775. package/out/types/SandboxAccountConfig.d.js +0 -19
  776. package/out/types/SandboxAccountConfig.d.js.map +0 -1
  777. package/out/types/SandboxAccountConfig.d.mjs +0 -1
  778. package/out/types/SandboxAccountConfig.d.mjs.map +0 -1
  779. package/out/types/SandboxAccountConfig.d.ts +0 -69
  780. package/out/types/SandboxAccountConfig.d.ts.map +0 -1
  781. package/out/types/SandboxAccountConfig.js +0 -80
  782. package/out/types/SandboxAccountConfig.js.map +0 -1
  783. package/out/types/SandboxAccountConfig.mjs +0 -49
  784. package/out/types/SandboxAccountConfig.mjs.map +0 -1
  785. package/out/types/SandboxConfig.d.js +0 -19
  786. package/out/types/SandboxConfig.d.js.map +0 -1
  787. package/out/types/SandboxConfig.d.mjs +0 -1
  788. package/out/types/SandboxConfig.d.mjs.map +0 -1
  789. package/out/types/SandboxConfig.d.ts +0 -289
  790. package/out/types/SandboxConfig.d.ts.map +0 -1
  791. package/out/types/SandboxConfig.js +0 -80
  792. package/out/types/SandboxConfig.js.map +0 -1
  793. package/out/types/SandboxConfig.mjs +0 -49
  794. package/out/types/SandboxConfig.mjs.map +0 -1
  795. package/out/types/SanitizedAbsPath.d.js +0 -19
  796. package/out/types/SanitizedAbsPath.d.js.map +0 -1
  797. package/out/types/SanitizedAbsPath.d.mjs +0 -1
  798. package/out/types/SanitizedAbsPath.d.mjs.map +0 -1
  799. package/out/types/SanitizedAbsPath.d.ts +0 -17
  800. package/out/types/SanitizedAbsPath.d.ts.map +0 -1
  801. package/out/types/SanitizedAbsPath.js +0 -80
  802. package/out/types/SanitizedAbsPath.js.map +0 -1
  803. package/out/types/SanitizedAbsPath.mjs +0 -49
  804. package/out/types/SanitizedAbsPath.mjs.map +0 -1
  805. package/out/types/SanitizedArgs.d.js +0 -19
  806. package/out/types/SanitizedArgs.d.js.map +0 -1
  807. package/out/types/SanitizedArgs.d.mjs +0 -1
  808. package/out/types/SanitizedArgs.d.mjs.map +0 -1
  809. package/out/types/SanitizedArgs.d.ts +0 -238
  810. package/out/types/SanitizedArgs.d.ts.map +0 -1
  811. package/out/types/SanitizedArgs.js +0 -80
  812. package/out/types/SanitizedArgs.js.map +0 -1
  813. package/out/types/SanitizedArgs.mjs +0 -49
  814. package/out/types/SanitizedArgs.mjs.map +0 -1
  815. package/out/types/SanitizedPath.d.js +0 -19
  816. package/out/types/SanitizedPath.d.js.map +0 -1
  817. package/out/types/SanitizedPath.d.mjs +0 -1
  818. package/out/types/SanitizedPath.d.mjs.map +0 -1
  819. package/out/types/SanitizedPath.d.ts +0 -17
  820. package/out/types/SanitizedPath.d.ts.map +0 -1
  821. package/out/types/SanitizedPath.js +0 -80
  822. package/out/types/SanitizedPath.js.map +0 -1
  823. package/out/types/SanitizedPath.mjs +0 -49
  824. package/out/types/SanitizedPath.mjs.map +0 -1
  825. package/out/types/ScaffoldConfig.d.js +0 -19
  826. package/out/types/ScaffoldConfig.d.js.map +0 -1
  827. package/out/types/ScaffoldConfig.d.mjs +0 -1
  828. package/out/types/ScaffoldConfig.d.mjs.map +0 -1
  829. package/out/types/ScaffoldConfig.d.ts +0 -43
  830. package/out/types/ScaffoldConfig.d.ts.map +0 -1
  831. package/out/types/ScaffoldConfig.js +0 -80
  832. package/out/types/ScaffoldConfig.js.map +0 -1
  833. package/out/types/ScaffoldConfig.mjs +0 -49
  834. package/out/types/ScaffoldConfig.mjs.map +0 -1
  835. package/out/types/Settings.d.js +0 -19
  836. package/out/types/Settings.d.js.map +0 -1
  837. package/out/types/Settings.d.mjs +0 -1
  838. package/out/types/Settings.d.mjs.map +0 -1
  839. package/out/types/Settings.d.ts +0 -43
  840. package/out/types/Settings.d.ts.map +0 -1
  841. package/out/types/Settings.js +0 -80
  842. package/out/types/Settings.js.map +0 -1
  843. package/out/types/Settings.mjs +0 -49
  844. package/out/types/Settings.mjs.map +0 -1
  845. package/out/types/SingleChar.d.js +0 -19
  846. package/out/types/SingleChar.d.js.map +0 -1
  847. package/out/types/SingleChar.d.mjs +0 -1
  848. package/out/types/SingleChar.d.mjs.map +0 -1
  849. package/out/types/SingleChar.d.ts +0 -17
  850. package/out/types/SingleChar.d.ts.map +0 -1
  851. package/out/types/SingleChar.js +0 -80
  852. package/out/types/SingleChar.js.map +0 -1
  853. package/out/types/SingleChar.mjs +0 -49
  854. package/out/types/SingleChar.mjs.map +0 -1
  855. package/out/types/Task.d.js +0 -19
  856. package/out/types/Task.d.js.map +0 -1
  857. package/out/types/Task.d.mjs +0 -1
  858. package/out/types/Task.d.mjs.map +0 -1
  859. package/out/types/Task.d.ts +0 -475
  860. package/out/types/Task.d.ts.map +0 -1
  861. package/out/types/Task.js +0 -80
  862. package/out/types/Task.js.map +0 -1
  863. package/out/types/Task.mjs +0 -49
  864. package/out/types/Task.mjs.map +0 -1
  865. package/out/types/Template.d.js +0 -19
  866. package/out/types/Template.d.js.map +0 -1
  867. package/out/types/Template.d.mjs +0 -1
  868. package/out/types/Template.d.mjs.map +0 -1
  869. package/out/types/Template.d.ts +0 -3373
  870. package/out/types/Template.d.ts.map +0 -1
  871. package/out/types/Template.js +0 -80
  872. package/out/types/Template.js.map +0 -1
  873. package/out/types/Template.mjs +0 -49
  874. package/out/types/Template.mjs.map +0 -1
  875. package/out/types/Timestamp.d.js +0 -19
  876. package/out/types/Timestamp.d.js.map +0 -1
  877. package/out/types/Timestamp.d.mjs +0 -1
  878. package/out/types/Timestamp.d.mjs.map +0 -1
  879. package/out/types/Timestamp.d.ts +0 -17
  880. package/out/types/Timestamp.d.ts.map +0 -1
  881. package/out/types/Timestamp.js +0 -80
  882. package/out/types/Timestamp.js.map +0 -1
  883. package/out/types/Timestamp.mjs +0 -49
  884. package/out/types/Timestamp.mjs.map +0 -1
  885. package/out/types/Tz.d.js +0 -19
  886. package/out/types/Tz.d.js.map +0 -1
  887. package/out/types/Tz.d.mjs +0 -1
  888. package/out/types/Tz.d.mjs.map +0 -1
  889. package/out/types/Tz.d.ts +0 -17
  890. package/out/types/Tz.d.ts.map +0 -1
  891. package/out/types/Tz.js +0 -80
  892. package/out/types/Tz.js.map +0 -1
  893. package/out/types/Tz.mjs +0 -49
  894. package/out/types/Tz.mjs.map +0 -1
  895. package/out/types/TzKtConfig.d.js +0 -19
  896. package/out/types/TzKtConfig.d.js.map +0 -1
  897. package/out/types/TzKtConfig.d.mjs +0 -1
  898. package/out/types/TzKtConfig.d.mjs.map +0 -1
  899. package/out/types/TzKtConfig.d.ts +0 -69
  900. package/out/types/TzKtConfig.d.ts.map +0 -1
  901. package/out/types/TzKtConfig.js +0 -80
  902. package/out/types/TzKtConfig.js.map +0 -1
  903. package/out/types/TzKtConfig.mjs +0 -49
  904. package/out/types/TzKtConfig.mjs.map +0 -1
  905. package/out/types/Url.d.js +0 -19
  906. package/out/types/Url.d.js.map +0 -1
  907. package/out/types/Url.d.mjs +0 -1
  908. package/out/types/Url.d.mjs.map +0 -1
  909. package/out/types/Url.d.ts +0 -17
  910. package/out/types/Url.d.ts.map +0 -1
  911. package/out/types/Url.js +0 -80
  912. package/out/types/Url.js.map +0 -1
  913. package/out/types/Url.mjs +0 -49
  914. package/out/types/Url.mjs.map +0 -1
  915. package/out/types/Verb.d.js +0 -19
  916. package/out/types/Verb.d.js.map +0 -1
  917. package/out/types/Verb.d.mjs +0 -1
  918. package/out/types/Verb.d.mjs.map +0 -1
  919. package/out/types/Verb.d.ts +0 -17
  920. package/out/types/Verb.d.ts.map +0 -1
  921. package/out/types/Verb.js +0 -80
  922. package/out/types/Verb.js.map +0 -1
  923. package/out/types/Verb.mjs +0 -49
  924. package/out/types/Verb.mjs.map +0 -1
  925. package/out/types/VersionNumber.d.js +0 -19
  926. package/out/types/VersionNumber.d.js.map +0 -1
  927. package/out/types/VersionNumber.d.mjs +0 -1
  928. package/out/types/VersionNumber.d.mjs.map +0 -1
  929. package/out/types/VersionNumber.d.ts +0 -17
  930. package/out/types/VersionNumber.d.ts.map +0 -1
  931. package/out/types/VersionNumber.js +0 -80
  932. package/out/types/VersionNumber.js.map +0 -1
  933. package/out/types/VersionNumber.mjs +0 -49
  934. package/out/types/VersionNumber.mjs.map +0 -1
  935. package/out/types-strict.d.js +0 -19
  936. package/out/types-strict.d.js.map +0 -1
  937. package/out/types-strict.d.mjs +0 -1
  938. package/out/types-strict.d.mjs.map +0 -1
  939. package/out/types-strict.d.ts +0 -455
  940. package/out/types-strict.d.ts.map +0 -1
  941. package/out/types-strict.js +0 -19
  942. package/out/types-strict.js.map +0 -1
  943. package/out/types-strict.mjs +0 -1
  944. package/out/types-strict.mjs.map +0 -1
  945. package/out/types-zod.d.js +0 -19
  946. package/out/types-zod.d.js.map +0 -1
  947. package/out/types-zod.d.mjs +0 -1
  948. package/out/types-zod.d.mjs.map +0 -1
  949. package/out/types-zod.d.ts +0 -15687
  950. package/out/types-zod.d.ts.map +0 -1
  951. package/out/types-zod.js +0 -450
  952. package/out/types-zod.js.map +0 -1
  953. package/out/types-zod.mjs +0 -366
  954. package/out/types-zod.mjs.map +0 -1
  955. package/scripts/build-types.d.ts +0 -2
  956. package/scripts/build-types.d.ts.map +0 -1
  957. package/scripts/post-ts-to-zod.d.ts +0 -2
  958. package/scripts/post-ts-to-zod.d.ts.map +0 -1
  959. package/types.d.ts +0 -311
  960. package/types.d.ts.map +0 -1
  961. package/types.js +0 -19
  962. package/types.js.map +0 -1
  963. package/types.mjs +0 -1
  964. package/types.mjs.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"RequestArgs.d.ts","sourceRoot":"","sources":["RequestArgs.ts"],"names":[],"mappings":"AAAA,cAAc,0CAA0C,CAAC"}
1
+ {"version":3,"file":"RequestArgs.d.ts","sourceRoot":"","sources":["RequestArgs.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AA6BxB,eAAO,MAAiB,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAE,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAE,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAAE,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAAE,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAY,CAAC"}
package/RequestArgs.js CHANGED
@@ -1,21 +1,136 @@
1
1
  "use strict";
2
+ var __create = Object.create;
2
3
  var __defProp = Object.defineProperty;
3
4
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
5
  var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __getProtoOf = Object.getPrototypeOf;
5
7
  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))
8
+ var __export = (target, all) => {
9
+ for (var name in all)
10
+ __defProp(target, name, { get: all[name], enumerable: true });
11
+ };
12
+ var __copyProps = (to, from2, except, desc) => {
13
+ if (from2 && typeof from2 === "object" || typeof from2 === "function") {
14
+ for (let key of __getOwnPropNames(from2))
9
15
  if (!__hasOwnProp.call(to, key) && key !== except)
10
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
+ __defProp(to, key, { get: () => from2[key], enumerable: !(desc = __getOwnPropDesc(from2, key)) || desc.enumerable });
11
17
  }
12
18
  return to;
13
19
  };
14
- var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
20
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
21
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
22
+ mod
23
+ ));
15
24
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
16
25
 
17
26
  // RequestArgs.ts
18
27
  var RequestArgs_exports = {};
28
+ __export(RequestArgs_exports, {
29
+ create: () => create,
30
+ createProxyRequestArgs: () => createProxyRequestArgs,
31
+ createProxyTemplateRequestArgs: () => createProxyTemplateRequestArgs,
32
+ factory: () => factory,
33
+ from: () => from,
34
+ generatedSchemas: () => generatedSchemas,
35
+ make: () => make,
36
+ makeProxyRequestArgs: () => makeProxyRequestArgs,
37
+ makeProxyTemplateRequestArgs: () => makeProxyTemplateRequestArgs,
38
+ of: () => of,
39
+ ofProxyRequestArgs: () => ofProxyRequestArgs,
40
+ ofProxyTemplateRequestArgs: () => ofProxyTemplateRequestArgs,
41
+ proxy: () => proxy,
42
+ proxyFactory: () => proxyFactory,
43
+ proxySchemas: () => proxySchemas,
44
+ proxyTemplate: () => proxyTemplate,
45
+ schemas: () => schemas2
46
+ });
19
47
  module.exports = __toCommonJS(RequestArgs_exports);
20
- __reExport(RequestArgs_exports, require("@taqueria/protocol/out/types/RequestArgs"), module.exports);
48
+ var import_Base = __toESM(require("@taqueria/protocol/Base"));
49
+ var LoadedConfig = __toESM(require("@taqueria/protocol/LoadedConfig"));
50
+ var import_SanitizedArgs = require("@taqueria/protocol/SanitizedArgs");
51
+ var import_zod = require("zod");
52
+ var taqRunSchema = import_zod.z.union([
53
+ import_zod.z.literal("pluginInfo"),
54
+ import_zod.z.literal("proxy"),
55
+ import_zod.z.literal("checkRuntimeDependencies"),
56
+ import_zod.z.literal("installRuntimeDependencies"),
57
+ import_zod.z.literal("proxyTemplate")
58
+ ]);
59
+ var rawSchema2 = import_SanitizedArgs.rawSchema.extend({
60
+ taqRun: taqRunSchema,
61
+ config: import_zod.z.preprocess(
62
+ (val) => typeof val === "string" ? JSON.parse(val) : val,
63
+ LoadedConfig.rawSchema
64
+ )
65
+ }).describe("RequestArgs").passthrough();
66
+ var internalSchema = import_SanitizedArgs.rawSchema.extend({
67
+ taqRun: taqRunSchema,
68
+ config: import_zod.z.preprocess(
69
+ (val) => typeof val === "string" ? JSON.parse(val) : val,
70
+ LoadedConfig.schemas.schema
71
+ )
72
+ }).describe("RequestArgs").passthrough();
73
+ var { schemas: generatedSchemas, factory } = (0, import_Base.default)({
74
+ rawSchema: rawSchema2,
75
+ internalSchema,
76
+ parseErrMsg: "The request is invalid",
77
+ unknownErrMsg: "Something went wrong trying to parse the request"
78
+ });
79
+ var schemas2 = {
80
+ ...generatedSchemas,
81
+ schema: generatedSchemas.schema.transform((val) => val)
82
+ };
83
+ var rawProxyTaskSchema = rawSchema2.extend({
84
+ task: import_zod.z.string().min(1)
85
+ }).describe("ProxyRequestArgs").passthrough();
86
+ var internalProxyTaskSchema = internalSchema.extend({
87
+ task: import_zod.z.string().min(1)
88
+ }).describe("ProxyRequestArgs").passthrough();
89
+ var rawProxyTemplateSchema = rawSchema2.extend({
90
+ template: import_zod.z.string().min(1)
91
+ });
92
+ var internalProxyTemplateSchema = rawSchema2.extend({
93
+ template: import_zod.z.string().min(1)
94
+ });
95
+ var proxy = (0, import_Base.default)({
96
+ rawSchema: rawProxyTaskSchema,
97
+ internalSchema: internalProxyTaskSchema,
98
+ parseErrMsg: "The request is invalid",
99
+ unknownErrMsg: "Something went wrong trying to parse the request"
100
+ });
101
+ var proxyTemplate = (0, import_Base.default)({
102
+ rawSchema: rawProxyTemplateSchema,
103
+ internalSchema: internalProxyTemplateSchema,
104
+ parseErrMsg: "The request is invalid",
105
+ unknownErrMsg: "Something went wrong trying to parse the request"
106
+ });
107
+ var proxySchemas = proxy.schemas;
108
+ var proxyFactory = proxy.factory;
109
+ var createProxyRequestArgs = proxyFactory.from;
110
+ var makeProxyRequestArgs = proxyFactory.make;
111
+ var ofProxyRequestArgs = proxyFactory.of;
112
+ var createProxyTemplateRequestArgs = proxyTemplate.factory.from;
113
+ var makeProxyTemplateRequestArgs = proxyTemplate.factory.make;
114
+ var ofProxyTemplateRequestArgs = proxyTemplate.factory.of;
115
+ var { create, make, of, from } = factory;
116
+ // Annotate the CommonJS export names for ESM import in node:
117
+ 0 && (module.exports = {
118
+ create,
119
+ createProxyRequestArgs,
120
+ createProxyTemplateRequestArgs,
121
+ factory,
122
+ from,
123
+ generatedSchemas,
124
+ make,
125
+ makeProxyRequestArgs,
126
+ makeProxyTemplateRequestArgs,
127
+ of,
128
+ ofProxyRequestArgs,
129
+ ofProxyTemplateRequestArgs,
130
+ proxy,
131
+ proxyFactory,
132
+ proxySchemas,
133
+ proxyTemplate,
134
+ schemas
135
+ });
21
136
  //# sourceMappingURL=RequestArgs.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["RequestArgs.ts"],"sourcesContent":["export * from '@taqueria/protocol/out/types/RequestArgs';\n"],"mappings":";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA,gCAAc,qDAAd;","names":[]}
1
+ {"version":3,"sources":["RequestArgs.ts"],"sourcesContent":["import createType from '@taqueria/protocol/Base';\nimport * as LoadedConfig from '@taqueria/protocol/LoadedConfig';\nimport { rawSchema as sanitizedArgsSchema } from '@taqueria/protocol/SanitizedArgs';\nimport { z } from 'zod';\n\nconst taqRunSchema = z.union([\n\tz.literal('pluginInfo'),\n\tz.literal('proxy'),\n\tz.literal('checkRuntimeDependencies'),\n\tz.literal('installRuntimeDependencies'),\n\tz.literal('proxyTemplate'),\n]);\n\nconst rawSchema = sanitizedArgsSchema.extend({\n\ttaqRun: taqRunSchema,\n\tconfig: z.preprocess(\n\t\tval => typeof val === 'string' ? JSON.parse(val) : val,\n\t\tLoadedConfig.rawSchema,\n\t),\n}).describe('RequestArgs').passthrough();\n\nconst internalSchema = sanitizedArgsSchema.extend({\n\ttaqRun: taqRunSchema,\n\tconfig: z.preprocess(\n\t\tval => typeof val === 'string' ? JSON.parse(val) : val,\n\t\tLoadedConfig.schemas.schema,\n\t),\n}).describe('RequestArgs').passthrough();\n\ntype RawInput = z.infer<typeof rawSchema>;\ntype Input = z.infer<typeof internalSchema>;\n\nexport const { schemas: generatedSchemas, factory } = createType<RawInput, Input>({\n\trawSchema,\n\tinternalSchema,\n\tparseErrMsg: 'The request is invalid',\n\tunknownErrMsg: 'Something went wrong trying to parse the request',\n});\n\nexport type RequestArgs = z.infer<typeof generatedSchemas.schema>;\nexport type t = RequestArgs;\n\nexport const schemas = {\n\t...generatedSchemas,\n\tschema: generatedSchemas.schema.transform(val => val as RequestArgs),\n};\n\nconst rawProxyTaskSchema = rawSchema.extend({\n\ttask: z.string().min(1),\n}).describe('ProxyRequestArgs').passthrough();\n\nconst internalProxyTaskSchema = internalSchema.extend({\n\ttask: z.string().min(1),\n}).describe('ProxyRequestArgs').passthrough();\n\nconst rawProxyTemplateSchema = rawSchema.extend({\n\ttemplate: z.string().min(1),\n});\n\nconst internalProxyTemplateSchema = rawSchema.extend({\n\ttemplate: z.string().min(1),\n});\n\ntype RawProxyInput = z.infer<typeof rawProxyTaskSchema>;\ntype ProxyInput = z.infer<typeof internalProxyTaskSchema>;\ntype RawProxyTemplateInput = z.infer<typeof rawProxyTemplateSchema>;\ntype ProxyTemplateInput = z.infer<typeof internalProxyTemplateSchema>;\n\nexport const proxy = createType<RawProxyInput, ProxyInput>({\n\trawSchema: rawProxyTaskSchema,\n\tinternalSchema: internalProxyTaskSchema,\n\tparseErrMsg: 'The request is invalid',\n\tunknownErrMsg: 'Something went wrong trying to parse the request',\n});\n\nexport const proxyTemplate = createType<RawProxyTemplateInput, ProxyTemplateInput>({\n\trawSchema: rawProxyTemplateSchema,\n\tinternalSchema: internalProxyTemplateSchema,\n\tparseErrMsg: 'The request is invalid',\n\tunknownErrMsg: 'Something went wrong trying to parse the request',\n});\n\nexport const proxySchemas = proxy.schemas;\nexport const proxyFactory = proxy.factory;\n\nexport type ProxyRequestArgs = z.infer<typeof proxySchemas.schema>;\nexport type ProxyTemplateRequestArgs = z.infer<typeof proxyTemplate.schemas.schema>;\n\nexport const createProxyRequestArgs = proxyFactory.from;\nexport const makeProxyRequestArgs = proxyFactory.make;\nexport const ofProxyRequestArgs = proxyFactory.of;\n\nexport const createProxyTemplateRequestArgs = proxyTemplate.factory.from;\nexport const makeProxyTemplateRequestArgs = proxyTemplate.factory.make;\nexport const ofProxyTemplateRequestArgs = proxyTemplate.factory.of;\n\nexport const { create, make, of, from } = factory;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,iBAAAA;AAAA;AAAA;AAAA,kBAAuB;AACvB,mBAA8B;AAC9B,2BAAiD;AACjD,iBAAkB;AAElB,IAAM,eAAe,aAAE,MAAM;AAAA,EAC5B,aAAE,QAAQ,YAAY;AAAA,EACtB,aAAE,QAAQ,OAAO;AAAA,EACjB,aAAE,QA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AAA,EAC1D,WAAW;AAAA,EACX,gBAAgB;AAAA,EAChB,aAAa;AAAA,EACb,eAAe;AAChB,CAAC;AAEM,IAAM,oBAAgB,YAAAA,SAAsD;AAAA,EAClF,WAAW;AAAA,EACX,gBAAgB;AAAA,EAChB,aAAa;AAAA,EACb,eAAe;AAChB,CAAC;AAEM,IAAM,eAAe,MAAM;AAC3B,IAAM,eAAe,MAAM;AAK3B,IAAM,yBAAyB,aAAa;AAC5C,IAAM,uBAAuB,aAAa;AAC1C,IAAM,qBAAqB,aAAa;AAExC,IAAM,iCAAiC,cAAc,QAAQ;AAC7D,IAAM,+BAA+B,cAAc,QAAQ;AAC3D,IAAM,6BAA6B,cAAc,QAAQ;AAEzD,IAAM,EAAE,QAAQ,MAAM,IAAI,KAAK,IAAI;","names":["schemas","rawSchema","sanitizedArgsSchema","createType"]}
package/RequestArgs.mjs CHANGED
@@ -1,3 +1,89 @@
1
1
  // RequestArgs.ts
2
- export * from "@taqueria/protocol/out/types/RequestArgs";
2
+ import createType from "@taqueria/protocol/Base";
3
+ import * as LoadedConfig from "@taqueria/protocol/LoadedConfig";
4
+ import { rawSchema as sanitizedArgsSchema } from "@taqueria/protocol/SanitizedArgs";
5
+ import { z } from "zod";
6
+ var taqRunSchema = z.union([
7
+ z.literal("pluginInfo"),
8
+ z.literal("proxy"),
9
+ z.literal("checkRuntimeDependencies"),
10
+ z.literal("installRuntimeDependencies"),
11
+ z.literal("proxyTemplate")
12
+ ]);
13
+ var rawSchema2 = sanitizedArgsSchema.extend({
14
+ taqRun: taqRunSchema,
15
+ config: z.preprocess(
16
+ (val) => typeof val === "string" ? JSON.parse(val) : val,
17
+ LoadedConfig.rawSchema
18
+ )
19
+ }).describe("RequestArgs").passthrough();
20
+ var internalSchema = sanitizedArgsSchema.extend({
21
+ taqRun: taqRunSchema,
22
+ config: z.preprocess(
23
+ (val) => typeof val === "string" ? JSON.parse(val) : val,
24
+ LoadedConfig.schemas.schema
25
+ )
26
+ }).describe("RequestArgs").passthrough();
27
+ var { schemas: generatedSchemas, factory } = createType({
28
+ rawSchema: rawSchema2,
29
+ internalSchema,
30
+ parseErrMsg: "The request is invalid",
31
+ unknownErrMsg: "Something went wrong trying to parse the request"
32
+ });
33
+ var schemas2 = {
34
+ ...generatedSchemas,
35
+ schema: generatedSchemas.schema.transform((val) => val)
36
+ };
37
+ var rawProxyTaskSchema = rawSchema2.extend({
38
+ task: z.string().min(1)
39
+ }).describe("ProxyRequestArgs").passthrough();
40
+ var internalProxyTaskSchema = internalSchema.extend({
41
+ task: z.string().min(1)
42
+ }).describe("ProxyRequestArgs").passthrough();
43
+ var rawProxyTemplateSchema = rawSchema2.extend({
44
+ template: z.string().min(1)
45
+ });
46
+ var internalProxyTemplateSchema = rawSchema2.extend({
47
+ template: z.string().min(1)
48
+ });
49
+ var proxy = createType({
50
+ rawSchema: rawProxyTaskSchema,
51
+ internalSchema: internalProxyTaskSchema,
52
+ parseErrMsg: "The request is invalid",
53
+ unknownErrMsg: "Something went wrong trying to parse the request"
54
+ });
55
+ var proxyTemplate = createType({
56
+ rawSchema: rawProxyTemplateSchema,
57
+ internalSchema: internalProxyTemplateSchema,
58
+ parseErrMsg: "The request is invalid",
59
+ unknownErrMsg: "Something went wrong trying to parse the request"
60
+ });
61
+ var proxySchemas = proxy.schemas;
62
+ var proxyFactory = proxy.factory;
63
+ var createProxyRequestArgs = proxyFactory.from;
64
+ var makeProxyRequestArgs = proxyFactory.make;
65
+ var ofProxyRequestArgs = proxyFactory.of;
66
+ var createProxyTemplateRequestArgs = proxyTemplate.factory.from;
67
+ var makeProxyTemplateRequestArgs = proxyTemplate.factory.make;
68
+ var ofProxyTemplateRequestArgs = proxyTemplate.factory.of;
69
+ var { create, make, of, from } = factory;
70
+ export {
71
+ create,
72
+ createProxyRequestArgs,
73
+ createProxyTemplateRequestArgs,
74
+ factory,
75
+ from,
76
+ generatedSchemas,
77
+ make,
78
+ makeProxyRequestArgs,
79
+ makeProxyTemplateRequestArgs,
80
+ of,
81
+ ofProxyRequestArgs,
82
+ ofProxyTemplateRequestArgs,
83
+ proxy,
84
+ proxyFactory,
85
+ proxySchemas,
86
+ proxyTemplate,
87
+ schemas2 as schemas
88
+ };
3
89
  //# sourceMappingURL=RequestArgs.mjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["RequestArgs.ts"],"sourcesContent":["export * from '@taqueria/protocol/out/types/RequestArgs';\n"],"mappings":";AAAA,cAAc;","names":[]}
1
+ {"version":3,"sources":["RequestArgs.ts"],"sourcesContent":["import createType from '@taqueria/protocol/Base';\nimport * as LoadedConfig from '@taqueria/protocol/LoadedConfig';\nimport { rawSchema as sanitizedArgsSchema } from '@taqueria/protocol/SanitizedArgs';\nimport { z } from 'zod';\n\nconst taqRunSchema = z.union([\n\tz.literal('pluginInfo'),\n\tz.literal('proxy'),\n\tz.literal('checkRuntimeDependencies'),\n\tz.literal('installRuntimeDependencies'),\n\tz.literal('proxyTemplate'),\n]);\n\nconst rawSchema = sanitizedArgsSchema.extend({\n\ttaqRun: taqRunSchema,\n\tconfig: z.preprocess(\n\t\tval => typeof val === 'string' ? JSON.parse(val) : val,\n\t\tLoadedConfig.rawSchema,\n\t),\n}).describe('RequestArgs').passthrough();\n\nconst internalSchema = sanitizedArgsSchema.extend({\n\ttaqRun: taqRunSchema,\n\tconfig: z.preprocess(\n\t\tval => typeof val === 'string' ? JSON.parse(val) : val,\n\t\tLoadedConfig.schemas.schema,\n\t),\n}).describe('RequestArgs').passthrough();\n\ntype RawInput = z.infer<typeof rawSchema>;\ntype Input = z.infer<typeof internalSchema>;\n\nexport const { schemas: generatedSchemas, factory } = createType<RawInput, Input>({\n\trawSchema,\n\tinternalSchema,\n\tparseErrMsg: 'The request is invalid',\n\tunknownErrMsg: 'Something went wrong trying to parse the request',\n});\n\nexport type RequestArgs = z.infer<typeof generatedSchemas.schema>;\nexport type t = RequestArgs;\n\nexport const schemas = {\n\t...generatedSchemas,\n\tschema: generatedSchemas.schema.transform(val => val as RequestArgs),\n};\n\nconst rawProxyTaskSchema = rawSchema.extend({\n\ttask: z.string().min(1),\n}).describe('ProxyRequestArgs').passthrough();\n\nconst internalProxyTaskSchema = internalSchema.extend({\n\ttask: z.string().min(1),\n}).describe('ProxyRequestArgs').passthrough();\n\nconst rawProxyTemplateSchema = rawSchema.extend({\n\ttemplate: z.string().min(1),\n});\n\nconst internalProxyTemplateSchema = rawSchema.extend({\n\ttemplate: z.string().min(1),\n});\n\ntype RawProxyInput = z.infer<typeof rawProxyTaskSchema>;\ntype ProxyInput = z.infer<typeof internalProxyTaskSchema>;\ntype RawProxyTemplateInput = z.infer<typeof rawProxyTemplateSchema>;\ntype ProxyTemplateInput = z.infer<typeof internalProxyTemplateSchema>;\n\nexport const proxy = createType<RawProxyInput, ProxyInput>({\n\trawSchema: rawProxyTaskSchema,\n\tinternalSchema: internalProxyTaskSchema,\n\tparseErrMsg: 'The request is invalid',\n\tunknownErrMsg: 'Something went wrong trying to parse the request',\n});\n\nexport const proxyTemplate = createType<RawProxyTemplateInput, ProxyTemplateInput>({\n\trawSchema: rawProxyTemplateSchema,\n\tinternalSchema: internalProxyTemplateSchema,\n\tparseErrMsg: 'The request is invalid',\n\tunknownErrMsg: 'Something went wrong trying to parse the request',\n});\n\nexport const proxySchemas = proxy.schemas;\nexport const proxyFactory = proxy.factory;\n\nexport type ProxyRequestArgs = z.infer<typeof proxySchemas.schema>;\nexport type ProxyTemplateRequestArgs = z.infer<typeof proxyTemplate.schemas.schema>;\n\nexport const createProxyRequestArgs = proxyFactory.from;\nexport const makeProxyRequestArgs = proxyFactory.make;\nexport const ofProxyRequestArgs = proxyFactory.of;\n\nexport const createProxyTemplateRequestArgs = proxyTemplate.factory.from;\nexport const makeProxyTemplateRequestArgs = proxyTemplate.factory.make;\nexport const ofProxyTemplateRequestArgs = proxyTemplate.factory.of;\n\nexport const { create, make, of, from } = factory;\n"],"mappings":";AAAA,OAAO,gBAAgB;AACvB,YAAY,kBAAkB;AAC9B,SAAS,aAAa,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,8BAA8BA,WAAU,OAAO;AAAA,EACpD,UAAU,EAAE,OAAO,EAAE,IAAI,CAAC;AAC3B,CAAC;AAOM,IAAM,QAAQ,WAAsC;AAAA,EAC1D,WAAW;AAAA,EACX,gBAAgB;AAAA,EAChB,aAAa;AAAA,EACb,eAAe;AAChB,CAAC;AAEM,IAAM,gBAAgB,WAAsD;AAAA,EAClF,WAAW;AAAA,EACX,gBAAgB;AAAA,EAChB,aAAa;AAAA,EACb,eAAe;AAChB,CAAC;AAEM,IAAM,eAAe,MAAM;AAC3B,IAAM,eAAe,MAAM;AAK3B,IAAM,yBAAyB,aAAa;AAC5C,IAAM,uBAAuB,aAAa;AAC1C,IAAM,qBAAqB,aAAa;AAExC,IAAM,iCAAiC,cAAc,QAAQ;AAC7D,IAAM,+BAA+B,cAAc,QAAQ;AAC3D,IAAM,6BAA6B,cAAc,QAAQ;AAEzD,IAAM,EAAE,QAAQ,MAAM,IAAI,KAAK,IAAI;","names":["rawSchema","schemas"]}
package/SHA256.d.ts CHANGED
@@ -1,37 +1,29 @@
1
1
  import { TaqError } from '@taqueria/protocol/TaqError';
2
2
  import { FutureInstance as Future } from 'fluture';
3
3
  import { z } from 'zod';
4
- interface SubtleCrypto {
5
- digest(method: 'SHA-256', data: Uint8Array): ArrayBuffer;
6
- }
7
- export declare class Crypto {
8
- subtle: SubtleCrypto;
9
- constructor();
10
- }
11
4
  export declare const rawSchema: z.ZodString;
12
5
  export declare const toSHA256: (value: string) => Promise<string & {
13
- readonly __type: any;
6
+ readonly __kind: any;
14
7
  }>;
15
8
  export declare const internalSchema: z.ZodEffects<z.ZodType<any, z.ZodTypeDef, any>, string & {
16
- readonly __type: any;
9
+ readonly __kind: any;
17
10
  }, any>;
18
11
  export type SHA256 = z.infer<typeof internalSchema>;
19
12
  export type t = SHA256;
20
13
  export declare const create: (input: string) => string & {
21
- readonly __type: any;
14
+ readonly __kind: any;
22
15
  }, of: (input: unknown) => Future<TaqError, string & {
23
- readonly __type: any;
16
+ readonly __kind: any;
24
17
  }>, make: (input: string) => Future<TaqError, string & {
25
- readonly __type: any;
18
+ readonly __kind: any;
26
19
  }>;
27
20
  export declare const schemas: {
28
21
  schema: z.ZodEffects<z.ZodEffects<z.ZodType<any, z.ZodTypeDef, any>, string & {
29
- readonly __type: any;
22
+ readonly __kind: any;
30
23
  }, any>, string & {
31
- readonly __type: any;
24
+ readonly __kind: any;
32
25
  }, any>;
33
26
  rawSchema: z.ZodType<any, z.ZodTypeDef, any>;
34
27
  internalSchema: z.ZodType<any, z.ZodTypeDef, any>;
35
28
  };
36
- export {};
37
29
  //# sourceMappingURL=SHA256.d.ts.map
package/SHA256.d.ts.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"SHA256.d.ts","sourceRoot":"","sources":["SHA256.ts"],"names":[],"mappings":"AACA,OAAO,EAAc,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AACnE,OAAO,EAAE,cAAc,IAAI,MAAM,EAAmB,MAAM,SAAS,CAAC;AAGpE,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAQxB,UAAU,YAAY;IACrB,MAAM,CAAC,MAAM,EAAE,SAAS,EAAE,IAAI,EAAE,UAAU,GAAG,WAAW,CAAC;CACzD;AACD,qBAAa,MAAM;IAClB,MAAM,EAAE,YAAY,CAAC;;CAQrB;AAcD,eAAO,MAAM,SAAS,aAAiD,CAAC;AAWxE,eAAO,MAAM,QAAQ,UAAiB,MAAM;;EAO3C,CAAC;AAEF,eAAO,MAAM,cAAc;;OAA0B,CAAC;AAEtD,MAAM,MAAM,MAAM,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;AACpD,MAAM,MAAM,CAAC,GAAG,MAAM,CAAC;AACvB,eAAO,MAAQ,MAAM;;GAAE,EAAE;;IAAE,IAAI;;EAAY,CAAC;AAC5C,eAAO,MAAM,OAAO;;;;;;;;CAGnB,CAAC"}
1
+ {"version":3,"file":"SHA256.d.ts","sourceRoot":"","sources":["SHA256.ts"],"names":[],"mappings":"AAEA,OAAO,EAAc,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AACnE,OAAO,EAAE,cAAc,IAAI,MAAM,EAAmB,MAAM,SAAS,CAAC;AAEpE,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAOxB,eAAO,MAAM,SAAS,aAAiD,CAAC;AAWxE,eAAO,MAAM,QAAQ,UAAiB,MAAM;;EAQ3C,CAAC;AAEF,eAAO,MAAM,cAAc;;OAA0B,CAAC;AAEtD,MAAM,MAAM,MAAM,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;AACpD,MAAM,MAAM,CAAC,GAAG,MAAM,CAAC;AACvB,eAAO,MAAQ,MAAM;;GAAE,EAAE;;IAAE,IAAI;;EAAY,CAAC;AAC5C,eAAO,MAAM,OAAO;;;;;;;;CAGnB,CAAC"}
package/SHA256.js CHANGED
@@ -26,7 +26,6 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
26
26
  // SHA256.ts
27
27
  var SHA256_exports = {};
28
28
  __export(SHA256_exports, {
29
- Crypto: () => Crypto,
30
29
  create: () => create,
31
30
  internalSchema: () => internalSchema,
32
31
  make: () => make,
@@ -36,32 +35,15 @@ __export(SHA256_exports, {
36
35
  toSHA256: () => toSHA256
37
36
  });
38
37
  module.exports = __toCommonJS(SHA256_exports);
38
+ var import_webcrypto = require("@peculiar/webcrypto");
39
39
  var import_Base = __toESM(require("@taqueria/protocol/Base"));
40
40
  var import_TaqError = require("@taqueria/protocol/TaqError");
41
41
  var import_fluture = require("fluture");
42
- var import_rambda = require("rambda");
43
42
  var import_util = require("util");
44
43
  var import_zod = require("zod");
45
44
  var eager = (f) => (0, import_fluture.promise)(
46
45
  (0, import_fluture.mapRej)((err) => new import_TaqError.E_TaqError(err))(f)
47
46
  );
48
- var Crypto = class {
49
- constructor() {
50
- this.subtle = {
51
- digest(_method, _data) {
52
- return new ArrayBuffer(50);
53
- }
54
- };
55
- }
56
- };
57
- var getSubtleCrypto = async () => {
58
- if ((0, import_rambda.has)("SubtleCrypto", globalThis)) {
59
- return Promise.resolve(crypto.subtle);
60
- }
61
- const { Crypto: Crypto2 } = await import("@peculiar/webcrypto");
62
- const webcrypto = new Crypto2();
63
- return Promise.resolve(webcrypto.subtle);
64
- };
65
47
  var rawSchema = import_zod.z.string({ description: "SHA256" }).length(64);
66
48
  var { schemas: generatedSchemas, factory } = (0, import_Base.default)({
67
49
  isStringLike: true,
@@ -72,7 +54,8 @@ var { schemas: generatedSchemas, factory } = (0, import_Base.default)({
72
54
  var toSHA256 = async (value) => {
73
55
  const encoder = new import_util.TextEncoder();
74
56
  const data = encoder.encode(value);
75
- const hash = await (await getSubtleCrypto()).digest("SHA-256", data);
57
+ const crypto = new import_webcrypto.Crypto();
58
+ const hash = await crypto.subtle.digest("SHA-256", data);
76
59
  const hashArray = Array.from(new Uint8Array(hash));
77
60
  const hashHex = hashArray.map((b) => b.toString(16).padStart(2, "0")).join("");
78
61
  return eager(factory.make(hashHex));
@@ -85,7 +68,6 @@ var schemas = {
85
68
  };
86
69
  // Annotate the CommonJS export names for ESM import in node:
87
70
  0 && (module.exports = {
88
- Crypto,
89
71
  create,
90
72
  internalSchema,
91
73
  make,
package/SHA256.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["SHA256.ts"],"sourcesContent":["import createType from '@taqueria/protocol/Base';\nimport { E_TaqError, TaqError } from '@taqueria/protocol/TaqError';\nimport { FutureInstance as Future, mapRej, promise } from 'fluture';\nimport { has } from 'rambda';\nimport { TextEncoder } from 'util';\nimport { z } from 'zod';\n\nconst eager = <T>(f: Future<TaqError, T>) =>\n\tpromise(\n\t\tmapRej((err: TaqError) => new E_TaqError(err))(f),\n\t);\n\n// Access to SubtleCrypto is different on NodeJS vs Deno\ninterface SubtleCrypto {\n\tdigest(method: 'SHA-256', data: Uint8Array): ArrayBuffer;\n}\nexport class Crypto {\n\tsubtle: SubtleCrypto;\n\tconstructor() {\n\t\tthis.subtle = {\n\t\t\tdigest(_method: 'SHA-256', _data: Uint8Array) {\n\t\t\t\treturn new ArrayBuffer(50);\n\t\t\t},\n\t\t};\n\t}\n}\n// deno-lint-ignore var\ndeclare var crypto: Crypto;\n\nconst getSubtleCrypto = async () => {\n\tif (has('SubtleCrypto', globalThis)) {\n\t\treturn Promise.resolve(crypto.subtle);\n\t}\n\n\tconst { Crypto } = await import('@peculiar/webcrypto');\n\tconst webcrypto = new Crypto();\n\treturn Promise.resolve(webcrypto.subtle);\n};\n\nexport const rawSchema = z.string({ description: 'SHA256' }).length(64);\n\ntype RawInput = z.infer<typeof rawSchema>;\n\nconst { schemas: generatedSchemas, factory } = createType<RawInput, RawInput>({\n\tisStringLike: true,\n\trawSchema,\n\tparseErrMsg: (value: unknown) => `${value} is an invalid SHA256 hash`,\n\tunknownErrMsg: (value: unknown) => `Something went wrong trying to parse the following as a SHA256 value, ${value}`,\n});\n\nexport const toSHA256 = async (value: string) => {\n\tconst encoder = new TextEncoder();\n\tconst data = encoder.encode(value);\n\tconst hash = await (await getSubtleCrypto()).digest('SHA-256', data);\n\tconst hashArray = Array.from(new Uint8Array(hash)); // convert buffer to byte array\n\tconst hashHex = hashArray.map(b => b.toString(16).padStart(2, '0')).join('');\n\treturn eager(factory.make(hashHex));\n};\n\nexport const internalSchema = generatedSchemas.schema;\n\nexport type SHA256 = z.infer<typeof internalSchema>;\nexport type t = SHA256;\nexport const { create, of, make } = factory;\nexport const schemas = {\n\t...generatedSchemas,\n\tschema: generatedSchemas.schema.transform(val => val as SHA256),\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,kBAAuB;AACvB,sBAAqC;AACrC,qBAA0D;AAC1D,oBAAoB;AACpB,kBAA4B;AAC5B,iBAAkB;AAElB,IAAM,QAAQ,CAAI,UACjB;AAAA,MACC,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,UAAU,SAAO,GAAa;AAC/D;","names":["Crypto","createType"]}
1
+ {"version":3,"sources":["SHA256.ts"],"sourcesContent":["import { Crypto } from '@peculiar/webcrypto';\nimport createType from '@taqueria/protocol/Base';\nimport { E_TaqError, TaqError } from '@taqueria/protocol/TaqError';\nimport { FutureInstance as Future, mapRej, promise } from 'fluture';\nimport { TextEncoder } from 'util';\nimport { z } from 'zod';\n\nconst eager = <T>(f: Future<TaqError, T>) =>\n\tpromise(\n\t\tmapRej((err: TaqError) => new E_TaqError(err))(f),\n\t);\n\nexport const rawSchema = z.string({ description: 'SHA256' }).length(64);\n\ntype RawInput = z.infer<typeof rawSchema>;\n\nconst { schemas: generatedSchemas, factory } = createType<RawInput, RawInput>({\n\tisStringLike: true,\n\trawSchema,\n\tparseErrMsg: (value: unknown) => `${value} is an invalid SHA256 hash`,\n\tunknownErrMsg: (value: unknown) => `Something went wrong trying to parse the following as a SHA256 value, ${value}`,\n});\n\nexport const toSHA256 = async (value: string) => {\n\tconst encoder = new TextEncoder();\n\tconst data = encoder.encode(value);\n\tconst crypto = new Crypto();\n\tconst hash = await crypto.subtle.digest('SHA-256', data);\n\tconst hashArray = Array.from(new Uint8Array(hash)); // convert buffer to byte array\n\tconst hashHex = hashArray.map(b => b.toString(16).padStart(2, '0')).join('');\n\treturn eager(factory.make(hashHex));\n};\n\nexport const internalSchema = generatedSchemas.schema;\n\nexport type SHA256 = z.infer<typeof internalSchema>;\nexport type t = SHA256;\nexport const { create, of, make } = factory;\nexport const schemas = {\n\t...generatedSchemas,\n\tschema: generatedSchemas.schema.transform(val => val as SHA256),\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,uBAAuB;AACvB,kBAAuB;AACvB,sBAAqC;AACrC,qBAA0D;AAC1D,kBAA4B;AAC5B,iBAAkB;AAElB,IAAM,QAAQ,CAAI,UACjB;AAAA,MACC,uBAAO,CAAC,QAAkB,IAAI,2BAAW,GAAG,CAAC,EAAE,CAAC;AACjD;AAEM,IAAM,YAAY,aAAE,OAAO,EAAE,aAAa,SAAS,CAAC,EAAE,OAAO,EAAE;AAItE,IAAM,EAAE,SAAS,kBAAkB,QAAQ,QAAI,YAAAA,SAA+B;AAAA,EAC7E,cAAc;AAAA,EACd;AAAA,EACA,aAAa,CAAC,UAAmB,GAAG;AAAA,EACpC,eAAe,CAAC,UAAmB,yEAAyE;AAC7G,CAAC;AAEM,IAAM,WAAW,OAAO,UAAkB;AAChD,QAAM,UAAU,IAAI,wBAAY;AAChC,QAAM,OAAO,QAAQ,OAAO,KAAK;AACjC,QAAM,SAAS,IAAI,wBAAO;AAC1B,QAAM,OAAO,MAAM,OAAO,OAAO,OAAO,WAAW,IAAI;AACvD,QAAM,YAAY,MAAM,KAAK,IAAI,WAAW,IAAI,CAAC;AACjD,QAAM,UAAU,UAAU,IAAI,OAAK,EAAE,SAAS,EAAE,EAAE,SAAS,GAAG,GAAG,CAAC,EAAE,KAAK,EAAE;AAC3E,SAAO,MAAM,QAAQ,KAAK,OAAO,CAAC;AACnC;AAEO,IAAM,iBAAiB,iBAAiB;AAIxC,IAAM,EAAE,QAAQ,IAAI,KAAK,IAAI;AAC7B,IAAM,UAAU;AAAA,EACtB,GAAG;AAAA,EACH,QAAQ,iBAAiB,OAAO,UAAU,SAAO,GAAa;AAC/D;","names":["createType"]}
package/SHA256.mjs CHANGED
@@ -1,30 +1,13 @@
1
1
  // SHA256.ts
2
+ import { Crypto } from "@peculiar/webcrypto";
2
3
  import createType from "@taqueria/protocol/Base";
3
4
  import { E_TaqError } from "@taqueria/protocol/TaqError";
4
5
  import { mapRej, promise } from "fluture";
5
- import { has } from "rambda";
6
6
  import { TextEncoder } from "util";
7
7
  import { z } from "zod";
8
8
  var eager = (f) => promise(
9
9
  mapRej((err) => new E_TaqError(err))(f)
10
10
  );
11
- var Crypto = class {
12
- constructor() {
13
- this.subtle = {
14
- digest(_method, _data) {
15
- return new ArrayBuffer(50);
16
- }
17
- };
18
- }
19
- };
20
- var getSubtleCrypto = async () => {
21
- if (has("SubtleCrypto", globalThis)) {
22
- return Promise.resolve(crypto.subtle);
23
- }
24
- const { Crypto: Crypto2 } = await import("@peculiar/webcrypto");
25
- const webcrypto = new Crypto2();
26
- return Promise.resolve(webcrypto.subtle);
27
- };
28
11
  var rawSchema = z.string({ description: "SHA256" }).length(64);
29
12
  var { schemas: generatedSchemas, factory } = createType({
30
13
  isStringLike: true,
@@ -35,7 +18,8 @@ var { schemas: generatedSchemas, factory } = createType({
35
18
  var toSHA256 = async (value) => {
36
19
  const encoder = new TextEncoder();
37
20
  const data = encoder.encode(value);
38
- const hash = await (await getSubtleCrypto()).digest("SHA-256", data);
21
+ const crypto = new Crypto();
22
+ const hash = await crypto.subtle.digest("SHA-256", data);
39
23
  const hashArray = Array.from(new Uint8Array(hash));
40
24
  const hashHex = hashArray.map((b) => b.toString(16).padStart(2, "0")).join("");
41
25
  return eager(factory.make(hashHex));
@@ -47,7 +31,6 @@ var schemas = {
47
31
  schema: generatedSchemas.schema.transform((val) => val)
48
32
  };
49
33
  export {
50
- Crypto,
51
34
  create,
52
35
  internalSchema,
53
36
  make,
package/SHA256.mjs.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["SHA256.ts"],"sourcesContent":["import createType from '@taqueria/protocol/Base';\nimport { E_TaqError, TaqError } from '@taqueria/protocol/TaqError';\nimport { FutureInstance as Future, mapRej, promise } from 'fluture';\nimport { has } from 'rambda';\nimport { TextEncoder } from 'util';\nimport { z } from 'zod';\n\nconst eager = <T>(f: Future<TaqError, T>) =>\n\tpromise(\n\t\tmapRej((err: TaqError) => new E_TaqError(err))(f),\n\t);\n\n// Access to SubtleCrypto is different on NodeJS vs Deno\ninterface SubtleCrypto {\n\tdigest(method: 'SHA-256', data: Uint8Array): ArrayBuffer;\n}\nexport class Crypto {\n\tsubtle: SubtleCrypto;\n\tconstructor() {\n\t\tthis.subtle = {\n\t\t\tdigest(_method: 'SHA-256', _data: Uint8Array) {\n\t\t\t\treturn new ArrayBuffer(50);\n\t\t\t},\n\t\t};\n\t}\n}\n// deno-lint-ignore var\ndeclare var crypto: Crypto;\n\nconst getSubtleCrypto = async () => {\n\tif (has('SubtleCrypto', globalThis)) {\n\t\treturn Promise.resolve(crypto.subtle);\n\t}\n\n\tconst { Crypto } = await import('@peculiar/webcrypto');\n\tconst webcrypto = new Crypto();\n\treturn Promise.resolve(webcrypto.subtle);\n};\n\nexport const rawSchema = z.string({ description: 'SHA256' }).length(64);\n\ntype RawInput = z.infer<typeof rawSchema>;\n\nconst { schemas: generatedSchemas, factory } = createType<RawInput, RawInput>({\n\tisStringLike: true,\n\trawSchema,\n\tparseErrMsg: (value: unknown) => `${value} is an invalid SHA256 hash`,\n\tunknownErrMsg: (value: unknown) => `Something went wrong trying to parse the following as a SHA256 value, ${value}`,\n});\n\nexport const toSHA256 = async (value: string) => {\n\tconst encoder = new TextEncoder();\n\tconst data = encoder.encode(value);\n\tconst hash = await (await getSubtleCrypto()).digest('SHA-256', data);\n\tconst hashArray = Array.from(new Uint8Array(hash)); // convert buffer to byte array\n\tconst hashHex = hashArray.map(b => b.toString(16).padStart(2, '0')).join('');\n\treturn eager(factory.make(hashHex));\n};\n\nexport const internalSchema = generatedSchemas.schema;\n\nexport type SHA256 = z.infer<typeof internalSchema>;\nexport type t = SHA256;\nexport const { create, of, make } = factory;\nexport const schemas = {\n\t...generatedSchemas,\n\tschema: generatedSchemas.schema.transform(val => val as SHA256),\n};\n"],"mappings":";AAAA,OAAO,gBAAgB;AACvB,SAAS,kBAA4B;AACrC,SAAmC,QAAQ,eAAe;AAC1D,SAAS,WAAW;AACpB,SAAS,mBAAmB;AAC5B,SAAS,SAAS;AAElB,IAAM,QAAQ,CAAI,MACjB;AAAA,EACC,OAAO,CAAC,QAAkB,IAAI,WAAW,GAAG,CAAC,EAAE,CAAC;AACjD;AAMM,IAAM,SAAN,MAAa;AAA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rypto';\nimport createType from '@taqueria/protocol/Base';\nimport { E_TaqError, TaqError } from '@taqueria/protocol/TaqError';\nimport { FutureInstance as Future, mapRej, promise } from 'fluture';\nimport { TextEncoder } from 'util';\nimport { z } from 'zod';\n\nconst eager = <T>(f: Future<TaqError, T>) =>\n\tpromise(\n\t\tmapRej((err: TaqError) => new E_TaqError(err))(f),\n\t);\n\nexport const rawSchema = z.string({ description: 'SHA256' }).length(64);\n\ntype RawInput = z.infer<typeof rawSchema>;\n\nconst { schemas: generatedSchemas, factory } = createType<RawInput, RawInput>({\n\tisStringLike: true,\n\trawSchema,\n\tparseErrMsg: (value: unknown) => `${value} is an invalid SHA256 hash`,\n\tunknownErrMsg: (value: unknown) => `Something went wrong trying to parse the following as a SHA256 value, ${value}`,\n});\n\nexport const toSHA256 = async (value: string) => {\n\tconst encoder = new TextEncoder();\n\tconst data = encoder.encode(value);\n\tconst crypto = new Crypto();\n\tconst hash = await crypto.subtle.digest('SHA-256', data);\n\tconst hashArray = Array.from(new Uint8Array(hash)); // convert buffer to byte array\n\tconst hashHex = hashArray.map(b => b.toString(16).padStart(2, '0')).join('');\n\treturn eager(factory.make(hashHex));\n};\n\nexport const internalSchema = generatedSchemas.schema;\n\nexport type SHA256 = z.infer<typeof internalSchema>;\nexport type t = SHA256;\nexport const { create, of, make } = factory;\nexport const schemas = {\n\t...generatedSchemas,\n\tschema: generatedSchemas.schema.transform(val => val as SHA256),\n};\n"],"mappings":";AAAA,SAAS,cAAc;AACvB,OAAO,gBAAgB;AACvB,SAAS,kBAA4B;AACrC,SAAmC,QAAQ,eAAe;AAC1D,SAAS,mBAAmB;AAC5B,SAAS,SAAS;AAElB,IAAM,QAAQ,CAAI,MACjB;AAAA,EACC,OAAO,CAAC,QAAkB,IAAI,WAAW,GAAG,CAAC,EAAE,CAAC;AACjD;AAEM,IAAM,YAAY,EAAE,OAAO,EAAE,aAAa,SAAS,CAAC,EAAE,OAAO,EAAE;AAItE,IAAM,EAAE,SAAS,kBAAkB,QAAQ,IAAI,WAA+B;AAAA,EAC7E,cAAc;AAAA,EACd;AAAA,EACA,aAAa,CAAC,UAAmB,GAAG;AAAA,EACpC,eAAe,CAAC,UAAmB,yEAAyE;AAC7G,CAAC;AAEM,IAAM,WAAW,OAAO,UAAkB;AAChD,QAAM,UAAU,IAAI,YAAY;AAChC,QAAM,OAAO,QAAQ,OAAO,KAAK;AACjC,QAAM,SAAS,IAAI,OAAO;AAC1B,QAAM,OAAO,MAAM,OAAO,OAAO,OAAO,WAAW,IAAI;AACvD,QAAM,YAAY,MAAM,KAAK,IAAI,WAAW,IAAI,CAAC;AACjD,QAAM,UAAU,UAAU,IAAI,OAAK,EAAE,SAAS,EAAE,EAAE,SAAS,GAAG,GAAG,CAAC,EAAE,KAAK,EAAE;AAC3E,SAAO,MAAM,QAAQ,KAAK,OAAO,CAAC;AACnC;AAEO,IAAM,iBAAiB,iBAAiB;AAIxC,IAAM,EAAE,QAAQ,IAAI,KAAK,IAAI;AAC7B,IAAM,UAAU;AAAA,EACtB,GAAG;AAAA,EACH,QAAQ,iBAAiB,OAAO,UAAU,SAAO,GAAa;AAC/D;","names":[]}
@@ -1,2 +1,145 @@
1
- export * from '@taqueria/protocol/out/types/SandboxAccountConfig';
1
+ import { z } from 'zod';
2
+ export declare const rawSchema: z.ZodObject<{
3
+ encryptedKey: z.ZodString;
4
+ publicKeyHash: z.ZodString;
5
+ secretKey: z.ZodString;
6
+ }, "strip", z.ZodTypeAny, {
7
+ encryptedKey: string;
8
+ publicKeyHash: string;
9
+ secretKey: string;
10
+ }, {
11
+ encryptedKey: string;
12
+ publicKeyHash: string;
13
+ secretKey: string;
14
+ }>;
15
+ export declare const generatedSchemas: {
16
+ rawSchema: z.ZodType<any, z.ZodTypeDef, any>;
17
+ internalSchema: z.ZodType<any, z.ZodTypeDef, any>;
18
+ schema: z.ZodEffects<z.ZodType<any, z.ZodTypeDef, any>, {
19
+ encryptedKey: string;
20
+ publicKeyHash: string & {
21
+ readonly __kind: any;
22
+ };
23
+ secretKey: string;
24
+ } & {
25
+ readonly __kind: any;
26
+ }, any>;
27
+ }, factory: {
28
+ make: (input: {
29
+ encryptedKey: string;
30
+ publicKeyHash: string & {
31
+ readonly __kind: any;
32
+ };
33
+ secretKey: string;
34
+ }) => import("fluture").FutureInstance<import("./TaqError").TaqError, {
35
+ encryptedKey: string;
36
+ publicKeyHash: string & {
37
+ readonly __kind: any;
38
+ };
39
+ secretKey: string;
40
+ } & {
41
+ readonly __kind: any;
42
+ }>;
43
+ of: (input: unknown) => import("fluture").FutureInstance<import("./TaqError").TaqError, {
44
+ encryptedKey: string;
45
+ publicKeyHash: string & {
46
+ readonly __kind: any;
47
+ };
48
+ secretKey: string;
49
+ } & {
50
+ readonly __kind: any;
51
+ }>;
52
+ create: (input: {
53
+ encryptedKey: string;
54
+ publicKeyHash: string & {
55
+ readonly __kind: any;
56
+ };
57
+ secretKey: string;
58
+ } | {
59
+ encryptedKey: string;
60
+ publicKeyHash: string;
61
+ secretKey: string;
62
+ }) => {
63
+ encryptedKey: string;
64
+ publicKeyHash: string & {
65
+ readonly __kind: any;
66
+ };
67
+ secretKey: string;
68
+ } & {
69
+ readonly __kind: any;
70
+ };
71
+ from: (input: unknown) => {
72
+ encryptedKey: string;
73
+ publicKeyHash: string & {
74
+ readonly __kind: any;
75
+ };
76
+ secretKey: string;
77
+ } & {
78
+ readonly __kind: any;
79
+ };
80
+ };
81
+ export type SandboxAccountConfig = z.infer<typeof generatedSchemas.schema>;
82
+ export type t = SandboxAccountConfig;
83
+ export declare const create: (input: {
84
+ encryptedKey: string;
85
+ publicKeyHash: string & {
86
+ readonly __kind: any;
87
+ };
88
+ secretKey: string;
89
+ } | {
90
+ encryptedKey: string;
91
+ publicKeyHash: string;
92
+ secretKey: string;
93
+ }) => {
94
+ encryptedKey: string;
95
+ publicKeyHash: string & {
96
+ readonly __kind: any;
97
+ };
98
+ secretKey: string;
99
+ } & {
100
+ readonly __kind: any;
101
+ }, of: (input: unknown) => import("fluture").FutureInstance<import("./TaqError").TaqError, {
102
+ encryptedKey: string;
103
+ publicKeyHash: string & {
104
+ readonly __kind: any;
105
+ };
106
+ secretKey: string;
107
+ } & {
108
+ readonly __kind: any;
109
+ }>, make: (input: {
110
+ encryptedKey: string;
111
+ publicKeyHash: string & {
112
+ readonly __kind: any;
113
+ };
114
+ secretKey: string;
115
+ }) => import("fluture").FutureInstance<import("./TaqError").TaqError, {
116
+ encryptedKey: string;
117
+ publicKeyHash: string & {
118
+ readonly __kind: any;
119
+ };
120
+ secretKey: string;
121
+ } & {
122
+ readonly __kind: any;
123
+ }>;
124
+ export declare const schemas: {
125
+ schema: z.ZodEffects<z.ZodEffects<z.ZodType<any, z.ZodTypeDef, any>, {
126
+ encryptedKey: string;
127
+ publicKeyHash: string & {
128
+ readonly __kind: any;
129
+ };
130
+ secretKey: string;
131
+ } & {
132
+ readonly __kind: any;
133
+ }, any>, {
134
+ encryptedKey: string;
135
+ publicKeyHash: string & {
136
+ readonly __kind: any;
137
+ };
138
+ secretKey: string;
139
+ } & {
140
+ readonly __kind: any;
141
+ }, any>;
142
+ rawSchema: z.ZodType<any, z.ZodTypeDef, any>;
143
+ internalSchema: z.ZodType<any, z.ZodTypeDef, any>;
144
+ };
2
145
  //# sourceMappingURL=SandboxAccountConfig.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SandboxAccountConfig.d.ts","sourceRoot":"","sources":["SandboxAccountConfig.ts"],"names":[],"mappings":"AAAA,cAAc,mDAAmD,CAAC"}
1
+ {"version":3,"file":"SandboxAccountConfig.d.ts","sourceRoot":"","sources":["SandboxAccountConfig.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAQxB,eAAO,MAAM,SAAS;;;;;;;;;;;;EAI8B,CAAC;AAMrD,eAAO,MAAiB,gBAAgB;;;;;;;;;;;;GAAE,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAK/C,CAAC;AAEH,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,MAAM,CAAC,CAAC;AAC3E,MAAM,MAAM,CAAC,GAAG,oBAAoB,CAAC;AACrC,eAAO,MAAQ,MAAM;;;;;;;;;;;;;;;;;;GAAE,EAAE;;;;;;;;IAAE,IAAI;;;;;;;;;;;;;;EAAY,CAAC;AAE5C,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;CAGnB,CAAC"}