bitbadges 0.45.2 → 0.45.3

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 (299) hide show
  1. package/dist/cjs/api-indexer/BitBadgesApi.d.ts.map +1 -1
  2. package/dist/cjs/api-indexer/BitBadgesApi.js +4 -4
  3. package/dist/cjs/api-indexer/BitBadgesApi.js.map +1 -1
  4. package/dist/cjs/api-indexer/BitBadgesCollection.d.ts.map +1 -1
  5. package/dist/cjs/api-indexer/BitBadgesCollection.js.map +1 -1
  6. package/dist/cjs/api-indexer/BitBadgesUserInfo.d.ts.map +1 -1
  7. package/dist/cjs/api-indexer/BitBadgesUserInfo.js.map +1 -1
  8. package/dist/cjs/api-indexer/docs-types/docs.d.ts +7 -0
  9. package/dist/cjs/api-indexer/docs-types/docs.d.ts.map +1 -1
  10. package/dist/cjs/api-indexer/docs-types/docs.js +8 -1
  11. package/dist/cjs/api-indexer/docs-types/docs.js.map +1 -1
  12. package/dist/cjs/api-indexer/docs-types/interfaces.d.ts +7 -0
  13. package/dist/cjs/api-indexer/docs-types/interfaces.d.ts.map +1 -1
  14. package/dist/cjs/api-indexer/docs-types/interfaces.js.map +1 -1
  15. package/dist/cjs/api-indexer/docs-types/queue.spec.d.ts +2 -0
  16. package/dist/cjs/api-indexer/docs-types/queue.spec.d.ts.map +1 -0
  17. package/dist/cjs/api-indexer/docs-types/queue.spec.js +26 -0
  18. package/dist/cjs/api-indexer/docs-types/queue.spec.js.map +1 -0
  19. package/dist/cjs/api-indexer/info-builders.d.ts +4 -0
  20. package/dist/cjs/api-indexer/info-builders.d.ts.map +1 -1
  21. package/dist/cjs/api-indexer/info-builders.js.map +1 -1
  22. package/dist/cjs/api-indexer/metadata/metadataIds.d.ts.map +1 -1
  23. package/dist/cjs/api-indexer/metadata/metadataIds.js.map +1 -1
  24. package/dist/cjs/api-indexer/metadata/tokenMetadata.d.ts.map +1 -1
  25. package/dist/cjs/api-indexer/metadata/tokenMetadata.js.map +1 -1
  26. package/dist/cjs/api-indexer/requests/collectionIndex.d.ts +4 -0
  27. package/dist/cjs/api-indexer/requests/collectionIndex.d.ts.map +1 -1
  28. package/dist/cjs/api-indexer/requests/collectionIndex.js +4 -0
  29. package/dist/cjs/api-indexer/requests/collectionIndex.js.map +1 -1
  30. package/dist/cjs/api-indexer/standards-info.d.ts +41 -0
  31. package/dist/cjs/api-indexer/standards-info.d.ts.map +1 -1
  32. package/dist/cjs/api-indexer/verify-standards.d.ts.map +1 -1
  33. package/dist/cjs/api-indexer/verify-standards.js +11 -2
  34. package/dist/cjs/api-indexer/verify-standards.js.map +1 -1
  35. package/dist/cjs/builder/agent/tokenTypeInference.d.ts.map +1 -1
  36. package/dist/cjs/builder/agent/tokenTypeInference.js +2 -0
  37. package/dist/cjs/builder/agent/tokenTypeInference.js.map +1 -1
  38. package/dist/cjs/builder/index.js +0 -0
  39. package/dist/cjs/builder/presets/payment-request.js +3 -3
  40. package/dist/cjs/builder/presets/payment-request.js.map +1 -1
  41. package/dist/cjs/builder/presets/payment-request.spec.d.ts +2 -0
  42. package/dist/cjs/builder/presets/payment-request.spec.d.ts.map +1 -0
  43. package/dist/cjs/builder/presets/payment-request.spec.js +20 -0
  44. package/dist/cjs/builder/presets/payment-request.spec.js.map +1 -0
  45. package/dist/cjs/builder/resources/skillInstructions.d.ts.map +1 -1
  46. package/dist/cjs/builder/resources/skillInstructions.js +71 -33
  47. package/dist/cjs/builder/resources/skillInstructions.js.map +1 -1
  48. package/dist/cjs/builder/tools/builders/buildPaymentRequestV2.d.ts +133 -0
  49. package/dist/cjs/builder/tools/builders/buildPaymentRequestV2.d.ts.map +1 -0
  50. package/dist/cjs/builder/tools/builders/buildPaymentRequestV2.js +80 -0
  51. package/dist/cjs/builder/tools/builders/buildPaymentRequestV2.js.map +1 -0
  52. package/dist/cjs/builder/tools/builders/index.d.ts +1 -0
  53. package/dist/cjs/builder/tools/builders/index.d.ts.map +1 -1
  54. package/dist/cjs/builder/tools/builders/index.js +1 -0
  55. package/dist/cjs/builder/tools/builders/index.js.map +1 -1
  56. package/dist/cjs/builder/tools/registry.d.ts.map +1 -1
  57. package/dist/cjs/builder/tools/registry.js +2 -0
  58. package/dist/cjs/builder/tools/registry.js.map +1 -1
  59. package/dist/cjs/builder/tools/session/addApproval.d.ts +6 -6
  60. package/dist/cjs/builder/tools/utilities/searchKnowledgeBase.d.ts +2 -2
  61. package/dist/cjs/cli/commands/build-payment-v2-async.spec.d.ts +2 -0
  62. package/dist/cjs/cli/commands/build-payment-v2-async.spec.d.ts.map +1 -0
  63. package/dist/cjs/cli/commands/build-payment-v2-async.spec.js +55 -0
  64. package/dist/cjs/cli/commands/build-payment-v2-async.spec.js.map +1 -0
  65. package/dist/cjs/cli/commands/build.js +9 -2
  66. package/dist/cjs/cli/commands/build.js.map +1 -1
  67. package/dist/cjs/cli/commands/build.spec.js +1 -0
  68. package/dist/cjs/cli/commands/build.spec.js.map +1 -1
  69. package/dist/cjs/cli/commands/pay-requests.d.ts +2 -0
  70. package/dist/cjs/cli/commands/pay-requests.d.ts.map +1 -1
  71. package/dist/cjs/cli/commands/pay-requests.js +55 -13
  72. package/dist/cjs/cli/commands/pay-requests.js.map +1 -1
  73. package/dist/cjs/cli/commands/pay-requests.spec.js +17 -0
  74. package/dist/cjs/cli/commands/pay-requests.spec.js.map +1 -1
  75. package/dist/cjs/cli/commands/subscriptions-boundaries.spec.d.ts +2 -0
  76. package/dist/cjs/cli/commands/subscriptions-boundaries.spec.d.ts.map +1 -0
  77. package/dist/cjs/cli/commands/subscriptions-boundaries.spec.js +98 -0
  78. package/dist/cjs/cli/commands/subscriptions-boundaries.spec.js.map +1 -0
  79. package/dist/cjs/cli/commands/subscriptions.js +2 -2
  80. package/dist/cjs/cli/commands/subscriptions.js.map +1 -1
  81. package/dist/cjs/cli/index.js +0 -0
  82. package/dist/cjs/core/aliases.d.ts.map +1 -1
  83. package/dist/cjs/core/aliases.js +9 -20
  84. package/dist/cjs/core/aliases.js.map +1 -1
  85. package/dist/cjs/core/aliases.spec.js +17 -0
  86. package/dist/cjs/core/aliases.spec.js.map +1 -1
  87. package/dist/cjs/core/approvals.d.ts.map +1 -1
  88. package/dist/cjs/core/approvals.js.map +1 -1
  89. package/dist/cjs/core/browserSafeImports.spec.d.ts +2 -0
  90. package/dist/cjs/core/browserSafeImports.spec.d.ts.map +1 -0
  91. package/dist/cjs/core/browserSafeImports.spec.js +64 -0
  92. package/dist/cjs/core/browserSafeImports.spec.js.map +1 -0
  93. package/dist/cjs/core/builders/builders.spec.js +14 -0
  94. package/dist/cjs/core/builders/builders.spec.js.map +1 -1
  95. package/dist/cjs/core/builders/payment-request.d.ts.map +1 -1
  96. package/dist/cjs/core/builders/payment-request.js +2 -0
  97. package/dist/cjs/core/builders/payment-request.js.map +1 -1
  98. package/dist/cjs/core/builders/shared.js +3 -6
  99. package/dist/cjs/core/builders/shared.js.map +1 -1
  100. package/dist/cjs/core/design-decisions/standards.d.ts.map +1 -1
  101. package/dist/cjs/core/design-decisions/standards.js +3 -0
  102. package/dist/cjs/core/design-decisions/standards.js.map +1 -1
  103. package/dist/cjs/core/index.d.ts +1 -0
  104. package/dist/cjs/core/index.d.ts.map +1 -1
  105. package/dist/cjs/core/index.js +1 -0
  106. package/dist/cjs/core/index.js.map +1 -1
  107. package/dist/cjs/core/payment-requests-v2-schema.spec.d.ts +2 -0
  108. package/dist/cjs/core/payment-requests-v2-schema.spec.d.ts.map +1 -0
  109. package/dist/cjs/core/payment-requests-v2-schema.spec.js +64 -0
  110. package/dist/cjs/core/payment-requests-v2-schema.spec.js.map +1 -0
  111. package/dist/cjs/core/payment-requests-v2-type.spec.d.ts +2 -0
  112. package/dist/cjs/core/payment-requests-v2-type.spec.d.ts.map +1 -0
  113. package/dist/cjs/core/payment-requests-v2-type.spec.js +58 -0
  114. package/dist/cjs/core/payment-requests-v2-type.spec.js.map +1 -0
  115. package/dist/cjs/core/payment-requests-v2-validation.spec.d.ts +2 -0
  116. package/dist/cjs/core/payment-requests-v2-validation.spec.d.ts.map +1 -0
  117. package/dist/cjs/core/payment-requests-v2-validation.spec.js +117 -0
  118. package/dist/cjs/core/payment-requests-v2-validation.spec.js.map +1 -0
  119. package/dist/cjs/core/payment-requests-v2.chain-fixture.json +481 -0
  120. package/dist/cjs/core/payment-requests-v2.d.ts +434 -0
  121. package/dist/cjs/core/payment-requests-v2.d.ts.map +1 -0
  122. package/dist/cjs/core/payment-requests-v2.js +289 -0
  123. package/dist/cjs/core/payment-requests-v2.js.map +1 -0
  124. package/dist/cjs/core/payment-requests-v2.spec.d.ts +2 -0
  125. package/dist/cjs/core/payment-requests-v2.spec.d.ts.map +1 -0
  126. package/dist/cjs/core/payment-requests-v2.spec.js +186 -0
  127. package/dist/cjs/core/payment-requests-v2.spec.js.map +1 -0
  128. package/dist/cjs/core/payment-requests.d.ts +1 -1
  129. package/dist/cjs/core/payment-requests.d.ts.map +1 -1
  130. package/dist/cjs/core/payment-requests.js +17 -3
  131. package/dist/cjs/core/payment-requests.js.map +1 -1
  132. package/dist/cjs/core/payment-requests.spec.js +27 -0
  133. package/dist/cjs/core/payment-requests.spec.js.map +1 -1
  134. package/dist/cjs/core/subscriptions.js +1 -1
  135. package/dist/cjs/core/subscriptions.js.map +1 -1
  136. package/dist/cjs/core/subscriptions.spec.js +24 -3
  137. package/dist/cjs/core/subscriptions.spec.js.map +1 -1
  138. package/dist/cjs/core/uintRanges.d.ts.map +1 -1
  139. package/dist/cjs/core/uintRanges.js.map +1 -1
  140. package/dist/cjs/signing/BitBadgesSigningClient.d.ts.map +1 -1
  141. package/dist/cjs/signing/BitBadgesSigningClient.js.map +1 -1
  142. package/dist/cjs/signing/index.d.ts.map +1 -1
  143. package/dist/cjs/signing/index.js.map +1 -1
  144. package/dist/cjs/transactions/precompile/helpers.d.ts.map +1 -1
  145. package/dist/cjs/transactions/precompile/helpers.js +4 -4
  146. package/dist/cjs/transactions/precompile/helpers.js.map +1 -1
  147. package/dist/cjs/transactions/precompile/utils.d.ts.map +1 -1
  148. package/dist/cjs/transactions/precompile/utils.js +8 -17
  149. package/dist/cjs/transactions/precompile/utils.js.map +1 -1
  150. package/dist/cjs/tsconfig.build.tsbuildinfo +1 -1
  151. package/dist/esm/api-indexer/BitBadgesApi.d.ts.map +1 -1
  152. package/dist/esm/api-indexer/BitBadgesApi.js +4 -4
  153. package/dist/esm/api-indexer/BitBadgesApi.js.map +1 -1
  154. package/dist/esm/api-indexer/BitBadgesCollection.d.ts.map +1 -1
  155. package/dist/esm/api-indexer/BitBadgesCollection.js.map +1 -1
  156. package/dist/esm/api-indexer/BitBadgesUserInfo.d.ts.map +1 -1
  157. package/dist/esm/api-indexer/BitBadgesUserInfo.js.map +1 -1
  158. package/dist/esm/api-indexer/docs-types/docs.d.ts +7 -0
  159. package/dist/esm/api-indexer/docs-types/docs.d.ts.map +1 -1
  160. package/dist/esm/api-indexer/docs-types/docs.js +15 -1
  161. package/dist/esm/api-indexer/docs-types/docs.js.map +1 -1
  162. package/dist/esm/api-indexer/docs-types/interfaces.d.ts +7 -0
  163. package/dist/esm/api-indexer/docs-types/interfaces.d.ts.map +1 -1
  164. package/dist/esm/api-indexer/docs-types/interfaces.js.map +1 -1
  165. package/dist/esm/api-indexer/docs-types/queue.spec.d.ts +2 -0
  166. package/dist/esm/api-indexer/docs-types/queue.spec.d.ts.map +1 -0
  167. package/dist/esm/api-indexer/docs-types/queue.spec.js +24 -0
  168. package/dist/esm/api-indexer/docs-types/queue.spec.js.map +1 -0
  169. package/dist/esm/api-indexer/info-builders.d.ts +4 -0
  170. package/dist/esm/api-indexer/info-builders.d.ts.map +1 -1
  171. package/dist/esm/api-indexer/info-builders.js.map +1 -1
  172. package/dist/esm/api-indexer/metadata/metadataIds.d.ts.map +1 -1
  173. package/dist/esm/api-indexer/metadata/metadataIds.js.map +1 -1
  174. package/dist/esm/api-indexer/metadata/tokenMetadata.d.ts.map +1 -1
  175. package/dist/esm/api-indexer/metadata/tokenMetadata.js.map +1 -1
  176. package/dist/esm/api-indexer/requests/collectionIndex.d.ts +4 -0
  177. package/dist/esm/api-indexer/requests/collectionIndex.d.ts.map +1 -1
  178. package/dist/esm/api-indexer/requests/collectionIndex.js +6 -0
  179. package/dist/esm/api-indexer/requests/collectionIndex.js.map +1 -1
  180. package/dist/esm/api-indexer/standards-info.d.ts +41 -0
  181. package/dist/esm/api-indexer/standards-info.d.ts.map +1 -1
  182. package/dist/esm/api-indexer/verify-standards.d.ts.map +1 -1
  183. package/dist/esm/api-indexer/verify-standards.js +11 -2
  184. package/dist/esm/api-indexer/verify-standards.js.map +1 -1
  185. package/dist/esm/builder/agent/tokenTypeInference.d.ts.map +1 -1
  186. package/dist/esm/builder/agent/tokenTypeInference.js +2 -0
  187. package/dist/esm/builder/agent/tokenTypeInference.js.map +1 -1
  188. package/dist/esm/builder/presets/payment-request.js +3 -3
  189. package/dist/esm/builder/presets/payment-request.js.map +1 -1
  190. package/dist/esm/builder/presets/payment-request.spec.d.ts +2 -0
  191. package/dist/esm/builder/presets/payment-request.spec.d.ts.map +1 -0
  192. package/dist/esm/builder/presets/payment-request.spec.js +18 -0
  193. package/dist/esm/builder/presets/payment-request.spec.js.map +1 -0
  194. package/dist/esm/builder/resources/skillInstructions.d.ts.map +1 -1
  195. package/dist/esm/builder/resources/skillInstructions.js +71 -33
  196. package/dist/esm/builder/resources/skillInstructions.js.map +1 -1
  197. package/dist/esm/builder/tools/builders/buildPaymentRequestV2.d.ts +133 -0
  198. package/dist/esm/builder/tools/builders/buildPaymentRequestV2.d.ts.map +1 -0
  199. package/dist/esm/builder/tools/builders/buildPaymentRequestV2.js +76 -0
  200. package/dist/esm/builder/tools/builders/buildPaymentRequestV2.js.map +1 -0
  201. package/dist/esm/builder/tools/builders/index.d.ts +1 -0
  202. package/dist/esm/builder/tools/builders/index.d.ts.map +1 -1
  203. package/dist/esm/builder/tools/builders/index.js +1 -0
  204. package/dist/esm/builder/tools/builders/index.js.map +1 -1
  205. package/dist/esm/builder/tools/registry.d.ts.map +1 -1
  206. package/dist/esm/builder/tools/registry.js +2 -0
  207. package/dist/esm/builder/tools/registry.js.map +1 -1
  208. package/dist/esm/builder/tools/session/addApproval.d.ts +6 -6
  209. package/dist/esm/builder/tools/utilities/searchKnowledgeBase.d.ts +2 -2
  210. package/dist/esm/cli/commands/build-payment-v2-async.spec.d.ts +2 -0
  211. package/dist/esm/cli/commands/build-payment-v2-async.spec.d.ts.map +1 -0
  212. package/dist/esm/cli/commands/build-payment-v2-async.spec.js +53 -0
  213. package/dist/esm/cli/commands/build-payment-v2-async.spec.js.map +1 -0
  214. package/dist/esm/cli/commands/build.js +9 -2
  215. package/dist/esm/cli/commands/build.js.map +1 -1
  216. package/dist/esm/cli/commands/build.spec.js +1 -0
  217. package/dist/esm/cli/commands/build.spec.js.map +1 -1
  218. package/dist/esm/cli/commands/pay-requests.d.ts +2 -0
  219. package/dist/esm/cli/commands/pay-requests.d.ts.map +1 -1
  220. package/dist/esm/cli/commands/pay-requests.js +53 -13
  221. package/dist/esm/cli/commands/pay-requests.js.map +1 -1
  222. package/dist/esm/cli/commands/pay-requests.spec.js +18 -1
  223. package/dist/esm/cli/commands/pay-requests.spec.js.map +1 -1
  224. package/dist/esm/cli/commands/subscriptions-boundaries.spec.d.ts +2 -0
  225. package/dist/esm/cli/commands/subscriptions-boundaries.spec.d.ts.map +1 -0
  226. package/dist/esm/cli/commands/subscriptions-boundaries.spec.js +63 -0
  227. package/dist/esm/cli/commands/subscriptions-boundaries.spec.js.map +1 -0
  228. package/dist/esm/cli/commands/subscriptions.js +2 -2
  229. package/dist/esm/cli/commands/subscriptions.js.map +1 -1
  230. package/dist/esm/core/aliases.d.ts.map +1 -1
  231. package/dist/esm/core/aliases.js +9 -17
  232. package/dist/esm/core/aliases.js.map +1 -1
  233. package/dist/esm/core/aliases.spec.js +18 -1
  234. package/dist/esm/core/aliases.spec.js.map +1 -1
  235. package/dist/esm/core/approvals.d.ts.map +1 -1
  236. package/dist/esm/core/approvals.js.map +1 -1
  237. package/dist/esm/core/browserSafeImports.spec.d.ts +2 -0
  238. package/dist/esm/core/browserSafeImports.spec.d.ts.map +1 -0
  239. package/dist/esm/core/browserSafeImports.spec.js +59 -0
  240. package/dist/esm/core/browserSafeImports.spec.js.map +1 -0
  241. package/dist/esm/core/builders/builders.spec.js +14 -0
  242. package/dist/esm/core/builders/builders.spec.js.map +1 -1
  243. package/dist/esm/core/builders/payment-request.d.ts.map +1 -1
  244. package/dist/esm/core/builders/payment-request.js +2 -0
  245. package/dist/esm/core/builders/payment-request.js.map +1 -1
  246. package/dist/esm/core/builders/shared.js +3 -3
  247. package/dist/esm/core/builders/shared.js.map +1 -1
  248. package/dist/esm/core/design-decisions/standards.d.ts.map +1 -1
  249. package/dist/esm/core/design-decisions/standards.js +3 -0
  250. package/dist/esm/core/design-decisions/standards.js.map +1 -1
  251. package/dist/esm/core/index.d.ts +1 -0
  252. package/dist/esm/core/index.d.ts.map +1 -1
  253. package/dist/esm/core/index.js +1 -0
  254. package/dist/esm/core/index.js.map +1 -1
  255. package/dist/esm/core/payment-requests-v2-schema.spec.d.ts +2 -0
  256. package/dist/esm/core/payment-requests-v2-schema.spec.d.ts.map +1 -0
  257. package/dist/esm/core/payment-requests-v2-schema.spec.js +59 -0
  258. package/dist/esm/core/payment-requests-v2-schema.spec.js.map +1 -0
  259. package/dist/esm/core/payment-requests-v2-type.spec.d.ts +2 -0
  260. package/dist/esm/core/payment-requests-v2-type.spec.d.ts.map +1 -0
  261. package/dist/esm/core/payment-requests-v2-type.spec.js +56 -0
  262. package/dist/esm/core/payment-requests-v2-type.spec.js.map +1 -0
  263. package/dist/esm/core/payment-requests-v2-validation.spec.d.ts +2 -0
  264. package/dist/esm/core/payment-requests-v2-validation.spec.d.ts.map +1 -0
  265. package/dist/esm/core/payment-requests-v2-validation.spec.js +112 -0
  266. package/dist/esm/core/payment-requests-v2-validation.spec.js.map +1 -0
  267. package/dist/esm/core/payment-requests-v2.chain-fixture.json +481 -0
  268. package/dist/esm/core/payment-requests-v2.d.ts +434 -0
  269. package/dist/esm/core/payment-requests-v2.d.ts.map +1 -0
  270. package/dist/esm/core/payment-requests-v2.js +280 -0
  271. package/dist/esm/core/payment-requests-v2.js.map +1 -0
  272. package/dist/esm/core/payment-requests-v2.spec.d.ts +2 -0
  273. package/dist/esm/core/payment-requests-v2.spec.d.ts.map +1 -0
  274. package/dist/esm/core/payment-requests-v2.spec.js +181 -0
  275. package/dist/esm/core/payment-requests-v2.spec.js.map +1 -0
  276. package/dist/esm/core/payment-requests.d.ts +1 -1
  277. package/dist/esm/core/payment-requests.d.ts.map +1 -1
  278. package/dist/esm/core/payment-requests.js +17 -3
  279. package/dist/esm/core/payment-requests.js.map +1 -1
  280. package/dist/esm/core/payment-requests.spec.js +27 -0
  281. package/dist/esm/core/payment-requests.spec.js.map +1 -1
  282. package/dist/esm/core/subscriptions.js +1 -1
  283. package/dist/esm/core/subscriptions.js.map +1 -1
  284. package/dist/esm/core/subscriptions.spec.js +24 -3
  285. package/dist/esm/core/subscriptions.spec.js.map +1 -1
  286. package/dist/esm/core/uintRanges.d.ts.map +1 -1
  287. package/dist/esm/core/uintRanges.js.map +1 -1
  288. package/dist/esm/signing/BitBadgesSigningClient.d.ts.map +1 -1
  289. package/dist/esm/signing/BitBadgesSigningClient.js.map +1 -1
  290. package/dist/esm/signing/index.d.ts.map +1 -1
  291. package/dist/esm/signing/index.js.map +1 -1
  292. package/dist/esm/transactions/precompile/helpers.d.ts.map +1 -1
  293. package/dist/esm/transactions/precompile/helpers.js +5 -5
  294. package/dist/esm/transactions/precompile/helpers.js.map +1 -1
  295. package/dist/esm/transactions/precompile/utils.d.ts.map +1 -1
  296. package/dist/esm/transactions/precompile/utils.js +9 -18
  297. package/dist/esm/transactions/precompile/utils.js.map +1 -1
  298. package/dist/esm/tsconfig-esm.build.tsbuildinfo +1 -1
  299. package/package.json +9 -2
