@taqueria/protocol 0.24.2 → 0.25.3-alpha

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