You're Invited:Meet the Socket Team at RSAC and BSidesSF 2026, March 23–26.RSVP
Socket
Book a DemoSign in
Socket

@stigg/js-client-sdk

Package Overview
Dependencies
Maintainers
28
Versions
265
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@stigg/js-client-sdk - npm Package Compare versions

Comparing version
3.100.1
to
3.101.0
+1
-0
dist/api/CreditsApi.d.ts

@@ -6,2 +6,3 @@ import { ApolloClient, NormalizedCacheObject } from '@apollo/client/core';

constructor(client: ApolloClient<NormalizedCacheObject>);
/** @deprecated Use {@link getCreditEntitlement} instead. */
getCreditBalance(input: CreditBalanceSummaryInput): Promise<import("@apollo/client/core").ApolloQueryResult<GetCreditBalanceQuery>>;

@@ -8,0 +9,0 @@ getCreditGrants(input: GetCreditGrantsInput): Promise<import("@apollo/client/core").ApolloQueryResult<GetCreditGrantsQuery>>;

@@ -47,2 +47,3 @@ import { CreditsBalanceSummaryFragment, CreditUsageFragment, PaymentSessionFragment, SlimSubscriptionFragmentV2Fragment, SubscriptionInvoicePreviewFragment, UsageHistoryV2Fragment, UsageHistoryV2Input } from '@stigg/api-client-js';

getUsageHistoryV2(input: UsageHistoryV2Input): Promise<UsageHistoryV2Fragment>;
/** @deprecated Use {@link getCreditEntitlement} instead. */
getCreditBalance(input?: GetCreditBalanceInput): Promise<CreditsBalanceSummaryFragment>;

@@ -281,2 +282,3 @@ getCreditGrants(input: GetCreditGrantsInput): Promise<GetCreditGrantsResult>;

* Get credit balance
* @deprecated Use {@link getCreditEntitlement} instead.
* @return {Promise<CreditsBalanceSummaryFragment>} the credit balance data

@@ -283,0 +285,0 @@ * @param input - the input for the credit balance

@@ -667,2 +667,3 @@ import { BillingCadence, BillingModel, BillingPeriod, Currency, PricingType, PromotionalEntitlementStatus, SubscriptionStatus, SubscriptionQueryFragment, TrialPeriodUnits, ExperimentGroupType, CustomerPortalEntitlementFragment, CustomerPortalPromotionalEntitlementFragment, CustomerPortalSubscriptionFragment, CustomerPortalSubscriptionAddonFragment, CustomerPortalBillingInformationFragment, PaywallConfigurationFragment, CustomerPortalConfigurationFragment, WidgetType, CustomerPortalSubscriptionScheduledUpdateDataFragment, DiscountType, DiscountDurationType, PackageEntitlementFragment, PageInfoFragment, PaywallCurrencyFragment, FeatureType, MeterType, EntitlementResetPeriod, AccessDeniedReason, PaywallCalculatedPricePointsFragment, SubscriptionInvoiceFragment, PaymentCollection, PlanFragment, BillingVendorIdentifier, TiersMode, SubscriptionFutureUpdateDataFragment, PriceTierFragment, TotalPriceFragment, CheckoutConfigurationFragment, TypographyConfigurationFragment, BillingAddress, ScheduleStrategy, PaymentCollectionMethod, BudgetConfigurationInput, SubscriptionProrationBehavior, PaymentSessionInput, CreditBalanceSummaryInput, StripeCheckoutCredentialsFragment, ZuoraCheckoutCredentialsFragment, GetCreditGrantsInput as GetCreditGrantsInputGenerated, CreditLedgerInput, CreditUsageInput, CreditGrantFragment, CreditLedgerFragment, EntitlementsStateAccessDeniedReason, AutoRechargeSettingsFragment, GetAutoRechargeSettingsInput, SaveAutoRechargeSettingsInput, PackageEntitlementUnionFragment, EntitlementUnionFragment } from '@stigg/api-client-js';

export type GetCreditUsageInput = Omit<CreditUsageInput, 'customerId' | 'resourceId'>;
/** @deprecated Use {@link getCreditEntitlement} instead. */
export type GetCreditBalanceInput = Omit<CreditBalanceSummaryInput, 'customerId' | 'resourceId'>;

@@ -669,0 +670,0 @@ export type GetCreditGrantsInput = Omit<GetCreditGrantsInputGenerated, 'customerId' | 'resourceId'>;

@@ -41,2 +41,3 @@ import { Stigg, StiggClient } from './client';

getCustomer(): Promise<Customer>;
/** @deprecated Use {@link getCreditEntitlement} instead. */
getCreditBalance(): Promise<CreditsBalanceSummaryFragment>;

@@ -43,0 +44,0 @@ getCreditGrants(): Promise<GetCreditGrantsResult>;

+2
-2
{
"name": "@stigg/js-client-sdk",
"version": "3.100.1",
"version": "3.101.0",
"description": "Stigg client-side SDK for Browser",

@@ -39,3 +39,3 @@ "main": "dist/index.js",

"@sentry/browser": "^7.11.1",
"@stigg/api-client-js": "6.5.1",
"@stigg/api-client-js": "6.6.0",
"cross-fetch": "^3.1.6",

@@ -42,0 +42,0 @@ "dayjs": "^1.11.13",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display