Skip to content

Commit

Permalink
Merge pull request #24 from qonversion/release/0.2.1
Browse files Browse the repository at this point in the history
Release 0.2.1
  • Loading branch information
SpertsyanKM authored Jan 16, 2025
2 parents f77bbef + 2fef2e8 commit 66b5eae
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@qonversion/capacitor-plugin",
"version": "0.2.0",
"version": "0.2.1",
"description": "Qonversion provides full in-app purchases infrastructure, so you do not need to build your own server for receipt validation. Implement in-app subscriptions, validate user receipts, check subscription status, and provide access to your app features and content using our StoreKit wrapper and Google Play Billing wrapper.",
"main": "dist/plugin.cjs.js",
"module": "dist/esm/index.js",
Expand Down
4 changes: 2 additions & 2 deletions src/dto/RemoteConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ import {Experiment} from './Experiment';
import {RemoteConfigurationSource} from './RemoteConfigurationSource';

export class RemoteConfig {
payload: Map<string, Object>;
payload: Record<string, Object>;
experiment?: Experiment | null;
source: RemoteConfigurationSource;

constructor(payload: Map<string, Object>, experiment: Experiment | null, source: RemoteConfigurationSource) {
constructor(payload: Record<string, Object>, experiment: Experiment | null, source: RemoteConfigurationSource) {
this.payload = payload;
this.experiment = experiment;
this.source = source;
Expand Down
2 changes: 1 addition & 1 deletion src/internal/Mapper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ export type QUser = {
};

export type QRemoteConfig = {
payload: Map<string, Object>;
payload: Record<string, Object>;
experiment?: QExperiment | null;
source: QRemoteConfigurationSource;
};
Expand Down
2 changes: 1 addition & 1 deletion src/internal/QonversionInternal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import {PurchaseOptionsBuilder} from '../dto/PurchaseOptionsBuilder';
import {SKProductDiscount} from '../dto/storeProducts/SKProductDiscount';
import {PromotionalOffer} from '../dto/PromotionalOffer';

const sdkVersion = "0.2.0";
const sdkVersion = "0.2.1";

const entitlementsUpdatedEvent = 'entitlementsUpdatedEvent';
const promoPurchaseEvent = 'shouldPurchasePromoProductEvent';
Expand Down

0 comments on commit 66b5eae

Please sign in to comment.