@zeroxyz/sdk 0.13.0 → 0.14.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.
@@ -141,6 +141,7 @@ type FetchOptions = {
141
141
  headers?: Record<string, string>;
142
142
  body?: string | Uint8Array;
143
143
  maxPay?: string;
144
+ paymentProtocol?: PaymentProtocol;
144
145
  capabilityId?: string;
145
146
  /**
146
147
  * @deprecated Pass the `z_xxx.N` token from `search()` as `capabilityId`
@@ -141,6 +141,7 @@ type FetchOptions = {
141
141
  headers?: Record<string, string>;
142
142
  body?: string | Uint8Array;
143
143
  maxPay?: string;
144
+ paymentProtocol?: PaymentProtocol;
144
145
  capabilityId?: string;
145
146
  /**
146
147
  * @deprecated Pass the `z_xxx.N` token from `search()` as `capabilityId`
package/dist/index.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunk2A2ZZ5XR_cjs = require('./chunk-2A2ZZ5XR.cjs');
3
+ var chunkAM5RDERD_cjs = require('./chunk-AM5RDERD.cjs');
4
4
 
5
5
  // src/status.ts
6
6
  var AVAILABILITY_BADGES = {
@@ -208,7 +208,7 @@ var coerceToType = (value, type) => {
208
208
  };
209
209
  var MAX_SCHEMA_DEPTH = 5;
210
210
  var sampleValueFor = (fieldName, propSchema, depth = 0) => {
211
- const node = chunk2A2ZZ5XR_cjs.asSchemaNode(propSchema);
211
+ const node = chunkAM5RDERD_cjs.asSchemaNode(propSchema);
212
212
  const type = schemaType(node);
213
213
  const enumFirst = Array.isArray(node?.enum) && node.enum.length > 0 ? node.enum[0] : void 0;
214
214
  const fixed = node?.const ?? node?.example ?? node?.default ?? enumFirst;
@@ -216,7 +216,7 @@ var sampleValueFor = (fieldName, propSchema, depth = 0) => {
216
216
  return coerceToType(fixed, type);
217
217
  }
218
218
  if (node && depth < MAX_SCHEMA_DEPTH) {
219
- const props = chunk2A2ZZ5XR_cjs.asSchemaNode(node.properties);
219
+ const props = chunkAM5RDERD_cjs.asSchemaNode(node.properties);
220
220
  if (props && (type === "object" || type === void 0)) {
221
221
  const obj = {};
222
222
  for (const [k, sub] of Object.entries(props)) {
@@ -225,7 +225,7 @@ var sampleValueFor = (fieldName, propSchema, depth = 0) => {
225
225
  return obj;
226
226
  }
227
227
  if (type === "array") {
228
- const items = chunk2A2ZZ5XR_cjs.asSchemaNode(node.items);
228
+ const items = chunkAM5RDERD_cjs.asSchemaNode(node.items);
229
229
  return items ? [sampleValueFor(fieldName, items, depth + 1)] : [];
230
230
  }
231
231
  }
@@ -254,163 +254,163 @@ var urlMatchesTemplate = (url, template) => {
254
254
 
255
255
  Object.defineProperty(exports, "Auth", {
256
256
  enumerable: true,
257
- get: function () { return chunk2A2ZZ5XR_cjs.Auth; }
257
+ get: function () { return chunkAM5RDERD_cjs.Auth; }
258
258
  });
259
259
  Object.defineProperty(exports, "AuthAgent", {
260
260
  enumerable: true,
261
- get: function () { return chunk2A2ZZ5XR_cjs.AuthAgent; }
261
+ get: function () { return chunkAM5RDERD_cjs.AuthAgent; }
262
262
  });
263
263
  Object.defineProperty(exports, "AuthDevice", {
264
264
  enumerable: true,
265
- get: function () { return chunk2A2ZZ5XR_cjs.AuthDevice; }
265
+ get: function () { return chunkAM5RDERD_cjs.AuthDevice; }
266
266
  });
267
267
  Object.defineProperty(exports, "BUG_REPORT_CATEGORIES", {
268
268
  enumerable: true,
269
- get: function () { return chunk2A2ZZ5XR_cjs.BUG_REPORT_CATEGORIES; }
269
+ get: function () { return chunkAM5RDERD_cjs.BUG_REPORT_CATEGORIES; }
270
270
  });
271
271
  Object.defineProperty(exports, "BugReports", {
272
272
  enumerable: true,
273
- get: function () { return chunk2A2ZZ5XR_cjs.BugReports; }
273
+ get: function () { return chunkAM5RDERD_cjs.BugReports; }
274
274
  });
275
275
  Object.defineProperty(exports, "Capabilities", {
276
276
  enumerable: true,
277
- get: function () { return chunk2A2ZZ5XR_cjs.Capabilities; }
277
+ get: function () { return chunkAM5RDERD_cjs.Capabilities; }
278
278
  });
279
279
  Object.defineProperty(exports, "DEFAULT_BASE_URL", {
280
280
  enumerable: true,
281
- get: function () { return chunk2A2ZZ5XR_cjs.DEFAULT_BASE_URL; }
281
+ get: function () { return chunkAM5RDERD_cjs.DEFAULT_BASE_URL; }
282
282
  });
283
283
  Object.defineProperty(exports, "DEFAULT_MAX_RETRIES", {
284
284
  enumerable: true,
285
- get: function () { return chunk2A2ZZ5XR_cjs.DEFAULT_MAX_RETRIES; }
285
+ get: function () { return chunkAM5RDERD_cjs.DEFAULT_MAX_RETRIES; }
286
286
  });
287
287
  Object.defineProperty(exports, "DEFAULT_TIMEOUT_MS", {
288
288
  enumerable: true,
289
- get: function () { return chunk2A2ZZ5XR_cjs.DEFAULT_TIMEOUT_MS; }
289
+ get: function () { return chunkAM5RDERD_cjs.DEFAULT_TIMEOUT_MS; }
290
290
  });
291
291
  Object.defineProperty(exports, "FETCH_SKIP_REASONS", {
292
292
  enumerable: true,
293
- get: function () { return chunk2A2ZZ5XR_cjs.FETCH_SKIP_REASONS; }
293
+ get: function () { return chunkAM5RDERD_cjs.FETCH_SKIP_REASONS; }
294
294
  });
295
295
  Object.defineProperty(exports, "FETCH_WARNINGS", {
296
296
  enumerable: true,
297
- get: function () { return chunk2A2ZZ5XR_cjs.FETCH_WARNINGS; }
297
+ get: function () { return chunkAM5RDERD_cjs.FETCH_WARNINGS; }
298
298
  });
299
299
  Object.defineProperty(exports, "Payments", {
300
300
  enumerable: true,
301
- get: function () { return chunk2A2ZZ5XR_cjs.Payments; }
301
+ get: function () { return chunkAM5RDERD_cjs.Payments; }
302
302
  });
303
303
  Object.defineProperty(exports, "Runs", {
304
304
  enumerable: true,
305
- get: function () { return chunk2A2ZZ5XR_cjs.Runs; }
305
+ get: function () { return chunkAM5RDERD_cjs.Runs; }
306
306
  });
307
307
  Object.defineProperty(exports, "SDK_VERSION", {
308
308
  enumerable: true,
309
- get: function () { return chunk2A2ZZ5XR_cjs.SDK_VERSION; }
309
+ get: function () { return chunkAM5RDERD_cjs.SDK_VERSION; }
310
310
  });
311
311
  Object.defineProperty(exports, "TEMPO_CHAIN_ID", {
312
312
  enumerable: true,
313
- get: function () { return chunk2A2ZZ5XR_cjs.TEMPO_CHAIN_ID; }
313
+ get: function () { return chunkAM5RDERD_cjs.TEMPO_CHAIN_ID; }
314
314
  });
315
315
  Object.defineProperty(exports, "TEMPO_TESTNET_CHAIN_ID", {
316
316
  enumerable: true,
317
- get: function () { return chunk2A2ZZ5XR_cjs.TEMPO_TESTNET_CHAIN_ID; }
317
+ get: function () { return chunkAM5RDERD_cjs.TEMPO_TESTNET_CHAIN_ID; }
318
318
  });
319
319
  Object.defineProperty(exports, "USDC_BASE", {
320
320
  enumerable: true,
321
- get: function () { return chunk2A2ZZ5XR_cjs.USDC_BASE; }
321
+ get: function () { return chunkAM5RDERD_cjs.USDC_BASE; }
322
322
  });
323
323
  Object.defineProperty(exports, "USDC_DECIMALS", {
324
324
  enumerable: true,
325
- get: function () { return chunk2A2ZZ5XR_cjs.USDC_DECIMALS; }
325
+ get: function () { return chunkAM5RDERD_cjs.USDC_DECIMALS; }
326
326
  });
327
327
  Object.defineProperty(exports, "USDC_TEMPO", {
328
328
  enumerable: true,
329
- get: function () { return chunk2A2ZZ5XR_cjs.USDC_TEMPO; }
329
+ get: function () { return chunkAM5RDERD_cjs.USDC_TEMPO; }
330
330
  });
331
331
  Object.defineProperty(exports, "Wallet", {
332
332
  enumerable: true,
333
- get: function () { return chunk2A2ZZ5XR_cjs.Wallet; }
333
+ get: function () { return chunkAM5RDERD_cjs.Wallet; }
334
334
  });
335
335
  Object.defineProperty(exports, "ZeroAgentAuthError", {
336
336
  enumerable: true,
337
- get: function () { return chunk2A2ZZ5XR_cjs.ZeroAgentAuthError; }
337
+ get: function () { return chunkAM5RDERD_cjs.ZeroAgentAuthError; }
338
338
  });
339
339
  Object.defineProperty(exports, "ZeroApiError", {
340
340
  enumerable: true,
341
- get: function () { return chunk2A2ZZ5XR_cjs.ZeroApiError; }
341
+ get: function () { return chunkAM5RDERD_cjs.ZeroApiError; }
342
342
  });
343
343
  Object.defineProperty(exports, "ZeroAuthError", {
344
344
  enumerable: true,
345
- get: function () { return chunk2A2ZZ5XR_cjs.ZeroAuthError; }
345
+ get: function () { return chunkAM5RDERD_cjs.ZeroAuthError; }
346
346
  });
347
347
  Object.defineProperty(exports, "ZeroClient", {
348
348
  enumerable: true,
349
- get: function () { return chunk2A2ZZ5XR_cjs.ZeroClient; }
349
+ get: function () { return chunkAM5RDERD_cjs.ZeroClient; }
350
350
  });
351
351
  Object.defineProperty(exports, "ZeroConfigurationError", {
352
352
  enumerable: true,
353
- get: function () { return chunk2A2ZZ5XR_cjs.ZeroConfigurationError; }
353
+ get: function () { return chunkAM5RDERD_cjs.ZeroConfigurationError; }
354
354
  });
355
355
  Object.defineProperty(exports, "ZeroError", {
356
356
  enumerable: true,
357
- get: function () { return chunk2A2ZZ5XR_cjs.ZeroError; }
357
+ get: function () { return chunkAM5RDERD_cjs.ZeroError; }
358
358
  });
359
359
  Object.defineProperty(exports, "ZeroPaymentError", {
360
360
  enumerable: true,
361
- get: function () { return chunk2A2ZZ5XR_cjs.ZeroPaymentError; }
361
+ get: function () { return chunkAM5RDERD_cjs.ZeroPaymentError; }
362
362
  });
363
363
  Object.defineProperty(exports, "ZeroSessionCloseFailedError", {
364
364
  enumerable: true,
365
- get: function () { return chunk2A2ZZ5XR_cjs.ZeroSessionCloseFailedError; }
365
+ get: function () { return chunkAM5RDERD_cjs.ZeroSessionCloseFailedError; }
366
366
  });
367
367
  Object.defineProperty(exports, "ZeroTimeoutError", {
368
368
  enumerable: true,
369
- get: function () { return chunk2A2ZZ5XR_cjs.ZeroTimeoutError; }
369
+ get: function () { return chunkAM5RDERD_cjs.ZeroTimeoutError; }
370
370
  });
371
371
  Object.defineProperty(exports, "ZeroValidationError", {
372
372
  enumerable: true,
373
- get: function () { return chunk2A2ZZ5XR_cjs.ZeroValidationError; }
373
+ get: function () { return chunkAM5RDERD_cjs.ZeroValidationError; }
374
374
  });
375
375
  Object.defineProperty(exports, "ZeroWalletError", {
376
376
  enumerable: true,
377
- get: function () { return chunk2A2ZZ5XR_cjs.ZeroWalletError; }
377
+ get: function () { return chunkAM5RDERD_cjs.ZeroWalletError; }
378
378
  });
379
379
  Object.defineProperty(exports, "asSchemaNode", {
380
380
  enumerable: true,
381
- get: function () { return chunk2A2ZZ5XR_cjs.asSchemaNode; }
381
+ get: function () { return chunkAM5RDERD_cjs.asSchemaNode; }
382
382
  });
383
383
  Object.defineProperty(exports, "coerceTempoChainId", {
384
384
  enumerable: true,
385
- get: function () { return chunk2A2ZZ5XR_cjs.coerceTempoChainId; }
385
+ get: function () { return chunkAM5RDERD_cjs.coerceTempoChainId; }
386
386
  });
387
387
  Object.defineProperty(exports, "createManagedAccount", {
388
388
  enumerable: true,
389
- get: function () { return chunk2A2ZZ5XR_cjs.createManagedAccount; }
389
+ get: function () { return chunkAM5RDERD_cjs.createManagedAccount; }
390
390
  });
391
391
  Object.defineProperty(exports, "extractInputEnvelope", {
392
392
  enumerable: true,
393
- get: function () { return chunk2A2ZZ5XR_cjs.extractInputEnvelope; }
393
+ get: function () { return chunkAM5RDERD_cjs.extractInputEnvelope; }
394
394
  });
395
395
  Object.defineProperty(exports, "isShortToken", {
396
396
  enumerable: true,
397
- get: function () { return chunk2A2ZZ5XR_cjs.isShortToken; }
397
+ get: function () { return chunkAM5RDERD_cjs.isShortToken; }
398
398
  });
399
399
  Object.defineProperty(exports, "normalizeTransportEnvelopeRequest", {
400
400
  enumerable: true,
401
- get: function () { return chunk2A2ZZ5XR_cjs.normalizeTransportEnvelopeRequest; }
401
+ get: function () { return chunkAM5RDERD_cjs.normalizeTransportEnvelopeRequest; }
402
402
  });
403
403
  Object.defineProperty(exports, "paymentHasAnchor", {
404
404
  enumerable: true,
405
- get: function () { return chunk2A2ZZ5XR_cjs.paymentHasAnchor; }
405
+ get: function () { return chunkAM5RDERD_cjs.paymentHasAnchor; }
406
406
  });
407
407
  Object.defineProperty(exports, "tempoChainLabelFromId", {
408
408
  enumerable: true,
409
- get: function () { return chunk2A2ZZ5XR_cjs.tempoChainLabelFromId; }
409
+ get: function () { return chunkAM5RDERD_cjs.tempoChainLabelFromId; }
410
410
  });
411
411
  Object.defineProperty(exports, "unwrapTransportEnvelope", {
412
412
  enumerable: true,
413
- get: function () { return chunk2A2ZZ5XR_cjs.unwrapTransportEnvelope; }
413
+ get: function () { return chunkAM5RDERD_cjs.unwrapTransportEnvelope; }
414
414
  });
415
415
  exports.AVAILABILITY_BADGES = AVAILABILITY_BADGES;
416
416
  exports.centsToDollars = centsToDollars;
package/dist/index.d.cts CHANGED
@@ -1,5 +1,5 @@
1
- import { Z as ZeroClient, P as PaymentSessionMeta } from './client-C23Vw9bv.cjs';
2
- export { A as AccountCredentials, a3 as AgentAuthEndpoints, a4 as AgentClaimAttempt, a5 as AgentRegistration, a6 as AgentSignupResult, a7 as AgentToken, a8 as AgentVerifiedIdentity, a9 as AgentZeroSession, k as Auth, l as AuthAgent, m as AuthDevice, af as BUG_REPORT_CATEGORIES, B as BalanceChainId, G as BalanceOptions, H as BalanceReadError, ap as BatchReviewResponse, ag as BugReportCategory, n as BugReports, o as Capabilities, aj as CapabilityResponse, X as ClientOptions, aa as CompleteClaimResult, ah as CreateBugReportInput, ai as CreateBugReportResponse, aq as CreateReviewInput, ar as CreateReviewResponse, as as CreateRunInput, at as CreateRunResponse, C as Credentials, Y as DEFAULT_BASE_URL, _ as DEFAULT_MAX_RETRIES, $ as DEFAULT_TIMEOUT_MS, I as DelegationOptions, am as DevicePollResult, an as DeviceStartResponse, w as FETCH_SKIP_REASONS, x as FETCH_WARNINGS, F as FetchOptions, d as FetchOutcome, e as FetchResult, J as FundingUrlOptions, ak as GetCapabilityOptions, K as ImportWalletOptions, ab as InternalUserDto, au as ListRunsParams, av as ListRunsResponse, a0 as LogEvent, a2 as LogLevel, a1 as Logger, N as NoCredentials, O as OnSessionRefreshed, p as PayInput, t as PayResult, q as PaymentChain, r as PaymentProtocol, s as PaymentResult, y as Payments, ac as PublicUserDto, L as RemoveWalletOptions, al as ResolveCapabilityResponse, aw as RunDetail, ax as RunListItem, R as Runs, ay as SearchOptions, az as SearchResponse, aA as SearchResult, S as SessionCredentials, a as SessionCredentialsInput, ao as SessionExchangeResponse, u as SessionReceiptPayload, M as SetNicknameOptions, Q as SetPrimaryWalletOptions, g as SignMessageInput, h as SignTransactionInput, j as SignTypedDataInput, T as TEMPO_CHAIN_ID, D as TEMPO_TESTNET_CHAIN_ID, U as USDC_BASE, b as USDC_DECIMALS, c as USDC_TEMPO, f as UpstreamError, ad as UserWalletDto, V as Wallet, W as WalletBalance, ae as WelcomeBonusSummary, v as coerceTempoChainId, i as isShortToken, z as paymentHasAnchor, E as tempoChainLabelFromId } from './client-C23Vw9bv.cjs';
1
+ import { Z as ZeroClient, P as PaymentSessionMeta } from './client-DY7QGg57.cjs';
2
+ export { A as AccountCredentials, a3 as AgentAuthEndpoints, a4 as AgentClaimAttempt, a5 as AgentRegistration, a6 as AgentSignupResult, a7 as AgentToken, a8 as AgentVerifiedIdentity, a9 as AgentZeroSession, k as Auth, l as AuthAgent, m as AuthDevice, af as BUG_REPORT_CATEGORIES, B as BalanceChainId, G as BalanceOptions, H as BalanceReadError, ap as BatchReviewResponse, ag as BugReportCategory, n as BugReports, o as Capabilities, aj as CapabilityResponse, X as ClientOptions, aa as CompleteClaimResult, ah as CreateBugReportInput, ai as CreateBugReportResponse, aq as CreateReviewInput, ar as CreateReviewResponse, as as CreateRunInput, at as CreateRunResponse, C as Credentials, Y as DEFAULT_BASE_URL, _ as DEFAULT_MAX_RETRIES, $ as DEFAULT_TIMEOUT_MS, I as DelegationOptions, am as DevicePollResult, an as DeviceStartResponse, w as FETCH_SKIP_REASONS, x as FETCH_WARNINGS, F as FetchOptions, d as FetchOutcome, e as FetchResult, J as FundingUrlOptions, ak as GetCapabilityOptions, K as ImportWalletOptions, ab as InternalUserDto, au as ListRunsParams, av as ListRunsResponse, a0 as LogEvent, a2 as LogLevel, a1 as Logger, N as NoCredentials, O as OnSessionRefreshed, p as PayInput, t as PayResult, q as PaymentChain, r as PaymentProtocol, s as PaymentResult, y as Payments, ac as PublicUserDto, L as RemoveWalletOptions, al as ResolveCapabilityResponse, aw as RunDetail, ax as RunListItem, R as Runs, ay as SearchOptions, az as SearchResponse, aA as SearchResult, S as SessionCredentials, a as SessionCredentialsInput, ao as SessionExchangeResponse, u as SessionReceiptPayload, M as SetNicknameOptions, Q as SetPrimaryWalletOptions, g as SignMessageInput, h as SignTransactionInput, j as SignTypedDataInput, T as TEMPO_CHAIN_ID, D as TEMPO_TESTNET_CHAIN_ID, U as USDC_BASE, b as USDC_DECIMALS, c as USDC_TEMPO, f as UpstreamError, ad as UserWalletDto, V as Wallet, W as WalletBalance, ae as WelcomeBonusSummary, v as coerceTempoChainId, i as isShortToken, z as paymentHasAnchor, E as tempoChainLabelFromId } from './client-DY7QGg57.cjs';
3
3
  import { Address, LocalAccount } from 'viem';
4
4
  import { z } from 'zod';
5
5
 
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { Z as ZeroClient, P as PaymentSessionMeta } from './client-C23Vw9bv.js';
2
- export { A as AccountCredentials, a3 as AgentAuthEndpoints, a4 as AgentClaimAttempt, a5 as AgentRegistration, a6 as AgentSignupResult, a7 as AgentToken, a8 as AgentVerifiedIdentity, a9 as AgentZeroSession, k as Auth, l as AuthAgent, m as AuthDevice, af as BUG_REPORT_CATEGORIES, B as BalanceChainId, G as BalanceOptions, H as BalanceReadError, ap as BatchReviewResponse, ag as BugReportCategory, n as BugReports, o as Capabilities, aj as CapabilityResponse, X as ClientOptions, aa as CompleteClaimResult, ah as CreateBugReportInput, ai as CreateBugReportResponse, aq as CreateReviewInput, ar as CreateReviewResponse, as as CreateRunInput, at as CreateRunResponse, C as Credentials, Y as DEFAULT_BASE_URL, _ as DEFAULT_MAX_RETRIES, $ as DEFAULT_TIMEOUT_MS, I as DelegationOptions, am as DevicePollResult, an as DeviceStartResponse, w as FETCH_SKIP_REASONS, x as FETCH_WARNINGS, F as FetchOptions, d as FetchOutcome, e as FetchResult, J as FundingUrlOptions, ak as GetCapabilityOptions, K as ImportWalletOptions, ab as InternalUserDto, au as ListRunsParams, av as ListRunsResponse, a0 as LogEvent, a2 as LogLevel, a1 as Logger, N as NoCredentials, O as OnSessionRefreshed, p as PayInput, t as PayResult, q as PaymentChain, r as PaymentProtocol, s as PaymentResult, y as Payments, ac as PublicUserDto, L as RemoveWalletOptions, al as ResolveCapabilityResponse, aw as RunDetail, ax as RunListItem, R as Runs, ay as SearchOptions, az as SearchResponse, aA as SearchResult, S as SessionCredentials, a as SessionCredentialsInput, ao as SessionExchangeResponse, u as SessionReceiptPayload, M as SetNicknameOptions, Q as SetPrimaryWalletOptions, g as SignMessageInput, h as SignTransactionInput, j as SignTypedDataInput, T as TEMPO_CHAIN_ID, D as TEMPO_TESTNET_CHAIN_ID, U as USDC_BASE, b as USDC_DECIMALS, c as USDC_TEMPO, f as UpstreamError, ad as UserWalletDto, V as Wallet, W as WalletBalance, ae as WelcomeBonusSummary, v as coerceTempoChainId, i as isShortToken, z as paymentHasAnchor, E as tempoChainLabelFromId } from './client-C23Vw9bv.js';
1
+ import { Z as ZeroClient, P as PaymentSessionMeta } from './client-DY7QGg57.js';
2
+ export { A as AccountCredentials, a3 as AgentAuthEndpoints, a4 as AgentClaimAttempt, a5 as AgentRegistration, a6 as AgentSignupResult, a7 as AgentToken, a8 as AgentVerifiedIdentity, a9 as AgentZeroSession, k as Auth, l as AuthAgent, m as AuthDevice, af as BUG_REPORT_CATEGORIES, B as BalanceChainId, G as BalanceOptions, H as BalanceReadError, ap as BatchReviewResponse, ag as BugReportCategory, n as BugReports, o as Capabilities, aj as CapabilityResponse, X as ClientOptions, aa as CompleteClaimResult, ah as CreateBugReportInput, ai as CreateBugReportResponse, aq as CreateReviewInput, ar as CreateReviewResponse, as as CreateRunInput, at as CreateRunResponse, C as Credentials, Y as DEFAULT_BASE_URL, _ as DEFAULT_MAX_RETRIES, $ as DEFAULT_TIMEOUT_MS, I as DelegationOptions, am as DevicePollResult, an as DeviceStartResponse, w as FETCH_SKIP_REASONS, x as FETCH_WARNINGS, F as FetchOptions, d as FetchOutcome, e as FetchResult, J as FundingUrlOptions, ak as GetCapabilityOptions, K as ImportWalletOptions, ab as InternalUserDto, au as ListRunsParams, av as ListRunsResponse, a0 as LogEvent, a2 as LogLevel, a1 as Logger, N as NoCredentials, O as OnSessionRefreshed, p as PayInput, t as PayResult, q as PaymentChain, r as PaymentProtocol, s as PaymentResult, y as Payments, ac as PublicUserDto, L as RemoveWalletOptions, al as ResolveCapabilityResponse, aw as RunDetail, ax as RunListItem, R as Runs, ay as SearchOptions, az as SearchResponse, aA as SearchResult, S as SessionCredentials, a as SessionCredentialsInput, ao as SessionExchangeResponse, u as SessionReceiptPayload, M as SetNicknameOptions, Q as SetPrimaryWalletOptions, g as SignMessageInput, h as SignTransactionInput, j as SignTypedDataInput, T as TEMPO_CHAIN_ID, D as TEMPO_TESTNET_CHAIN_ID, U as USDC_BASE, b as USDC_DECIMALS, c as USDC_TEMPO, f as UpstreamError, ad as UserWalletDto, V as Wallet, W as WalletBalance, ae as WelcomeBonusSummary, v as coerceTempoChainId, i as isShortToken, z as paymentHasAnchor, E as tempoChainLabelFromId } from './client-DY7QGg57.js';
3
3
  import { Address, LocalAccount } from 'viem';
4
4
  import { z } from 'zod';
5
5
 
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
- import { asSchemaNode } from './chunk-CYB4Y3ID.js';
2
- export { Auth, AuthAgent, AuthDevice, BUG_REPORT_CATEGORIES, BugReports, Capabilities, DEFAULT_BASE_URL, DEFAULT_MAX_RETRIES, DEFAULT_TIMEOUT_MS, FETCH_SKIP_REASONS, FETCH_WARNINGS, Payments, Runs, SDK_VERSION, TEMPO_CHAIN_ID, TEMPO_TESTNET_CHAIN_ID, USDC_BASE, USDC_DECIMALS, USDC_TEMPO, Wallet, ZeroAgentAuthError, ZeroApiError, ZeroAuthError, ZeroClient, ZeroConfigurationError, ZeroError, ZeroPaymentError, ZeroSessionCloseFailedError, ZeroTimeoutError, ZeroValidationError, ZeroWalletError, asSchemaNode, coerceTempoChainId, createManagedAccount, extractInputEnvelope, isShortToken, normalizeTransportEnvelopeRequest, paymentHasAnchor, tempoChainLabelFromId, unwrapTransportEnvelope } from './chunk-CYB4Y3ID.js';
1
+ import { asSchemaNode } from './chunk-FWHVWIO2.js';
2
+ export { Auth, AuthAgent, AuthDevice, BUG_REPORT_CATEGORIES, BugReports, Capabilities, DEFAULT_BASE_URL, DEFAULT_MAX_RETRIES, DEFAULT_TIMEOUT_MS, FETCH_SKIP_REASONS, FETCH_WARNINGS, Payments, Runs, SDK_VERSION, TEMPO_CHAIN_ID, TEMPO_TESTNET_CHAIN_ID, USDC_BASE, USDC_DECIMALS, USDC_TEMPO, Wallet, ZeroAgentAuthError, ZeroApiError, ZeroAuthError, ZeroClient, ZeroConfigurationError, ZeroError, ZeroPaymentError, ZeroSessionCloseFailedError, ZeroTimeoutError, ZeroValidationError, ZeroWalletError, asSchemaNode, coerceTempoChainId, createManagedAccount, extractInputEnvelope, isShortToken, normalizeTransportEnvelopeRequest, paymentHasAnchor, tempoChainLabelFromId, unwrapTransportEnvelope } from './chunk-FWHVWIO2.js';
3
3
 
4
4
  // src/status.ts
5
5
  var AVAILABILITY_BADGES = {
package/dist/testing.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunk2A2ZZ5XR_cjs = require('./chunk-2A2ZZ5XR.cjs');
3
+ var chunkAM5RDERD_cjs = require('./chunk-AM5RDERD.cjs');
4
4
 
5
5
  // src/testing/index.ts
6
6
  var FALLBACK_HANDLER = (request) => {
@@ -34,7 +34,7 @@ var respondJson = (body, init) => new Response(JSON.stringify(body), {
34
34
  });
35
35
  var createTestClient = (opts = {}) => {
36
36
  const { routes, ...rest } = opts;
37
- return new chunk2A2ZZ5XR_cjs.ZeroClient({
37
+ return new chunkAM5RDERD_cjs.ZeroClient({
38
38
  ...rest,
39
39
  baseUrl: rest.baseUrl ?? "http://test.zero.local",
40
40
  // Tests should fail fast, not retry-and-mask flakiness.
@@ -1,4 +1,4 @@
1
- import { X as ClientOptions, Z as ZeroClient } from './client-C23Vw9bv.cjs';
1
+ import { X as ClientOptions, Z as ZeroClient } from './client-DY7QGg57.cjs';
2
2
  import 'viem';
3
3
  import 'zod';
4
4
 
package/dist/testing.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { X as ClientOptions, Z as ZeroClient } from './client-C23Vw9bv.js';
1
+ import { X as ClientOptions, Z as ZeroClient } from './client-DY7QGg57.js';
2
2
  import 'viem';
3
3
  import 'zod';
4
4
 
package/dist/testing.js CHANGED
@@ -1,4 +1,4 @@
1
- import { ZeroClient } from './chunk-CYB4Y3ID.js';
1
+ import { ZeroClient } from './chunk-FWHVWIO2.js';
2
2
 
3
3
  // src/testing/index.ts
4
4
  var FALLBACK_HANDLER = (request) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zeroxyz/sdk",
3
- "version": "0.13.0",
3
+ "version": "0.14.0",
4
4
  "description": "TypeScript SDK for Zero — search, fetch, and pay for AI capabilities (x402 + MPP).",
5
5
  "keywords": [
6
6
  "zero",