@purchasely/cordova-plugin-purchasely 5.4.0 → 5.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/example/android.sh +1 -1
- package/example/ios.sh +1 -1
- package/example/package-lock.json +23 -113
- package/example/package.json +5 -5
- package/package.json +1 -1
- package/plugin.xml +2 -2
- package/www/Purchasely.js +1 -1
package/example/android.sh
CHANGED
|
@@ -3,6 +3,6 @@
|
|
|
3
3
|
cordova plugin remove @purchasely/cordova-plugin-purchasely
|
|
4
4
|
cordova plugin remove @purchasely/cordova-plugin-puchasely-google
|
|
5
5
|
cordova platform remove android
|
|
6
|
-
cordova platform add android@14.0.
|
|
6
|
+
cordova platform add android@14.0.1
|
|
7
7
|
cordova plugin add ../ --link
|
|
8
8
|
cordova plugin add ../../purchasely-google/ --link
|
package/example/ios.sh
CHANGED
|
@@ -12,14 +12,14 @@
|
|
|
12
12
|
"@purchasely/cordova-plugin-puchasely-google": "file:../../purchasely-google",
|
|
13
13
|
"@purchasely/cordova-plugin-purchasely": "file:..",
|
|
14
14
|
"cordova-android": "^14.0.0",
|
|
15
|
-
"cordova-ios": "^7.
|
|
15
|
+
"cordova-ios": "^7.1.1",
|
|
16
16
|
"cordova-plugin-puchasely-google": "file:../../purchasely-google",
|
|
17
17
|
"cordova-plugin-purchasely": "file:.."
|
|
18
18
|
}
|
|
19
19
|
},
|
|
20
20
|
"..": {
|
|
21
21
|
"name": "@purchasely/cordova-plugin-purchasely",
|
|
22
|
-
"version": "5.4.
|
|
22
|
+
"version": "5.4.1",
|
|
23
23
|
"dev": true,
|
|
24
24
|
"license": "ISC",
|
|
25
25
|
"engines": {
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
},
|
|
34
34
|
"../../purchasely-google": {
|
|
35
35
|
"name": "@purchasely/cordova-plugin-puchasely-google",
|
|
36
|
-
"version": "5.4.
|
|
36
|
+
"version": "5.4.1",
|
|
37
37
|
"dev": true,
|
|
38
38
|
"license": "ISC"
|
|
39
39
|
},
|
|
@@ -106,14 +106,11 @@
|
|
|
106
106
|
}
|
|
107
107
|
},
|
|
108
108
|
"node_modules/abbrev": {
|
|
109
|
-
"version": "
|
|
110
|
-
"resolved": "https://registry.npmjs.org/abbrev/-/abbrev-
|
|
111
|
-
"integrity": "sha512-
|
|
109
|
+
"version": "1.1.1",
|
|
110
|
+
"resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz",
|
|
111
|
+
"integrity": "sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==",
|
|
112
112
|
"dev": true,
|
|
113
|
-
"license": "ISC"
|
|
114
|
-
"engines": {
|
|
115
|
-
"node": "^14.17.0 || ^16.13.0 || >=18.0.0"
|
|
116
|
-
}
|
|
113
|
+
"license": "ISC"
|
|
117
114
|
},
|
|
118
115
|
"node_modules/android-versions": {
|
|
119
116
|
"version": "2.1.0",
|
|
@@ -309,21 +306,19 @@
|
|
|
309
306
|
}
|
|
310
307
|
},
|
|
311
308
|
"node_modules/cordova-ios": {
|
|
312
|
-
"version": "7.
|
|
313
|
-
"resolved": "https://registry.npmjs.org/cordova-ios/-/cordova-ios-7.
|
|
314
|
-
"integrity": "sha512-
|
|
309
|
+
"version": "7.1.1",
|
|
310
|
+
"resolved": "https://registry.npmjs.org/cordova-ios/-/cordova-ios-7.1.1.tgz",
|
|
311
|
+
"integrity": "sha512-JwTyPxWcAZlbIOR5QO6TaJzkoSzfrp7jrlX01bWZ7Sxp0PYXejAJbA6J0W4u11M+atrQRNimNltZDyAlSBW2tw==",
|
|
315
312
|
"dev": true,
|
|
316
313
|
"license": "Apache-2.0",
|
|
317
314
|
"dependencies": {
|
|
318
315
|
"cordova-common": "^5.0.0",
|
|
316
|
+
"elementtree": "^0.1.7",
|
|
319
317
|
"execa": "^5.1.1",
|
|
320
|
-
"fs-extra": "^11.1.1",
|
|
321
318
|
"ios-sim": "^8.0.2",
|
|
322
|
-
"nopt": "^7.1.0",
|
|
323
319
|
"plist": "^3.0.6",
|
|
324
320
|
"semver": "^7.4.0",
|
|
325
|
-
"
|
|
326
|
-
"which": "^3.0.0",
|
|
321
|
+
"which": "^4.0.0",
|
|
327
322
|
"xcode": "^3.0.1",
|
|
328
323
|
"xml-escape": "^1.1.0"
|
|
329
324
|
},
|
|
@@ -331,27 +326,20 @@
|
|
|
331
326
|
"node": ">=16.13.0"
|
|
332
327
|
}
|
|
333
328
|
},
|
|
334
|
-
"node_modules/cordova-ios/node_modules/isexe": {
|
|
335
|
-
"version": "2.0.0",
|
|
336
|
-
"resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz",
|
|
337
|
-
"integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==",
|
|
338
|
-
"dev": true,
|
|
339
|
-
"license": "ISC"
|
|
340
|
-
},
|
|
341
329
|
"node_modules/cordova-ios/node_modules/which": {
|
|
342
|
-
"version": "
|
|
343
|
-
"resolved": "https://registry.npmjs.org/which/-/which-
|
|
344
|
-
"integrity": "sha512-
|
|
330
|
+
"version": "4.0.0",
|
|
331
|
+
"resolved": "https://registry.npmjs.org/which/-/which-4.0.0.tgz",
|
|
332
|
+
"integrity": "sha512-GlaYyEb07DPxYCKhKzplCWBJtvxZcZMrL+4UkrTSJHHPyZU4mYYTv3qaOe77H7EODLSSopAUFAc6W8U4yqvscg==",
|
|
345
333
|
"dev": true,
|
|
346
334
|
"license": "ISC",
|
|
347
335
|
"dependencies": {
|
|
348
|
-
"isexe": "^
|
|
336
|
+
"isexe": "^3.1.1"
|
|
349
337
|
},
|
|
350
338
|
"bin": {
|
|
351
339
|
"node-which": "bin/which.js"
|
|
352
340
|
},
|
|
353
341
|
"engines": {
|
|
354
|
-
"node": "^
|
|
342
|
+
"node": "^16.13.0 || >=18.0.0"
|
|
355
343
|
}
|
|
356
344
|
},
|
|
357
345
|
"node_modules/cordova-plugin-puchasely-google": {
|
|
@@ -528,21 +516,6 @@
|
|
|
528
516
|
"node": ">=8"
|
|
529
517
|
}
|
|
530
518
|
},
|
|
531
|
-
"node_modules/fs-extra": {
|
|
532
|
-
"version": "11.3.2",
|
|
533
|
-
"resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.3.2.tgz",
|
|
534
|
-
"integrity": "sha512-Xr9F6z6up6Ws+NjzMCZc6WXg2YFRlrLP9NQDO3VQrWrfiojdhS56TzueT88ze0uBdCTwEIhQ3ptnmKeWGFAe0A==",
|
|
535
|
-
"dev": true,
|
|
536
|
-
"license": "MIT",
|
|
537
|
-
"dependencies": {
|
|
538
|
-
"graceful-fs": "^4.2.0",
|
|
539
|
-
"jsonfile": "^6.0.1",
|
|
540
|
-
"universalify": "^2.0.0"
|
|
541
|
-
},
|
|
542
|
-
"engines": {
|
|
543
|
-
"node": ">=14.14"
|
|
544
|
-
}
|
|
545
|
-
},
|
|
546
519
|
"node_modules/fs.realpath": {
|
|
547
520
|
"version": "1.0.0",
|
|
548
521
|
"resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz",
|
|
@@ -608,13 +581,6 @@
|
|
|
608
581
|
"node": ">= 6"
|
|
609
582
|
}
|
|
610
583
|
},
|
|
611
|
-
"node_modules/graceful-fs": {
|
|
612
|
-
"version": "4.2.11",
|
|
613
|
-
"resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz",
|
|
614
|
-
"integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==",
|
|
615
|
-
"dev": true,
|
|
616
|
-
"license": "ISC"
|
|
617
|
-
},
|
|
618
584
|
"node_modules/hasown": {
|
|
619
585
|
"version": "2.0.2",
|
|
620
586
|
"resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz",
|
|
@@ -686,13 +652,6 @@
|
|
|
686
652
|
"node": ">=6"
|
|
687
653
|
}
|
|
688
654
|
},
|
|
689
|
-
"node_modules/ios-sim/node_modules/abbrev": {
|
|
690
|
-
"version": "1.1.1",
|
|
691
|
-
"resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz",
|
|
692
|
-
"integrity": "sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==",
|
|
693
|
-
"dev": true,
|
|
694
|
-
"license": "ISC"
|
|
695
|
-
},
|
|
696
655
|
"node_modules/ios-sim/node_modules/bplist-parser": {
|
|
697
656
|
"version": "0.0.6",
|
|
698
657
|
"resolved": "https://registry.npmjs.org/bplist-parser/-/bplist-parser-0.0.6.tgz",
|
|
@@ -700,22 +659,6 @@
|
|
|
700
659
|
"dev": true,
|
|
701
660
|
"license": "MIT"
|
|
702
661
|
},
|
|
703
|
-
"node_modules/ios-sim/node_modules/nopt": {
|
|
704
|
-
"version": "1.0.9",
|
|
705
|
-
"resolved": "https://registry.npmjs.org/nopt/-/nopt-1.0.9.tgz",
|
|
706
|
-
"integrity": "sha512-CmUZ3rzN0/4kRHum5pGRiGkhmBMzgtEDxrZVHqRJDSv8qK6s+wzaig/xeyB22Due5aZQeTiEZg/nrmMH2tapDQ==",
|
|
707
|
-
"dev": true,
|
|
708
|
-
"license": "MIT",
|
|
709
|
-
"dependencies": {
|
|
710
|
-
"abbrev": "1"
|
|
711
|
-
},
|
|
712
|
-
"bin": {
|
|
713
|
-
"nopt": "bin/nopt.js"
|
|
714
|
-
},
|
|
715
|
-
"engines": {
|
|
716
|
-
"node": "*"
|
|
717
|
-
}
|
|
718
|
-
},
|
|
719
662
|
"node_modules/is-core-module": {
|
|
720
663
|
"version": "2.16.1",
|
|
721
664
|
"resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.16.1.tgz",
|
|
@@ -798,19 +741,6 @@
|
|
|
798
741
|
"node": ">=16"
|
|
799
742
|
}
|
|
800
743
|
},
|
|
801
|
-
"node_modules/jsonfile": {
|
|
802
|
-
"version": "6.2.0",
|
|
803
|
-
"resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.2.0.tgz",
|
|
804
|
-
"integrity": "sha512-FGuPw30AdOIUTRMC2OMRtQV+jkVj2cfPqSeWXv1NEAJ1qZ5zb1X6z1mFhbfOB/iy3ssJCD+3KuZ8r8C3uVFlAg==",
|
|
805
|
-
"dev": true,
|
|
806
|
-
"license": "MIT",
|
|
807
|
-
"dependencies": {
|
|
808
|
-
"universalify": "^2.0.0"
|
|
809
|
-
},
|
|
810
|
-
"optionalDependencies": {
|
|
811
|
-
"graceful-fs": "^4.1.6"
|
|
812
|
-
}
|
|
813
|
-
},
|
|
814
744
|
"node_modules/lodash": {
|
|
815
745
|
"version": "4.17.21",
|
|
816
746
|
"resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz",
|
|
@@ -880,19 +810,19 @@
|
|
|
880
810
|
}
|
|
881
811
|
},
|
|
882
812
|
"node_modules/nopt": {
|
|
883
|
-
"version": "
|
|
884
|
-
"resolved": "https://registry.npmjs.org/nopt/-/nopt-
|
|
885
|
-
"integrity": "sha512-
|
|
813
|
+
"version": "1.0.9",
|
|
814
|
+
"resolved": "https://registry.npmjs.org/nopt/-/nopt-1.0.9.tgz",
|
|
815
|
+
"integrity": "sha512-CmUZ3rzN0/4kRHum5pGRiGkhmBMzgtEDxrZVHqRJDSv8qK6s+wzaig/xeyB22Due5aZQeTiEZg/nrmMH2tapDQ==",
|
|
886
816
|
"dev": true,
|
|
887
|
-
"license": "
|
|
817
|
+
"license": "MIT",
|
|
888
818
|
"dependencies": {
|
|
889
|
-
"abbrev": "
|
|
819
|
+
"abbrev": "1"
|
|
890
820
|
},
|
|
891
821
|
"bin": {
|
|
892
822
|
"nopt": "bin/nopt.js"
|
|
893
823
|
},
|
|
894
824
|
"engines": {
|
|
895
|
-
"node": "
|
|
825
|
+
"node": "*"
|
|
896
826
|
}
|
|
897
827
|
},
|
|
898
828
|
"node_modules/npm-run-path": {
|
|
@@ -1330,26 +1260,6 @@
|
|
|
1330
1260
|
"node": ">=8.0"
|
|
1331
1261
|
}
|
|
1332
1262
|
},
|
|
1333
|
-
"node_modules/universalify": {
|
|
1334
|
-
"version": "2.0.1",
|
|
1335
|
-
"resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.1.tgz",
|
|
1336
|
-
"integrity": "sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw==",
|
|
1337
|
-
"dev": true,
|
|
1338
|
-
"license": "MIT",
|
|
1339
|
-
"engines": {
|
|
1340
|
-
"node": ">= 10.0.0"
|
|
1341
|
-
}
|
|
1342
|
-
},
|
|
1343
|
-
"node_modules/unorm": {
|
|
1344
|
-
"version": "1.6.0",
|
|
1345
|
-
"resolved": "https://registry.npmjs.org/unorm/-/unorm-1.6.0.tgz",
|
|
1346
|
-
"integrity": "sha512-b2/KCUlYZUeA7JFUuRJZPUtr4gZvBh7tavtv4fvk4+KV9pfGiR6CQAQAWl49ZpR3ts2dk4FYkP7EIgDJoiOLDA==",
|
|
1347
|
-
"dev": true,
|
|
1348
|
-
"license": "MIT or GPL-2.0",
|
|
1349
|
-
"engines": {
|
|
1350
|
-
"node": ">= 0.4.0"
|
|
1351
|
-
}
|
|
1352
|
-
},
|
|
1353
1263
|
"node_modules/untildify": {
|
|
1354
1264
|
"version": "4.0.0",
|
|
1355
1265
|
"resolved": "https://registry.npmjs.org/untildify/-/untildify-4.0.0.tgz",
|
package/example/package.json
CHANGED
|
@@ -16,18 +16,18 @@
|
|
|
16
16
|
"@purchasely/cordova-plugin-puchasely-google": "file:../../purchasely-google",
|
|
17
17
|
"@purchasely/cordova-plugin-purchasely": "file:..",
|
|
18
18
|
"cordova-android": "^14.0.0",
|
|
19
|
-
"cordova-ios": "^7.
|
|
19
|
+
"cordova-ios": "^7.1.1",
|
|
20
20
|
"cordova-plugin-puchasely-google": "file:../../purchasely-google",
|
|
21
21
|
"cordova-plugin-purchasely": "file:.."
|
|
22
22
|
},
|
|
23
23
|
"cordova": {
|
|
24
24
|
"plugins": {
|
|
25
|
-
"@purchasely/cordova-plugin-
|
|
26
|
-
"@purchasely/cordova-plugin-
|
|
25
|
+
"@purchasely/cordova-plugin-puchasely-google": {},
|
|
26
|
+
"@purchasely/cordova-plugin-purchasely": {}
|
|
27
27
|
},
|
|
28
28
|
"platforms": [
|
|
29
|
-
"
|
|
30
|
-
"
|
|
29
|
+
"android",
|
|
30
|
+
"ios"
|
|
31
31
|
]
|
|
32
32
|
}
|
|
33
33
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@purchasely/cordova-plugin-purchasely",
|
|
3
|
-
"version": "5.4.
|
|
3
|
+
"version": "5.4.1",
|
|
4
4
|
"description": "Purchasely is a solution to ease the integration and boost your In-App Purchases & Subscriptions on the App Store, Google Play Store, Amazon Appstore and Huawei App Gallery.",
|
|
5
5
|
"cordova": {
|
|
6
6
|
"id": "@purchasely/cordova-plugin-purchasely",
|
package/plugin.xml
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<?xml version='1.0' encoding='utf-8'?>
|
|
2
|
-
<plugin id="@purchasely/cordova-plugin-purchasely" version="5.4.
|
|
2
|
+
<plugin id="@purchasely/cordova-plugin-purchasely" version="5.4.1" xmlns="http://apache.org/cordova/ns/plugins/1.0" xmlns:android="http://schemas.android.com/apk/res/android">
|
|
3
3
|
<name>Purchasely</name>
|
|
4
4
|
<js-module name="Purchasely" src="www/Purchasely.js">
|
|
5
5
|
<clobbers target="Purchasely" />
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
<source url="https://github.com/CocoaPods/Specs.git"/>
|
|
39
39
|
</config>
|
|
40
40
|
<pods use-frameworks="true">
|
|
41
|
-
<pod name="Purchasely" spec="5.4.
|
|
41
|
+
<pod name="Purchasely" spec="5.4.2"/>
|
|
42
42
|
</pods>
|
|
43
43
|
</podspec>
|
|
44
44
|
</platform>
|
package/www/Purchasely.js
CHANGED
|
@@ -5,7 +5,7 @@ var defaultError = (e) => { console.log(e); }
|
|
|
5
5
|
exports.start = function (apiKey, stores, storekit1, userId, logLevel, runningMode, success, error) {
|
|
6
6
|
var cordovaSdkVersion = cordova.define.moduleMap['cordova/plugin_list'].exports['metadata']['cordova-plugin-purchasely']
|
|
7
7
|
if(!cordovaSdkVersion) {
|
|
8
|
-
cordovaSdkVersion = "5.4.
|
|
8
|
+
cordovaSdkVersion = "5.4.1";
|
|
9
9
|
}
|
|
10
10
|
exec(success, error, 'Purchasely', 'start', [apiKey, stores, storekit1, userId, logLevel, runningMode, cordovaSdkVersion]);
|
|
11
11
|
};
|