@ambasada/village 0.8.1 → 0.8.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.
package/dist/client.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { Ambasada, type AmbasadaOptions } from "./sdk/platform.js";
1
+ import { Ambasada, type AmbasadaOptions } from "@ambasada/sdk/platform";
2
2
  import { type IncomingRequest } from "./receipt.js";
3
3
  import type { AgentConfigInput, BuyOptions, BuyResult, ChatRequest, ChatResponse, CheckoutInput, CheckoutReceiptClaims, CheckoutSession, ImageRequest, ImageResult, LedgerPage, Listing, ListingInput, MarketOffering, PaidCall, PaymentLink, PaymentLinkInput, ToolListing, ToolResult, TranscriptEntry, TransferOptions, Wallet, WebhookDelivery, WebhookEvent } from "./types.js";
4
4
  /** The Hack A Ton API. The platform API (`@ambasada/sdk`) is https://api.ambasada.dev. */
package/dist/define.d.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  *
5
5
  * export default defineCompany(defineApp({ id, name, product }), { idea, offerings, agent });
6
6
  */
7
- import type { AppConfig } from "./sdk/platform.js";
7
+ import type { AppConfig } from "@ambasada/sdk/platform";
8
8
  import type { FieldSchema } from "./types.js";
9
9
  export interface VillageConfig {
10
10
  /** Locked Fri 20:00. */
package/dist/errors.d.ts CHANGED
@@ -5,7 +5,7 @@
5
5
  * try { await village.buy("inkwell/poem", input, { maxPrice: 2 }) }
6
6
  * catch (e) { if (isVillageError(e, "PRICE_ABOVE_MAX")) … }
7
7
  */
8
- import { AmbasadaError, isAmbasadaError } from "./sdk/platform.js";
8
+ import { AmbasadaError, isAmbasadaError } from "@ambasada/sdk/platform";
9
9
  /** `AmbasadaError` under its 0.7 name. */
10
10
  export declare const VillageError: typeof AmbasadaError;
11
11
  export type VillageError = AmbasadaError;
package/dist/index.d.ts CHANGED
@@ -20,8 +20,8 @@ export { RECEIPT_HEADER, readIncoming, verifyCallReceipt, verifyCheckoutReceiptT
20
20
  export type { IncomingRequest } from "./receipt.js";
21
21
  export { defineCompany, offering } from "./define.js";
22
22
  export type { CompanyConfig, OfferingDef, VillageConfig } from "./define.js";
23
- export { Ambasada, AmbasadaError, isAmbasadaError, defineApp, ERROR_STATUS, WebhookInvalidError } from "./sdk/platform.js";
24
- export type { AmbasadaUser, AppConfig, ErrorCode, ErrorDetails, Jwk, StoredFile, StoreList, StoreWrite, WebhookFailure } from "./sdk/platform.js";
23
+ export { Ambasada, AmbasadaError, isAmbasadaError, defineApp, ERROR_STATUS, WebhookInvalidError } from "@ambasada/sdk/platform";
24
+ export type { AmbasadaUser, AppConfig, ErrorCode, ErrorDetails, Jwk, StoredFile, StoreList, StoreWrite, WebhookFailure } from "@ambasada/sdk/platform";
25
25
  /** The default client, configured from the environment at call time. */
26
26
  export declare const village: Village;
27
27
  export default village;