@purchasely/cordova-plugin-purchasely 5.6.2 → 5.7.2
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/package-lock.json +30 -1
- package/example/package.json +2 -3
- package/package.json +4 -4
- package/plugin.xml +4 -3
- package/src/android/build-extras.gradle +7 -0
- package/www/Purchasely.js +1 -1
|
@@ -22,6 +22,9 @@
|
|
|
22
22
|
"version": "5.6.2",
|
|
23
23
|
"dev": true,
|
|
24
24
|
"license": "ISC",
|
|
25
|
+
"devDependencies": {
|
|
26
|
+
"jest": "^29.7.0"
|
|
27
|
+
},
|
|
25
28
|
"engines": {
|
|
26
29
|
"cordovaDependencies": {
|
|
27
30
|
"1.0.0": {
|
|
@@ -157,6 +160,8 @@
|
|
|
157
160
|
},
|
|
158
161
|
"node_modules/bplist-creator": {
|
|
159
162
|
"version": "0.1.0",
|
|
163
|
+
"resolved": "https://registry.npmjs.org/bplist-creator/-/bplist-creator-0.1.0.tgz",
|
|
164
|
+
"integrity": "sha512-sXaHZicyEEmY86WyueLTQesbeoH/mquvarJaQNbjuOQO+7gbFcDEWqKmcWA4cOTLzFlfgvkiVxolk1k5bBIpmg==",
|
|
160
165
|
"dev": true,
|
|
161
166
|
"license": "MIT",
|
|
162
167
|
"dependencies": {
|
|
@@ -235,6 +240,8 @@
|
|
|
235
240
|
},
|
|
236
241
|
"node_modules/cordova-ios": {
|
|
237
242
|
"version": "8.0.0",
|
|
243
|
+
"resolved": "https://registry.npmjs.org/cordova-ios/-/cordova-ios-8.0.0.tgz",
|
|
244
|
+
"integrity": "sha512-QsynOV8rnRIhDC3qwM1KdRr1gy5RaqzVCzdOaB+DSBPeR5wVEUGpyyJO0FzlCACzY5X25iDc5O3kbn/F06dJ5Q==",
|
|
238
245
|
"dev": true,
|
|
239
246
|
"license": "Apache-2.0",
|
|
240
247
|
"dependencies": {
|
|
@@ -255,6 +262,8 @@
|
|
|
255
262
|
},
|
|
256
263
|
"node_modules/cordova-ios/node_modules/abbrev": {
|
|
257
264
|
"version": "4.0.0",
|
|
265
|
+
"resolved": "https://registry.npmjs.org/abbrev/-/abbrev-4.0.0.tgz",
|
|
266
|
+
"integrity": "sha512-a1wflyaL0tHtJSmLSOVybYhy22vRih4eduhhrkcjgrWGnRfrZtovJ2FRjxuTtkkj47O/baf0R86QU5OuYpz8fA==",
|
|
258
267
|
"dev": true,
|
|
259
268
|
"license": "ISC",
|
|
260
269
|
"engines": {
|
|
@@ -263,6 +272,8 @@
|
|
|
263
272
|
},
|
|
264
273
|
"node_modules/cordova-ios/node_modules/cordova-common": {
|
|
265
274
|
"version": "6.0.0",
|
|
275
|
+
"resolved": "https://registry.npmjs.org/cordova-common/-/cordova-common-6.0.0.tgz",
|
|
276
|
+
"integrity": "sha512-16WPC1DuxVdshV3RoQUXqhcJVdhxWGwiFysA4TkYuboqoev6mgt0JuIJFxmQbzR/DuyuONaVe0L0O0Hf1C08Mg==",
|
|
266
277
|
"dev": true,
|
|
267
278
|
"license": "Apache-2.0",
|
|
268
279
|
"dependencies": {
|
|
@@ -280,6 +291,8 @@
|
|
|
280
291
|
},
|
|
281
292
|
"node_modules/cordova-ios/node_modules/nopt": {
|
|
282
293
|
"version": "9.0.0",
|
|
294
|
+
"resolved": "https://registry.npmjs.org/nopt/-/nopt-9.0.0.tgz",
|
|
295
|
+
"integrity": "sha512-Zhq3a+yFKrYwSBluL4H9XP3m3y5uvQkB/09CwDruCiRmR/UJYnn9W4R48ry0uGC70aeTPKLynBtscP9efFFcPw==",
|
|
283
296
|
"dev": true,
|
|
284
297
|
"license": "ISC",
|
|
285
298
|
"dependencies": {
|
|
@@ -294,6 +307,8 @@
|
|
|
294
307
|
},
|
|
295
308
|
"node_modules/cordova-ios/node_modules/which": {
|
|
296
309
|
"version": "6.0.0",
|
|
310
|
+
"resolved": "https://registry.npmjs.org/which/-/which-6.0.0.tgz",
|
|
311
|
+
"integrity": "sha512-f+gEpIKMR9faW/JgAgPK1D7mekkFoqbmiwvNzuhsHetni20QSgzg9Vhn0g2JSJkkfehQnqdUAx7/e15qS1lPxg==",
|
|
297
312
|
"dev": true,
|
|
298
313
|
"license": "ISC",
|
|
299
314
|
"dependencies": {
|
|
@@ -543,7 +558,9 @@
|
|
|
543
558
|
}
|
|
544
559
|
},
|
|
545
560
|
"node_modules/lodash": {
|
|
546
|
-
"version": "4.17.
|
|
561
|
+
"version": "4.17.23",
|
|
562
|
+
"resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.23.tgz",
|
|
563
|
+
"integrity": "sha512-LgVTMpQtIopCi79SJeDiP0TfWi5CNEc/L/aRdTh3yIvmZXTnheWpKjSZhnvMl8iXbC1tFg9gdHHDMLoV7CnG+w==",
|
|
547
564
|
"dev": true,
|
|
548
565
|
"license": "MIT"
|
|
549
566
|
},
|
|
@@ -823,6 +840,8 @@
|
|
|
823
840
|
},
|
|
824
841
|
"node_modules/simctl": {
|
|
825
842
|
"version": "3.0.0",
|
|
843
|
+
"resolved": "https://registry.npmjs.org/simctl/-/simctl-3.0.0.tgz",
|
|
844
|
+
"integrity": "sha512-AoScwFvWCLU7lx9AlqmooHlxQDQDjGdSGAdyLySDeR2IP6ji5L4Z6DdHxmBLAQM61ftaHylXfnF1KWCR56P58w==",
|
|
826
845
|
"dev": true,
|
|
827
846
|
"license": "MIT",
|
|
828
847
|
"engines": {
|
|
@@ -831,6 +850,8 @@
|
|
|
831
850
|
},
|
|
832
851
|
"node_modules/simple-plist": {
|
|
833
852
|
"version": "1.3.1",
|
|
853
|
+
"resolved": "https://registry.npmjs.org/simple-plist/-/simple-plist-1.3.1.tgz",
|
|
854
|
+
"integrity": "sha512-iMSw5i0XseMnrhtIzRb7XpQEXepa9xhWxGUojHBL43SIpQuDQkh3Wpy67ZbDzZVr6EKxvwVChnVpdl8hEVLDiw==",
|
|
834
855
|
"dev": true,
|
|
835
856
|
"license": "MIT",
|
|
836
857
|
"dependencies": {
|
|
@@ -841,6 +862,8 @@
|
|
|
841
862
|
},
|
|
842
863
|
"node_modules/simple-plist/node_modules/bplist-parser": {
|
|
843
864
|
"version": "0.3.1",
|
|
865
|
+
"resolved": "https://registry.npmjs.org/bplist-parser/-/bplist-parser-0.3.1.tgz",
|
|
866
|
+
"integrity": "sha512-PyJxiNtA5T2PlLIeBot4lbp7rj4OadzjnMZD/G5zuBNt8ei/yCU7+wW0h2bag9vr8c+/WuRWmSxbqAl9hL1rBA==",
|
|
844
867
|
"dev": true,
|
|
845
868
|
"license": "MIT",
|
|
846
869
|
"dependencies": {
|
|
@@ -852,6 +875,8 @@
|
|
|
852
875
|
},
|
|
853
876
|
"node_modules/stream-buffers": {
|
|
854
877
|
"version": "2.2.0",
|
|
878
|
+
"resolved": "https://registry.npmjs.org/stream-buffers/-/stream-buffers-2.2.0.tgz",
|
|
879
|
+
"integrity": "sha512-uyQK/mx5QjHun80FLJTfaWE7JtwfRMKBLkMne6udYOmvH0CawotVa7TfgYHzAnpphn4+TweIx1QKMnRIbipmUg==",
|
|
855
880
|
"dev": true,
|
|
856
881
|
"license": "Unlicense",
|
|
857
882
|
"engines": {
|
|
@@ -909,6 +934,8 @@
|
|
|
909
934
|
},
|
|
910
935
|
"node_modules/uuid": {
|
|
911
936
|
"version": "7.0.3",
|
|
937
|
+
"resolved": "https://registry.npmjs.org/uuid/-/uuid-7.0.3.tgz",
|
|
938
|
+
"integrity": "sha512-DPSke0pXhTZgoF/d+WSt2QaKMCFSfx7QegxEWT+JOuHF5aWrKEn0G+ztjuJg/gG8/ItK+rbPCD/yNv8yyih6Cg==",
|
|
912
939
|
"dev": true,
|
|
913
940
|
"license": "MIT",
|
|
914
941
|
"bin": {
|
|
@@ -948,6 +975,8 @@
|
|
|
948
975
|
},
|
|
949
976
|
"node_modules/xcode": {
|
|
950
977
|
"version": "3.0.1",
|
|
978
|
+
"resolved": "https://registry.npmjs.org/xcode/-/xcode-3.0.1.tgz",
|
|
979
|
+
"integrity": "sha512-kCz5k7J7XbJtjABOvkc5lJmkiDh8VhjVCGNiqdKCscmVpdVUpEAyXv1xmCLkQJ5dsHqx3IPO4XW+NTDhU/fatA==",
|
|
951
980
|
"dev": true,
|
|
952
981
|
"license": "Apache-2.0",
|
|
953
982
|
"dependencies": {
|
package/example/package.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@purchasely/cordova-plugin-purchasely",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.7.2",
|
|
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",
|
|
@@ -52,10 +52,10 @@
|
|
|
52
52
|
},
|
|
53
53
|
"repository": {
|
|
54
54
|
"type": "git",
|
|
55
|
-
"url": "git+https://github.com/Purchasely/Purchasely-Cordova
|
|
55
|
+
"url": "git+https://github.com/Purchasely/Purchasely-Cordova.git"
|
|
56
56
|
},
|
|
57
57
|
"bugs": {
|
|
58
|
-
"url": "https://github.com/Purchasely/Purchasely-Cordova
|
|
58
|
+
"url": "https://github.com/Purchasely/Purchasely-Cordova/issues"
|
|
59
59
|
},
|
|
60
|
-
"homepage": "https://github.com/Purchasely/Purchasely-Cordova
|
|
60
|
+
"homepage": "https://github.com/Purchasely/Purchasely-Cordova#readme"
|
|
61
61
|
}
|
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.
|
|
2
|
+
<plugin id="@purchasely/cordova-plugin-purchasely" version="5.7.2" 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.
|
|
41
|
+
<pod name="Purchasely" spec="5.7.2"/>
|
|
42
42
|
</pods>
|
|
43
43
|
</podspec>
|
|
44
44
|
</platform>
|
|
@@ -63,7 +63,8 @@
|
|
|
63
63
|
android:theme="@style/Theme.AppCompat.Light.NoActionBar">
|
|
64
64
|
</activity>
|
|
65
65
|
</config-file>
|
|
66
|
-
<framework src="
|
|
66
|
+
<framework src="src/android/build-extras.gradle" custom="true" type="gradleReference" />
|
|
67
|
+
<framework src="io.purchasely:core:5.7.3" />
|
|
67
68
|
<source-file src="src/android/PurchaselyPlugin.kt" target-dir="java/cordova/plugin/purchasely" />
|
|
68
69
|
<source-file src="src/android/PLYProductActivity.kt" target-dir="java/cordova/plugin/purchasely" />
|
|
69
70
|
<source-file src="src/android/PLYSubscriptionsActivity.java" target-dir="src/cordova/plugin/purchasely" />
|
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.
|
|
8
|
+
cordovaSdkVersion = "5.7.2";
|
|
9
9
|
}
|
|
10
10
|
exec(success, error, 'Purchasely', 'start', [apiKey, stores, storekit1, userId, logLevel, runningMode, cordovaSdkVersion]);
|
|
11
11
|
};
|