@pacspace-io/sdk 0.2.0 → 0.2.1

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/README.md CHANGED
@@ -40,7 +40,7 @@ const checkpoint = await pac.balance.checkpoint('cust_123', {
40
40
 
41
41
  | Option | Type | Default | Description |
42
42
  |--------|------|---------|-------------|
43
- | `apiKey` | `string` | **required** | Your PacSpace API key (`pk_live_*` or `pk_test_*`) |
43
+ | `apiKey` | `string` | **required** | Your Balance API key (`pk_live_*` or `pk_test_*`) |
44
44
  | `baseUrl` | `string` | auto-routed | API base URL (overrides auto-routing if provided) |
45
45
  | `sandboxUrl` | `string` | `https://api-sandbox-<hash>.run.app` | Custom sandbox URL (used for `pk_test_*` keys) |
46
46
  | `productionUrl` | `string` | `https://api.pacspace.io` | Custom production URL (used for `pk_live_*` keys) |
@@ -111,10 +111,10 @@ Generate a verifiable receipt. With `options.period` (YYYY-MM), returns a period
111
111
  // Period receipt (shareable proof for invoices)
112
112
  const receipt = await pac.balance.receipt('cust_123', { period: '2026-02' });
113
113
  console.log(receipt.proofRoot); // Proof root for verification
114
- console.log(receipt.verifyUrl); // app.pacspace.io/verify/{proofRoot}
114
+ console.log(receipt.verifyUrl); // balance-api.pacspace.io/verify/{proofRoot}
115
115
  console.log(receipt.finalBalance);
116
116
 
117
- // Full ledger receipt (all verified deltas)
117
+ // Full record receipt (all verified deltas)
118
118
  const full = await pac.balance.receipt('cust_123');
119
119
  console.log(full.finalBalance);
120
120
  console.log(full.verification.itemHashes);
@@ -127,7 +127,7 @@ Verify a proof root via the public verification endpoint. No API key required
127
127
  ```typescript
128
128
  const result = await pac.verify(receipt.proofRoot);
129
129
  if (result.verified) {
130
- console.log(result.verification?.publicLedgerUrl);
130
+ console.log(result.verification?.verificationExplorerUrl);
131
131
  console.log(result.summary?.recordCount);
132
132
  }
133
133
  ```
@@ -140,7 +140,7 @@ Commit a period-end checkpoint. The proof root is recorded on the public verific
140
140
  const checkpoint = await pac.balance.checkpoint('cust_123', {
141
141
  period: '2026-02',
142
142
  });
143
- console.log(checkpoint.merkleRoot); // Include in your invoice
143
+ console.log(checkpoint.proofRoot); // Include in your invoice
144
144
  ```
145
145
 
146
146
  ### Webhooks
@@ -204,8 +204,8 @@ try {
204
204
 
205
205
  The SDK automatically routes requests to the correct API endpoint based on your API key prefix:
206
206
 
207
- - `pk_test_*` → Sandbox API (`https://api-sandbox-<hash>.run.app`) + Hedera Testnet (chain 296)
208
- - `pk_live_*` → Production API (`https://api.pacspace.io`) + Hedera Mainnet (chain 295)
207
+ - `pk_test_*` → Sandbox API (`https://api-sandbox-<hash>.run.app`)
208
+ - `pk_live_*` → Production API (`https://api.pacspace.io`)
209
209
 
210
210
  ### Examples
211
211
 
package/dist/client.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import type { PacSpaceConfig, RequestOptions } from './types/config';
2
2
  /**
3
- * Low-level HTTP client for the PacSpace API.
3
+ * Low-level HTTP client for the Balance API.
4
4
  * Handles authentication, response unwrapping, retries, and error mapping.
5
5
  *
6
6
  * @internal — Use the PacSpace class instead of this directly.
package/dist/client.js CHANGED
@@ -43,7 +43,7 @@ const DEFAULT_BUFFER_MAX_DELAY_MS = 60000;
43
43
  */
44
44
  const RETRYABLE_STATUS_CODES = new Set([408, 429, 500, 502, 503, 504]);
45
45
  /**
46
- * Low-level HTTP client for the PacSpace API.
46
+ * Low-level HTTP client for the Balance API.
47
47
  * Handles authentication, response unwrapping, retries, and error mapping.
48
48
  *
49
49
  * @internal — Use the PacSpace class instead of this directly.
@@ -188,7 +188,7 @@ class HttpClient {
188
188
  const headers = {
189
189
  'X-Api-Key': this.apiKey,
190
190
  'Content-Type': 'application/json',
191
- 'User-Agent': '@pacspace-io/sdk/0.1.0',
191
+ 'User-Agent': '@pacspace-io/sdk/0.2.1',
192
192
  };
193
193
  const chainId = options?.chainId ?? this.defaultChainId;
194
194
  if (chainId !== undefined) {
package/dist/index.d.ts CHANGED
@@ -54,7 +54,7 @@ export declare class PacSpace {
54
54
  * Create a new PacSpace SDK instance.
55
55
  *
56
56
  * @param config - SDK configuration.
57
- * @param config.apiKey - Your PacSpace API key (required).
57
+ * @param config.apiKey - Your Balance API key (required).
58
58
  * @param config.baseUrl - API base URL (optional, overrides auto-routing).
59
59
  * @param config.sandboxUrl - Custom sandbox URL (optional, used for `pk_test_*` keys).
60
60
  * @param config.productionUrl - Custom production URL (optional, used for `pk_live_*` keys).
@@ -84,7 +84,7 @@ export declare class PacSpace {
84
84
  * ```typescript
85
85
  * const result = await pac.verify('0x7f3a9b2c1d4e5f6a...');
86
86
  * if (result.verified) {
87
- * console.log(result.verification?.publicLedgerUrl);
87
+ * console.log(result.verification?.verificationExplorerUrl);
88
88
  * console.log(result.summary?.recordCount);
89
89
  * }
90
90
  * ```
@@ -92,8 +92,8 @@ export declare class PacSpace {
92
92
  verify(proofRoot: string): Promise<VerifyResponse>;
93
93
  }
94
94
  export type { PacSpaceConfig, RequestOptions } from './types/config';
95
- export type { AnchorStatus, CheckpointType } from './types/common';
96
- export type { EmitOptions, EmitAndWaitOptions, EmitResponse, DeriveOptions, DeriveResponse, VerifiedDelta, WindowSummary, CompareOptions, CompareBalances, CompareResponse, DiscrepancyReport, ReceiptResponse, CheckpointOptions, CheckpointResponse, DeltaStatusResponse, WaitForAnchoredOptions, UsageResponse, SequenceGapsOptions, SequenceGapRange, SequenceGapsResponse, BulkDelta, BulkEmitOptions, BulkEmitResponse, BulkDeltaResult, ListWebhookDeliveriesOptions, ListWebhookDeliveriesResponse, CustomerLedgerSummary, CustomerLedgerDetail, CustomerLedgerActivity, ListCustomersOptions, ListCustomersResponse, GetCustomerOptions, InvoiceProofOptions, InvoiceProofResponse, InvoiceProofDelta, InvoiceProofWindowSummary, InvoiceProofVerification, VerifyResponse, VerifySummary, VerifyRecord, VerifyVerification, } from './types/balance';
95
+ export type { RecordStatus, CheckpointType } from './types/common';
96
+ export type { EmitOptions, EmitAndWaitOptions, EmitResponse, DeriveOptions, DeriveResponse, VerifiedDelta, WindowSummary, CompareOptions, CompareBalances, CompareResponse, DiscrepancyReport, ReceiptResponse, CheckpointOptions, CheckpointResponse, DeltaStatusResponse, WaitForVerifiedOptions, UsageResponse, SequenceGapsOptions, SequenceGapRange, SequenceGapsResponse, BulkDelta, BulkEmitOptions, BulkEmitResponse, BulkDeltaResult, ListWebhookDeliveriesOptions, ListWebhookDeliveriesResponse, CustomerRecordSummary, CustomerRecordDetail, CustomerRecordActivity, ListCustomersOptions, ListCustomersResponse, GetCustomerOptions, InvoiceProofOptions, InvoiceProofResponse, InvoiceProofDelta, InvoiceProofWindowSummary, InvoiceProofVerification, VerifyResponse, VerifySummary, VerifyRecord, VerifyVerification, } from './types/balance';
97
97
  export type { SubmissionProfile, SubmissionAutomationOptions, CustomerUsageSummary, QueuedUsageSummary, FlushSummariesOptions, SummaryFlushFailure, SummaryFlushResult, SubmissionQueueState, } from './types/submission';
98
98
  export { PacSpaceError, InvalidApiKeyError, InsufficientCreditsError, NotFoundError, ContractNotDeployedError, CadenceLimitError, RateLimitError, ServiceUnavailableError, ValidationError, TimeoutError, WebhookVerificationError, } from './errors';
99
99
  export { Webhooks } from './webhooks/verify';
package/dist/index.js CHANGED
@@ -47,7 +47,7 @@ class PacSpace {
47
47
  * Create a new PacSpace SDK instance.
48
48
  *
49
49
  * @param config - SDK configuration.
50
- * @param config.apiKey - Your PacSpace API key (required).
50
+ * @param config.apiKey - Your Balance API key (required).
51
51
  * @param config.baseUrl - API base URL (optional, overrides auto-routing).
52
52
  * @param config.sandboxUrl - Custom sandbox URL (optional, used for `pk_test_*` keys).
53
53
  * @param config.productionUrl - Custom production URL (optional, used for `pk_live_*` keys).
@@ -110,7 +110,7 @@ class PacSpace {
110
110
  * ```typescript
111
111
  * const result = await pac.verify('0x7f3a9b2c1d4e5f6a...');
112
112
  * if (result.verified) {
113
- * console.log(result.verification?.publicLedgerUrl);
113
+ * console.log(result.verification?.verificationExplorerUrl);
114
114
  * console.log(result.summary?.recordCount);
115
115
  * }
116
116
  * ```
@@ -1,5 +1,5 @@
1
1
  import type { HttpClient } from '../client';
2
- import type { EmitOptions, EmitAndWaitOptions, EmitResponse, DeriveOptions, DeriveResponse, CompareOptions, CompareBalances, CompareResponse, ReceiptResponse, CheckpointOptions, CheckpointResponse, ListCheckpointsOptions, ListCheckpointsResponse, DeltaStatusResponse, WaitForAnchoredOptions, UsageResponse, SequenceGapsOptions, SequenceGapsResponse, BulkDelta, BulkEmitOptions, BulkEmitResponse, ListWebhookDeliveriesOptions, ListWebhookDeliveriesResponse, ListCustomersOptions, ListCustomersResponse, GetCustomerOptions, CustomerLedgerDetail, InvoiceProofOptions, InvoiceProofResponse } from '../types/balance';
2
+ import type { EmitOptions, EmitAndWaitOptions, EmitResponse, DeriveOptions, DeriveResponse, CompareOptions, CompareBalances, CompareResponse, ReceiptResponse, CheckpointOptions, CheckpointResponse, ListCheckpointsOptions, ListCheckpointsResponse, DeltaStatusResponse, WaitForVerifiedOptions, UsageResponse, SequenceGapsOptions, SequenceGapsResponse, BulkDelta, BulkEmitOptions, BulkEmitResponse, ListWebhookDeliveriesOptions, ListWebhookDeliveriesResponse, ListCustomersOptions, ListCustomersResponse, GetCustomerOptions, CustomerRecordDetail, InvoiceProofOptions, InvoiceProofResponse } from '../types/balance';
3
3
  import type { RequestOptions } from '../types/config';
4
4
  import type { CustomerUsageSummary, FlushSummariesOptions, QueuedUsageSummary, SubmissionAutomationOptions, SubmissionQueueState, SummaryFlushResult } from '../types/submission';
5
5
  import { SubmissionCoordinator } from './submission';
@@ -68,27 +68,27 @@ export declare class BalanceResource {
68
68
  /**
69
69
  * Check the status of a previously emitted delta.
70
70
  *
71
- * @param anchorId - The anchor ID returned from emit.
71
+ * @param recordId - The record ID returned from emit.
72
72
  * @param options - Request overrides.
73
73
  * @returns Delta status with receipt and transaction details.
74
74
  *
75
75
  * @example
76
76
  * ```typescript
77
- * const status = await pac.balance.deltaStatus('anc_abc123');
78
- * console.log(status.status); // 'QUEUED', 'ANCHORED', etc.
77
+ * const status = await pac.balance.deltaStatus('rec_abc123');
78
+ * console.log(status.status); // 'QUEUED', 'PROCESSING', etc.
79
79
  * ```
80
80
  */
81
- deltaStatus(anchorId: string, options?: RequestOptions): Promise<DeltaStatusResponse>;
81
+ deltaStatus(recordId: string, options?: RequestOptions): Promise<DeltaStatusResponse>;
82
82
  /**
83
83
  * Alias for `deltaStatus()` with lifecycle-oriented naming.
84
84
  */
85
- getAnchorStatus(anchorId: string, options?: RequestOptions): Promise<DeltaStatusResponse>;
85
+ getRecordStatus(recordId: string, options?: RequestOptions): Promise<DeltaStatusResponse>;
86
86
  /**
87
- * Poll anchor lifecycle until it reaches a terminal status.
87
+ * Poll record lifecycle until it reaches a terminal status.
88
88
  *
89
- * Terminal statuses are `ANCHORED`, `VERIFIED`, and `FAILED`.
89
+ * Terminal statuses are `VERIFIED` and `FAILED`.
90
90
  */
91
- waitForAnchored(anchorId: string, options?: WaitForAnchoredOptions): Promise<DeltaStatusResponse>;
91
+ waitForVerified(recordId: string, options?: WaitForVerifiedOptions): Promise<DeltaStatusResponse>;
92
92
  /**
93
93
  * Retrieve tenant usage counters and remaining allotment.
94
94
  */
@@ -199,7 +199,7 @@ export declare class BalanceResource {
199
199
  *
200
200
  * When `options.period` is provided, returns a period-specific receipt (proof root,
201
201
  * verifyUrl, verificationReference) suitable for sharing on invoices. When
202
- * omitted, returns the full ledger receipt with all verified deltas.
202
+ * omitted, returns the full record receipt with all verified deltas.
203
203
  *
204
204
  * @param customerId - The customer account to generate a receipt for.
205
205
  * @param options - Optional period (YYYY-MM) and request overrides.
@@ -212,7 +212,7 @@ export declare class BalanceResource {
212
212
  * console.log(receipt.proofRoot); // Include on invoice
213
213
  * console.log(receipt.verifyUrl); // Share with counterparty
214
214
  *
215
- * // Full ledger receipt
215
+ * // Full record receipt
216
216
  * const full = await pac.balance.receipt('cust_123');
217
217
  * console.log(full.finalBalance);
218
218
  * ```
@@ -232,14 +232,14 @@ export declare class BalanceResource {
232
232
  *
233
233
  * @param customerId - Customer to checkpoint (omit for all customers).
234
234
  * @param options - Period (YYYY-MM) and request overrides.
235
- * @returns Checkpoint details with Merkle root and status.
235
+ * @returns Checkpoint details with proof root and status.
236
236
  *
237
237
  * @example
238
238
  * ```typescript
239
239
  * const checkpoint = await pac.balance.checkpoint('cust_123', {
240
240
  * period: '2026-02',
241
241
  * });
242
- * console.log(checkpoint.merkleRoot); // Include in your invoice
242
+ * console.log(checkpoint.proofRoot); // Include in your invoice
243
243
  * ```
244
244
  */
245
245
  checkpoint(customerId?: string, options?: CheckpointOptions): Promise<CheckpointResponse>;
@@ -293,13 +293,13 @@ export declare class BalanceResource {
293
293
  message: string;
294
294
  }>;
295
295
  /**
296
- * List all customer ledgers for your account.
296
+ * List all customer balance records for your account.
297
297
  *
298
298
  * Each unique customerId passed to emit() automatically creates an
299
- * isolated ledger. This method returns a paginated list of all ledgers.
299
+ * isolated customer record. This method returns a paginated list.
300
300
  *
301
301
  * @param options - Search, pagination, and request overrides.
302
- * @returns Paginated list of customer ledgers.
302
+ * @returns Paginated list of customer records.
303
303
  *
304
304
  * @example
305
305
  * ```typescript
@@ -311,24 +311,36 @@ export declare class BalanceResource {
311
311
  */
312
312
  customers(options?: ListCustomersOptions): Promise<ListCustomersResponse>;
313
313
  /**
314
- * Get the full ledger detail for a specific customer.
314
+ * Get the full record detail for a specific customer.
315
315
  *
316
- * Returns the derived ledger identifier, computed balance, delta count,
317
- * and latest checkpoint. The ledger identifier is deterministic --
318
- * the same customerId always produces the same identifier.
316
+ * Returns the derived customer reference, computed balance, delta count,
317
+ * and latest checkpoint. The customer reference is deterministic.
319
318
  *
320
319
  * @param customerId - The customer to look up.
321
320
  * @param options - Activity pagination and request overrides.
322
- * @returns Customer ledger detail including balance and identifiers.
321
+ * @returns Customer detail including balance and references.
323
322
  *
324
323
  * @example
325
324
  * ```typescript
326
- * const ledger = await pac.balance.customer('cust_001');
327
- * console.log(ledger.ledgerIdentifier); // 0xA1b2...Ef34
328
- * console.log(ledger.computedBalance); // 4500.00
325
+ * const customer = await pac.balance.customer('cust_001');
326
+ * console.log(customer.customerReference); // 0xA1b2...Ef34
327
+ * console.log(customer.computedBalance); // 4500.00
329
328
  * ```
330
329
  */
331
- customer(customerId: string, options?: GetCustomerOptions): Promise<CustomerLedgerDetail>;
330
+ customer(customerId: string, options?: GetCustomerOptions): Promise<CustomerRecordDetail>;
331
+ private normalizeEmitResponse;
332
+ private mergeEmitWithStatus;
333
+ private normalizeDeltaStatusResponse;
334
+ private normalizeDeriveResponse;
335
+ private normalizeCompareResponse;
336
+ private normalizeReceiptResponse;
337
+ private normalizeInvoiceProofResponse;
338
+ private normalizeCheckpointResponse;
339
+ private normalizeListCheckpointsResponse;
340
+ private normalizeSequenceGapsResponse;
341
+ private normalizeBulkEmitResponse;
342
+ private normalizeListCustomersResponse;
343
+ private normalizeCustomerDetailResponse;
332
344
  /**
333
345
  * Generate an invoice-ready receipt for a customer's billing period.
334
346
  *
@@ -1 +1 @@
1
- {"version":3,"file":"balance.d.ts","sourceRoot":"","sources":["../../src/resources/balance.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAC5C,OAAO,KAAK,EACV,WAAW,EACX,kBAAkB,EAClB,YAAY,EACZ,aAAa,EACb,cAAc,EACd,cAAc,EACd,eAAe,EACf,eAAe,EACf,eAAe,EACf,iBAAiB,EACjB,kBAAkB,EAClB,sBAAsB,EACtB,uBAAuB,EACvB,mBAAmB,EACnB,sBAAsB,EACtB,aAAa,EACb,mBAAmB,EACnB,oBAAoB,EACpB,SAAS,EACT,eAAe,EACf,gBAAgB,EAChB,4BAA4B,EAC5B,6BAA6B,EAC7B,oBAAoB,EACpB,qBAAqB,EACrB,kBAAkB,EAClB,oBAAoB,EACpB,mBAAmB,EACnB,oBAAoB,EACrB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,KAAK,EAAE,cAAc,EAAE,MA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