All notable changes to this project will be documented in this file.
- Send authorization header for
getSignedMediaToken
conditionally
- Search string for
InPlayer.Payment.getSitePlans
can be any string
- Search string for
InPlayer.Payment.getSitePlans
appended without?
- Method
InPlayer.Payment.getSitePlans
- Method
InPlayer.Payment.getSitePlanPrices
- Method
InPlayer.Asset.getSiteEntitlements
- Updated
InPlayer.Payment.getBillingReceipt
response type to be blob moved outside of headers
- Updated
InPlayer.Payment.getBillingReceipt
response type to be blob
- Method
InPlayer.Payment.getPaymentHistory
- retrieves collection of payment history - Method
InPlayer.Payment.getBillingReceipt
- generates PDF document for given trxToken
- Corrected
options
type inRegisterField
- Added setConfig second parameter to allow for custom axios instance
- Modified type
CreatePaymentData
- Modified type
CreateSubscriptionData
- Modified type of
getAsset
method to align with changes from 3.13.16
- Modified
merchantUuid
parameter ingetAsset
method to be optional
- Added
getFeatureFlags
method andFeatureFlagData
type toAccount
module
- Updated TypeScript types for
Account
module to include Profiles methods and types
- Added
plan_switch_enabled
field toItem
type
- Updated
core-js
dependency to v3.19.2
- Updated request parameter type of exportData ('password' field is now optional)
- Updated request parameter types and response types for getPayPalParams
- Updated response types for getRegisterFields, getAssetAccessFees, getDiscount, getDefaultCreditCard and getPurchaseHistory
- Updated request parameter types for createPayment, createSubscription
- Fixed wrong Payment types
- Fixed undefined values for
getSignedMediaToken
method
- Axios version upgraded to newest
- New
Assets
methodgetSignedMediaToken
- New
Assets
methodgetAssetsInPackage
- Replaced watchlist history endpoint name with watch history
- Added missing type declarations
- New
Account
methods for handling account favorites and wachlist history from external source
- Added
address
param in direct debit payments method which is needed for specific coutries
- Introduced a new object
NFTs
with NFT-related endpoints
- Fixed AWS_IOT_URL for staging and production environments
- Updated AWS_IOT_URL for staging and production environments
- Updated AWS_IOT_URL for daily environment
- Add new method in Subscription that changes the existing subscription plan. The change can either be a downgrade or an upgrade.
- Add config object for daily environment
- Fixed wrong data types
- The type of getSubscription method parameter changed to string
- IOT token validity changed from 60 to 30 minutes
- Typedoc version upgraded to 0.22.4
- The view of our generated docs is changed, due to breaking changes introduces in typedoc 0.20.0 version
- Moved the directDebitSubscribe and idealSubscribe methods in subscription module and added deprecated description next to them in payments module
- Added more comprehensive description for methods parameters and responses
- Removed redundant getPaymentTools method
- New
Account
methods:synchWithExternalAccount
andupdateExternalAccount
- Due to breaking changes introduced in typedoc 0.20.0 version, the view of our generated docs has been broken. The typedoc version is reverted to 0.19.2.
- Encode password and confirm password in setNewPassword method due to special characters problem
- New account methods: Inplayer.Account.signInV2 and Inplayer.Account.signUpV2
- Code only optimizations: Use code_id instead of code to avoid duplicate sessions for multiple assets and remove redundant releaseAccessCode method
- New payment methods: InPlayer.Payment.googlePayPayment and InPlayer.Payment.applePayPayment
- Corrected the return types of
TokenStorage
methods in index.d.ts
- Remove token from localStorage after signOut
TokenStorage.overrides
object's methods and consequently all methods that use them can now be used asynchronously- Add optional request param donationId to createDonationPayment and confirmDonationPayment
- Add isAuthenticated to Account interface
- Account class properties
- Remove use of authenticatedGet in getDonationOptions method
- Change Account class properties to methods
- Donation endpoints (getDonationOptions, createDonationPayment, confirmDonationPayment)
- Removed isGift and receiverEmail params from Subscription.createSubscription method
- Remove register fields random query param
- New optional parameter type to Asset.getAssetsHistory method
- New optional parameters isGift and receiverEmail to Payment.createPayment and Subscription.createSubscription methods
- InPlayer.Account.isAuthenticated method
- Remove encodeURIComponent function (Code can't contain special characters)
- Remove redundant confirmIdealPayment and confirmIdealSubscribe methods
- Use encodeURIComponent to encode special code characters
- New optional parameter
product_name
to Payment.validatePayment method
- Added a new tokenStorage wrapper for non-web environments
- Re-added getToken and setToken methods
- Added a new method removeToken
- Remove unused IdealData interface
- New method Payment.validateReceipt
- Extended AccessFee with current_phase
- Remove redundant setToken method
- Revert axios version
- Rename request body parameter to data for deleteAccount
- Add endpoint for dataCaptureNoAuthAccess
- Add getAccessCodeSession method
- Add terminateSession method
- Change api endpoint for requestCodeAccess
- Add ideal subscribe method
- Ideal payment actions (idealPayment and confirmIdealPayment)
- Complete rewrite to TypeScript
- Add axios as HTTP client
- Extend the getDiscount object attribute with itemId
- Add status query param for getSubscriptions endpoint
- Add referrer param for SEPA payments
- Use v2 endpoint for fetching access fees
- InPlayer.Account.authenticate rename to InPlayer.Account.signIn
- InPlayer.Payment.create rename to InPlayer.Payment.createPayment
- InPlayer.Subscription.create rename to InPlayer.Subscription.createSubscription
- Extend the getDiscount object attribute with itemId
- Add ideal subscribe method
- Add referrer as idealPayment attribute
- Remove redundant ideal paymentMethod key
- Object parameter in confirmIdealPayment function is replaced with string parameter (sourceId)
- Display error message if source id is not defined
- Remove redundant DirectDebit paymentMethod key
- String parameter in confirmIdealPayment function is replaced with object parameter
- Ideal payment actions (idealPayment and confirmIdealPayment)
- Add missing props
uuid
andmerchant_uuid
in interfaceAccountInformationReturn
- Add status query param for getSubscriptions endpoint
- Use v2 endpoint for fetching access fees
- Test config
- Rename reportSSOtoken function param (retire to deactivate)
- Add string type to clientId parameter in refreshToken function
- Add missing expires property to the CreateAccout interface
- Branding id param to paypal payment
- Update the existing or add new types and interfaces
- Remove preinstall script
- Complete rewrite to TypeScript
- Add axios as HTTP client
- InPlayer.Account.authenticate rename to InPlayer.Account.signIn
- InPlayer.Payment.create rename to InPlayer.Payment.createPayment
- InPlayer.Subscription.create rename to InPlayer.Subscription.createSubscription
- v2.12.2 fixes published unsuccessfully
- Send authorization header in setDefaultCreditCard
- Rename returnUrl to return_url in Subscription.create
- Required returnUrl param to Payment.create
- Required returnUrl param to Subscription.create
- New confirmPayment method that accepts paymentIntentId for payment confirmation
- Remove optional dateOfBirth parameter from signUp method
- Add optional brandingId parameter in directDebitCharge and directDebitSubscribe methods
- Age verification methods in Account
- Add optional dateOfBirth parameter in signUp and updateAccount methods
- Remove response await in checkStatus
- Remove double await typo in Payments
- Fix isAuthenticated check in Notifications getIotToken
- Await checkStatus to include error response
- Direct Debit methods in Payments
- Update TypeScript types and definitions
- Update TypeScript types and definitions
- Update TypeScript types and definitions
- Add TypeScript types and definitions
- Throw error if call not successful for getDefaultCreditCard and setDefaultCreditCard
- Throw error if call not successful for getDefaultCreditCard and setDefaultCreditCard
- Add getDefaultCreditCard and setDefaultCreditCard methods
- Update examples in Docs
- Rename endpoints in API config to match methods
- Security: Update npm dependencies
- Eslint warnings in tests
- Security: Update npm dependencies
- Add getSubscriptions method missing params to docs