Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

capacitor-adapty

Package Overview
Dependencies
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

capacitor-adapty - npm Package Compare versions

Comparing version 4.0.2 to 4.0.3

2

dist/esm/index.js

@@ -12,3 +12,3 @@ import { registerPlugin } from '@capacitor/core';

const CapacitorAdapty = registerPlugin('Adapty', {});
const LIB_VERSION = "4.0.2";
const LIB_VERSION = "4.0.3";
class Adapty {

@@ -15,0 +15,0 @@ constructor() {

@@ -7,6 +7,11 @@ class PromiseQueue {

async enqueue(task) {
const completionPromise = new Promise(resolve => {
const completionPromise = new Promise((resolve, reject) => {
const wrapped = async () => {
await task();
resolve();
try {
await task();
resolve();
}
catch (error) {
reject(error);
}
};

@@ -13,0 +18,0 @@ this.queue.push(wrapped);

@@ -27,3 +27,2 @@ import { __rest } from 'tslib';

}
console.log('updateProfile', profile, params);
return params;

@@ -30,0 +29,0 @@ }

@@ -249,3 +249,2 @@ 'use strict';

}
console.log('updateProfile', profile, params);
return params;

@@ -269,6 +268,11 @@ }

async enqueue(task) {
const completionPromise = new Promise(resolve => {
const completionPromise = new Promise((resolve, reject) => {
const wrapped = async () => {
await task();
resolve();
try {
await task();
resolve();
}
catch (error) {
reject(error);
}
};

@@ -467,3 +471,3 @@ this.queue.push(wrapped);

const CapacitorAdapty = core.registerPlugin('Adapty', {});
const LIB_VERSION = "4.0.2";
const LIB_VERSION = "4.0.3";
class Adapty {

@@ -470,0 +474,0 @@ constructor() {

@@ -248,3 +248,2 @@ var capacitorAdapty = (function (exports, core) {

}
console.log('updateProfile', profile, params);
return params;

@@ -268,6 +267,11 @@ }

async enqueue(task) {
const completionPromise = new Promise(resolve => {
const completionPromise = new Promise((resolve, reject) => {
const wrapped = async () => {
await task();
resolve();
try {
await task();
resolve();
}
catch (error) {
reject(error);
}
};

@@ -466,3 +470,3 @@ this.queue.push(wrapped);

const CapacitorAdapty = core.registerPlugin('Adapty', {});
const LIB_VERSION = "4.0.2";
const LIB_VERSION = "4.0.3";
class Adapty {

@@ -469,0 +473,0 @@ constructor() {

{
"name": "capacitor-adapty",
"version": "4.0.2",
"version": "4.0.3",
"description": "Adapty plugin for capacitor",

@@ -5,0 +5,0 @@ "main": "dist/plugin.cjs.js",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc