@invonetwork/web-sdk 3.33.0 → 3.34.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/dist/game.cjs CHANGED
@@ -347,6 +347,17 @@ var InvoError = class _InvoError extends Error {
347
347
  get isPaymentsPaused() {
348
348
  return this.code === "PAYMENTS_PAUSED";
349
349
  }
350
+ /** The key belongs to the other INVO environment (`KEY_FOR_OTHER_ENVIRONMENT`, 401;
351
+ * additive, 3.34.0): a test key (`ivsdk_test_`) sent to production, or a live key
352
+ * (`ivsdk_live_`) sent to the sandbox. Never retried. Use the key for the environment
353
+ * you are calling, or point the SDK at the environment the key is for. The code is
354
+ * matched on any code field (`code`, `rawCode`, `publicCode`, or the body's
355
+ * `error_code` / `code`), since the 401 may carry a different `code`. */
356
+ get isKeyForOtherEnvironment() {
357
+ const C = "KEY_FOR_OTHER_ENVIRONMENT";
358
+ const b = this.bodyObject();
359
+ return this.code === C || this.rawCode === C || this.publicCode === C || b["error_code"] === C || b["code"] === C;
360
+ }
350
361
  /** A buyer-approved balance purchase cannot start (`BALANCE_UNAVAILABLE`, 400; 3.33.0):
351
362
  * the buyer is unknown here or their balance is short. One answer on purpose; the
352
363
  * balance is never disclosed. Offer another way to pay. */
@@ -832,7 +843,7 @@ var InvoError = class _InvoError extends Error {
832
843
  /**
833
844
  * True when a sandbox clock call was refused for a missing, wrong or never-issued
834
845
  * `X-Sandbox-Clock-Key` (`SANDBOX_CLOCK_UNAUTHORIZED`, 401). Reveal or rotate the key on
835
- * the game's Game Settings page in the sandbox console.
846
+ * the game's Game Settings page in the INVO console in test mode (console.invo.network/test).
836
847
  */
837
848
  get isSandboxClockUnauthorized() {
838
849
  return this.code === "SANDBOX_CLOCK_UNAUTHORIZED";
@@ -3796,7 +3807,7 @@ function sessionStorageSafe() {
3796
3807
 
3797
3808
  // src/game/ui.ts
3798
3809
  var STYLE_ID = "invo-ui-styles";
3799
- var CONSOLE_URL = { sandbox: "https://dev.console.invo.network", production: "https://console.invo.network" };
3810
+ var CONSOLE_URL = { sandbox: "https://console.invo.network/test", production: "https://console.invo.network" };
3800
3811
  var stroke = (d, size = 18) => `<svg viewBox="0 0 24 24" width="${size}" height="${size}" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true">${d}</svg>`;
3801
3812
  var ICONS = {
3802
3813
  plus: stroke('<path d="M12 5v14M5 12h14"/>', 14),
@@ -4883,7 +4894,7 @@ function mountInvoUI(container, economy, options = {}) {
4883
4894
  }
4884
4895
 
4885
4896
  // src/version.ts
4886
- var SDK_VERSION = "3.33.0";
4897
+ var SDK_VERSION = "3.34.1";
4887
4898
 
4888
4899
  exports.InvoGameEconomy = InvoGameEconomy;
4889
4900
  exports.InvoGameError = InvoGameError;
package/dist/game.d.cts CHANGED
@@ -1,8 +1,8 @@
1
1
  import { i as GamePlayer, q as GameWallet, c as GameCatalog, k as GamePurchase, h as GameItemPurchase, n as GameTransferKind, d as GameCatalogItem, f as GameCurrencyBalance, p as GameTransferStatus, m as GameTransferInput, o as GameTransferStart } from './types-jUxfYjiD.cjs';
2
2
  export { e as GameCheckout, G as GameCurrencyKind, b as GameEconomyConfig, g as GameErrorBody, j as GamePremiumPack, a as GamePurchaseStatus, l as GameSession } from './types-jUxfYjiD.cjs';
3
- import { A as ApproveHostedResult } from './hosted-approval-CYqqberu.cjs';
4
- import { D as DestinationGame, P as PendingCollectItem } from './types-DUfQR48n.cjs';
5
- export { S as SDK_VERSION } from './version-DKfrEYU1.cjs';
3
+ import { A as ApproveHostedResult } from './hosted-approval-B6yY7ExK.cjs';
4
+ import { D as DestinationGame, P as PendingCollectItem } from './types-B4J9Ifd2.cjs';
5
+ export { S as SDK_VERSION } from './version-DB2wgiPY.cjs';
6
6
 
7
7
  /**
8
8
  * INVO game economy client (3.27.0), the browser half. It talks ONLY to your game server
package/dist/game.d.ts CHANGED
@@ -1,8 +1,8 @@
1
1
  import { i as GamePlayer, q as GameWallet, c as GameCatalog, k as GamePurchase, h as GameItemPurchase, n as GameTransferKind, d as GameCatalogItem, f as GameCurrencyBalance, p as GameTransferStatus, m as GameTransferInput, o as GameTransferStart } from './types-jUxfYjiD.js';
2
2
  export { e as GameCheckout, G as GameCurrencyKind, b as GameEconomyConfig, g as GameErrorBody, j as GamePremiumPack, a as GamePurchaseStatus, l as GameSession } from './types-jUxfYjiD.js';
3
- import { A as ApproveHostedResult } from './hosted-approval-CL3DfrGS.js';
4
- import { D as DestinationGame, P as PendingCollectItem } from './types-DUfQR48n.js';
5
- export { S as SDK_VERSION } from './version-DKfrEYU1.js';
3
+ import { A as ApproveHostedResult } from './hosted-approval-CZ5EYFlM.js';
4
+ import { D as DestinationGame, P as PendingCollectItem } from './types-B4J9Ifd2.js';
5
+ export { S as SDK_VERSION } from './version-DB2wgiPY.js';
6
6
 
7
7
  /**
8
8
  * INVO game economy client (3.27.0), the browser half. It talks ONLY to your game server
package/dist/game.js CHANGED
@@ -1,6 +1,6 @@
1
- import { InvoClient } from './chunk-MJAJXYFX.js';
2
- export { SDK_VERSION } from './chunk-VWUFSA6U.js';
3
- import { newEventId } from './chunk-HQLPT2DY.js';
1
+ import { InvoClient } from './chunk-PEYWNML4.js';
2
+ export { SDK_VERSION } from './chunk-6763YM7P.js';
3
+ import { newEventId } from './chunk-3BR7URPM.js';
4
4
 
5
5
  // src/game/client.ts
6
6
  var InvoGameError = class extends Error {
@@ -501,7 +501,7 @@ function sessionStorageSafe() {
501
501
 
502
502
  // src/game/ui.ts
503
503
  var STYLE_ID = "invo-ui-styles";
504
- var CONSOLE_URL = { sandbox: "https://dev.console.invo.network", production: "https://console.invo.network" };
504
+ var CONSOLE_URL = { sandbox: "https://console.invo.network/test", production: "https://console.invo.network" };
505
505
  var stroke = (d, size = 18) => `<svg viewBox="0 0 24 24" width="${size}" height="${size}" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true">${d}</svg>`;
506
506
  var ICONS = {
507
507
  plus: stroke('<path d="M12 5v14M5 12h14"/>', 14),
@@ -1,4 +1,4 @@
1
- import { A as ApproveResult, j as ConfirmReceiptResult } from './types-DUfQR48n.cjs';
1
+ import { A as ApproveResult, j as ConfirmReceiptResult } from './types-B4J9Ifd2.cjs';
2
2
 
3
3
  /** The four device-approval flows (`begin.flow`). */
4
4
  type HostedFlow = "transfer" | "send" | "send_receipt" | "transfer_receipt";
@@ -1,4 +1,4 @@
1
- import { A as ApproveResult, j as ConfirmReceiptResult } from './types-DUfQR48n.js';
1
+ import { A as ApproveResult, j as ConfirmReceiptResult } from './types-B4J9Ifd2.js';
2
2
 
3
3
  /** The four device-approval flows (`begin.flow`). */
4
4
  type HostedFlow = "transfer" | "send" | "send_receipt" | "transfer_receipt";
package/dist/index.cjs CHANGED
@@ -347,6 +347,17 @@ var InvoError = class _InvoError extends Error {
347
347
  get isPaymentsPaused() {
348
348
  return this.code === "PAYMENTS_PAUSED";
349
349
  }
350
+ /** The key belongs to the other INVO environment (`KEY_FOR_OTHER_ENVIRONMENT`, 401;
351
+ * additive, 3.34.0): a test key (`ivsdk_test_`) sent to production, or a live key
352
+ * (`ivsdk_live_`) sent to the sandbox. Never retried. Use the key for the environment
353
+ * you are calling, or point the SDK at the environment the key is for. The code is
354
+ * matched on any code field (`code`, `rawCode`, `publicCode`, or the body's
355
+ * `error_code` / `code`), since the 401 may carry a different `code`. */
356
+ get isKeyForOtherEnvironment() {
357
+ const C = "KEY_FOR_OTHER_ENVIRONMENT";
358
+ const b = this.bodyObject();
359
+ return this.code === C || this.rawCode === C || this.publicCode === C || b["error_code"] === C || b["code"] === C;
360
+ }
350
361
  /** A buyer-approved balance purchase cannot start (`BALANCE_UNAVAILABLE`, 400; 3.33.0):
351
362
  * the buyer is unknown here or their balance is short. One answer on purpose; the
352
363
  * balance is never disclosed. Offer another way to pay. */
@@ -832,7 +843,7 @@ var InvoError = class _InvoError extends Error {
832
843
  /**
833
844
  * True when a sandbox clock call was refused for a missing, wrong or never-issued
834
845
  * `X-Sandbox-Clock-Key` (`SANDBOX_CLOCK_UNAUTHORIZED`, 401). Reveal or rotate the key on
835
- * the game's Game Settings page in the sandbox console.
846
+ * the game's Game Settings page in the INVO console in test mode (console.invo.network/test).
836
847
  */
837
848
  get isSandboxClockUnauthorized() {
838
849
  return this.code === "SANDBOX_CLOCK_UNAUTHORIZED";
package/dist/index.d.cts CHANGED
@@ -1,7 +1,7 @@
1
- import { a as PurchaseStatusResult, b as PurchaseCredited, c as PurchaseExpired, d as PurchaseRefunded, e as PurchaseRefused, C as CheckoutClientConfig, H as Http, f as PurchaseStatusInput, g as CallOptions, W as WaitForPurchaseInput, M as MountCheckoutOptions, h as CheckoutMountHandle, i as ClientConfig, A as ApproveResult, j as ConfirmReceiptResult, k as PhoneChangeApprovalsResult, l as ApprovePhoneChangeInput, m as ApprovePhoneChangeResult, L as LinkDeviceResult, n as PendingCollectResult, o as DestinationsQuery, p as DestinationsResult, B as BalanceResult, q as LoyaltyCardsResult, r as LoyaltyVaultResult, R as RedeemRewardResult, s as RewardsPageLink, E as EnrollmentBeginResult, t as EnrollmentVerifyResult, u as RecoveryBeginResult, v as RecoveryCompleteResult } from './types-DUfQR48n.cjs';
2
- export { w as BalanceRow, x as CheckoutPurchaseStatus, y as ClaimDelivery, D as DestinationGame, I as InvoError, z as InvoErrorInfo, F as InvoHooks, G as InvoRequestInfo, J as InvoResponseInfo, K as LoyaltyCard, N as LoyaltyCardReward, O as LoyaltyCardStep, Q as LoyaltyRewardState, S as LoyaltyStepProgress, T as LoyaltyStepState, U as LoyaltyVaultEntry, P as PendingCollectItem, V as PhoneChangeApproval, X as PhoneChangeDeviceSignal, Y as PurchaseRefusalReason, Z as Rail, _ as VerificationMethod } from './types-DUfQR48n.cjs';
3
- import { a as ApproveHostedOptions, A as ApproveHostedResult } from './hosted-approval-CYqqberu.cjs';
4
- export { E as EnrollmentDecision, b as EnrollmentRespond, H as HostedApprovalStatus, c as HostedEnrollment, d as HostedEnrollmentInput, e as HostedFlow } from './hosted-approval-CYqqberu.cjs';
1
+ import { a as PurchaseStatusResult, b as PurchaseCredited, c as PurchaseExpired, d as PurchaseRefunded, e as PurchaseRefused, C as CheckoutClientConfig, H as Http, f as PurchaseStatusInput, g as CallOptions, W as WaitForPurchaseInput, M as MountCheckoutOptions, h as CheckoutMountHandle, i as ClientConfig, A as ApproveResult, j as ConfirmReceiptResult, k as PhoneChangeApprovalsResult, l as ApprovePhoneChangeInput, m as ApprovePhoneChangeResult, L as LinkDeviceResult, n as PendingCollectResult, o as DestinationsQuery, p as DestinationsResult, B as BalanceResult, q as LoyaltyCardsResult, r as LoyaltyVaultResult, R as RedeemRewardResult, s as RewardsPageLink, E as EnrollmentBeginResult, t as EnrollmentVerifyResult, u as RecoveryBeginResult, v as RecoveryCompleteResult } from './types-B4J9Ifd2.cjs';
2
+ export { w as BalanceRow, x as CheckoutPurchaseStatus, y as ClaimDelivery, D as DestinationGame, I as InvoError, z as InvoErrorInfo, F as InvoHooks, G as InvoRequestInfo, J as InvoResponseInfo, K as LoyaltyCard, N as LoyaltyCardReward, O as LoyaltyCardStep, Q as LoyaltyRewardState, S as LoyaltyStepProgress, T as LoyaltyStepState, U as LoyaltyVaultEntry, P as PendingCollectItem, V as PhoneChangeApproval, X as PhoneChangeDeviceSignal, Y as PurchaseRefusalReason, Z as Rail, _ as VerificationMethod } from './types-B4J9Ifd2.cjs';
3
+ import { a as ApproveHostedOptions, A as ApproveHostedResult } from './hosted-approval-B6yY7ExK.cjs';
4
+ export { E as EnrollmentDecision, b as EnrollmentRespond, H as HostedApprovalStatus, c as HostedEnrollment, d as HostedEnrollmentInput, e as HostedFlow } from './hosted-approval-B6yY7ExK.cjs';
5
5
  import { R as ReportGameEventInput, a as ReportGameEventResult } from './loyalty-events-CmDw2ZoR.cjs';
6
6
  export { G as GameEventType } from './loyalty-events-CmDw2ZoR.cjs';
7
7
 
package/dist/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
- import { a as PurchaseStatusResult, b as PurchaseCredited, c as PurchaseExpired, d as PurchaseRefunded, e as PurchaseRefused, C as CheckoutClientConfig, H as Http, f as PurchaseStatusInput, g as CallOptions, W as WaitForPurchaseInput, M as MountCheckoutOptions, h as CheckoutMountHandle, i as ClientConfig, A as ApproveResult, j as ConfirmReceiptResult, k as PhoneChangeApprovalsResult, l as ApprovePhoneChangeInput, m as ApprovePhoneChangeResult, L as LinkDeviceResult, n as PendingCollectResult, o as DestinationsQuery, p as DestinationsResult, B as BalanceResult, q as LoyaltyCardsResult, r as LoyaltyVaultResult, R as RedeemRewardResult, s as RewardsPageLink, E as EnrollmentBeginResult, t as EnrollmentVerifyResult, u as RecoveryBeginResult, v as RecoveryCompleteResult } from './types-DUfQR48n.js';
2
- export { w as BalanceRow, x as CheckoutPurchaseStatus, y as ClaimDelivery, D as DestinationGame, I as InvoError, z as InvoErrorInfo, F as InvoHooks, G as InvoRequestInfo, J as InvoResponseInfo, K as LoyaltyCard, N as LoyaltyCardReward, O as LoyaltyCardStep, Q as LoyaltyRewardState, S as LoyaltyStepProgress, T as LoyaltyStepState, U as LoyaltyVaultEntry, P as PendingCollectItem, V as PhoneChangeApproval, X as PhoneChangeDeviceSignal, Y as PurchaseRefusalReason, Z as Rail, _ as VerificationMethod } from './types-DUfQR48n.js';
3
- import { a as ApproveHostedOptions, A as ApproveHostedResult } from './hosted-approval-CL3DfrGS.js';
4
- export { E as EnrollmentDecision, b as EnrollmentRespond, H as HostedApprovalStatus, c as HostedEnrollment, d as HostedEnrollmentInput, e as HostedFlow } from './hosted-approval-CL3DfrGS.js';
1
+ import { a as PurchaseStatusResult, b as PurchaseCredited, c as PurchaseExpired, d as PurchaseRefunded, e as PurchaseRefused, C as CheckoutClientConfig, H as Http, f as PurchaseStatusInput, g as CallOptions, W as WaitForPurchaseInput, M as MountCheckoutOptions, h as CheckoutMountHandle, i as ClientConfig, A as ApproveResult, j as ConfirmReceiptResult, k as PhoneChangeApprovalsResult, l as ApprovePhoneChangeInput, m as ApprovePhoneChangeResult, L as LinkDeviceResult, n as PendingCollectResult, o as DestinationsQuery, p as DestinationsResult, B as BalanceResult, q as LoyaltyCardsResult, r as LoyaltyVaultResult, R as RedeemRewardResult, s as RewardsPageLink, E as EnrollmentBeginResult, t as EnrollmentVerifyResult, u as RecoveryBeginResult, v as RecoveryCompleteResult } from './types-B4J9Ifd2.js';
2
+ export { w as BalanceRow, x as CheckoutPurchaseStatus, y as ClaimDelivery, D as DestinationGame, I as InvoError, z as InvoErrorInfo, F as InvoHooks, G as InvoRequestInfo, J as InvoResponseInfo, K as LoyaltyCard, N as LoyaltyCardReward, O as LoyaltyCardStep, Q as LoyaltyRewardState, S as LoyaltyStepProgress, T as LoyaltyStepState, U as LoyaltyVaultEntry, P as PendingCollectItem, V as PhoneChangeApproval, X as PhoneChangeDeviceSignal, Y as PurchaseRefusalReason, Z as Rail, _ as VerificationMethod } from './types-B4J9Ifd2.js';
3
+ import { a as ApproveHostedOptions, A as ApproveHostedResult } from './hosted-approval-CZ5EYFlM.js';
4
+ export { E as EnrollmentDecision, b as EnrollmentRespond, H as HostedApprovalStatus, c as HostedEnrollment, d as HostedEnrollmentInput, e as HostedFlow } from './hosted-approval-CZ5EYFlM.js';
5
5
  import { R as ReportGameEventInput, a as ReportGameEventResult } from './loyalty-events-CmDw2ZoR.js';
6
6
  export { G as GameEventType } from './loyalty-events-CmDw2ZoR.js';
7
7
 
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- export { CheckoutClient, InvoClient, PlatformCommerceClient } from './chunk-MJAJXYFX.js';
2
- export { InvoError, isPurchaseCredited, isPurchaseExpired, isPurchaseRefunded, isPurchaseRefused, nothingWasCharged, phoneChangeSignalMessage } from './chunk-HQLPT2DY.js';
1
+ export { CheckoutClient, InvoClient, PlatformCommerceClient } from './chunk-PEYWNML4.js';
2
+ export { InvoError, isPurchaseCredited, isPurchaseExpired, isPurchaseRefunded, isPurchaseRefused, nothingWasCharged, phoneChangeSignalMessage } from './chunk-3BR7URPM.js';
3
3
  //# sourceMappingURL=index.js.map
4
4
  //# sourceMappingURL=index.js.map
@@ -1,6 +1,6 @@
1
- import { I as InvoError, H as Http, $ as AuthHeader, g as CallOptions, a0 as PlatformPurchaseInput, a1 as PlatformPurchaseResult, a2 as PlatformApprovalResult, a3 as PlatformOrderStatusResult, a4 as PlatformPurchaseHistoryQuery, a5 as PlatformPurchaseHistoryResult, a6 as PlatformRefundInput, a7 as PlatformRefundResult, a8 as CreateSubscriptionInput, a9 as SubscriptionResult, aa as GetSubscriptionOptions, ab as GetSubscriptionResult, ac as ListSubscriptionsOptions, ad as SubscriptionListResult, ae as CancelSubscriptionOptions, af as CancelResult, ag as ChangeAmountResult, ah as SetPaymentMethodInput, ai as SetPaymentMethodResult, aj as RefundSubscriptionInput, ak as RefundResult, al as SteamSubscriptionInitInput, am as SteamInitResult, an as SteamFinalizeSubscriptionResult, ao as CardSetupSessionInput, ap as CardSetupSessionResult, aq as CardSetupInput, ar as CardSetupResult, as as CardSetupConfirmInput, at as CardSetupConfirmResult, au as PlayerCardsResult, av as SandboxClockResult, aw as SandboxFailureOutcome, ax as SandboxForceFailureOptions, ay as SandboxForceAuthChallengeOptions, az as ServerConfig, aA as MintPlayerTokenInput, aB as PlayerToken, aC as RegisterPlayerInput, aD as RegisterPlayerResult, aE as UpdatePlayerPhoneInput, aF as UpdatePlayerPhoneResult, aG as RequestPhoneChangeInput, aH as RequestPhoneChangeResult, aI as PhoneChangeRequest, aJ as InitiateSendInput, aK as InitiateResult, aL as InitiateTransferInput, aM as CreateCheckoutInput, aN as CreateCheckoutResult, a as PurchaseStatusResult, aO as PurchaseInput, aP as PurchaseResult, aQ as CurrencyPurchaseQuoteInput, aR as CurrencyPurchaseQuote, aS as ConfirmPaymentResult, aT as OrderDetailsResult, aU as SteamPacksQuery, aV as SteamPacksResult, aW as SteamInitPurchaseInput, aX as SteamInitPurchaseResult, aY as SteamFinalizeInput, aZ as SteamFinalizeResult, a_ as PurchaseItemInput, a$ as PurchaseItemResult, b0 as ItemHistoryQuery, b1 as ItemHistoryResult, b2 as ItemOrderQuery, b3 as PlayerActivityQuery, b4 as PlayerActivityResult, b5 as PlayerActivityEntry, b6 as PlayerBalanceQuery, b7 as PlayerBalanceResult, q as LoyaltyCardsResult, b8 as InboundPendingQuery, b9 as InboundPendingResult, ba as LinkedIdentitiesQuery, bb as LinkedIdentitiesResult, bc as SmsVerifyResult, bd as ClaimTransferInput, be as ClaimResult, bf as ClaimCurrencyInput, bg as TransactionStatusResult, bh as GuardianApprovalStatusResult, bi as ServerDestinationsQuery, p as DestinationsResult, bj as PhoneShareContact, bk as PhoneShareInitiateResult, bl as PhoneShareApproveInput, bm as PhoneShareApproveResult, bn as PhoneShareStatusResult, bo as BeginDeviceApprovalInput, bp as DeviceApprovalGrant, bq as PollDeviceApprovalInput, br as DeviceApprovalPollResult, bs as ConfirmDeviceEnrollmentInput, bt as ConfirmDeviceEnrollmentResult, bu as ApproveWithDeviceCodeInput, bv as DeviceApprovalSettleResult, bw as CompleteDeviceApprovalInput, bx as CompleteDeviceApprovalResult } from './types-DUfQR48n.cjs';
1
+ import { I as InvoError, H as Http, $ as AuthHeader, g as CallOptions, a0 as PlatformPurchaseInput, a1 as PlatformPurchaseResult, a2 as PlatformApprovalResult, a3 as PlatformOrderStatusResult, a4 as PlatformPurchaseHistoryQuery, a5 as PlatformPurchaseHistoryResult, a6 as PlatformRefundInput, a7 as PlatformRefundResult, a8 as CreateSubscriptionInput, a9 as SubscriptionResult, aa as GetSubscriptionOptions, ab as GetSubscriptionResult, ac as ListSubscriptionsOptions, ad as SubscriptionListResult, ae as CancelSubscriptionOptions, af as CancelResult, ag as ChangeAmountResult, ah as SetPaymentMethodInput, ai as SetPaymentMethodResult, aj as RefundSubscriptionInput, ak as RefundResult, al as SteamSubscriptionInitInput, am as SteamInitResult, an as SteamFinalizeSubscriptionResult, ao as CardSetupSessionInput, ap as CardSetupSessionResult, aq as CardSetupInput, ar as CardSetupResult, as as CardSetupConfirmInput, at as CardSetupConfirmResult, au as PlayerCardsResult, av as SandboxClockResult, aw as SandboxFailureOutcome, ax as SandboxForceFailureOptions, ay as SandboxForceAuthChallengeOptions, az as ServerConfig, aA as MintPlayerTokenInput, aB as PlayerToken, aC as RegisterPlayerInput, aD as RegisterPlayerResult, aE as UpdatePlayerPhoneInput, aF as UpdatePlayerPhoneResult, aG as RequestPhoneChangeInput, aH as RequestPhoneChangeResult, aI as PhoneChangeRequest, aJ as InitiateSendInput, aK as InitiateResult, aL as InitiateTransferInput, aM as CreateCheckoutInput, aN as CreateCheckoutResult, a as PurchaseStatusResult, aO as PurchaseInput, aP as PurchaseResult, aQ as CurrencyPurchaseQuoteInput, aR as CurrencyPurchaseQuote, aS as ConfirmPaymentResult, aT as OrderDetailsResult, aU as SteamPacksQuery, aV as SteamPacksResult, aW as SteamInitPurchaseInput, aX as SteamInitPurchaseResult, aY as SteamFinalizeInput, aZ as SteamFinalizeResult, a_ as PurchaseItemInput, a$ as PurchaseItemResult, b0 as ItemHistoryQuery, b1 as ItemHistoryResult, b2 as ItemOrderQuery, b3 as PlayerActivityQuery, b4 as PlayerActivityResult, b5 as PlayerActivityEntry, b6 as PlayerBalanceQuery, b7 as PlayerBalanceResult, q as LoyaltyCardsResult, b8 as InboundPendingQuery, b9 as InboundPendingResult, ba as LinkedIdentitiesQuery, bb as LinkedIdentitiesResult, bc as SmsVerifyResult, bd as ClaimTransferInput, be as ClaimResult, bf as ClaimCurrencyInput, bg as TransactionStatusResult, bh as GuardianApprovalStatusResult, bi as ServerDestinationsQuery, p as DestinationsResult, bj as PhoneShareContact, bk as PhoneShareInitiateResult, bl as PhoneShareApproveInput, bm as PhoneShareApproveResult, bn as PhoneShareStatusResult, bo as BeginDeviceApprovalInput, bp as DeviceApprovalGrant, bq as PollDeviceApprovalInput, br as DeviceApprovalPollResult, bs as ConfirmDeviceEnrollmentInput, bt as ConfirmDeviceEnrollmentResult, bu as ApproveWithDeviceCodeInput, bv as DeviceApprovalSettleResult, bw as CompleteDeviceApprovalInput, bx as CompleteDeviceApprovalResult } from './types-B4J9Ifd2.cjs';
2
2
  import { b as ReportServerGameEventInput, a as ReportGameEventResult } from './loyalty-events-CmDw2ZoR.cjs';
3
- import './version-DKfrEYU1.cjs';
3
+ import './version-DB2wgiPY.cjs';
4
4
 
5
5
  /**
6
6
  * Pick the INVO environment from the game secret alone (3.28.0).
@@ -10,13 +10,46 @@ import './version-DKfrEYU1.cjs';
10
10
  * your code changes.
11
11
  *
12
12
  * - The public demo key starts with `ivsdk_demo_`: always the sandbox, no network call.
13
- * - Any other key: INVO is asked once (`GET /api/sdk/key-environment`), production first,
14
- * then the sandbox. The answer is cached per key for the life of the process.
13
+ * - A test key starts with `ivsdk_test_`: always the sandbox, no network call (3.34.0).
14
+ * - A live key starts with `ivsdk_live_`: always production, no network call (3.34.0).
15
+ * - Any other key (the original `ivsdk_...` keys, which keep working): INVO is asked once
16
+ * (`GET /api/sdk/key-environment`), production first, then the sandbox. The answer is
17
+ * cached per key for the life of the process.
15
18
  */
16
19
  declare const PRODUCTION_BASE_URL = "https://invo.network";
17
20
  declare const SANDBOX_BASE_URL = "https://sandbox.invo.network/sandbox";
18
21
  declare const DEMO_KEY_PREFIX = "ivsdk_demo_";
22
+ /** Keys for the sandbox (3.34.0). */
23
+ declare const TEST_KEY_PREFIX = "ivsdk_test_";
24
+ /** Keys for production (3.34.0). */
25
+ declare const LIVE_KEY_PREFIX = "ivsdk_live_";
19
26
  type InvoEnvironment = "production" | "sandbox";
27
+ /**
28
+ * The environment a key's prefix names, with no network call (3.34.0): `"production"` for
29
+ * `ivsdk_live_`, `"sandbox"` for `ivsdk_test_` and the public demo key `ivsdk_demo_`, and
30
+ * `null` for any other key (an unprefixed `ivsdk_...` key is looked up with
31
+ * {@link resolveEnvironment}).
32
+ */
33
+ declare function environmentFromKeyPrefix(gameSecret: string | undefined | null): InvoEnvironment | null;
34
+ /**
35
+ * The INVO environment a base URL points at, or `null` when it is not one of INVO's hosts
36
+ * (your own proxy, `localhost`, anything else) (3.34.0). `sandbox.invo.network` is the
37
+ * sandbox; `invo.network` (and `www.`) is production, unless its path starts with
38
+ * `/sandbox`. A trailing slash or an `/api` suffix makes no difference.
39
+ */
40
+ declare function environmentForBaseUrl(baseUrl: string | undefined | null): InvoEnvironment | null;
41
+ /**
42
+ * A prefixed key (`ivsdk_live_` / `ivsdk_test_`) was configured against the other INVO
43
+ * environment (3.34.0). Thrown at construction, before any request. The message says what
44
+ * to change.
45
+ */
46
+ declare class KeyEnvironmentMismatchError extends Error {
47
+ /** The environment the key's prefix names. */
48
+ readonly keyEnvironment: InvoEnvironment;
49
+ /** The environment the configuration points at. */
50
+ readonly configuredEnvironment: InvoEnvironment;
51
+ constructor(message: string, keyEnvironment: InvoEnvironment, configuredEnvironment: InvoEnvironment);
52
+ }
20
53
  /** Neither environment recognised the key, or INVO could not be reached. */
21
54
  declare class EnvironmentUnknownError extends Error {
22
55
  constructor(message: string);
@@ -1543,8 +1576,8 @@ declare class CardsServer {
1543
1576
  * `/subscriptions/<id>/...` relative to it. They do not exist in production (404).
1544
1577
  *
1545
1578
  * **Second credential.** Every call sends `X-Game-Secret-Key` AND `X-Sandbox-Clock-Key`
1546
- * (`new InvoServer({ ..., sandboxClockKey })`, from the sandbox console: open the game,
1547
- * Game Settings, "Sandbox clock key"). A missing key throws `INVALID_INPUT` before the
1579
+ * (`new InvoServer({ ..., sandboxClockKey })`, from the INVO console in test mode (console.invo.network/test):
1580
+ * open the game, Game Settings, "Sandbox clock key"). A missing key throws `INVALID_INPUT` before the
1548
1581
  * network; a wrong one is `401 SANDBOX_CLOCK_UNAUTHORIZED` (`err.isSandboxClockUnauthorized`).
1549
1582
  * None of these calls is auto-retried: each one moves the clock or runs the engine.
1550
1583
  */
@@ -2215,4 +2248,4 @@ declare class InvoServer {
2215
2248
  private toInitiateResult;
2216
2249
  }
2217
2250
 
2218
- export { type SubscriptionRenewedData as $, type RegisterPayeeResult as A, type RequestPayoutInput as B, CardsServer as C, DEMO_KEY_PREFIX as D, EnvironmentUnknownError as E, type RequestPayoutResult as F, type ReturnReasonCode as G, SandboxServer as H, InvoServer as I, SandboxSubscriptionsServer as J, type SubscriptionAuthenticationRequiredData as K, type ListPayeesQuery as L, type SubscriptionCanceledData as M, type SubscriptionEventCommon as N, type SubscriptionExpiredData as O, PRODUCTION_BASE_URL as P, type SubscriptionPastDueData as Q, type RegisterPayeeInput as R, SANDBOX_BASE_URL as S, type SubscriptionPaymentFailedData as T, type SubscriptionRefundApprovedData as U, type SubscriptionRefundDetail as V, type SubscriptionRefundRejectedData as W, type SubscriptionRefundRequestData as X, type SubscriptionRefundedData as Y, type SubscriptionRenewalFunding as Z, type SubscriptionRenewalSplit as _, type InvoEnvironment as a, type SubscriptionRevenueShareAttribution as a0, type SubscriptionTrialEventFields as a1, SubscriptionsServer as a2, type TransferEventData as a3, type VerifyWebhookOptions as a4, type WebhookHandlerOptions as a5, createWebhookHandler as a6, verifyWebhook as a7, verifyWebhookAsync as a8, baseUrlForKey as b, type IdentityPasskeyResetData as c, type InvoWebhookEvent as d, type ItemPurchasedData as e, type ListPayeesResult as f, type ListPayoutsQuery as g, type ListPayoutsResult as h, isDemoKey as i, type PayableBlocker as j, type Payee as k, type PayeeInvite as l, type PayeeStatus as m, type PayeeStatusChangedData as n, type Payout as o, type PayoutStatus as p, type PayoutStatusChangedData as q, resolveEnvironment as r, PayoutsServer as s, type PlatformCommercePurchasedData as t, type PlatformCommerceRefundedData as u, verifyInvoSignature as v, PlatformCommerceServer as w, type PlayerPhoneChangedData as x, type PurchaseCompletedData as y, type PurchaseEventData as z };
2251
+ export { type SubscriptionRefundRejectedData as $, type PlayerPhoneChangedData as A, type PurchaseCompletedData as B, CardsServer as C, DEMO_KEY_PREFIX as D, EnvironmentUnknownError as E, type PurchaseEventData as F, type RegisterPayeeResult as G, type RequestPayoutInput as H, InvoServer as I, type RequestPayoutResult as J, KeyEnvironmentMismatchError as K, LIVE_KEY_PREFIX as L, type ReturnReasonCode as M, SandboxServer as N, SandboxSubscriptionsServer as O, PRODUCTION_BASE_URL as P, type SubscriptionAuthenticationRequiredData as Q, type RegisterPayeeInput as R, SANDBOX_BASE_URL as S, TEST_KEY_PREFIX as T, type SubscriptionCanceledData as U, type SubscriptionEventCommon as V, type SubscriptionExpiredData as W, type SubscriptionPastDueData as X, type SubscriptionPaymentFailedData as Y, type SubscriptionRefundApprovedData as Z, type SubscriptionRefundDetail as _, type InvoEnvironment as a, type SubscriptionRefundRequestData as a0, type SubscriptionRefundedData as a1, type SubscriptionRenewalFunding as a2, type SubscriptionRenewalSplit as a3, type SubscriptionRenewedData as a4, type SubscriptionRevenueShareAttribution as a5, type SubscriptionTrialEventFields as a6, SubscriptionsServer as a7, type TransferEventData as a8, type VerifyWebhookOptions as a9, type WebhookHandlerOptions as aa, createWebhookHandler as ab, verifyWebhook as ac, verifyWebhookAsync as ad, baseUrlForKey as b, environmentFromKeyPrefix as c, type IdentityPasskeyResetData as d, environmentForBaseUrl as e, type InvoWebhookEvent as f, type ItemPurchasedData as g, type ListPayeesQuery as h, isDemoKey as i, type ListPayeesResult as j, type ListPayoutsQuery as k, type ListPayoutsResult as l, type PayableBlocker as m, type Payee as n, type PayeeInvite as o, type PayeeStatus as p, type PayeeStatusChangedData as q, resolveEnvironment as r, type Payout as s, type PayoutStatus as t, type PayoutStatusChangedData as u, verifyInvoSignature as v, PayoutsServer as w, type PlatformCommercePurchasedData as x, type PlatformCommerceRefundedData as y, PlatformCommerceServer as z };
@@ -1,6 +1,6 @@
1
- import { I as InvoError, H as Http, $ as AuthHeader, g as CallOptions, a0 as PlatformPurchaseInput, a1 as PlatformPurchaseResult, a2 as PlatformApprovalResult, a3 as PlatformOrderStatusResult, a4 as PlatformPurchaseHistoryQuery, a5 as PlatformPurchaseHistoryResult, a6 as PlatformRefundInput, a7 as PlatformRefundResult, a8 as CreateSubscriptionInput, a9 as SubscriptionResult, aa as GetSubscriptionOptions, ab as GetSubscriptionResult, ac as ListSubscriptionsOptions, ad as SubscriptionListResult, ae as CancelSubscriptionOptions, af as CancelResult, ag as ChangeAmountResult, ah as SetPaymentMethodInput, ai as SetPaymentMethodResult, aj as RefundSubscriptionInput, ak as RefundResult, al as SteamSubscriptionInitInput, am as SteamInitResult, an as SteamFinalizeSubscriptionResult, ao as CardSetupSessionInput, ap as CardSetupSessionResult, aq as CardSetupInput, ar as CardSetupResult, as as CardSetupConfirmInput, at as CardSetupConfirmResult, au as PlayerCardsResult, av as SandboxClockResult, aw as SandboxFailureOutcome, ax as SandboxForceFailureOptions, ay as SandboxForceAuthChallengeOptions, az as ServerConfig, aA as MintPlayerTokenInput, aB as PlayerToken, aC as RegisterPlayerInput, aD as RegisterPlayerResult, aE as UpdatePlayerPhoneInput, aF as UpdatePlayerPhoneResult, aG as RequestPhoneChangeInput, aH as RequestPhoneChangeResult, aI as PhoneChangeRequest, aJ as InitiateSendInput, aK as InitiateResult, aL as InitiateTransferInput, aM as CreateCheckoutInput, aN as CreateCheckoutResult, a as PurchaseStatusResult, aO as PurchaseInput, aP as PurchaseResult, aQ as CurrencyPurchaseQuoteInput, aR as CurrencyPurchaseQuote, aS as ConfirmPaymentResult, aT as OrderDetailsResult, aU as SteamPacksQuery, aV as SteamPacksResult, aW as SteamInitPurchaseInput, aX as SteamInitPurchaseResult, aY as SteamFinalizeInput, aZ as SteamFinalizeResult, a_ as PurchaseItemInput, a$ as PurchaseItemResult, b0 as ItemHistoryQuery, b1 as ItemHistoryResult, b2 as ItemOrderQuery, b3 as PlayerActivityQuery, b4 as PlayerActivityResult, b5 as PlayerActivityEntry, b6 as PlayerBalanceQuery, b7 as PlayerBalanceResult, q as LoyaltyCardsResult, b8 as InboundPendingQuery, b9 as InboundPendingResult, ba as LinkedIdentitiesQuery, bb as LinkedIdentitiesResult, bc as SmsVerifyResult, bd as ClaimTransferInput, be as ClaimResult, bf as ClaimCurrencyInput, bg as TransactionStatusResult, bh as GuardianApprovalStatusResult, bi as ServerDestinationsQuery, p as DestinationsResult, bj as PhoneShareContact, bk as PhoneShareInitiateResult, bl as PhoneShareApproveInput, bm as PhoneShareApproveResult, bn as PhoneShareStatusResult, bo as BeginDeviceApprovalInput, bp as DeviceApprovalGrant, bq as PollDeviceApprovalInput, br as DeviceApprovalPollResult, bs as ConfirmDeviceEnrollmentInput, bt as ConfirmDeviceEnrollmentResult, bu as ApproveWithDeviceCodeInput, bv as DeviceApprovalSettleResult, bw as CompleteDeviceApprovalInput, bx as CompleteDeviceApprovalResult } from './types-DUfQR48n.js';
1
+ import { I as InvoError, H as Http, $ as AuthHeader, g as CallOptions, a0 as PlatformPurchaseInput, a1 as PlatformPurchaseResult, a2 as PlatformApprovalResult, a3 as PlatformOrderStatusResult, a4 as PlatformPurchaseHistoryQuery, a5 as PlatformPurchaseHistoryResult, a6 as PlatformRefundInput, a7 as PlatformRefundResult, a8 as CreateSubscriptionInput, a9 as SubscriptionResult, aa as GetSubscriptionOptions, ab as GetSubscriptionResult, ac as ListSubscriptionsOptions, ad as SubscriptionListResult, ae as CancelSubscriptionOptions, af as CancelResult, ag as ChangeAmountResult, ah as SetPaymentMethodInput, ai as SetPaymentMethodResult, aj as RefundSubscriptionInput, ak as RefundResult, al as SteamSubscriptionInitInput, am as SteamInitResult, an as SteamFinalizeSubscriptionResult, ao as CardSetupSessionInput, ap as CardSetupSessionResult, aq as CardSetupInput, ar as CardSetupResult, as as CardSetupConfirmInput, at as CardSetupConfirmResult, au as PlayerCardsResult, av as SandboxClockResult, aw as SandboxFailureOutcome, ax as SandboxForceFailureOptions, ay as SandboxForceAuthChallengeOptions, az as ServerConfig, aA as MintPlayerTokenInput, aB as PlayerToken, aC as RegisterPlayerInput, aD as RegisterPlayerResult, aE as UpdatePlayerPhoneInput, aF as UpdatePlayerPhoneResult, aG as RequestPhoneChangeInput, aH as RequestPhoneChangeResult, aI as PhoneChangeRequest, aJ as InitiateSendInput, aK as InitiateResult, aL as InitiateTransferInput, aM as CreateCheckoutInput, aN as CreateCheckoutResult, a as PurchaseStatusResult, aO as PurchaseInput, aP as PurchaseResult, aQ as CurrencyPurchaseQuoteInput, aR as CurrencyPurchaseQuote, aS as ConfirmPaymentResult, aT as OrderDetailsResult, aU as SteamPacksQuery, aV as SteamPacksResult, aW as SteamInitPurchaseInput, aX as SteamInitPurchaseResult, aY as SteamFinalizeInput, aZ as SteamFinalizeResult, a_ as PurchaseItemInput, a$ as PurchaseItemResult, b0 as ItemHistoryQuery, b1 as ItemHistoryResult, b2 as ItemOrderQuery, b3 as PlayerActivityQuery, b4 as PlayerActivityResult, b5 as PlayerActivityEntry, b6 as PlayerBalanceQuery, b7 as PlayerBalanceResult, q as LoyaltyCardsResult, b8 as InboundPendingQuery, b9 as InboundPendingResult, ba as LinkedIdentitiesQuery, bb as LinkedIdentitiesResult, bc as SmsVerifyResult, bd as ClaimTransferInput, be as ClaimResult, bf as ClaimCurrencyInput, bg as TransactionStatusResult, bh as GuardianApprovalStatusResult, bi as ServerDestinationsQuery, p as DestinationsResult, bj as PhoneShareContact, bk as PhoneShareInitiateResult, bl as PhoneShareApproveInput, bm as PhoneShareApproveResult, bn as PhoneShareStatusResult, bo as BeginDeviceApprovalInput, bp as DeviceApprovalGrant, bq as PollDeviceApprovalInput, br as DeviceApprovalPollResult, bs as ConfirmDeviceEnrollmentInput, bt as ConfirmDeviceEnrollmentResult, bu as ApproveWithDeviceCodeInput, bv as DeviceApprovalSettleResult, bw as CompleteDeviceApprovalInput, bx as CompleteDeviceApprovalResult } from './types-B4J9Ifd2.js';
2
2
  import { b as ReportServerGameEventInput, a as ReportGameEventResult } from './loyalty-events-CmDw2ZoR.js';
3
- import './version-DKfrEYU1.js';
3
+ import './version-DB2wgiPY.js';
4
4
 
5
5
  /**
6
6
  * Pick the INVO environment from the game secret alone (3.28.0).
@@ -10,13 +10,46 @@ import './version-DKfrEYU1.js';
10
10
  * your code changes.
11
11
  *
12
12
  * - The public demo key starts with `ivsdk_demo_`: always the sandbox, no network call.
13
- * - Any other key: INVO is asked once (`GET /api/sdk/key-environment`), production first,
14
- * then the sandbox. The answer is cached per key for the life of the process.
13
+ * - A test key starts with `ivsdk_test_`: always the sandbox, no network call (3.34.0).
14
+ * - A live key starts with `ivsdk_live_`: always production, no network call (3.34.0).
15
+ * - Any other key (the original `ivsdk_...` keys, which keep working): INVO is asked once
16
+ * (`GET /api/sdk/key-environment`), production first, then the sandbox. The answer is
17
+ * cached per key for the life of the process.
15
18
  */
16
19
  declare const PRODUCTION_BASE_URL = "https://invo.network";
17
20
  declare const SANDBOX_BASE_URL = "https://sandbox.invo.network/sandbox";
18
21
  declare const DEMO_KEY_PREFIX = "ivsdk_demo_";
22
+ /** Keys for the sandbox (3.34.0). */
23
+ declare const TEST_KEY_PREFIX = "ivsdk_test_";
24
+ /** Keys for production (3.34.0). */
25
+ declare const LIVE_KEY_PREFIX = "ivsdk_live_";
19
26
  type InvoEnvironment = "production" | "sandbox";
27
+ /**
28
+ * The environment a key's prefix names, with no network call (3.34.0): `"production"` for
29
+ * `ivsdk_live_`, `"sandbox"` for `ivsdk_test_` and the public demo key `ivsdk_demo_`, and
30
+ * `null` for any other key (an unprefixed `ivsdk_...` key is looked up with
31
+ * {@link resolveEnvironment}).
32
+ */
33
+ declare function environmentFromKeyPrefix(gameSecret: string | undefined | null): InvoEnvironment | null;
34
+ /**
35
+ * The INVO environment a base URL points at, or `null` when it is not one of INVO's hosts
36
+ * (your own proxy, `localhost`, anything else) (3.34.0). `sandbox.invo.network` is the
37
+ * sandbox; `invo.network` (and `www.`) is production, unless its path starts with
38
+ * `/sandbox`. A trailing slash or an `/api` suffix makes no difference.
39
+ */
40
+ declare function environmentForBaseUrl(baseUrl: string | undefined | null): InvoEnvironment | null;
41
+ /**
42
+ * A prefixed key (`ivsdk_live_` / `ivsdk_test_`) was configured against the other INVO
43
+ * environment (3.34.0). Thrown at construction, before any request. The message says what
44
+ * to change.
45
+ */
46
+ declare class KeyEnvironmentMismatchError extends Error {
47
+ /** The environment the key's prefix names. */
48
+ readonly keyEnvironment: InvoEnvironment;
49
+ /** The environment the configuration points at. */
50
+ readonly configuredEnvironment: InvoEnvironment;
51
+ constructor(message: string, keyEnvironment: InvoEnvironment, configuredEnvironment: InvoEnvironment);
52
+ }
20
53
  /** Neither environment recognised the key, or INVO could not be reached. */
21
54
  declare class EnvironmentUnknownError extends Error {
22
55
  constructor(message: string);
@@ -1543,8 +1576,8 @@ declare class CardsServer {
1543
1576
  * `/subscriptions/<id>/...` relative to it. They do not exist in production (404).
1544
1577
  *
1545
1578
  * **Second credential.** Every call sends `X-Game-Secret-Key` AND `X-Sandbox-Clock-Key`
1546
- * (`new InvoServer({ ..., sandboxClockKey })`, from the sandbox console: open the game,
1547
- * Game Settings, "Sandbox clock key"). A missing key throws `INVALID_INPUT` before the
1579
+ * (`new InvoServer({ ..., sandboxClockKey })`, from the INVO console in test mode (console.invo.network/test):
1580
+ * open the game, Game Settings, "Sandbox clock key"). A missing key throws `INVALID_INPUT` before the
1548
1581
  * network; a wrong one is `401 SANDBOX_CLOCK_UNAUTHORIZED` (`err.isSandboxClockUnauthorized`).
1549
1582
  * None of these calls is auto-retried: each one moves the clock or runs the engine.
1550
1583
  */
@@ -2215,4 +2248,4 @@ declare class InvoServer {
2215
2248
  private toInitiateResult;
2216
2249
  }
2217
2250
 
2218
- export { type SubscriptionRenewedData as $, type RegisterPayeeResult as A, type RequestPayoutInput as B, CardsServer as C, DEMO_KEY_PREFIX as D, EnvironmentUnknownError as E, type RequestPayoutResult as F, type ReturnReasonCode as G, SandboxServer as H, InvoServer as I, SandboxSubscriptionsServer as J, type SubscriptionAuthenticationRequiredData as K, type ListPayeesQuery as L, type SubscriptionCanceledData as M, type SubscriptionEventCommon as N, type SubscriptionExpiredData as O, PRODUCTION_BASE_URL as P, type SubscriptionPastDueData as Q, type RegisterPayeeInput as R, SANDBOX_BASE_URL as S, type SubscriptionPaymentFailedData as T, type SubscriptionRefundApprovedData as U, type SubscriptionRefundDetail as V, type SubscriptionRefundRejectedData as W, type SubscriptionRefundRequestData as X, type SubscriptionRefundedData as Y, type SubscriptionRenewalFunding as Z, type SubscriptionRenewalSplit as _, type InvoEnvironment as a, type SubscriptionRevenueShareAttribution as a0, type SubscriptionTrialEventFields as a1, SubscriptionsServer as a2, type TransferEventData as a3, type VerifyWebhookOptions as a4, type WebhookHandlerOptions as a5, createWebhookHandler as a6, verifyWebhook as a7, verifyWebhookAsync as a8, baseUrlForKey as b, type IdentityPasskeyResetData as c, type InvoWebhookEvent as d, type ItemPurchasedData as e, type ListPayeesResult as f, type ListPayoutsQuery as g, type ListPayoutsResult as h, isDemoKey as i, type PayableBlocker as j, type Payee as k, type PayeeInvite as l, type PayeeStatus as m, type PayeeStatusChangedData as n, type Payout as o, type PayoutStatus as p, type PayoutStatusChangedData as q, resolveEnvironment as r, PayoutsServer as s, type PlatformCommercePurchasedData as t, type PlatformCommerceRefundedData as u, verifyInvoSignature as v, PlatformCommerceServer as w, type PlayerPhoneChangedData as x, type PurchaseCompletedData as y, type PurchaseEventData as z };
2251
+ export { type SubscriptionRefundRejectedData as $, type PlayerPhoneChangedData as A, type PurchaseCompletedData as B, CardsServer as C, DEMO_KEY_PREFIX as D, EnvironmentUnknownError as E, type PurchaseEventData as F, type RegisterPayeeResult as G, type RequestPayoutInput as H, InvoServer as I, type RequestPayoutResult as J, KeyEnvironmentMismatchError as K, LIVE_KEY_PREFIX as L, type ReturnReasonCode as M, SandboxServer as N, SandboxSubscriptionsServer as O, PRODUCTION_BASE_URL as P, type SubscriptionAuthenticationRequiredData as Q, type RegisterPayeeInput as R, SANDBOX_BASE_URL as S, TEST_KEY_PREFIX as T, type SubscriptionCanceledData as U, type SubscriptionEventCommon as V, type SubscriptionExpiredData as W, type SubscriptionPastDueData as X, type SubscriptionPaymentFailedData as Y, type SubscriptionRefundApprovedData as Z, type SubscriptionRefundDetail as _, type InvoEnvironment as a, type SubscriptionRefundRequestData as a0, type SubscriptionRefundedData as a1, type SubscriptionRenewalFunding as a2, type SubscriptionRenewalSplit as a3, type SubscriptionRenewedData as a4, type SubscriptionRevenueShareAttribution as a5, type SubscriptionTrialEventFields as a6, SubscriptionsServer as a7, type TransferEventData as a8, type VerifyWebhookOptions as a9, type WebhookHandlerOptions as aa, createWebhookHandler as ab, verifyWebhook as ac, verifyWebhookAsync as ad, baseUrlForKey as b, environmentFromKeyPrefix as c, type IdentityPasskeyResetData as d, environmentForBaseUrl as e, type InvoWebhookEvent as f, type ItemPurchasedData as g, type ListPayeesQuery as h, isDemoKey as i, type ListPayeesResult as j, type ListPayoutsQuery as k, type ListPayoutsResult as l, type PayableBlocker as m, type Payee as n, type PayeeInvite as o, type PayeeStatus as p, type PayeeStatusChangedData as q, resolveEnvironment as r, type Payout as s, type PayoutStatus as t, type PayoutStatusChangedData as u, verifyInvoSignature as v, PayoutsServer as w, type PlatformCommercePurchasedData as x, type PlatformCommerceRefundedData as y, PlatformCommerceServer as z };