bitbadges 0.45.6 → 0.45.7

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 (478) hide show
  1. package/README.md +14 -0
  2. package/dist/cjs/api-indexer/standards-info.d.ts +4 -0
  3. package/dist/cjs/api-indexer/standards-info.d.ts.map +1 -1
  4. package/dist/cjs/api-indexer/verify-standards.d.ts.map +1 -1
  5. package/dist/cjs/api-indexer/verify-standards.js +11 -0
  6. package/dist/cjs/api-indexer/verify-standards.js.map +1 -1
  7. package/dist/cjs/builder/agent/tokenTypeInference.d.ts.map +1 -1
  8. package/dist/cjs/builder/agent/tokenTypeInference.js +1 -0
  9. package/dist/cjs/builder/agent/tokenTypeInference.js.map +1 -1
  10. package/dist/cjs/builder/lifecycle-catalog.d.ts +4010 -0
  11. package/dist/cjs/builder/lifecycle-catalog.d.ts.map +1 -0
  12. package/dist/cjs/builder/lifecycle-catalog.js +92 -0
  13. package/dist/cjs/builder/lifecycle-catalog.js.map +1 -0
  14. package/dist/cjs/builder/lifecycle-catalog.spec.d.ts +2 -0
  15. package/dist/cjs/builder/lifecycle-catalog.spec.d.ts.map +1 -0
  16. package/dist/cjs/builder/lifecycle-catalog.spec.js +29 -0
  17. package/dist/cjs/builder/lifecycle-catalog.spec.js.map +1 -0
  18. package/dist/cjs/builder/lifecycle-fixtures.json +6895 -0
  19. package/dist/cjs/builder/lifecycle.d.ts +322 -0
  20. package/dist/cjs/builder/lifecycle.d.ts.map +1 -0
  21. package/dist/cjs/builder/lifecycle.js +197 -0
  22. package/dist/cjs/builder/lifecycle.js.map +1 -0
  23. package/dist/cjs/builder/lifecycle.spec.d.ts +2 -0
  24. package/dist/cjs/builder/lifecycle.spec.d.ts.map +1 -0
  25. package/dist/cjs/builder/lifecycle.spec.js +131 -0
  26. package/dist/cjs/builder/lifecycle.spec.js.map +1 -0
  27. package/dist/cjs/builder/lifecycleIntent.d.ts +369 -0
  28. package/dist/cjs/builder/lifecycleIntent.d.ts.map +1 -0
  29. package/dist/cjs/builder/lifecycleIntent.js +63 -0
  30. package/dist/cjs/builder/lifecycleIntent.js.map +1 -0
  31. package/dist/cjs/builder/lifecycleIntent.spec.d.ts +2 -0
  32. package/dist/cjs/builder/lifecycleIntent.spec.d.ts.map +1 -0
  33. package/dist/cjs/builder/lifecycleIntent.spec.js +102 -0
  34. package/dist/cjs/builder/lifecycleIntent.spec.js.map +1 -0
  35. package/dist/cjs/builder/resources/skillInstructions.d.ts +14 -0
  36. package/dist/cjs/builder/resources/skillInstructions.d.ts.map +1 -1
  37. package/dist/cjs/builder/resources/skillInstructions.js +239 -1
  38. package/dist/cjs/builder/resources/skillInstructions.js.map +1 -1
  39. package/dist/cjs/builder/resources/taskBundles.d.ts +18 -0
  40. package/dist/cjs/builder/resources/taskBundles.d.ts.map +1 -0
  41. package/dist/cjs/builder/resources/taskBundles.js +27 -0
  42. package/dist/cjs/builder/resources/taskBundles.js.map +1 -0
  43. package/dist/cjs/builder/resources/taskBundles.spec.d.ts +2 -0
  44. package/dist/cjs/builder/resources/taskBundles.spec.d.ts.map +1 -0
  45. package/dist/cjs/builder/resources/taskBundles.spec.js +33 -0
  46. package/dist/cjs/builder/resources/taskBundles.spec.js.map +1 -0
  47. package/dist/cjs/builder/server.d.ts.map +1 -1
  48. package/dist/cjs/builder/server.js +2 -1
  49. package/dist/cjs/builder/server.js.map +1 -1
  50. package/dist/cjs/builder/session/artifactBinding.d.ts +8 -0
  51. package/dist/cjs/builder/session/artifactBinding.d.ts.map +1 -0
  52. package/dist/cjs/builder/session/artifactBinding.js +15 -0
  53. package/dist/cjs/builder/session/artifactBinding.js.map +1 -0
  54. package/dist/cjs/builder/session/artifactBinding.spec.d.ts +2 -0
  55. package/dist/cjs/builder/session/artifactBinding.spec.d.ts.map +1 -0
  56. package/dist/cjs/builder/session/artifactBinding.spec.js +119 -0
  57. package/dist/cjs/builder/session/artifactBinding.spec.js.map +1 -0
  58. package/dist/cjs/builder/session/fileStore.d.ts.map +1 -1
  59. package/dist/cjs/builder/session/fileStore.js +3 -0
  60. package/dist/cjs/builder/session/fileStore.js.map +1 -1
  61. package/dist/cjs/builder/session/fileStore.spec.d.ts +2 -0
  62. package/dist/cjs/builder/session/fileStore.spec.d.ts.map +1 -0
  63. package/dist/cjs/builder/session/fileStore.spec.js +11 -0
  64. package/dist/cjs/builder/session/fileStore.spec.js.map +1 -0
  65. package/dist/cjs/builder/session/index.d.ts +1 -0
  66. package/dist/cjs/builder/session/index.d.ts.map +1 -1
  67. package/dist/cjs/builder/session/index.js +1 -0
  68. package/dist/cjs/builder/session/index.js.map +1 -1
  69. package/dist/cjs/builder/standards.d.ts.map +1 -1
  70. package/dist/cjs/builder/standards.js +15 -1
  71. package/dist/cjs/builder/standards.js.map +1 -1
  72. package/dist/cjs/builder/standards.spec.js +4 -1
  73. package/dist/cjs/builder/standards.spec.js.map +1 -1
  74. package/dist/cjs/builder/tools/builders/buildStandard.d.ts +302 -0
  75. package/dist/cjs/builder/tools/builders/buildStandard.d.ts.map +1 -1
  76. package/dist/cjs/builder/tools/errors.d.ts +11 -0
  77. package/dist/cjs/builder/tools/errors.d.ts.map +1 -0
  78. package/dist/cjs/builder/tools/errors.js +18 -0
  79. package/dist/cjs/builder/tools/errors.js.map +1 -0
  80. package/dist/cjs/builder/tools/queries/buildTransfer.d.ts +2 -2
  81. package/dist/cjs/builder/tools/queries/simulateTransaction.js +1 -1
  82. package/dist/cjs/builder/tools/queries/simulateTransaction.js.map +1 -1
  83. package/dist/cjs/builder/tools/queries/simulateTransaction.spec.d.ts +2 -0
  84. package/dist/cjs/builder/tools/queries/simulateTransaction.spec.d.ts.map +1 -0
  85. package/dist/cjs/builder/tools/queries/simulateTransaction.spec.js +50 -0
  86. package/dist/cjs/builder/tools/queries/simulateTransaction.spec.js.map +1 -0
  87. package/dist/cjs/builder/tools/queries/verifyOwnership.d.ts +4 -4
  88. package/dist/cjs/builder/tools/registry.d.ts +2 -0
  89. package/dist/cjs/builder/tools/registry.d.ts.map +1 -1
  90. package/dist/cjs/builder/tools/registry.js +66 -10
  91. package/dist/cjs/builder/tools/registry.js.map +1 -1
  92. package/dist/cjs/builder/tools/standardActions.d.ts.map +1 -1
  93. package/dist/cjs/builder/tools/standardActions.js +7 -1
  94. package/dist/cjs/builder/tools/standardActions.js.map +1 -1
  95. package/dist/cjs/builder/tools/standardActions.spec.js +15 -0
  96. package/dist/cjs/builder/tools/standardActions.spec.js.map +1 -1
  97. package/dist/cjs/builder/tools/utilities/fetchDocs.d.ts.map +1 -1
  98. package/dist/cjs/builder/tools/utilities/fetchDocs.js +4 -1
  99. package/dist/cjs/builder/tools/utilities/fetchDocs.js.map +1 -1
  100. package/dist/cjs/builder/tools/utilities/validateTransaction.js +1 -1
  101. package/dist/cjs/builder/tools/utilities/validateTransaction.js.map +1 -1
  102. package/dist/cjs/builder/tools/utilities/validateTransaction.spec.js +2 -6
  103. package/dist/cjs/builder/tools/utilities/validateTransaction.spec.js.map +1 -1
  104. package/dist/cjs/cli/auth/brand.d.ts +2 -0
  105. package/dist/cjs/cli/auth/brand.d.ts.map +1 -0
  106. package/dist/cjs/cli/auth/brand.js +5 -0
  107. package/dist/cjs/cli/auth/brand.js.map +1 -0
  108. package/dist/cjs/cli/auth/browser-bridge.d.ts +1 -0
  109. package/dist/cjs/cli/auth/browser-bridge.d.ts.map +1 -1
  110. package/dist/cjs/cli/auth/browser-bridge.js +67 -21
  111. package/dist/cjs/cli/auth/browser-bridge.js.map +1 -1
  112. package/dist/cjs/cli/auth/browser-bridge.spec.js +92 -4
  113. package/dist/cjs/cli/auth/browser-bridge.spec.js.map +1 -1
  114. package/dist/cjs/cli/commands/build.js +30 -1
  115. package/dist/cjs/cli/commands/build.js.map +1 -1
  116. package/dist/cjs/cli/commands/build.spec.js +2 -0
  117. package/dist/cjs/cli/commands/build.spec.js.map +1 -1
  118. package/dist/cjs/cli/commands/requests.d.ts.map +1 -1
  119. package/dist/cjs/cli/commands/requests.js +14 -1
  120. package/dist/cjs/cli/commands/requests.js.map +1 -1
  121. package/dist/cjs/cli/commands/spendable-credits.d.ts +3 -0
  122. package/dist/cjs/cli/commands/spendable-credits.d.ts.map +1 -0
  123. package/dist/cjs/cli/commands/spendable-credits.js +79 -0
  124. package/dist/cjs/cli/commands/spendable-credits.js.map +1 -0
  125. package/dist/cjs/cli/commands/standards.js +1 -1
  126. package/dist/cjs/cli/commands/standards.js.map +1 -1
  127. package/dist/cjs/cli/commands/tool.d.ts +1 -0
  128. package/dist/cjs/cli/commands/tool.d.ts.map +1 -1
  129. package/dist/cjs/cli/commands/tool.js +8 -2
  130. package/dist/cjs/cli/commands/tool.js.map +1 -1
  131. package/dist/cjs/cli/commands/tool.spec.d.ts +2 -0
  132. package/dist/cjs/cli/commands/tool.spec.d.ts.map +1 -0
  133. package/dist/cjs/cli/commands/tool.spec.js +20 -0
  134. package/dist/cjs/cli/commands/tool.spec.js.map +1 -0
  135. package/dist/cjs/cli/index.js +3 -0
  136. package/dist/cjs/cli/index.js.map +1 -1
  137. package/dist/cjs/cli/integration/cli-build-pipeline.spec.js +17 -2
  138. package/dist/cjs/cli/integration/cli-build-pipeline.spec.js.map +1 -1
  139. package/dist/cjs/cli/utils/browser-review.d.ts +918 -0
  140. package/dist/cjs/cli/utils/browser-review.d.ts.map +1 -0
  141. package/dist/cjs/cli/utils/browser-review.js +106 -0
  142. package/dist/cjs/cli/utils/browser-review.js.map +1 -0
  143. package/dist/cjs/cli/utils/browser-review.spec.d.ts +2 -0
  144. package/dist/cjs/cli/utils/browser-review.spec.d.ts.map +1 -0
  145. package/dist/cjs/cli/utils/browser-review.spec.js +64 -0
  146. package/dist/cjs/cli/utils/browser-review.spec.js.map +1 -0
  147. package/dist/cjs/cli/utils/normalizeMsg.d.ts.map +1 -1
  148. package/dist/cjs/cli/utils/normalizeMsg.js +2 -0
  149. package/dist/cjs/cli/utils/normalizeMsg.js.map +1 -1
  150. package/dist/cjs/cli/utils/normalizeMsg.spec.js +10 -0
  151. package/dist/cjs/cli/utils/normalizeMsg.spec.js.map +1 -1
  152. package/dist/cjs/cli/utils/signing-requests.d.ts +6 -5
  153. package/dist/cjs/cli/utils/signing-requests.d.ts.map +1 -1
  154. package/dist/cjs/cli/utils/signing-requests.js +8 -4
  155. package/dist/cjs/cli/utils/signing-requests.js.map +1 -1
  156. package/dist/cjs/cli/utils/signing-requests.spec.js +16 -0
  157. package/dist/cjs/cli/utils/signing-requests.spec.js.map +1 -1
  158. package/dist/cjs/core/audit-backing.spec.d.ts +2 -0
  159. package/dist/cjs/core/audit-backing.spec.d.ts.map +1 -0
  160. package/dist/cjs/core/audit-backing.spec.js +51 -0
  161. package/dist/cjs/core/audit-backing.spec.js.map +1 -0
  162. package/dist/cjs/core/audit.d.ts.map +1 -1
  163. package/dist/cjs/core/audit.js +7 -25
  164. package/dist/cjs/core/audit.js.map +1 -1
  165. package/dist/cjs/core/bounties.d.ts.map +1 -1
  166. package/dist/cjs/core/bounties.js +11 -10
  167. package/dist/cjs/core/bounties.js.map +1 -1
  168. package/dist/cjs/core/bounties.spec.js +15 -14
  169. package/dist/cjs/core/bounties.spec.js.map +1 -1
  170. package/dist/cjs/core/browser-receipt.d.ts +29 -0
  171. package/dist/cjs/core/browser-receipt.d.ts.map +1 -0
  172. package/dist/cjs/core/browser-receipt.js +156 -0
  173. package/dist/cjs/core/browser-receipt.js.map +1 -0
  174. package/dist/cjs/core/browser-receipt.spec.d.ts +2 -0
  175. package/dist/cjs/core/browser-receipt.spec.d.ts.map +1 -0
  176. package/dist/cjs/core/browser-receipt.spec.js +106 -0
  177. package/dist/cjs/core/browser-receipt.spec.js.map +1 -0
  178. package/dist/cjs/core/browser-signing.d.ts +2397 -16
  179. package/dist/cjs/core/browser-signing.d.ts.map +1 -1
  180. package/dist/cjs/core/browser-signing.js +29 -2
  181. package/dist/cjs/core/browser-signing.js.map +1 -1
  182. package/dist/cjs/core/builders/index.d.ts +1 -0
  183. package/dist/cjs/core/builders/index.d.ts.map +1 -1
  184. package/dist/cjs/core/builders/index.js +3 -1
  185. package/dist/cjs/core/builders/index.js.map +1 -1
  186. package/dist/cjs/core/builders/input-examples.json +8 -0
  187. package/dist/cjs/core/builders/input-schemas.d.ts +306 -0
  188. package/dist/cjs/core/builders/input-schemas.d.ts.map +1 -1
  189. package/dist/cjs/core/builders/input-schemas.generated.json +77 -0
  190. package/dist/cjs/core/builders/spendable-credit.d.ts +21 -0
  191. package/dist/cjs/core/builders/spendable-credit.d.ts.map +1 -0
  192. package/dist/cjs/core/builders/spendable-credit.js +99 -0
  193. package/dist/cjs/core/builders/spendable-credit.js.map +1 -0
  194. package/dist/cjs/core/builders/spendable-credit.spec.d.ts +2 -0
  195. package/dist/cjs/core/builders/spendable-credit.spec.d.ts.map +1 -0
  196. package/dist/cjs/core/builders/spendable-credit.spec.js +80 -0
  197. package/dist/cjs/core/builders/spendable-credit.spec.js.map +1 -0
  198. package/dist/cjs/core/index.d.ts +3 -0
  199. package/dist/cjs/core/index.d.ts.map +1 -1
  200. package/dist/cjs/core/index.js +3 -0
  201. package/dist/cjs/core/index.js.map +1 -1
  202. package/dist/cjs/core/intent.d.ts +423 -0
  203. package/dist/cjs/core/intent.d.ts.map +1 -0
  204. package/dist/cjs/core/intent.js +239 -0
  205. package/dist/cjs/core/intent.js.map +1 -0
  206. package/dist/cjs/core/intent.spec.d.ts +2 -0
  207. package/dist/cjs/core/intent.spec.d.ts.map +1 -0
  208. package/dist/cjs/core/intent.spec.js +105 -0
  209. package/dist/cjs/core/intent.spec.js.map +1 -0
  210. package/dist/cjs/core/interpret-shared.d.ts.map +1 -1
  211. package/dist/cjs/core/interpret-shared.js +9 -1
  212. package/dist/cjs/core/interpret-shared.js.map +1 -1
  213. package/dist/cjs/core/payment-requests.d.ts.map +1 -1
  214. package/dist/cjs/core/payment-requests.js +14 -6
  215. package/dist/cjs/core/payment-requests.js.map +1 -1
  216. package/dist/cjs/core/payment-requests.spec.js +18 -0
  217. package/dist/cjs/core/payment-requests.spec.js.map +1 -1
  218. package/dist/cjs/core/spendable-credits-evm.spec.d.ts +2 -0
  219. package/dist/cjs/core/spendable-credits-evm.spec.d.ts.map +1 -0
  220. package/dist/cjs/core/spendable-credits-evm.spec.js +97 -0
  221. package/dist/cjs/core/spendable-credits-evm.spec.js.map +1 -0
  222. package/dist/cjs/core/spendable-credits.d.ts +124 -0
  223. package/dist/cjs/core/spendable-credits.d.ts.map +1 -0
  224. package/dist/cjs/core/spendable-credits.js +258 -0
  225. package/dist/cjs/core/spendable-credits.js.map +1 -0
  226. package/dist/cjs/core/spendable-credits.spec.d.ts +2 -0
  227. package/dist/cjs/core/spendable-credits.spec.d.ts.map +1 -0
  228. package/dist/cjs/core/spendable-credits.spec.js +160 -0
  229. package/dist/cjs/core/spendable-credits.spec.js.map +1 -0
  230. package/dist/cjs/core/standard-inspection.d.ts +1 -1
  231. package/dist/cjs/core/standard-inspection.d.ts.map +1 -1
  232. package/dist/cjs/core/standard-inspection.js +33 -0
  233. package/dist/cjs/core/standard-inspection.js.map +1 -1
  234. package/dist/cjs/core/uintRanges.d.ts.map +1 -1
  235. package/dist/cjs/core/uintRanges.js +7 -7
  236. package/dist/cjs/core/uintRanges.js.map +1 -1
  237. package/dist/cjs/core/uintRanges.spec.js +21 -12
  238. package/dist/cjs/core/uintRanges.spec.js.map +1 -1
  239. package/dist/cjs/tsconfig.build.tsbuildinfo +1 -1
  240. package/dist/esm/api-indexer/standards-info.d.ts +4 -0
  241. package/dist/esm/api-indexer/standards-info.d.ts.map +1 -1
  242. package/dist/esm/api-indexer/verify-standards.d.ts.map +1 -1
  243. package/dist/esm/api-indexer/verify-standards.js +11 -0
  244. package/dist/esm/api-indexer/verify-standards.js.map +1 -1
  245. package/dist/esm/builder/agent/tokenTypeInference.d.ts.map +1 -1
  246. package/dist/esm/builder/agent/tokenTypeInference.js +1 -0
  247. package/dist/esm/builder/agent/tokenTypeInference.js.map +1 -1
  248. package/dist/esm/builder/lifecycle-catalog.d.ts +4010 -0
  249. package/dist/esm/builder/lifecycle-catalog.d.ts.map +1 -0
  250. package/dist/esm/builder/lifecycle-catalog.js +83 -0
  251. package/dist/esm/builder/lifecycle-catalog.js.map +1 -0
  252. package/dist/esm/builder/lifecycle-catalog.spec.d.ts +2 -0
  253. package/dist/esm/builder/lifecycle-catalog.spec.d.ts.map +1 -0
  254. package/dist/esm/builder/lifecycle-catalog.spec.js +27 -0
  255. package/dist/esm/builder/lifecycle-catalog.spec.js.map +1 -0
  256. package/dist/esm/builder/lifecycle-fixtures.json +6895 -0
  257. package/dist/esm/builder/lifecycle.d.ts +322 -0
  258. package/dist/esm/builder/lifecycle.d.ts.map +1 -0
  259. package/dist/esm/builder/lifecycle.js +192 -0
  260. package/dist/esm/builder/lifecycle.js.map +1 -0
  261. package/dist/esm/builder/lifecycle.spec.d.ts +2 -0
  262. package/dist/esm/builder/lifecycle.spec.d.ts.map +1 -0
  263. package/dist/esm/builder/lifecycle.spec.js +129 -0
  264. package/dist/esm/builder/lifecycle.spec.js.map +1 -0
  265. package/dist/esm/builder/lifecycleIntent.d.ts +369 -0
  266. package/dist/esm/builder/lifecycleIntent.d.ts.map +1 -0
  267. package/dist/esm/builder/lifecycleIntent.js +59 -0
  268. package/dist/esm/builder/lifecycleIntent.js.map +1 -0
  269. package/dist/esm/builder/lifecycleIntent.spec.d.ts +2 -0
  270. package/dist/esm/builder/lifecycleIntent.spec.d.ts.map +1 -0
  271. package/dist/esm/builder/lifecycleIntent.spec.js +67 -0
  272. package/dist/esm/builder/lifecycleIntent.spec.js.map +1 -0
  273. package/dist/esm/builder/resources/skillInstructions.d.ts +14 -0
  274. package/dist/esm/builder/resources/skillInstructions.d.ts.map +1 -1
  275. package/dist/esm/builder/resources/skillInstructions.js +239 -1
  276. package/dist/esm/builder/resources/skillInstructions.js.map +1 -1
  277. package/dist/esm/builder/resources/taskBundles.d.ts +18 -0
  278. package/dist/esm/builder/resources/taskBundles.d.ts.map +1 -0
  279. package/dist/esm/builder/resources/taskBundles.js +23 -0
  280. package/dist/esm/builder/resources/taskBundles.js.map +1 -0
  281. package/dist/esm/builder/resources/taskBundles.spec.d.ts +2 -0
  282. package/dist/esm/builder/resources/taskBundles.spec.d.ts.map +1 -0
  283. package/dist/esm/builder/resources/taskBundles.spec.js +31 -0
  284. package/dist/esm/builder/resources/taskBundles.spec.js.map +1 -0
  285. package/dist/esm/builder/server.d.ts.map +1 -1
  286. package/dist/esm/builder/server.js +2 -1
  287. package/dist/esm/builder/server.js.map +1 -1
  288. package/dist/esm/builder/session/artifactBinding.d.ts +8 -0
  289. package/dist/esm/builder/session/artifactBinding.d.ts.map +1 -0
  290. package/dist/esm/builder/session/artifactBinding.js +11 -0
  291. package/dist/esm/builder/session/artifactBinding.js.map +1 -0
  292. package/dist/esm/builder/session/artifactBinding.spec.d.ts +2 -0
  293. package/dist/esm/builder/session/artifactBinding.spec.d.ts.map +1 -0
  294. package/dist/esm/builder/session/artifactBinding.spec.js +84 -0
  295. package/dist/esm/builder/session/artifactBinding.spec.js.map +1 -0
  296. package/dist/esm/builder/session/fileStore.d.ts.map +1 -1
  297. package/dist/esm/builder/session/fileStore.js +3 -0
  298. package/dist/esm/builder/session/fileStore.js.map +1 -1
  299. package/dist/esm/builder/session/fileStore.spec.d.ts +2 -0
  300. package/dist/esm/builder/session/fileStore.spec.d.ts.map +1 -0
  301. package/dist/esm/builder/session/fileStore.spec.js +9 -0
  302. package/dist/esm/builder/session/fileStore.spec.js.map +1 -0
  303. package/dist/esm/builder/session/index.d.ts +1 -0
  304. package/dist/esm/builder/session/index.d.ts.map +1 -1
  305. package/dist/esm/builder/session/index.js +1 -0
  306. package/dist/esm/builder/session/index.js.map +1 -1
  307. package/dist/esm/builder/standards.d.ts.map +1 -1
  308. package/dist/esm/builder/standards.js +15 -1
  309. package/dist/esm/builder/standards.js.map +1 -1
  310. package/dist/esm/builder/standards.spec.js +4 -1
  311. package/dist/esm/builder/standards.spec.js.map +1 -1
  312. package/dist/esm/builder/tools/builders/buildStandard.d.ts +302 -0
  313. package/dist/esm/builder/tools/builders/buildStandard.d.ts.map +1 -1
  314. package/dist/esm/builder/tools/errors.d.ts +11 -0
  315. package/dist/esm/builder/tools/errors.d.ts.map +1 -0
  316. package/dist/esm/builder/tools/errors.js +15 -0
  317. package/dist/esm/builder/tools/errors.js.map +1 -0
  318. package/dist/esm/builder/tools/queries/buildTransfer.d.ts +2 -2
  319. package/dist/esm/builder/tools/queries/simulateTransaction.js +1 -1
  320. package/dist/esm/builder/tools/queries/simulateTransaction.js.map +1 -1
  321. package/dist/esm/builder/tools/queries/simulateTransaction.spec.d.ts +2 -0
  322. package/dist/esm/builder/tools/queries/simulateTransaction.spec.d.ts.map +1 -0
  323. package/dist/esm/builder/tools/queries/simulateTransaction.spec.js +15 -0
  324. package/dist/esm/builder/tools/queries/simulateTransaction.spec.js.map +1 -0
  325. package/dist/esm/builder/tools/queries/verifyOwnership.d.ts +4 -4
  326. package/dist/esm/builder/tools/registry.d.ts +2 -0
  327. package/dist/esm/builder/tools/registry.d.ts.map +1 -1
  328. package/dist/esm/builder/tools/registry.js +63 -7
  329. package/dist/esm/builder/tools/registry.js.map +1 -1
  330. package/dist/esm/builder/tools/standardActions.d.ts.map +1 -1
  331. package/dist/esm/builder/tools/standardActions.js +7 -1
  332. package/dist/esm/builder/tools/standardActions.js.map +1 -1
  333. package/dist/esm/builder/tools/standardActions.spec.js +15 -0
  334. package/dist/esm/builder/tools/standardActions.spec.js.map +1 -1
  335. package/dist/esm/builder/tools/utilities/fetchDocs.d.ts.map +1 -1
  336. package/dist/esm/builder/tools/utilities/fetchDocs.js +4 -1
  337. package/dist/esm/builder/tools/utilities/fetchDocs.js.map +1 -1
  338. package/dist/esm/builder/tools/utilities/validateTransaction.js +1 -1
  339. package/dist/esm/builder/tools/utilities/validateTransaction.js.map +1 -1
  340. package/dist/esm/builder/tools/utilities/validateTransaction.spec.js +2 -6
  341. package/dist/esm/builder/tools/utilities/validateTransaction.spec.js.map +1 -1
  342. package/dist/esm/cli/auth/brand.d.ts +2 -0
  343. package/dist/esm/cli/auth/brand.d.ts.map +1 -0
  344. package/dist/esm/cli/auth/brand.js +2 -0
  345. package/dist/esm/cli/auth/brand.js.map +1 -0
  346. package/dist/esm/cli/auth/browser-bridge.d.ts +1 -0
  347. package/dist/esm/cli/auth/browser-bridge.d.ts.map +1 -1
  348. package/dist/esm/cli/auth/browser-bridge.js +66 -21
  349. package/dist/esm/cli/auth/browser-bridge.js.map +1 -1
  350. package/dist/esm/cli/auth/browser-bridge.spec.js +93 -5
  351. package/dist/esm/cli/auth/browser-bridge.spec.js.map +1 -1
  352. package/dist/esm/cli/commands/build.js +30 -1
  353. package/dist/esm/cli/commands/build.js.map +1 -1
  354. package/dist/esm/cli/commands/build.spec.js +2 -0
  355. package/dist/esm/cli/commands/build.spec.js.map +1 -1
  356. package/dist/esm/cli/commands/requests.d.ts.map +1 -1
  357. package/dist/esm/cli/commands/requests.js +14 -1
  358. package/dist/esm/cli/commands/requests.js.map +1 -1
  359. package/dist/esm/cli/commands/spendable-credits.d.ts +3 -0
  360. package/dist/esm/cli/commands/spendable-credits.d.ts.map +1 -0
  361. package/dist/esm/cli/commands/spendable-credits.js +76 -0
  362. package/dist/esm/cli/commands/spendable-credits.js.map +1 -0
  363. package/dist/esm/cli/commands/standards.js +1 -1
  364. package/dist/esm/cli/commands/standards.js.map +1 -1
  365. package/dist/esm/cli/commands/tool.d.ts +1 -0
  366. package/dist/esm/cli/commands/tool.d.ts.map +1 -1
  367. package/dist/esm/cli/commands/tool.js +7 -2
  368. package/dist/esm/cli/commands/tool.js.map +1 -1
  369. package/dist/esm/cli/commands/tool.spec.d.ts +2 -0
  370. package/dist/esm/cli/commands/tool.spec.d.ts.map +1 -0
  371. package/dist/esm/cli/commands/tool.spec.js +18 -0
  372. package/dist/esm/cli/commands/tool.spec.js.map +1 -0
  373. package/dist/esm/cli/index.js +3 -0
  374. package/dist/esm/cli/index.js.map +1 -1
  375. package/dist/esm/cli/integration/cli-build-pipeline.spec.js +17 -2
  376. package/dist/esm/cli/integration/cli-build-pipeline.spec.js.map +1 -1
  377. package/dist/esm/cli/utils/browser-review.d.ts +918 -0
  378. package/dist/esm/cli/utils/browser-review.d.ts.map +1 -0
  379. package/dist/esm/cli/utils/browser-review.js +100 -0
  380. package/dist/esm/cli/utils/browser-review.js.map +1 -0
  381. package/dist/esm/cli/utils/browser-review.spec.d.ts +2 -0
  382. package/dist/esm/cli/utils/browser-review.spec.d.ts.map +1 -0
  383. package/dist/esm/cli/utils/browser-review.spec.js +62 -0
  384. package/dist/esm/cli/utils/browser-review.spec.js.map +1 -0
  385. package/dist/esm/cli/utils/normalizeMsg.d.ts.map +1 -1
  386. package/dist/esm/cli/utils/normalizeMsg.js +2 -0
  387. package/dist/esm/cli/utils/normalizeMsg.js.map +1 -1
  388. package/dist/esm/cli/utils/normalizeMsg.spec.js +10 -0
  389. package/dist/esm/cli/utils/normalizeMsg.spec.js.map +1 -1
  390. package/dist/esm/cli/utils/signing-requests.d.ts +6 -5
  391. package/dist/esm/cli/utils/signing-requests.d.ts.map +1 -1
  392. package/dist/esm/cli/utils/signing-requests.js +8 -4
  393. package/dist/esm/cli/utils/signing-requests.js.map +1 -1
  394. package/dist/esm/cli/utils/signing-requests.spec.js +16 -0
  395. package/dist/esm/cli/utils/signing-requests.spec.js.map +1 -1
  396. package/dist/esm/core/audit-backing.spec.d.ts +2 -0
  397. package/dist/esm/core/audit-backing.spec.d.ts.map +1 -0
  398. package/dist/esm/core/audit-backing.spec.js +49 -0
  399. package/dist/esm/core/audit-backing.spec.js.map +1 -0
  400. package/dist/esm/core/audit.d.ts.map +1 -1
  401. package/dist/esm/core/audit.js +7 -25
  402. package/dist/esm/core/audit.js.map +1 -1
  403. package/dist/esm/core/bounties.d.ts.map +1 -1
  404. package/dist/esm/core/bounties.js +11 -10
  405. package/dist/esm/core/bounties.js.map +1 -1
  406. package/dist/esm/core/bounties.spec.js +15 -14
  407. package/dist/esm/core/bounties.spec.js.map +1 -1
  408. package/dist/esm/core/browser-receipt.d.ts +29 -0
  409. package/dist/esm/core/browser-receipt.d.ts.map +1 -0
  410. package/dist/esm/core/browser-receipt.js +153 -0
  411. package/dist/esm/core/browser-receipt.js.map +1 -0
  412. package/dist/esm/core/browser-receipt.spec.d.ts +2 -0
  413. package/dist/esm/core/browser-receipt.spec.d.ts.map +1 -0
  414. package/dist/esm/core/browser-receipt.spec.js +104 -0
  415. package/dist/esm/core/browser-receipt.spec.js.map +1 -0
  416. package/dist/esm/core/browser-signing.d.ts +2397 -16
  417. package/dist/esm/core/browser-signing.d.ts.map +1 -1
  418. package/dist/esm/core/browser-signing.js +27 -1
  419. package/dist/esm/core/browser-signing.js.map +1 -1
  420. package/dist/esm/core/builders/index.d.ts +1 -0
  421. package/dist/esm/core/builders/index.d.ts.map +1 -1
  422. package/dist/esm/core/builders/index.js +1 -0
  423. package/dist/esm/core/builders/index.js.map +1 -1
  424. package/dist/esm/core/builders/input-examples.json +8 -0
  425. package/dist/esm/core/builders/input-schemas.d.ts +306 -0
  426. package/dist/esm/core/builders/input-schemas.d.ts.map +1 -1
  427. package/dist/esm/core/builders/input-schemas.generated.json +77 -0
  428. package/dist/esm/core/builders/spendable-credit.d.ts +21 -0
  429. package/dist/esm/core/builders/spendable-credit.d.ts.map +1 -0
  430. package/dist/esm/core/builders/spendable-credit.js +96 -0
  431. package/dist/esm/core/builders/spendable-credit.js.map +1 -0
  432. package/dist/esm/core/builders/spendable-credit.spec.d.ts +2 -0
  433. package/dist/esm/core/builders/spendable-credit.spec.d.ts.map +1 -0
  434. package/dist/esm/core/builders/spendable-credit.spec.js +78 -0
  435. package/dist/esm/core/builders/spendable-credit.spec.js.map +1 -0
  436. package/dist/esm/core/index.d.ts +3 -0
  437. package/dist/esm/core/index.d.ts.map +1 -1
  438. package/dist/esm/core/index.js +3 -0
  439. package/dist/esm/core/index.js.map +1 -1
  440. package/dist/esm/core/intent.d.ts +423 -0
  441. package/dist/esm/core/intent.d.ts.map +1 -0
  442. package/dist/esm/core/intent.js +231 -0
  443. package/dist/esm/core/intent.js.map +1 -0
  444. package/dist/esm/core/intent.spec.d.ts +2 -0
  445. package/dist/esm/core/intent.spec.d.ts.map +1 -0
  446. package/dist/esm/core/intent.spec.js +103 -0
  447. package/dist/esm/core/intent.spec.js.map +1 -0
  448. package/dist/esm/core/interpret-shared.d.ts.map +1 -1
  449. package/dist/esm/core/interpret-shared.js +9 -1
  450. package/dist/esm/core/interpret-shared.js.map +1 -1
  451. package/dist/esm/core/payment-requests.d.ts.map +1 -1
  452. package/dist/esm/core/payment-requests.js +14 -6
  453. package/dist/esm/core/payment-requests.js.map +1 -1
  454. package/dist/esm/core/payment-requests.spec.js +18 -0
  455. package/dist/esm/core/payment-requests.spec.js.map +1 -1
  456. package/dist/esm/core/spendable-credits-evm.spec.d.ts +2 -0
  457. package/dist/esm/core/spendable-credits-evm.spec.d.ts.map +1 -0
  458. package/dist/esm/core/spendable-credits-evm.spec.js +95 -0
  459. package/dist/esm/core/spendable-credits-evm.spec.js.map +1 -0
  460. package/dist/esm/core/spendable-credits.d.ts +124 -0
  461. package/dist/esm/core/spendable-credits.d.ts.map +1 -0
  462. package/dist/esm/core/spendable-credits.js +249 -0
  463. package/dist/esm/core/spendable-credits.js.map +1 -0
  464. package/dist/esm/core/spendable-credits.spec.d.ts +2 -0
  465. package/dist/esm/core/spendable-credits.spec.d.ts.map +1 -0
  466. package/dist/esm/core/spendable-credits.spec.js +158 -0
  467. package/dist/esm/core/spendable-credits.spec.js.map +1 -0
  468. package/dist/esm/core/standard-inspection.d.ts +1 -1
  469. package/dist/esm/core/standard-inspection.d.ts.map +1 -1
  470. package/dist/esm/core/standard-inspection.js +33 -0
  471. package/dist/esm/core/standard-inspection.js.map +1 -1
  472. package/dist/esm/core/uintRanges.d.ts.map +1 -1
  473. package/dist/esm/core/uintRanges.js +7 -7
  474. package/dist/esm/core/uintRanges.js.map +1 -1
  475. package/dist/esm/core/uintRanges.spec.js +21 -12
  476. package/dist/esm/core/uintRanges.spec.js.map +1 -1
  477. package/dist/esm/tsconfig-esm.build.tsbuildinfo +1 -1
  478. package/package.json +7 -2
