@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.
- package/CHANGELOG.md +10 -0
- package/README.md +59 -5
- package/dist/{chunk-SLXRHGE4.js → chunk-FH6C6TXR.js} +10 -3
- package/dist/chunk-FH6C6TXR.js.map +1 -0
- package/dist/{chunk-LHS7KBN7.cjs → chunk-LVK77C6A.cjs} +10 -3
- package/dist/chunk-LVK77C6A.cjs.map +1 -0
- package/dist/{client-BpYZibrw.d.cts → client-CEC0IuN3.d.cts} +4 -0
- package/dist/{client-BpYZibrw.d.ts → client-CEC0IuN3.d.ts} +4 -0
- package/dist/index.cjs +31 -31
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/dist/testing.cjs +2 -2
- package/dist/testing.d.cts +1 -1
- package/dist/testing.d.ts +1 -1
- package/dist/testing.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-LHS7KBN7.cjs.map +0 -1
- package/dist/chunk-SLXRHGE4.js.map +0 -1
|
@@ -1100,7 +1100,7 @@ var Payments = class {
|
|
|
1100
1100
|
|
|
1101
1101
|
// package.json
|
|
1102
1102
|
var package_default = {
|
|
1103
|
-
version: "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-
|
|
3111
|
-
//# sourceMappingURL=chunk-
|
|
3117
|
+
//# sourceMappingURL=chunk-LVK77C6A.cjs.map
|
|
3118
|
+
//# sourceMappingURL=chunk-LVK77C6A.cjs.map
|