import { Ctx as t } from "./accelbyte-widgets33.mjs";
import { CurrencyType as r, ItemType as i } from "./accelbyte-widgets185.mjs";
class a {
  static handleOrderCreationImplication(e) {
    if (e.itemSnapshot)
      switch (e.currency.currencyType) {
        case r.enum.VIRTUAL:
          t.getAppState().refreshWallet();
          break;
      }
  }
  static handleOrderFulfillmentImplication(e) {
    if (e.itemSnapshot)
      switch (e.itemSnapshot.itemType) {
        case i.enum.COINS:
          t.getAppState().refreshWallet();
          break;
      }
  }
}
a.AVOID_REDIRECT_TO_FILE_PROTOCOL = null;
export {
  a as OrderHelper
};