@@ -154,7 +154,9 @@ For safety, backing approvals enforce that the initiator must be the recipient (
154
154
  Add "AI Agent Vault" to the standards array to enable an AI Prompt tab in the frontend. This is **display-only** and has no impact on on-chain logic.
155
155
 
156
156
  \`\`\`json
157
+ {
157
158
  "standards": ["Smart Token", "AI Agent Vault"]
159
+ }
158
160
  \`\`\`
159
161
 
160
162
  ### Optional: DEX Tradability (Liquidity Pools)
@@ -1691,7 +1693,7 @@ The primitives (mustOwnTokens, transferTimes, votingChallenges, amount caps, bal
1691
1693
  - DON'T forget timeout fallbacks on every path — funds can be locked forever if a party ghosts.
1692
1694
  - DON'T make verifier fee conditional on outcome — use flat fee with two vote-gated fee approvals for neutral incentives.
1693
1695
  - DON'T forget to lock ALL permissions for escrow — any unlocked permission lets someone change the rules.
1694
- - DON'T use the same amountTrackerId across multiple approvals unless you want them to share a counter.
1696
+ - Approval trackers include approvalId in their identity. Reusing amountTrackerId across different approvals does NOT share a counter; use one approval for a shared cap or a separately enforced state-token mechanism.
1695
1697
  - DON'T forget mustOwnBadges for deposit verification — this is how you on-chain gate releases on deposits.`
1696
1698
  },
