@zeroxyz/sdk 0.2.0 → 0.3.0

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.
@@ -1100,7 +1100,7 @@ var Payments = class {
1100
1100
 
1101
1101
  // package.json
1102
1102
  var package_default = {
1103
- version: "0.2.0"};
1103
+ version: "0.3.0"};
1104
1104
 
1105
1105
  // src/version.ts
1106
1106
  var SDK_VERSION = package_default.version;
@@ -2679,8 +2679,15 @@ var searchResultSchema = zod.z.object({
2679
2679
  slug: zod.z.string(),
2680
2680
  name: zod.z.string(),
2681
2681
  canonicalName: zod.z.string().nullable().optional(),
2682
+ brandName: zod.z.string().nullable().optional(),
2682
2683
  description: zod.z.string(),
2683
2684
  whatItDoes: zod.z.string().nullable().optional(),
2685
+ // HTTP verb the capability expects. Surfaced on the search row so a caller
2686
+ // can tell GET from POST without a `capabilities.get()` round-trip — enough
2687
+ // to `fetch()` a no-body GET directly. POST bodies still need `get()` for
2688
+ // the `bodySchema`. Optional (not required) so a response that omits it —
2689
+ // an older API deploy — still parses rather than failing the whole search.
2690
+ method: zod.z.string().optional(),
2684
2691
  url: zod.z.string(),
2685
2692
  urlTemplate: zod.z.string().nullable().optional(),
2686
2693
  cost: zod.z.object({ amount: zod.z.string(), asset: zod.z.string() }),
@@ -3107,5 +3114,5 @@ exports.coerceTempoChainId = coerceTempoChainId;
3107
3114
  exports.createManagedAccount = createManagedAccount;
3108
3115
  exports.paymentHasAnchor = paymentHasAnchor;
3109
3116
  exports.tempoChainLabelFromId = tempoChainLabelFromId;
3110
- //# sourceMappingURL=chunk-LHS7KBN7.cjs.map
3111
- //# sourceMappingURL=chunk-LHS7KBN7.cjs.map
3117
+ //# sourceMappingURL=chunk-LVK77C6A.cjs.map
3118
+ //# sourceMappingURL=chunk-LVK77C6A.cjs.map