@stigg/js-client-sdk
Advanced tools
@@ -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>>; |
+2
-0
@@ -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 |
+1
-0
@@ -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
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
9187695
0.01%7734
0.06%+ Added
- Removed
Updated