1697
1699
  {
@@ -1768,11 +1770,11 @@ add_preset_approval({ presetId: "tradable.transferable", params: {} })
1768
1770
  - Increment-only, non-transferable (soulbound) fungible token purchased with ICS20 denom
1769
1771
  - validTokenIds: [{ "start": "1", "end": "1" }] (single token ID)
1770
1772
  - ONE Mint approval with approvalId "credit-scaled" using allowAmountScaling (single scaled approval supersedes the legacy 8-10 tier approach; legacy tiers still supported for backward compat but deprecated)
1771
- - Lock canUpdateCollectionApprovals (empty array = frozen)
1773
+ - Lock canUpdateCollectionApprovals (use \`permanentlyForbiddenTimes\`)
1772
1774
  - defaultBalances: autoApproveAllIncomingTransfers: true, autoApproveSelfInitiatedOutgoingTransfers: true, autoApproveSelfInitiatedIncomingTransfers: true
1773
1775
  - Credit-scaled approval: overridesFromOutgoingApprovals: true, mustPrioritize: true, coinTransfers[0].coins[0].amount = "1" (micro-payment unit)
1774
1776
  - MUST include alias path for display
1775
- - All permissions locked (empty arrays)
1777
+ - All permissions locked with full-range \`permanentlyForbiddenTimes\`
1776
1778
  - Key difference from Smart Token: one-way minting only, no backing/unbacking, no transferability`,
1777
1779
  instructions: `## Credit Token Configuration
1778
1780
 
@@ -1806,7 +1808,7 @@ Credit tokens are designed for systems that track consumption off-chain. The on-
1806
1808
  - \`"autoApproveSelfInitiatedOutgoingTransfers": true\`
1807
1809
  - \`"autoApproveSelfInitiatedIncomingTransfers": true\`
1808
1810
  5. **Alias path REQUIRED** for display (see below).
1809
- 6. **All permissions frozen** (every \`collectionPermissions\` field = \`[]\`).
1811
+ 6. **All permissions frozen** (full-range \`permanentlyForbiddenTimes\` on every permission, with the appropriate scope).
1810
1812
 
1811
1813
  ### The Scaled Credit Approval (single approval — replaces tiers)
1812
1814
 
@@ -1909,6 +1911,7 @@ For mismatched decimals: call \`lookup_token_info\` to confirm both decimals, th
1909
1911
 
1910
1912
  MUST include an alias path so tokens display nicely. The alias path REQUIRES at least one \`denomUnits\` entry with \`decimals > 0\` — the chain rejects an empty or zero-decimal denom units array with "denom unit decimals cannot be 0". Pick a sensible display exponent (6 is typical for fungible tokens):
1911
1913
  \`\`\`json
1914
+ {
1912
1915
  "aliasPathsToAdd": [{
1913
1916
  "denom": "u<symbol_lowercase>",
1914
1917
  "conversion": {
@@ -1919,24 +1922,27 @@ MUST include an alias path so tokens display nicely. The alias path REQUIRES at
1919
1922
  "denomUnits": [{ "decimals": "6", "symbol": "<SYMBOL>", "isDefaultDisplay": true, "metadata": { "uri": "ipfs://METADATA_ALIAS_<symbol_lowercase>_UNIT", "customData": "" } }],
1920
1923
  "metadata": { "uri": "ipfs://METADATA_ALIAS_u<symbol_lowercase>", "customData": "" }
1921
1924
  }]
1925
+ }
1922
1926
  \`\`\`
1923
1927
 
1924
1928
  ### Permissions (All Locked)
1925
1929
 
1926
- All permissions should be locked (empty arrays = frozen):
1930
+ All permissions should be locked (set \`permanentlyForbiddenTimes\` to the full range):
1927
1931
  \`\`\`json
1928
- "collectionPermissions": {
1929
- "canDeleteCollection": [],
1930
- "canArchiveCollection": [],
1931
- "canUpdateStandards": [],
1932
- "canUpdateCustomData": [],
1933
- "canUpdateManager": [],
1934
- "canUpdateCollectionMetadata": [],
1935
- "canUpdateValidTokenIds": [],
1936
- "canUpdateTokenMetadata": [],
1937
- "canUpdateCollectionApprovals": [],
1938
- "canAddMoreAliasPaths": [],
1939
- "canAddMoreCosmosCoinWrapperPaths": []
1932
+ {
1933
+ "collectionPermissions": {
1934
+ "canDeleteCollection": [{"permanentlyPermittedTimes": [], "permanentlyForbiddenTimes": [{"start": "1", "end": "18446744073709551615"}]}],
1935
+ "canArchiveCollection": [{"permanentlyPermittedTimes": [], "permanentlyForbiddenTimes": [{"start": "1", "end": "18446744073709551615"}]}],
1936
+ "canUpdateStandards": [{"permanentlyPermittedTimes": [], "permanentlyForbiddenTimes": [{"start": "1", "end": "18446744073709551615"}]}],
1937
+ "canUpdateCustomData": [{"permanentlyPermittedTimes": [], "permanentlyForbiddenTimes": [{"start": "1", "end": "18446744073709551615"}]}],
1938
+ "canUpdateManager": [{"permanentlyPermittedTimes": [], "permanentlyForbiddenTimes": [{"start": "1", "end": "18446744073709551615"}]}],
1939
+ "canUpdateCollectionMetadata": [{"permanentlyPermittedTimes": [], "permanentlyForbiddenTimes": [{"start": "1", "end": "18446744073709551615"}]}],
1940
+ "canUpdateValidTokenIds": [{"permanentlyPermittedTimes": [], "permanentlyForbiddenTimes": [{"start": "1", "end": "18446744073709551615"}], "tokenIds": [{"start": "1", "end": "18446744073709551615"}]}],
1941
+ "canUpdateTokenMetadata": [{"permanentlyPermittedTimes": [], "permanentlyForbiddenTimes": [{"start": "1", "end": "18446744073709551615"}], "tokenIds": [{"start": "1", "end": "18446744073709551615"}]}],
1942
+ "canUpdateCollectionApprovals": [{"permanentlyPermittedTimes": [], "permanentlyForbiddenTimes": [{"start": "1", "end": "18446744073709551615"}], "fromListId": "All", "toListId": "All", "initiatedByListId": "All", "transferTimes": [{"start": "1", "end": "18446744073709551615"}], "tokenIds": [{"start": "1", "end": "18446744073709551615"}], "ownershipTimes": [{"start": "1", "end": "18446744073709551615"}], "approvalId": "All"}],
1943
+ "canAddMoreAliasPaths": [{"permanentlyPermittedTimes": [], "permanentlyForbiddenTimes": [{"start": "1", "end": "18446744073709551615"}]}],
1944
+ "canAddMoreCosmosCoinWrapperPaths": [{"permanentlyPermittedTimes": [], "permanentlyForbiddenTimes": [{"start": "1", "end": "18446744073709551615"}]}]
1945
+ }
1940
1946
  }
1941
1947
  \`\`\`
1942
1948
 
@@ -2046,10 +2052,12 @@ For expiring tokens, calculate timestamps:
2046
2052
  - Example: 5 minutes from now = current timestamp + (5 * 60 * 1000)
2047
2053
 
2048
2054
  \`\`\`json
2055
+ {
2049
2056
  "ownershipTimes": [{
2050
2057
  "start": "1706000000000",
2051
2058
  "end": "1706000300000"
2052
2059
  }]
2060
+ }
2053
2061
  \`\`\`
2054
2062
 
2055
2063
  ### Session-based patch operations
@@ -2072,7 +2080,7 @@ For expiring tokens, calculate timestamps:
2072
2080
  - validTokenIds: MUST be exactly [{ "start": "1", "end": "1" }]
2073
2081
  - TWO collection approvals required with EXACT approvalIds (frontend depends on these):
2074
2082
  1. "manager-add": fromListId "Mint", toListId "All", initiatedByListId = creator. Mints token to add address.
2075
- 2. "manager-remove": fromListId "All", toListId burn address (bb1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqs7gvmv), initiatedByListId = creator. Burns token to remove address.
2083
+ 2. "manager-remove": fromListId "!Mint", toListId burn address (bb1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqs7gvmv), initiatedByListId = creator. Burns token to remove address.
2076
2084
  - BOTH approvals MUST have overridesFromOutgoingApprovals: true
2077
2085
  - NO peer-to-peer transfer approval — only manager can modify the list
2078
2086
  - Standard is "Address List" (NOT "Non-Transferable")
@@ -2917,6 +2925,32 @@ All permissions MUST be frozen (permanentlyForbiddenTimes: fullRange):
2917
2925
  ### Advanced: Self-Referencing with mustOwnTokens
2918
2926
 
2919
2927
  For bounties that require the verifier or submitter to hold a token from THIS collection (e.g., a reputation badge), use collectionId "0" in mustOwnTokens. The chain resolves "0" to the current collection ID at runtime, which is especially useful at creation time when the real ID is not yet known.`
2928
+ },
2929
+ {
2930
+ id: 'payment-obligations',
2931
+ name: 'Payment obligations and reusable links',
2932
+ category: 'token-type',
2933
+ description: 'Versioned invoice obligations, payer groups, installments, partial targets, split payouts and reusable payment links built from native approvals.',
2934
+ summary: `Use build_payment_request_v2 for PaymentRequestV2 invoices or PaymentLinkV1 reusable links. Every obligation has an independent on-chain approval and tracker. Keep recurring consent and charging in the existing Subscriptions standard.`,
2935
+ instructions: `# Payment obligations
2936
+
2937
+ Use the build_payment_request_v2 tool or SDK buildPaymentRequestV2 with version: 2, kind: invoice or payment-link, and obligations. Metadata requires uri or name/image/description. All amounts are positive base-unit integer strings, never display-unit floating point numbers. Times are inclusive Unix milliseconds.
2938
+
2939
+ Each obligation has id, payer, payouts, startTime and endTime. payer is {kind: anyone} or {kind: addresses, addresses: [...]}. Anyone excludes all payout recipients on chain to prevent self-payment. Named rosters are immutable inline lists with unique canonical bb1 addresses.
2940
+
2941
+ - Specific or one-of-list: one obligation, one eligible address or a roster, default requiredPayments 1.
2942
+ - All-of-list with custom shares: one independent obligation per payer. Do not use total amount alone as proof that everyone paid.
2943
+ - K-of-N with equal payment terms: one roster obligation, requiredPayments K, distinctPayers true. The shared overall cap and per-initiator cap are enforced on chain.
2944
+ - Installments: separate obligations with their own windows and optional informational dueAt. Windows enforce when each installment may be paid; these are not conditional milestone approvals.
2945
+ - Partial payments/shared targets: partial: {targetUnits: N}; each payout.amount is the base-unit amount per quantum. A transfer of U receipt units transfers U times EVERY payout and consumes U of the cumulative target. maxScalingMultiplier is only a per-transaction cap; overallApprovalAmount enforces the cumulative target. Never round split payouts silently.
2946
+ - Multiple payouts: all are charged atomically by the same approval. Multiple denominations mean ALL listed currencies are due, not a choice between currencies.
2947
+ - Reusable links: kind payment-link; omit requiredPayments, partial and distinctPayers. Each use is a separate receipt event, with an unlimited tracked payment count until the hard cutoff.
2948
+
2949
+ The builder freezes terms, roster, approvals, collection invariants and conversion paths. Never hand-edit customData without regenerating approvals. extractPaymentRequestV2Details validates the actual on-chain shape against the declared terms before returning details. Indexers must use the full configured tracker identity, retain per-obligation progress separately from lifecycle, and report unknown when evidence is missing. Never sum mixed denomination amounts or use one paid flag for a collection of obligations.
2950
+
2951
+ These direct payments are final transfers with no escrow and no cancellation or refund branch. Unsupported fields are rejected. Refusable legacy PaymentRequest deny is only a recorded refusal: its independent counter does not disable pay. Escrow/refundable pooled funding, conditional release, alternative-currency settlement and cancellable requests need a separately verified state machine; do not simulate them with metadata flags or unrelated trackers. Subscriptions already provide recurring user consent, period counters and incoming approvals: reuse that standard rather than treating a reusable payment link as automatic billing.
2952
+
2953
+ Before publication, review and validate the generated collection and simulate actual payments. Building never signs or publishes.`
2920
2954
  },
2921
2955
  {
2922
2956
  id: 'payment-request',
@@ -2926,7 +2960,7 @@ For bounties that require the verifier or submitter to hold a token from THIS co
2926
2960
  summary: `Required standards: ["PaymentRequest"]
2927
2961
 
2928
2962
  - 1 token ID (vehicle for approval engine — minted directly to burn)
2929
- - 2 collection-level approvals: pay, deny
2963
+ - Specific payer: 2 approvals (pay, deny). Public payer All: exactly 1 approval (pay only).
2930
2964
  - Each approval: Mint → burn 1x token ID 1
2931
2965
  - Pay approval triggers a coinTransfer FROM the payer's wallet TO the recipient
2932
2966
  - NO mintEscrowCoinsToTransfer — payment debits the payer's wallet at execution time
@@ -2955,11 +2989,15 @@ This is the on-chain equivalent of Stripe Link's spend-request flow: the agent p
2955
2989
  - validTokenIds: [{ start: "1", end: "1" }]
2956
2990
  - No alias path needed (1-of-1 receipt-style token)
2957
2991
 
2958
- ## 2 Required Approvals
2992
+ ## Required Approvals
2993
+
2994
+ For a public invoice, use payer "All" and create ONLY the pay approval. There is no denial or cancellation action; the request stays pending until paid or expired. Do not add a deny approval, even one restricted to the requester. The pay-only shape is validated by the SDK and indexer.
2995
+
2996
+ The following pay+deny pair applies only to specific-payer requests.
2959
2997
 
2960
2998
  Both approvals share: Mint → burn address, 1x token ID 1, maxNumTransfers = 1, overridesFromOutgoingApprovals=true, overridesToIncomingApprovals=true. NO votingChallenges (gating is via initiatedByListId, not voting). Both are time-gated to \`[1, expirationTimestamp]\` — once that window closes, neither can fire and the request is implicitly expired (no separate expire approval is needed because there's no escrow to refund).
2961
2999
 
2962
- ### Preferred path: presets (two short tool calls)
3000
+ ### Preferred path: presets (omit the deny call when payer is "All")
2963
3001
 
2964
3002
  \`\`\`
2965
3003
  add_preset_approval({
@@ -2972,7 +3010,7 @@ add_preset_approval({
2972
3010
  })
2973
3011
  \`\`\`
2974
3012
 
2975
- \`list_presets({skill: "payment-request"})\` lists params. For non-standard variants (multi-payer quorum, partial payments, line items), use raw \`add_approval\`.
3013
+ \`list_presets({skill: "payment-request"})\` lists legacy params. For payer groups, installments, partial targets, splits and reusable links, use \`build_payment_request_v2\` and the payment-obligations skill; do not create unverified variants with raw approvals.
2976
3014
 
2977
3015
  ### 1. Pay (payment-request-pay-*)
2978
3016
  Payer approves → mint-to-burn → coins move from payer to recipient.
@@ -2980,13 +3018,13 @@ Payer approves → mint-to-burn → coins move from payer to recipient.
2980
3018
  Key fields:
2981
3019
  - fromListId: "Mint"
2982
3020
  - toListId: burn address (bb1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqs7gvmv)
2983
- - initiatedByListId: payer's bb1... address (NOT "All" — gates approval to just the payer)
3021
+ - initiatedByListId: payer's bb1... address, or "All" for a public pay-only request
2984
3022
  - coinTransfers: [{ to: recipientAddress, overrideFromWithApproverAddress: FALSE, overrideToWithInitiator: false, coins: [{ denom, amount }] }]
2985
3023
  - **CRITICAL**: \`overrideFromWithApproverAddress\` MUST be false. The chain default routes "from" to the initiator (the payer). Setting true would attempt to debit a non-existent escrow → tx fails.
2986
3024
  - transferTimes: [{ start: "1", end: expirationTimestamp }]
2987
3025
  - maxNumTransfers.overallMaxNumTransfers: "1"
2988
3026
 
2989
- ### 2. Deny (payment-request-deny-*)
3027
+ ### 2. Deny (payment-request-deny-*, specific payer only)
2990
3028
  Payer rejects → mint-to-burn → no coin transfer. Records denial state for indexers/UIs.
2991
3029
 
2992
3030
  Same as Pay but:
@@ -3010,7 +3048,7 @@ Same as Pay but:
3010
3048
  - **No votingChallenges** — gating is via initiatedByListId scoped to payer
3011
3049
  - **Deny has no coinTransfers** — no funds need to be returned (no escrow to refund)
3012
3050
  - **No expire approval** — Bounty needs one to refund escrow, but there's no escrow here. Expiration is implicit via the shared \`transferTimes[0].end\`.
3013
- - **2 approvals** instead of Bounty's 3
3051
+ - **1 public pay approval, or 2 specific-payer approvals**, instead of Bounty's 3
3014
3052
  - Same mint-to-burn vehicle, same frozen permissions
3015
3053
 
3016
3054
  ## Creation Flow (Tool Calls)
@@ -3020,7 +3058,7 @@ Same as Pay but:
3020
3058
  3. \`set_standards\` — set ["PaymentRequest"]
3021
3059
  4. \`set_invariants\` — set { noCustomOwnershipTimes: true, disablePoolCreation: true, noForcefulPostMintTransfers: true }
3022
3060
  5. **DO NOT** call set_mint_escrow_coins — there's no escrow
3023
- 6. \`add_preset_approval\` x2 — pay, deny (or \`add_approval\` for raw)
3061
+ 6. \`add_preset_approval\` — pay only for All; pay + deny for a specific payer (or \`add_approval\` for raw)
3024
3062
  7. \`set_permissions\` — freeze all permissions
3025
3063
  8. \`set_collection_metadata\` — name + the rationale (≥100 chars recommended; mirror Stripe Link's bar)
3026
3064
  9. \`set_token_metadata\` — token 1 metadata
@@ -3036,14 +3074,14 @@ All permissions MUST be frozen (same set as Bounty).
3036
3074
  - **DON'T set overrideFromWithApproverAddress=true on the pay approval** — that's the Bounty pattern. PaymentRequest needs false so the chain debits the payer (initiator), not a non-existent escrow.
3037
3075
  - **DON'T add votingChallenges** — PaymentRequest gating is via initiatedByListId, not voting. Voting is a Bounty construct.
3038
3076
  - **DON'T fund mintEscrowCoinsToTransfer** — there is no escrow. The payer pays at execution time.
3039
- - **DON'T set initiatedByListId to "All" on pay/deny** — that would let anyone approve. Lock to the specific payer's address.
3077
+ - **DON'T add a deny approval to an All-payer request** — public invoices have only a pay approval. Specific-payer invoices keep both approvals scoped to that payer.
3040
3078
  - **DON'T add a third "expire" approval** — Bounty needs one to refund escrow. PaymentRequest has no escrow, so an expire branch would just be a no-op marker. Validator rejects collections with more than 2 approvals.
3041
3079
  - **DON'T forget the rationale** in collection metadata description — it's what the human reads to decide.
3042
3080
  - **DON'T use overrideToWithInitiator** on the coinTransfer — the recipient is hardcoded.
3043
3081
 
3044
3082
  ## Relationship to the Invoices Standard
3045
3083
 
3046
- The existing \`Invoices\` standard validates a single payer-as-initiator approval — useful as a building block, but it has no deny branch and no targeted-payer scoping. PaymentRequest is a more constrained, agent-payments-specific subset: same payment direction (initiator → address), but with an explicit pay+deny pair so the payer's "no" is captured on-chain rather than being indistinguishable from "hasn't acted yet". Consumers that want any payer-initiated payment can match \`Invoices\`; consumers that want the agent-payments artifact specifically should match \`PaymentRequest\`.`
3084
+ The existing \`Invoices\` standard validates a single payer-as-initiator approval — useful as a building block, but it has no deny branch and no targeted-payer scoping. PaymentRequest is a more constrained, agent-payments-specific subset: same payment direction (initiator → address), but with an explicit pay+deny pair for specific payers, or a pay-only public invoice that remains open until paid or expired. Consumers that want any payer-initiated payment can match \`Invoices\`; consumers that want the agent-payments artifact specifically should match \`PaymentRequest\`.`
3047
3085
  },
3048
3086
  {
3049
3087
  id: 'crowdfund',
@@ -3294,7 +3332,7 @@ add_preset_approval({ presetId: "crowdfund.refund", params: { denom, d
3294
3332
  - Mint-to-winner: seller mints NFT directly to winning bidder during accept window (bidDeadline → bidDeadline + acceptWindow)
3295
3333
  - No separate mint-at-creation step — token doesn't exist until seller accepts a bid
3296
3334
  - Burn: anyone can burn token to burn address (permanent cleanup)
3297
- - Bidding via user-level outgoing approval intents (not collection approvals)
3335
+ - Bidding via user-level incoming approval intents (not collection approvals)
3298
3336
  - Bids must have transferTimes valid through end of accept window (not just bid deadline)
3299
3337
  - initiatedByListId on mint-to-winner = seller address (only seller can accept)
3300
3338
  - maxNumTransfers = 1 on all approvals (one-shot)
@@ -3325,7 +3363,7 @@ A single-item auction where the seller creates a collection, bidders place inten
3325
3363
 
3326
3364
  ### Bidding Mechanism
3327
3365
 
3328
- Bidders set user-level outgoing approvals on their own accounts that say "I will pay X coins for token 1 from this collection." The seller then accepts the best bid by minting the token directly to the winning bidder during the accept window. The bidder's outgoing approval handles the coin payment side via intent matching.
3366
+ Bidders set user-level incoming approvals on their own accounts that say "I will pay X coins for token 1 from this collection." The seller then accepts the best bid by minting the token directly to the winning bidder during the accept window. The bidder's incoming approval handles the coin payment side via intent matching.
3329
3367
 
3330
3368
  Bids must have transferTimes that stay valid through the END of the accept window (not just the bid deadline), so the seller can match them during the entire accept period.
3331
3369
 
@@ -3391,8 +3429,8 @@ add_preset_approval({ presetId: "auction.burn", params: {} })
3391
3429
  ### Auction Flow
3392
3430
 
3393
3431
  1. **Create**: Seller creates auction collection with 2 approvals. No token is minted yet.
3394
- 2. **Bid**: Bidders place intent-based bids (user-level outgoing approvals with coin payment offers). Bids must have transferTimes valid through end of accept window.
3395
- 3. **Accept**: After bid deadline, seller mints token 1 directly to the winning bidder's address. The bidder's outgoing approval triggers coin payment via intent matching. One action: mint + payment.
3432
+ 2. **Bid**: Bidders place intent-based bids (user-level incoming approvals with coin payment offers). Bids must have transferTimes valid through end of accept window.
3433
+ 3. **Accept**: After bid deadline, seller mints token 1 directly to the winning bidder's address. The bidder's incoming approval triggers coin payment via intent matching. One action: mint + payment.
3396
3434
  4. **Cleanup**: If unsold, burn approval allows cleanup.
3397
3435
 
3398
3436
  ### Creation Flow (Tool Calls)
@@ -3476,7 +3514,7 @@ add_preset_approval({
3476
3514
  })
3477
3515
 
3478
3516
  // Optional:
3479
- add_preset_approval({ presetId: "products.burn", params: { numProducts: <N> } })
3517
+ add_preset_approval({ presetId: "products.burn", params: { numProducts: 3 } })
3480
3518
  \`\`\`
3481
3519
 
3482
3520
  #### Purchase Approval (per product)
@@ -1 +1 @@
1
- {"version":3,"file":"skillInstructions.js","sourceRoot":"","sources":["../../../../src/builder/resources/skillInstructions.ts"],"names":[],"mappings":";;;AA2/GA,oDAEC;AAED,0DAEC;AAMD,0CAGC;AAMD,0CAGC;AAMD,0CAGC;AAKD,wCAEC;AAKD,gFAWC;AAED,kDAEC;AAED,8EA0BC;AAjkHY,QAAA,kBAAkB,GAAuB;IACpD;QACE,EAAE,EAAE,aAAa;QACjB,IAAI,EAAE,aAAa;QACnB,QAAQ,EAAE,YAAY;QACtB,WAAW,EAAE,0FAA0F;QACvG,OAAO,EAAE;;;;;;;;;;;;;;;yQAe4P;QACrQ,YAAY,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kJA0RgI;KAC/I;IACD;QACE,EAAE,EAAE,SAAS;QACb,IAAI,EAAE,SAAS;QACf,QAAQ,EAAE,UAAU;QACpB,WAAW,EAAE,yHAAyH;QACtI,OAAO,EAAE;;;;;;;;0EAQ6D;QACtE,YAAY,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6HAwN2G;KAC1H;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AAC,CAAC,CAAC,QAAQ,KAAK,QAAQ,CAAC,CAAC;AACjE,CAAC;AAED,SAAgB,iCAAiC;IAC/C,IAAI,MAAM,GAAG,gCAAgC,CAAC;IAE9C,MAAM,UAAU,GAAG,CAAC,YAAY,EAAE,UAAU,EAAE,UAAU,EAAE,SAAS,EAAE,UAAU,CAAU,CAAC;IAC1F,MAAM,aAAa,GAAG;QACpB,YAAY,EAAE,aAAa;QAC3B,UAAU,EAAE,WAAW;QACvB,UAAU,EAAE,wBAAwB;QACpC,SAAS,EAAE,UAAU;QACrB,UAAU,EAAE,wBAAwB;KACrC,CAAC;IAEF,KAAK,MAAM,QAAQ,IAAI,UAAU,EAAE,CAAC;QAClC,MAAM,MAAM,GAAG,mBAAmB,CAAC,QAAQ,CAAC,CAAC;QAC7C,IAAI,MAAM,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;YACtB,MAAM,IAAI,KAAK,aAAa,CAAC,QAAQ,CAAC,MAAM,CAAC;YAC7C,KAAK,MAAM,KAAK,IAAI,MAAM,EAAE,CAAC;gBAC3B,MAAM,IAAI,MAAM,KAAK,CAAC,IAAI,MAAM,CAAC;gBACjC,MAAM,IAAI,GAAG,KAAK,CAAC,WAAW,MAAM,CAAC;gBACrC,MAAM,IAAI,GAAG,KAAK,CAAC,YAAY,MAAM,CAAC;gBACtC,MAAM,IAAI,SAAS,CAAC;YACtB,CAAC;QACH,CAAC;IACH,CAAC;IAED,OAAO,MAAM,CAAC;AAChB,CAAC"}
1
+ {"version":3,"file":"skillInstructions.js","sourceRoot":"","sources":["../../../../src/builder/resources/skillInstructions.ts"],"names":[],"mappings":";;;AAiiHA,oDAEC;AAED,0DAEC;AAMD,0CAGC;AAMD,0CAGC;AAMD,0CAGC;AAKD,wCAEC;AAKD,gFAWC;AAED,kDAEC;AAED,8EA0BC;AAvmHY,QAAA,kBAAkB,GAAuB;IACpD;QACE,EAAE,EAAE,aAAa;QACjB,IAAI,EAAE,aAAa;QACnB,QAAQ,EAAE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AAG,CAAC,YAAY,EAAE,UAAU,EAAE,UAAU,EAAE,SAAS,EAAE,UAAU,CAAU,CAAC;IAC1F,MAAM,aAAa,GAAG;QACpB,YAAY,EAAE,aAAa;QAC3B,UAAU,EAAE,WAAW;QACvB,UAAU,EAAE,wBAAwB;QACpC,SAAS,EAAE,UAAU;QACrB,UAAU,EAAE,wBAAwB;KACrC,CAAC;IAEF,KAAK,MAAM,QAAQ,IAAI,UAAU,EAAE,CAAC;QAClC,MAAM,MAAM,GAAG,mBAAmB,CAAC,QAAQ,CAAC,CAAC;QAC7C,IAAI,MAAM,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;YACtB,MAAM,IAAI,KAAK,aAAa,CAAC,QAAQ,CAAC,MAAM,CAAC;YAC7C,KAAK,MAAM,KAAK,IAAI,MAAM,EAAE,CAAC;gBAC3B,MAAM,IAAI,MAAM,KAAK,CAAC,IAAI,MAAM,CAAC;gBACjC,MAAM,IAAI,GAAG,KAAK,CAAC,WAAW,MAAM,CAAC;gBACrC,MAAM,IAAI,GAAG,KAAK,CAAC,YAAY,MAAM,CAAC;gBACtC,MAAM,IAAI,SAAS,CAAC;YACtB,CAAC;QACH,CAAC;IACH,CAAC;IAED,OAAO,MAAM,CAAC;AAChB,CAAC"}
@@ -0,0 +1,133 @@
1
+ import { type PaymentRequestV2Params } from '../../../core/payment-requests-v2.js';
2
+ export declare const buildPaymentRequestV2Tool: {
3
+ name: string;
4
+ description: string;
5
+ inputSchema: {
6
+ type: "object";
7
+ additionalProperties: boolean;
8
+ required: string[];
9
+ properties: {
10
+ version: {
11
+ type: string;
12
+ const: number;
13
+ };
14
+ kind: {
15
+ type: string;
16
+ enum: string[];
17
+ };
18
+ uri: {
19
+ type: string;
20
+ };
21
+ name: {
22
+ type: string;
23
+ };
24
+ image: {
25
+ type: string;
26
+ };
27
+ description: {
28
+ type: string;
29
+ };
30
+ obligations: {
31
+ type: string;
32
+ minItems: number;
33
+ maxItems: number;
34
+ items: {
35
+ type: string;
36
+ additionalProperties: boolean;
37
+ required: string[];
38
+ properties: {
39
+ id: {
40
+ type: string;
41
+ pattern: string;
42
+ };
43
+ payer: {
44
+ oneOf: ({
45
+ type: string;
46
+ additionalProperties: boolean;
47
+ required: string[];
48
+ properties: {
49
+ kind: {
50
+ const: string;
51
+ };
52
+ addresses?: undefined;
53
+ };
54
+ } | {
55
+ type: string;
56
+ additionalProperties: boolean;
57
+ required: string[];
58
+ properties: {
59
+ kind: {
60
+ const: string;
61
+ };
62
+ addresses: {
63
+ type: string;
64
+ minItems: number;
65
+ uniqueItems: boolean;
66
+ items: {
67
+ type: string;
68
+ };
69
+ };
70
+ };
71
+ })[];
72
+ };
73
+ payouts: {
74
+ type: string;
75
+ minItems: number;
76
+ items: {
77
+ type: string;
78
+ additionalProperties: boolean;
79
+ required: string[];
80
+ properties: {
81
+ recipient: {
82
+ type: string;
83
+ };
84
+ denom: {
85
+ type: string;
86
+ };
87
+ amount: {
88
+ type: string;
89
+ pattern: string;
90
+ description: string;
91
+ };
92
+ };
93
+ };
94
+ };
95
+ startTime: {
96
+ type: string;
97
+ description: string;
98
+ };
99
+ endTime: {
100
+ type: string;
101
+ description: string;
102
+ };
103
+ dueAt: {
104
+ type: string;
105
+ description: string;
106
+ };
107
+ requiredPayments: {
108
+ type: string;
109
+ description: string;
110
+ };
111
+ distinctPayers: {
112
+ type: string;
113
+ description: string;
114
+ };
115
+ partial: {
116
+ type: string;
117
+ additionalProperties: boolean;
118
+ required: string[];
119
+ properties: {
120
+ targetUnits: {
121
+ type: string;
122
+ description: string;
123
+ };
124
+ };
125
+ };
126
+ };
127
+ };
128
+ };
129
+ };
130
+ };
131
+ };
132
+ export declare const handleBuildPaymentRequestV2: (args: PaymentRequestV2Params) => any;
133
+ //# sourceMappingURL=buildPaymentRequestV2.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"buildPaymentRequestV2.d.ts","sourceRoot":"","sources":["../../../../../src/builder/tools/builders/buildPaymentRequestV2.ts"],"names":[],"mappings":"AAAA,OAAO,EAAyB,KAAK,sBAAsB,EAAE,MAAM,sCAAsC,CAAC;AAE1G,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyErC,CAAC;AAEF,eAAO,MAAM,2BAA2B,GAAI,MAAM,sBAAsB,QAAgC,CAAC"}
@@ -0,0 +1,80 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.handleBuildPaymentRequestV2 = exports.buildPaymentRequestV2Tool = void 0;
4
+ const payment_requests_v2_js_1 = require("../../../core/payment-requests-v2.js");
5
+ exports.buildPaymentRequestV2Tool = {
6
+ name: 'build_payment_request_v2',
7
+ description: 'Build frozen invoice obligations or reusable payment links using native approvals. Supports eligible payer lists, all-of shares, distinct K-of-N, installments, partial targets and atomic recipient splits. Returns an unsigned collection message; never signs or publishes. Subscriptions use the existing Subscriptions standard. Cancellation, escrow, refunds and alternative-currency choices are not supported by this direct-payment standard.',
8
+ inputSchema: {
9
+ type: 'object',
10
+ additionalProperties: false,
11
+ required: ['version', 'kind', 'obligations'],
12
+ properties: {
13
+ version: { type: 'integer', const: 2 },
14
+ kind: { type: 'string', enum: ['invoice', 'payment-link'] },
15
+ uri: { type: 'string' },
16
+ name: { type: 'string' },
17
+ image: { type: 'string' },
18
+ description: { type: 'string' },
19
+ obligations: {
20
+ type: 'array',
21
+ minItems: 1,
22
+ maxItems: 100,
23
+ items: {
24
+ type: 'object',
25
+ additionalProperties: false,
26
+ required: ['id', 'payer', 'payouts', 'startTime', 'endTime'],
27
+ properties: {
28
+ id: { type: 'string', pattern: '^[a-zA-Z0-9_-]{1,64}$' },
29
+ payer: {
30
+ oneOf: [
31
+ { type: 'object', additionalProperties: false, required: ['kind'], properties: { kind: { const: 'anyone' } } },
32
+ {
33
+ type: 'object',
34
+ additionalProperties: false,
35
+ required: ['kind', 'addresses'],
36
+ properties: {
37
+ kind: { const: 'addresses' },
38
+ addresses: { type: 'array', minItems: 1, uniqueItems: true, items: { type: 'string' } }
39
+ }
40
+ }
41
+ ]
42
+ },
43
+ payouts: {
44
+ type: 'array',
45
+ minItems: 1,
46
+ items: {
47
+ type: 'object',
48
+ additionalProperties: false,
49
+ required: ['recipient', 'denom', 'amount'],
50
+ properties: {
51
+ recipient: { type: 'string' },
52
+ denom: { type: 'string' },
53
+ amount: {
54
+ type: 'string',
55
+ pattern: '^[1-9][0-9]*$',
56
+ description: 'Base-unit amount per exact payment, or per partial-payment quantum. All split payouts scale together.'
57
+ }
58
+ }
59
+ }
60
+ },
61
+ startTime: { type: 'string', description: 'Inclusive Unix millisecond timestamp' },
62
+ endTime: { type: 'string', description: 'Inclusive hard cutoff Unix millisecond timestamp' },
63
+ dueAt: { type: 'string', description: 'Informational due date, within the payment window' },
64
+ requiredPayments: { type: 'string', description: 'Finite invoice payment count; default 1; omit for links and partials' },
65
+ distinctPayers: { type: 'boolean', description: 'At most one payment per eligible payer' },
66
+ partial: {
67
+ type: 'object',
68
+ additionalProperties: false,
69
+ required: ['targetUnits'],
70
+ properties: { targetUnits: { type: 'string', description: 'Cumulative target in integer payout quanta' } }
71
+ }
72
+ }
73
+ }
74
+ }
75
+ }
76
+ }
77
+ };
78
+ const handleBuildPaymentRequestV2 = (args) => (0, payment_requests_v2_js_1.buildPaymentRequestV2)(args);
79
+ exports.handleBuildPaymentRequestV2 = handleBuildPaymentRequestV2;
80
+ //# sourceMappingURL=buildPaymentRequestV2.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"buildPaymentRequestV2.js","sourceRoot":"","sources":["../../../../../src/builder/tools/builders/buildPaymentRequestV2.ts"],"names":[],"mappings":";;;AAAA,iFAA0G;AAE7F,QAAA,yBAAyB,GAAG;IACvC,IAAI,EAAE,0BAA0B;IAChC,WAAW,EACT,ybAAy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A4C,EAAE,EAAE;yBAC3G;qBACF;iBACF;aACF;SACF;KACF;CACF,CAAC;AAEK,MAAM,2BAA2B,GAAG,CAAC,IAA4B,EAAE,EAAE,CAAC,IAAA,8CAAqB,EAAC,IAAI,CAAC,CAAC;AAA5F,QAAA,2BAA2B,+BAAiE"}
@@ -1,4 +1,5 @@
1
1
  export * from './explainCollection.js';
2
2
  export * from './buildClaim.js';
3
3
  export * from './reviewCollection.js';
4
+ export * from './buildPaymentRequestV2.js';
4
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/builder/tools/builders/index.ts"],"names":[],"mappings":"AAIA,cAAc,wBAAwB,CAAC;AACvC,cAAc,iBAAiB,CAAC;AAChC,cAAc,uBAAuB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/builder/tools/builders/index.ts"],"names":[],"mappings":"AAIA,cAAc,wBAAwB,CAAC;AACvC,cAAc,iBAAiB,CAAC;AAChC,cAAc,uBAAuB,CAAC;AACtC,cAAc,4BAA4B,CAAC"}
@@ -17,4 +17,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./explainCollection.js"), exports);
18
18
  __exportStar(require("./buildClaim.js"), exports);
19
19
  __exportStar(require("./reviewCollection.js"), exports);
20
+ __exportStar(require("./buildPaymentRequestV2.js"), exports);
20
21
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/builder/tools/builders/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAIA,yDAAuC;AACvC,kDAAgC;AAChC,wDAAsC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/builder/tools/builders/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAIA,yDAAuC;AACvC,kDAAgC;AAChC,wDAAsC;AACtC,6DAA2C"}
@@ -1 +1 @@
1
- {"version":3,"file":"registry.d.ts","sourceRoot":"","sources":["../../../../src/builder/tools/registry.ts"],"names":[],"mappings":"AAwFA,OAAO,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAK1E,OAAO,EACL,gBAAgB,EAChB,aAAa,EACb,YAAY,EACZ,KAAK,YAAY,EACjB,KAAK,aAAa,EAClB,KAAK,kBAAkB,EACxB,MAAM,0BAA0B,CAAC;AAGlC,MAAM,WAAW,UAAU;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ,CAAC;QACf,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;QACrC,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;KACrB,CAAC;CACH;AAED,MAAM,WAAW,SAAS;IAExB,IAAI,EAAE,UAAU,CAAC;IAEjB,GAAG,EAAE,CAAC,IAAI,EAAE,GAAG,KAAK,OAAO,CAAC,GAAG,CAAC,GAAG,GAAG,CAAC;IAKvC,UAAU,CAAC,EAAE,CAAC,MAAM,EAAE,GAAG,KAAK,MAAM,CAAC;CACtC;AAuCD,eAAO,MAAM,YAAY,EAAE,MAAM,CAAC,MAAM,EAAE,SAAS,CAiGlD,CAAC;AAGF,wBAAgB,SAAS,IAAI,UAAU,EAAE,CAExC;AAED,MAAM,WAAW,cAAc;IAE7B,IAAI,EAAE,MAAM,CAAC;IAEb,MAAM,EAAE,GAAG,CAAC;IAEZ,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAuFD,wBAAsB,QAAQ,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,GAAG,OAAO,CAAC,cAAc,CAAC,CAwB/E"}
1
+ {"version":3,"file":"registry.d.ts","sourceRoot":"","sources":["../../../../src/builder/tools/registry.ts"],"names":[],"mappings":"AAyFA,OAAO,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAK1E,OAAO,EACL,gBAAgB,EAChB,aAAa,EACb,YAAY,EACZ,KAAK,YAAY,EACjB,KAAK,aAAa,EAClB,KAAK,kBAAkB,EACxB,MAAM,0BAA0B,CAAC;AAGlC,MAAM,WAAW,UAAU;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ,CAAC;QACf,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;QACrC,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;KACrB,CAAC;CACH;AAED,MAAM,WAAW,SAAS;IAExB,IAAI,EAAE,UAAU,CAAC;IAEjB,GAAG,EAAE,CAAC,IAAI,EAAE,GAAG,KAAK,OAAO,CAAC,GAAG,CAAC,GAAG,GAAG,CAAC;IAKvC,UAAU,CAAC,EAAE,CAAC,MAAM,EAAE,GAAG,KAAK,MAAM,CAAC;CACtC;AAuCD,eAAO,MAAM,YAAY,EAAE,MAAM,CAAC,MAAM,EAAE,SAAS,CAkGlD,CAAC;AAGF,wBAAgB,SAAS,IAAI,UAAU,EAAE,CAExC;AAED,MAAM,WAAW,cAAc;IAE7B,IAAI,EAAE,MAAM,CAAC;IAEb,MAAM,EAAE,GAAG,CAAC;IAEZ,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAuFD,wBAAsB,QAAQ,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,GAAG,OAAO,CAAC,cAAc,CAAC,CAwB/E"}
@@ -5,6 +5,7 @@ exports.listTools = listTools;
5
5
  exports.callTool = callTool;
6
6
  const index_js_1 = require("./index.js");
7
7
  const index_js_2 = require("../resources/index.js");
8
+ const buildPaymentRequestV2_js_1 = require("./builders/buildPaymentRequestV2.js");
8
9
  var sessionState_js_1 = require("../session/sessionState.js");
9
10
  Object.defineProperty(exports, "exportSession", { enumerable: true, get: function () { return sessionState_js_1.exportSession; } });
10
11
  Object.defineProperty(exports, "importSession", { enumerable: true, get: function () { return sessionState_js_1.importSession; } });
@@ -34,6 +35,7 @@ const getSkillInstructionsTool = {
34
35
  }
35
36
  };
36
37
  exports.toolRegistry = {
38
+ build_payment_request_v2: entry(buildPaymentRequestV2_js_1.buildPaymentRequestV2Tool, buildPaymentRequestV2_js_1.handleBuildPaymentRequestV2),
37
39
  lookup_token_info: entry(index_js_1.lookupTokenInfoTool, index_js_1.handleLookupTokenInfo),
38
40
  validate_transaction: entry(index_js_1.validateTransactionTool, index_js_1.handleValidateTransaction),
39
41
  get_current_timestamp: entry(index_js_1.getCurrentTimestampTool, index_js_1.handleGetCurrentTimestamp),