@@ -0,0 +1,918 @@
1
+ import { z } from 'zod';
2
+ import { type BrowserTxRequestV2 } from '../../core/browser-signing.js';
3
+ export declare const browserReviewInputSchema: z.ZodObject<{
4
+ artifact: z.ZodObject<{
5
+ messages: z.ZodArray<z.ZodObject<{
6
+ typeUrl: z.ZodString;
7
+ value: z.ZodRecord<z.ZodString, z.ZodUnknown>;
8
+ }, "strict", z.ZodTypeAny, {
9
+ value: Record<string, unknown>;
10
+ typeUrl: string;
11
+ }, {
12
+ value: Record<string, unknown>;
13
+ typeUrl: string;
14
+ }>, "many">;
15
+ }, "strict", z.ZodTypeAny, {
16
+ messages: {
17
+ value: Record<string, unknown>;
18
+ typeUrl: string;
19
+ }[];
20
+ }, {
21
+ messages: {
22
+ value: Record<string, unknown>;
23
+ typeUrl: string;
24
+ }[];
25
+ }>;
26
+ expectedAddress: z.ZodString;
27
+ network: z.ZodEnum<["mainnet", "testnet", "local"]>;
28
+ signOnly: z.ZodOptional<z.ZodBoolean>;
29
+ timeoutSeconds: z.ZodOptional<z.ZodNumber>;
30
+ review: z.ZodOptional<z.ZodObject<{
31
+ version: z.ZodLiteral<1>;
32
+ artifactId: z.ZodString;
33
+ intent: z.ZodObject<{
34
+ version: z.ZodLiteral<1>;
35
+ requirements: z.ZodArray<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
36
+ kind: z.ZodLiteral<"payment">;
37
+ value: z.ZodNullable<z.ZodObject<{
38
+ recipient: z.ZodString;
39
+ denom: z.ZodString;
40
+ amount: z.ZodString;
41
+ }, "strict", z.ZodTypeAny, {
42
+ amount: string;
43
+ denom: string;
44
+ recipient: string;
45
+ }, {
46
+ amount: string;
47
+ denom: string;
48
+ recipient: string;
49
+ }>>;
50
+ id: z.ZodString;
51
+ source: z.ZodEnum<["user", "agent"]>;
52
+ approvalId: z.ZodOptional<z.ZodString>;
53
+ }, "strict", z.ZodTypeAny, {
54
+ value: {
55
+ amount: string;
56
+ denom: string;
57
+ recipient: string;
58
+ } | null;
59
+ id: string;
60
+ kind: "payment";
61
+ source: "user" | "agent";
62
+ approvalId?: string | undefined;
63
+ }, {
64
+ value: {
65
+ amount: string;
66
+ denom: string;
67
+ recipient: string;
68
+ } | null;
69
+ id: string;
70
+ kind: "payment";
71
+ source: "user" | "agent";
72
+ approvalId?: string | undefined;
73
+ }>, z.ZodObject<{
74
+ kind: z.ZodLiteral<"duration">;
75
+ value: z.ZodNullable<z.ZodObject<{
76
+ milliseconds: z.ZodString;
77
+ }, "strict", z.ZodTypeAny, {
78
+ milliseconds: string;
79
+ }, {
80
+ milliseconds: string;
81
+ }>>;
82
+ id: z.ZodString;
83
+ source: z.ZodEnum<["user", "agent"]>;
84
+ approvalId: z.ZodOptional<z.ZodString>;
85
+ }, "strict", z.ZodTypeAny, {
86
+ value: {
87
+ milliseconds: string;
88
+ } | null;
89
+ id: string;
90
+ kind: "duration";
91
+ source: "user" | "agent";
92
+ approvalId?: string | undefined;
93
+ }, {
94
+ value: {
95
+ milliseconds: string;
96
+ } | null;
97
+ id: string;
98
+ kind: "duration";
99
+ source: "user" | "agent";
100
+ approvalId?: string | undefined;
101
+ }>, z.ZodObject<{
102
+ kind: z.ZodLiteral<"transferability">;
103
+ value: z.ZodNullable<z.ZodBoolean>;
104
+ id: z.ZodString;
105
+ source: z.ZodEnum<["user", "agent"]>;
106
+ approvalId: z.ZodOptional<z.ZodString>;
107
+ }, "strict", z.ZodTypeAny, {
108
+ value: boolean | null;
109
+ id: string;
110
+ kind: "transferability";
111
+ source: "user" | "agent";
112
+ approvalId?: string | undefined;
113
+ }, {
114
+ value: boolean | null;
115
+ id: string;
116
+ kind: "transferability";
117
+ source: "user" | "agent";
118
+ approvalId?: string | undefined;
119
+ }>, z.ZodObject<{
120
+ kind: z.ZodLiteral<"supply">;
121
+ value: z.ZodNullable<z.ZodObject<{
122
+ maxSupplyPerId: z.ZodString;
123
+ }, "strict", z.ZodTypeAny, {
124
+ maxSupplyPerId: string;
125
+ }, {
126
+ maxSupplyPerId: string;
127
+ }>>;
128
+ id: z.ZodString;
129
+ source: z.ZodEnum<["user", "agent"]>;
130
+ approvalId: z.ZodOptional<z.ZodString>;
131
+ }, "strict", z.ZodTypeAny, {
132
+ value: {
133
+ maxSupplyPerId: string;
134
+ } | null;
135
+ id: string;
136
+ kind: "supply";
137
+ source: "user" | "agent";
138
+ approvalId?: string | undefined;
139
+ }, {
140
+ value: {
141
+ maxSupplyPerId: string;
142
+ } | null;
143
+ id: string;
144
+ kind: "supply";
145
+ source: "user" | "agent";
146
+ approvalId?: string | undefined;
147
+ }>, z.ZodObject<{
148
+ kind: z.ZodLiteral<"managerPowers">;
149
+ value: z.ZodNullable<z.ZodObject<{
150
+ canUpdateApprovals: z.ZodBoolean;
151
+ }, "strict", z.ZodTypeAny, {
152
+ canUpdateApprovals: boolean;
153
+ }, {
154
+ canUpdateApprovals: boolean;
155
+ }>>;
156
+ id: z.ZodString;
157
+ source: z.ZodEnum<["user", "agent"]>;
158
+ approvalId: z.ZodOptional<z.ZodString>;
159
+ }, "strict", z.ZodTypeAny, {
160
+ value: {
161
+ canUpdateApprovals: boolean;
162
+ } | null;
163
+ id: string;
164
+ kind: "managerPowers";
165
+ source: "user" | "agent";
166
+ approvalId?: string | undefined;
167
+ }, {
168
+ value: {
169
+ canUpdateApprovals: boolean;
170
+ } | null;
171
+ id: string;
172
+ kind: "managerPowers";
173
+ source: "user" | "agent";
174
+ approvalId?: string | undefined;
175
+ }>, z.ZodObject<{
176
+ kind: z.ZodLiteral<"asset">;
177
+ value: z.ZodNullable<z.ZodObject<{
178
+ collectionId: z.ZodString;
179
+ tokenIds: z.ZodArray<z.ZodObject<{
180
+ start: z.ZodString;
181
+ end: z.ZodString;
182
+ }, "strict", z.ZodTypeAny, {
183
+ start: string;
184
+ end: string;
185
+ }, {
186
+ start: string;
187
+ end: string;
188
+ }>, "many">;
189
+ }, "strict", z.ZodTypeAny, {
190
+ tokenIds: {
191
+ start: string;
192
+ end: string;
193
+ }[];
194
+ collectionId: string;
195
+ }, {
196
+ tokenIds: {
197
+ start: string;
198
+ end: string;
199
+ }[];
200
+ collectionId: string;
201
+ }>>;
202
+ id: z.ZodString;
203
+ source: z.ZodEnum<["user", "agent"]>;
204
+ approvalId: z.ZodOptional<z.ZodString>;
205
+ }, "strict", z.ZodTypeAny, {
206
+ value: {
207
+ tokenIds: {
208
+ start: string;
209
+ end: string;
210
+ }[];
211
+ collectionId: string;
212
+ } | null;
213
+ id: string;
214
+ kind: "asset";
215
+ source: "user" | "agent";
216
+ approvalId?: string | undefined;
217
+ }, {
218
+ value: {
219
+ tokenIds: {
220
+ start: string;
221
+ end: string;
222
+ }[];
223
+ collectionId: string;
224
+ } | null;
225
+ id: string;
226
+ kind: "asset";
227
+ source: "user" | "agent";
228
+ approvalId?: string | undefined;
229
+ }>, z.ZodObject<{
230
+ kind: z.ZodLiteral<"unsupported">;
231
+ value: z.ZodNullable<z.ZodObject<{
232
+ description: z.ZodString;
233
+ }, "strict", z.ZodTypeAny, {
234
+ description: string;
235
+ }, {
236
+ description: string;
237
+ }>>;
238
+ id: z.ZodString;
239
+ source: z.ZodEnum<["user", "agent"]>;
240
+ approvalId: z.ZodOptional<z.ZodString>;
241
+ }, "strict", z.ZodTypeAny, {
242
+ value: {
243
+ description: string;
244
+ } | null;
245
+ id: string;
246
+ kind: "unsupported";
247
+ source: "user" | "agent";
248
+ approvalId?: string | undefined;
249
+ }, {
250
+ value: {
251
+ description: string;
252
+ } | null;
253
+ id: string;
254
+ kind: "unsupported";
255
+ source: "user" | "agent";
256
+ approvalId?: string | undefined;
257
+ }>]>, "many">;
258
+ unresolvedDecisions: z.ZodArray<z.ZodObject<{
259
+ id: z.ZodString;
260
+ question: z.ZodString;
261
+ }, "strict", z.ZodTypeAny, {
262
+ id: string;
263
+ question: string;
264
+ }, {
265
+ id: string;
266
+ question: string;
267
+ }>, "many">;
268
+ }, "strict", z.ZodTypeAny, {
269
+ version: 1;
270
+ requirements: ({
271
+ value: {
272
+ amount: string;
273
+ denom: string;
274
+ recipient: string;
275
+ } | null;
276
+ id: string;
277
+ kind: "payment";
278
+ source: "user" | "agent";
279
+ approvalId?: string | undefined;
280
+ } | {
281
+ value: {
282
+ milliseconds: string;
283
+ } | null;
284
+ id: string;
285
+ kind: "duration";
286
+ source: "user" | "agent";
287
+ approvalId?: string | undefined;
288
+ } | {
289
+ value: boolean | null;
290
+ id: string;
291
+ kind: "transferability";
292
+ source: "user" | "agent";
293
+ approvalId?: string | undefined;
294
+ } | {
295
+ value: {
296
+ maxSupplyPerId: string;
297
+ } | null;
298
+ id: string;
299
+ kind: "supply";
300
+ source: "user" | "agent";
301
+ approvalId?: string | undefined;
302
+ } | {
303
+ value: {
304
+ canUpdateApprovals: boolean;
305
+ } | null;
306
+ id: string;
307
+ kind: "managerPowers";
308
+ source: "user" | "agent";
309
+ approvalId?: string | undefined;
310
+ } | {
311
+ value: {
312
+ tokenIds: {
313
+ start: string;
314
+ end: string;
315
+ }[];
316
+ collectionId: string;
317
+ } | null;
318
+ id: string;
319
+ kind: "asset";
320
+ source: "user" | "agent";
321
+ approvalId?: string | undefined;
322
+ } | {
323
+ value: {
324
+ description: string;
325
+ } | null;
326
+ id: string;
327
+ kind: "unsupported";
328
+ source: "user" | "agent";
329
+ approvalId?: string | undefined;
330
+ })[];
331
+ unresolvedDecisions: {
332
+ id: string;
333
+ question: string;
334
+ }[];
335
+ }, {
336
+ version: 1;
337
+ requirements: ({
338
+ value: {
339
+ amount: string;
340
+ denom: string;
341
+ recipient: string;
342
+ } | null;
343
+ id: string;
344
+ kind: "payment";
345
+ source: "user" | "agent";
346
+ approvalId?: string | undefined;
347
+ } | {
348
+ value: {
349
+ milliseconds: string;
350
+ } | null;
351
+ id: string;
352
+ kind: "duration";
353
+ source: "user" | "agent";
354
+ approvalId?: string | undefined;
355
+ } | {
356
+ value: boolean | null;
357
+ id: string;
358
+ kind: "transferability";
359
+ source: "user" | "agent";
360
+ approvalId?: string | undefined;
361
+ } | {
362
+ value: {
363
+ maxSupplyPerId: string;
364
+ } | null;
365
+ id: string;
366
+ kind: "supply";
367
+ source: "user" | "agent";
368
+ approvalId?: string | undefined;
369
+ } | {
370
+ value: {
371
+ canUpdateApprovals: boolean;
372
+ } | null;
373
+ id: string;
374
+ kind: "managerPowers";
375
+ source: "user" | "agent";
376
+ approvalId?: string | undefined;
377
+ } | {
378
+ value: {
379
+ tokenIds: {
380
+ start: string;
381
+ end: string;
382
+ }[];
383
+ collectionId: string;
384
+ } | null;
385
+ id: string;
386
+ kind: "asset";
387
+ source: "user" | "agent";
388
+ approvalId?: string | undefined;
389
+ } | {
390
+ value: {
391
+ description: string;
392
+ } | null;
393
+ id: string;
394
+ kind: "unsupported";
395
+ source: "user" | "agent";
396
+ approvalId?: string | undefined;
397
+ })[];
398
+ unresolvedDecisions: {
399
+ id: string;
400
+ question: string;
401
+ }[];
402
+ }>;
403
+ binding: z.ZodObject<{
404
+ expectedAddress: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, string, string>;
405
+ network: z.ZodEnum<["mainnet", "testnet", "local"]>;
406
+ chainId: z.ZodString;
407
+ }, "strict", z.ZodTypeAny, {
408
+ expectedAddress: string;
409
+ network: "mainnet" | "testnet" | "local";
410
+ chainId: string;
411
+ }, {
412
+ expectedAddress: string;
413
+ network: "mainnet" | "testnet" | "local";
414
+ chainId: string;
415
+ }>;
416
+ stateHeight: z.ZodOptional<z.ZodString>;
417
+ evidence: z.ZodOptional<z.ZodObject<{
418
+ version: z.ZodLiteral<1>;
419
+ artifactId: z.ZodString;
420
+ intentId: z.ZodString;
421
+ checkedAt: z.ZodString;
422
+ status: z.ZodEnum<["satisfied", "violated", "unverified"]>;
423
+ maturity: z.ZodOptional<z.ZodLiteral<"experimental">>;
424
+ scope: z.ZodOptional<z.ZodLiteral<"initial-artifact-configuration">>;
425
+ requirements: z.ZodArray<z.ZodObject<{
426
+ requirementId: z.ZodString;
427
+ status: z.ZodEnum<["satisfied", "violated", "unverified"]>;
428
+ source: z.ZodEnum<["static", "lifecycle", "none"]>;
429
+ paths: z.ZodArray<z.ZodString, "many">;
430
+ reason: z.ZodString;
431
+ }, "strict", z.ZodTypeAny, {
432
+ status: "satisfied" | "violated" | "unverified";
433
+ source: "none" | "lifecycle" | "static";
434
+ requirementId: string;
435
+ paths: string[];
436
+ reason: string;
437
+ }, {
438
+ status: "satisfied" | "violated" | "unverified";
439
+ source: "none" | "lifecycle" | "static";
440
+ requirementId: string;
441
+ paths: string[];
442
+ reason: string;
443
+ }>, "many">;
444
+ coverage: z.ZodObject<{
445
+ executed: z.ZodArray<z.ZodString, "many">;
446
+ unverified: z.ZodArray<z.ZodString, "many">;
447
+ }, "strict", z.ZodTypeAny, {
448
+ unverified: string[];
449
+ executed: string[];
450
+ }, {
451
+ unverified: string[];
452
+ executed: string[];
453
+ }>;
454
+ }, "strict", z.ZodTypeAny, {
455
+ version: 1;
456
+ status: "satisfied" | "violated" | "unverified";
457
+ requirements: {
458
+ status: "satisfied" | "violated" | "unverified";
459
+ source: "none" | "lifecycle" | "static";
460
+ requirementId: string;
461
+ paths: string[];
462
+ reason: string;
463
+ }[];
464
+ artifactId: string;
465
+ intentId: string;
466
+ checkedAt: string;
467
+ coverage: {
468
+ unverified: string[];
469
+ executed: string[];
470
+ };
471
+ scope?: "initial-artifact-configuration" | undefined;
472
+ maturity?: "experimental" | undefined;
473
+ }, {
474
+ version: 1;
475
+ status: "satisfied" | "violated" | "unverified";
476
+ requirements: {
477
+ status: "satisfied" | "violated" | "unverified";
478
+ source: "none" | "lifecycle" | "static";
479
+ requirementId: string;
480
+ paths: string[];
481
+ reason: string;
482
+ }[];
483
+ artifactId: string;
484
+ intentId: string;
485
+ checkedAt: string;
486
+ coverage: {
487
+ unverified: string[];
488
+ executed: string[];
489
+ };
490
+ scope?: "initial-artifact-configuration" | undefined;
491
+ maturity?: "experimental" | undefined;
492
+ }>>;
493
+ }, "strict", z.ZodTypeAny, {
494
+ version: 1;
495
+ intent: {
496
+ version: 1;
497
+ requirements: ({
498
+ value: {
499
+ amount: string;
500
+ denom: string;
501
+ recipient: string;
502
+ } | null;
503
+ id: string;
504
+ kind: "payment";
505
+ source: "user" | "agent";
506
+ approvalId?: string | undefined;
507
+ } | {
508
+ value: {
509
+ milliseconds: string;
510
+ } | null;
511
+ id: string;
512
+ kind: "duration";
513
+ source: "user" | "agent";
514
+ approvalId?: string | undefined;
515
+ } | {
516
+ value: boolean | null;
517
+ id: string;
518
+ kind: "transferability";
519
+ source: "user" | "agent";
520
+ approvalId?: string | undefined;
521
+ } | {
522
+ value: {
523
+ maxSupplyPerId: string;
524
+ } | null;
525
+ id: string;
526
+ kind: "supply";
527
+ source: "user" | "agent";
528
+ approvalId?: string | undefined;
529
+ } | {
530
+ value: {
531
+ canUpdateApprovals: boolean;
532
+ } | null;
533
+ id: string;
534
+ kind: "managerPowers";
535
+ source: "user" | "agent";
536
+ approvalId?: string | undefined;
537
+ } | {
538
+ value: {
539
+ tokenIds: {
540
+ start: string;
541
+ end: string;
542
+ }[];
543
+ collectionId: string;
544
+ } | null;
545
+ id: string;
546
+ kind: "asset";
547
+ source: "user" | "agent";
548
+ approvalId?: string | undefined;
549
+ } | {
550
+ value: {
551
+ description: string;
552
+ } | null;
553
+ id: string;
554
+ kind: "unsupported";
555
+ source: "user" | "agent";
556
+ approvalId?: string | undefined;
557
+ })[];
558
+ unresolvedDecisions: {
559
+ id: string;
560
+ question: string;
561
+ }[];
562
+ };
563
+ artifactId: string;
564
+ binding: {
565
+ expectedAddress: string;
566
+ network: "mainnet" | "testnet" | "local";
567
+ chainId: string;
568
+ };
569
+ stateHeight?: string | undefined;
570
+ evidence?: {
571
+ version: 1;
572
+ status: "satisfied" | "violated" | "unverified";
573
+ requirements: {
574
+ status: "satisfied" | "violated" | "unverified";
575
+ source: "none" | "lifecycle" | "static";
576
+ requirementId: string;
577
+ paths: string[];
578
+ reason: string;
579
+ }[];
580
+ artifactId: string;
581
+ intentId: string;
582
+ checkedAt: string;
583
+ coverage: {
584
+ unverified: string[];
585
+ executed: string[];
586
+ };
587
+ scope?: "initial-artifact-configuration" | undefined;
588
+ maturity?: "experimental" | undefined;
589
+ } | undefined;
590
+ }, {
591
+ version: 1;
592
+ intent: {
593
+ version: 1;
594
+ requirements: ({
595
+ value: {
596
+ amount: string;
597
+ denom: string;
598
+ recipient: string;
599
+ } | null;
600
+ id: string;
601
+ kind: "payment";
602
+ source: "user" | "agent";
603
+ approvalId?: string | undefined;
604
+ } | {
605
+ value: {
606
+ milliseconds: string;
607
+ } | null;
608
+ id: string;
609
+ kind: "duration";
610
+ source: "user" | "agent";
611
+ approvalId?: string | undefined;
612
+ } | {
613
+ value: boolean | null;
614
+ id: string;
615
+ kind: "transferability";
616
+ source: "user" | "agent";
617
+ approvalId?: string | undefined;
618
+ } | {
619
+ value: {
620
+ maxSupplyPerId: string;
621
+ } | null;
622
+ id: string;
623
+ kind: "supply";
624
+ source: "user" | "agent";
625
+ approvalId?: string | undefined;
626
+ } | {
627
+ value: {
628
+ canUpdateApprovals: boolean;
629
+ } | null;
630
+ id: string;
631
+ kind: "managerPowers";
632
+ source: "user" | "agent";
633
+ approvalId?: string | undefined;
634
+ } | {
635
+ value: {
636
+ tokenIds: {
637
+ start: string;
638
+ end: string;
639
+ }[];
640
+ collectionId: string;
641
+ } | null;
642
+ id: string;
643
+ kind: "asset";
644
+ source: "user" | "agent";
645
+ approvalId?: string | undefined;
646
+ } | {
647
+ value: {
648
+ description: string;
649
+ } | null;
650
+ id: string;
651
+ kind: "unsupported";
652
+ source: "user" | "agent";
653
+ approvalId?: string | undefined;
654
+ })[];
655
+ unresolvedDecisions: {
656
+ id: string;
657
+ question: string;
658
+ }[];
659
+ };
660
+ artifactId: string;
661
+ binding: {
662
+ expectedAddress: string;
663
+ network: "mainnet" | "testnet" | "local";
664
+ chainId: string;
665
+ };
666
+ stateHeight?: string | undefined;
667
+ evidence?: {
668
+ version: 1;
669
+ status: "satisfied" | "violated" | "unverified";
670
+ requirements: {
671
+ status: "satisfied" | "violated" | "unverified";
672
+ source: "none" | "lifecycle" | "static";
673
+ requirementId: string;
674
+ paths: string[];
675
+ reason: string;
676
+ }[];
677
+ artifactId: string;
678
+ intentId: string;
679
+ checkedAt: string;
680
+ coverage: {
681
+ unverified: string[];
682
+ executed: string[];
683
+ };
684
+ scope?: "initial-artifact-configuration" | undefined;
685
+ maturity?: "experimental" | undefined;
686
+ } | undefined;
687
+ }>>;
688
+ }, "strict", z.ZodTypeAny, {
689
+ expectedAddress: string;
690
+ network: "mainnet" | "testnet" | "local";
691
+ artifact: {
692
+ messages: {
693
+ value: Record<string, unknown>;
694
+ typeUrl: string;
695
+ }[];
696
+ };
697
+ signOnly?: boolean | undefined;
698
+ review?: {
699
+ version: 1;
700
+ intent: {
701
+ version: 1;
702
+ requirements: ({
703
+ value: {
704
+ amount: string;
705
+ denom: string;
706
+ recipient: string;
707
+ } | null;
708
+ id: string;
709
+ kind: "payment";
710
+ source: "user" | "agent";
711
+ approvalId?: string | undefined;
712
+ } | {
713
+ value: {
714
+ milliseconds: string;
715
+ } | null;
716
+ id: string;
717
+ kind: "duration";
718
+ source: "user" | "agent";
719
+ approvalId?: string | undefined;
720
+ } | {
721
+ value: boolean | null;
722
+ id: string;
723
+ kind: "transferability";
724
+ source: "user" | "agent";
725
+ approvalId?: string | undefined;
726
+ } | {
727
+ value: {
728
+ maxSupplyPerId: string;
729
+ } | null;
730
+ id: string;
731
+ kind: "supply";
732
+ source: "user" | "agent";
733
+ approvalId?: string | undefined;
734
+ } | {
735
+ value: {
736
+ canUpdateApprovals: boolean;
737
+ } | null;
738
+ id: string;
739
+ kind: "managerPowers";
740
+ source: "user" | "agent";
741
+ approvalId?: string | undefined;
742
+ } | {
743
+ value: {
744
+ tokenIds: {
745
+ start: string;
746
+ end: string;
747
+ }[];
748
+ collectionId: string;
749
+ } | null;
750
+ id: string;
751
+ kind: "asset";
752
+ source: "user" | "agent";
753
+ approvalId?: string | undefined;
754
+ } | {
755
+ value: {
756
+ description: string;
757
+ } | null;
758
+ id: string;
759
+ kind: "unsupported";
760
+ source: "user" | "agent";
761
+ approvalId?: string | undefined;
762
+ })[];
763
+ unresolvedDecisions: {
764
+ id: string;
765
+ question: string;
766
+ }[];
767
+ };
768
+ artifactId: string;
769
+ binding: {
770
+ expectedAddress: string;
771
+ network: "mainnet" | "testnet" | "local";
772
+ chainId: string;
773
+ };
774
+ stateHeight?: string | undefined;
775
+ evidence?: {
776
+ version: 1;
777
+ status: "satisfied" | "violated" | "unverified";
778
+ requirements: {
779
+ status: "satisfied" | "violated" | "unverified";
780
+ source: "none" | "lifecycle" | "static";
781
+ requirementId: string;
782
+ paths: string[];
783
+ reason: string;
784
+ }[];
785
+ artifactId: string;
786
+ intentId: string;
787
+ checkedAt: string;
788
+ coverage: {
789
+ unverified: string[];
790
+ executed: string[];
791
+ };
792
+ scope?: "initial-artifact-configuration" | undefined;
793
+ maturity?: "experimental" | undefined;
794
+ } | undefined;
795
+ } | undefined;
796
+ timeoutSeconds?: number | undefined;
797
+ }, {
798
+ expectedAddress: string;
799
+ network: "mainnet" | "testnet" | "local";
800
+ artifact: {
801
+ messages: {
802
+ value: Record<string, unknown>;
803
+ typeUrl: string;
804
+ }[];
805
+ };
806
+ signOnly?: boolean | undefined;
807
+ review?: {
808
+ version: 1;
809
+ intent: {
810
+ version: 1;
811
+ requirements: ({
812
+ value: {
813
+ amount: string;
814
+ denom: string;
815
+ recipient: string;
816
+ } | null;
817
+ id: string;
818
+ kind: "payment";
819
+ source: "user" | "agent";
820
+ approvalId?: string | undefined;
821
+ } | {
822
+ value: {
823
+ milliseconds: string;
824
+ } | null;
825
+ id: string;
826
+ kind: "duration";
827
+ source: "user" | "agent";
828
+ approvalId?: string | undefined;
829
+ } | {
830
+ value: boolean | null;
831
+ id: string;
832
+ kind: "transferability";
833
+ source: "user" | "agent";
834
+ approvalId?: string | undefined;
835
+ } | {
836
+ value: {
837
+ maxSupplyPerId: string;
838
+ } | null;
839
+ id: string;
840
+ kind: "supply";
841
+ source: "user" | "agent";
842
+ approvalId?: string | undefined;
843
+ } | {
844
+ value: {
845
+ canUpdateApprovals: boolean;
846
+ } | null;
847
+ id: string;
848
+ kind: "managerPowers";
849
+ source: "user" | "agent";
850
+ approvalId?: string | undefined;
851
+ } | {
852
+ value: {
853
+ tokenIds: {
854
+ start: string;
855
+ end: string;
856
+ }[];
857
+ collectionId: string;
858
+ } | null;
859
+ id: string;
860
+ kind: "asset";
861
+ source: "user" | "agent";
862
+ approvalId?: string | undefined;
863
+ } | {
864
+ value: {
865
+ description: string;
866
+ } | null;
867
+ id: string;
868
+ kind: "unsupported";
869
+ source: "user" | "agent";
870
+ approvalId?: string | undefined;
871
+ })[];
872
+ unresolvedDecisions: {
873
+ id: string;
874
+ question: string;
875
+ }[];
876
+ };
877
+ artifactId: string;
878
+ binding: {
879
+ expectedAddress: string;
880
+ network: "mainnet" | "testnet" | "local";
881
+ chainId: string;
882
+ };
883
+ stateHeight?: string | undefined;
884
+ evidence?: {
885
+ version: 1;
886
+ status: "satisfied" | "violated" | "unverified";
887
+ requirements: {
888
+ status: "satisfied" | "violated" | "unverified";
889
+ source: "none" | "lifecycle" | "static";
890
+ requirementId: string;
891
+ paths: string[];
892
+ reason: string;
893
+ }[];
894
+ artifactId: string;
895
+ intentId: string;
896
+ checkedAt: string;
897
+ coverage: {
898
+ unverified: string[];
899
+ executed: string[];
900
+ };
901
+ scope?: "initial-artifact-configuration" | undefined;
902
+ maturity?: "experimental" | undefined;
903
+ } | undefined;
904
+ } | undefined;
905
+ timeoutSeconds?: number | undefined;
906
+ }>;
907
+ export declare function prepareBrowserReviewRequest(input: unknown): BrowserTxRequestV2;
908
+ export declare function requestBrowserReview(input: unknown): Promise<{
909
+ requestId: string;
910
+ outcome: "pending";
911
+ signUrl: string;
912
+ expiresAt: number;
913
+ confirmed: false;
914
+ retrySafe: false;
915
+ nextStep: string;
916
+ }>;
917
+ export declare function listenForBrowserReview(input: unknown): Promise<void>;
918
+ //# sourceMappingURL=browser-review.d.ts.map