diff --git a/.gitignore b/.gitignore index 5f5c757..8acd0e0 100644 --- a/.gitignore +++ b/.gitignore @@ -23,4 +23,6 @@ publish/src publish/package demo/report/report.html demo/report/stats.json -!demo-vue/app/app.js \ No newline at end of file +!demo-vue/app/app.js +src/package-lock.json +demo/package-lock.json \ No newline at end of file diff --git a/demo/package-lock.json b/demo/package-lock.json index 980af1a..675cb68 100644 --- a/demo/package-lock.json +++ b/demo/package-lock.json @@ -24,27 +24,27 @@ } }, "@babel/code-frame": { - "version": "7.12.13", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.12.13.tgz", - "integrity": "sha512-HV1Cm0Q3ZrpCR93tkWOYiuYIgLxZXZFVG2VgK+MBWjUqZTundupbfx2aXarXuw5Ko5aMcjtJgbSs4vUGBS5v6g==", + "version": "7.14.5", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.14.5.tgz", + "integrity": "sha512-9pzDqyc6OLDaqe+zbACgFkb6fKMNG6CObKpnYXChRsvYGyEdc7CA2BaqeOM+vOtCS5ndmJicPJhKAwYRI6UfFw==", "dev": true, "requires": { - "@babel/highlight": "^7.12.13" + "@babel/highlight": "^7.14.5" } }, "@babel/helper-validator-identifier": { - "version": "7.14.0", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.14.0.tgz", - "integrity": "sha512-V3ts7zMSu5lfiwWDVWzRDGIN+lnCEUdaXgtVHJgLb1rGaA6jMrtB9EmE7L18foXJIE8Un/A/h6NJfGQp/e1J4A==", + "version": "7.14.9", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.14.9.tgz", + "integrity": "sha512-pQYxPY0UP6IHISRitNe8bsijHex4TWZXi2HwKVsjPiltzlhse2znVcm9Ace510VT1kxIHjGJCZZQBX2gJDbo0g==", "dev": true }, "@babel/highlight": { - "version": "7.14.0", - "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.14.0.tgz", - "integrity": "sha512-YSCOwxvTYEIMSGaBQb5kDDsCopDdiUGsqpatp3fOlI4+2HQSkTmEVWnVuySdAC5EWCqSWWTv0ib63RjR7dTBdg==", + "version": "7.14.5", + "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.14.5.tgz", + "integrity": "sha512-qf9u2WFWVV0MppaL877j2dBtQIDgmidgjGk5VIMw3OadXvYaXn66U1BFlH2t4+t3i+8PhedppRv+i40ABzd+gg==", "dev": true, "requires": { - "@babel/helper-validator-identifier": "^7.14.0", + "@babel/helper-validator-identifier": "^7.14.5", "chalk": "^2.0.0", "js-tokens": "^4.0.0" } @@ -72,24 +72,24 @@ } }, "@babel/code-frame": { - "version": "7.12.13", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.12.13.tgz", - "integrity": "sha512-HV1Cm0Q3ZrpCR93tkWOYiuYIgLxZXZFVG2VgK+MBWjUqZTundupbfx2aXarXuw5Ko5aMcjtJgbSs4vUGBS5v6g==", + "version": "7.14.5", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.14.5.tgz", + "integrity": "sha512-9pzDqyc6OLDaqe+zbACgFkb6fKMNG6CObKpnYXChRsvYGyEdc7CA2BaqeOM+vOtCS5ndmJicPJhKAwYRI6UfFw==", "requires": { - "@babel/highlight": "^7.12.13" + "@babel/highlight": "^7.14.5" } }, "@babel/helper-validator-identifier": { - "version": "7.14.0", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.14.0.tgz", - "integrity": "sha512-V3ts7zMSu5lfiwWDVWzRDGIN+lnCEUdaXgtVHJgLb1rGaA6jMrtB9EmE7L18foXJIE8Un/A/h6NJfGQp/e1J4A==" + "version": "7.14.9", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.14.9.tgz", + "integrity": "sha512-pQYxPY0UP6IHISRitNe8bsijHex4TWZXi2HwKVsjPiltzlhse2znVcm9Ace510VT1kxIHjGJCZZQBX2gJDbo0g==" }, "@babel/highlight": { - "version": "7.14.0", - "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.14.0.tgz", - "integrity": "sha512-YSCOwxvTYEIMSGaBQb5kDDsCopDdiUGsqpatp3fOlI4+2HQSkTmEVWnVuySdAC5EWCqSWWTv0ib63RjR7dTBdg==", + "version": "7.14.5", + "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.14.5.tgz", + "integrity": "sha512-qf9u2WFWVV0MppaL877j2dBtQIDgmidgjGk5VIMw3OadXvYaXn66U1BFlH2t4+t3i+8PhedppRv+i40ABzd+gg==", "requires": { - "@babel/helper-validator-identifier": "^7.14.0", + "@babel/helper-validator-identifier": "^7.14.5", "chalk": "^2.0.0", "js-tokens": "^4.0.0" } @@ -201,37 +201,29 @@ "rimraf": "^3.0.2" } }, - "@types/anymatch": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/@types/anymatch/-/anymatch-3.0.0.tgz", - "integrity": "sha512-qLChUo6yhpQ9k905NwL74GU7TxH+9UODwwQ6ICNI+O6EDMExqH/Cv9NsbmcZ7yC/rRXJ/AHCzfgjsFRY5fKjYw==", - "requires": { - "anymatch": "*" - } - }, "@types/glob": { - "version": "7.1.3", - "resolved": "https://registry.npmjs.org/@types/glob/-/glob-7.1.3.tgz", - "integrity": "sha512-SEYeGAIQIQX8NN6LDKprLjbrd5dARM5EXsd8GI/A5l0apYI1fGMWgPHSe4ZKL4eozlAyI+doUE9XbYS4xCkQ1w==", + "version": "7.1.4", + "resolved": "https://registry.npmjs.org/@types/glob/-/glob-7.1.4.tgz", + "integrity": "sha512-w+LsMxKyYQm347Otw+IfBXOv9UWVjpHpCDdbBMt8Kz/xbvCYNjP+0qPh91Km3iKfSRLBB0P7fAMf0KHrPu+MyA==", "requires": { "@types/minimatch": "*", "@types/node": "*" } }, "@types/json-schema": { - "version": "7.0.7", - "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.7.tgz", - "integrity": "sha512-cxWFQVseBm6O9Gbw1IWb8r6OS4OhSt3hPZLkFApLjM8TEXROBuQGLAH2i2gZpcXdLBIrpXuTDhH7Vbm1iXmNGA==" + "version": "7.0.9", + "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.9.tgz", + "integrity": "sha512-qcUXuemtEu+E5wZSJHNxUXeCZhAfXKQ41D+duX+VYPde7xyEVZci+/oXKJL13tnRs9lR2pr4fod59GT6/X1/yQ==" }, "@types/minimatch": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/@types/minimatch/-/minimatch-3.0.4.tgz", - "integrity": "sha512-1z8k4wzFnNjVK/tlxvrWuK5WMt6mydWWP7+zvH5eFep4oj+UkrfiJTRtjCeBXNpwaA/FYqqtb4/QS4ianFpIRA==" + "version": "3.0.5", + "resolved": "https://registry.npmjs.org/@types/minimatch/-/minimatch-3.0.5.tgz", + "integrity": "sha512-Klz949h02Gz2uZCMGwDUSDS1YBlTdDDgbWHi+81l29tQALUtvz4rAYi5uoVhE5Lagoq6DeqAUlbrHvW/mXDgdQ==" }, "@types/node": { - "version": "15.3.1", - "resolved": "https://registry.npmjs.org/@types/node/-/node-15.3.1.tgz", - "integrity": "sha512-weaeiP4UF4XgF++3rpQhpIJWsCTS4QJw5gvBhQu6cFIxTwyxWIe3xbnrY/o2lTCQ0lsdb8YIUDUvLR4Vuz5rbw==" + "version": "16.4.12", + "resolved": "https://registry.npmjs.org/@types/node/-/node-16.4.12.tgz", + "integrity": "sha512-zxrTNFl9Z8boMJXs6ieqZP0wAhvkdzmHSxTlJabM16cf5G9xBc1uPRH5Bbv2omEDDiM8MzTfqTJXBf0Ba4xFWA==" }, "@types/parse-json": { "version": "4.0.0", @@ -244,35 +236,35 @@ "integrity": "sha512-K5K+yml8LTo9bWJI/rECfIPrGgxdpeNbj+d53lwN4QjW1MCwlkhUms+gtdzigTeUyBr09+u8BwOIY3MXvHdcsA==" }, "@types/tapable": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/@types/tapable/-/tapable-1.0.7.tgz", - "integrity": "sha512-0VBprVqfgFD7Ehb2vd8Lh9TG3jP98gvr8rgehQqzztZNI7o8zS8Ad4jyZneKELphpuE212D8J70LnSNQSyO6bQ==" + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/@types/tapable/-/tapable-1.0.8.tgz", + "integrity": "sha512-ipixuVrh2OdNmauvtT51o3d8z12p6LtFW9in7U79der/kwejjdNchQC5UMn5u/KxNoM7VHHOs/l8KS8uHxhODQ==" }, "@types/uglify-js": { - "version": "3.13.0", - "resolved": "https://registry.npmjs.org/@types/uglify-js/-/uglify-js-3.13.0.tgz", - "integrity": "sha512-EGkrJD5Uy+Pg0NUR8uA4bJ5WMfljyad0G+784vLCNUkD+QwOJXUbBYExXfVGf7YtyzdQp3L/XMYcliB987kL5Q==", + "version": "3.13.1", + "resolved": "https://registry.npmjs.org/@types/uglify-js/-/uglify-js-3.13.1.tgz", + "integrity": "sha512-O3MmRAk6ZuAKa9CHgg0Pr0+lUOqoMLpc9AS4R8ano2auvsg7IE8syF3Xh/NPr26TWklxYcqoEEFdzLLs1fV9PQ==", "requires": { "source-map": "^0.6.1" } }, "@types/webpack": { - "version": "4.41.28", - "resolved": "https://registry.npmjs.org/@types/webpack/-/webpack-4.41.28.tgz", - "integrity": "sha512-Nn84RAiJjKRfPFFCVR8LC4ueTtTdfWAMZ03THIzZWRJB+rX24BD3LqPSFnbMscWauEsT4segAsylPDIaZyZyLQ==", + "version": "4.41.30", + "resolved": "https://registry.npmjs.org/@types/webpack/-/webpack-4.41.30.tgz", + "integrity": "sha512-GUHyY+pfuQ6haAfzu4S14F+R5iGRwN6b2FRNJY7U0NilmFAqbsOfK6j1HwuLBAqwRIT+pVdNDJGJ6e8rpp0KHA==", "requires": { - "@types/anymatch": "*", "@types/node": "*", "@types/tapable": "^1", "@types/uglify-js": "*", "@types/webpack-sources": "*", + "anymatch": "^3.0.0", "source-map": "^0.6.0" } }, "@types/webpack-sources": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/@types/webpack-sources/-/webpack-sources-2.1.0.tgz", - "integrity": "sha512-LXn/oYIpBeucgP1EIJbKQ2/4ZmpvRl+dlrFdX7+94SKRUV3Evy3FsfMZY318vGhkWUS5MPhtOM3w1/hCOAOXcg==", + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/@types/webpack-sources/-/webpack-sources-2.1.1.tgz", + "integrity": "sha512-MjM1R6iuw8XaVbtkCBz0N349cyqBjJHCbQiOeppe3VBeFvxqs74RKHAVt9LkxTnUWc7YLZOEsUfPUnmK6SBPKQ==", "requires": { "@types/node": "*", "@types/source-list-map": "*", @@ -902,9 +894,9 @@ } }, "buffer-from": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.1.tgz", - "integrity": "sha512-MQcXEUbCKtEo7bhqEs6560Hyd4XaovZlO/k9V3hjVUF/zwW7KBVdSK4gIt/bzwS9MbR5qob+F5jusZsb0YQK2A==" + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz", + "integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==" }, "buffer-xor": { "version": "1.0.3", @@ -1021,19 +1013,19 @@ "integrity": "sha512-YpeKZngUmG65rLudJ4taU7VLkOCTMhNl/u4ctNC56LQS/zJTyNH0Lrtwm1tfTsbLlwvlfsA2d1c8vCf/Kh2KwQ==" }, "chokidar": { - "version": "3.5.1", - "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.1.tgz", - "integrity": "sha512-9+s+Od+W0VJJzawDma/gvBNQqkTiqYTWLuZoyAsivsI4AaWTCzHG06/TMjsf1cYe9Cb97UCEhjz7HvnPk2p/tw==", + "version": "3.5.2", + "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.2.tgz", + "integrity": "sha512-ekGhOnNVPgT77r4K/U3GDhu+FQ2S8TnK/s2KbIGXi0SZWuwkZ2QNyfWdZW+TVfn84DpEP7rLeCt2UI6bJ8GwbQ==", "optional": true, "requires": { - "anymatch": "~3.1.1", + "anymatch": "~3.1.2", "braces": "~3.0.2", - "fsevents": "~2.3.1", - "glob-parent": "~5.1.0", + "fsevents": "~2.3.2", + "glob-parent": "~5.1.2", "is-binary-path": "~2.1.0", "is-glob": "~4.0.1", "normalize-path": "~3.0.0", - "readdirp": "~3.5.0" + "readdirp": "~3.6.0" } }, "chownr": { @@ -2216,9 +2208,9 @@ } }, "chalk": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.1.tgz", - "integrity": "sha512-diHzdDKxcU+bAsUboHLPEDQiw0qEe0qd7SYUn3HgcFlWgbDcfLGswOHYeGrHKzG9z6UYf01d9VFMfZxPM1xZSg==", + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", "requires": { "ansi-styles": "^4.1.0", "supports-color": "^7.1.0" @@ -2284,9 +2276,9 @@ } }, "forwarded": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.1.2.tgz", - "integrity": "sha1-mMI9qxF1ZXuMBXPozszZGw/xjIQ=" + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.2.0.tgz", + "integrity": "sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==" }, "fragment-cache": { "version": "0.2.1", @@ -2790,9 +2782,9 @@ "integrity": "sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==" }, "is-core-module": { - "version": "2.4.0", - "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.4.0.tgz", - "integrity": "sha512-6A2fkfq1rfeQZjxrZJGerpLCTHRNEBiSgnu0+obeJpEPZRUooHgsizvzv0ZjJwOz3iWIHdJtVWJ/tmPr3D21/A==", + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.5.0.tgz", + "integrity": "sha512-TXCMSDsEHMEEZ6eCA8rwRDbLu55MRGmrctljsBX/2v1d9/GzqHOxW5c5oPSgrUt2vBFXebu9rGqckXGPWOlYpg==", "requires": { "has": "^1.0.3" } @@ -3177,16 +3169,16 @@ "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==" }, "mime-db": { - "version": "1.47.0", - "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.47.0.tgz", - "integrity": "sha512-QBmA/G2y+IfeS4oktet3qRZ+P5kPhCKRXxXnQEudYqUaEioAU1/Lq2us3D/t1Jfo4hE9REQPrbB7K5sOczJVIw==" + "version": "1.49.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.49.0.tgz", + "integrity": "sha512-CIc8j9URtOVApSFCQIF+VBkX1RwXp/oMMOrqdyXSBXq5RWNEsRfyj1kiRnQgmNXmHxPoFIxOroKA3zcU9P+nAA==" }, "mime-types": { - "version": "2.1.30", - "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.30.tgz", - "integrity": "sha512-crmjA4bLtR8m9qLpHvgxSChT+XoSlZi8J4n/aIdn3z92e/U47Z0V/yl+Wh9W046GgFVAmoNR/fmdbZYcSSIUeg==", + "version": "2.1.32", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.32.tgz", + "integrity": "sha512-hJGaVS4G4c9TSMYh2n6SQAGrC4RnfU+daP8G7cSCmaqNjiOoUY0VHCMS42pxnQmVF1GWwFhbHWn3RIxCqTmZ9A==", "requires": { - "mime-db": "1.47.0" + "mime-db": "1.49.0" } }, "minimalistic-assert": { @@ -3350,9 +3342,9 @@ "integrity": "sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA==" }, "nan": { - "version": "2.14.2", - "resolved": "https://registry.npmjs.org/nan/-/nan-2.14.2.tgz", - "integrity": "sha512-M2ufzIiINKCuDfBSAUr1vWQ+vuVcA9kqx8JJUsbQi6yf1uGRyb7HfpdfUr5qLXf3B/t8dPvcjhKMmlfnP47EzQ==", + "version": "2.15.0", + "resolved": "https://registry.npmjs.org/nan/-/nan-2.15.0.tgz", + "integrity": "sha512-8ZtvEnA2c5aYCZYd1cvgdnU6cqwixRoYg70xPLWUws5ORTa/lnw+u4amixRS/Ac5U5mQVgp9pnlSUnbNWFaWZQ==", "optional": true }, "nanomatch": { @@ -3662,9 +3654,9 @@ "integrity": "sha1-QRyttXTFoUDTpLGRDUDYDMn0C0A=" }, "path-parse": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.6.tgz", - "integrity": "sha512-GSmOT2EbHrINBf9SR7CDELwlJ8AENk3Qn7OikK4nFYAu3Ote2+JYNVvkpAEQm3/TLNEJFD/xZJjzyxg3KBWOzw==" + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", + "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==" }, "path-to-regexp": { "version": "0.1.7", @@ -3699,9 +3691,9 @@ } }, "picomatch": { - "version": "2.2.3", - "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.2.3.tgz", - "integrity": "sha512-KpELjfwcCDUb9PeigTs2mBJzXUPzAuP2oPcA989He8Rte0+YUAjw1JVedDhuTKPkHjSYzMN3npC9luThGYEKdg==" + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.0.tgz", + "integrity": "sha512-lY1Q/PiJGC2zOv/z391WOTD+Z02bCgsFfvxoXXf6h7kv9o+WmsmzYqrAwY63sNgOxE4xEdq0WyUnXfKeBrSvYw==" }, "pify": { "version": "4.0.1", @@ -3735,9 +3727,9 @@ "integrity": "sha1-AerA/jta9xoqbAL+q7jB/vfgDqs=" }, "postcss": { - "version": "7.0.35", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz", - "integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==", + "version": "7.0.36", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.36.tgz", + "integrity": "sha512-BebJSIUMwJHRH0HAQoxN4u1CN86glsrwsW0q7T+/m44eXOUAxSNdHRkNZPYz5vVUbg17hFgOQDE7fZk7li3pZw==", "requires": { "chalk": "^2.4.2", "source-map": "^0.6.1", @@ -3848,11 +3840,11 @@ } }, "proxy-addr": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.6.tgz", - "integrity": "sha512-dh/frvCBVmSsDYzw6n926jv974gddhkFPfiN8hPOi30Wax25QZyZEGveluCgliBnqmuM+UJmBErbAUFIoDbjOw==", + "version": "2.0.7", + "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.7.tgz", + "integrity": "sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg==", "requires": { - "forwarded": "~0.1.2", + "forwarded": "0.2.0", "ipaddr.js": "1.9.1" } }, @@ -3987,11 +3979,11 @@ } }, "schema-utils": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-3.0.0.tgz", - "integrity": "sha512-6D82/xSzO094ajanoOSbe4YvXWMfn2A//8Y1+MUqFAJul5Bs+yn36xbK9OtNDcRVSBJ9jjeoXftM6CfztsjOAA==", + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-3.1.1.tgz", + "integrity": "sha512-Y5PQxS4ITlC+EahLuXaY86TXfR7Dc5lw294alXOq86JAHCihAIZfqv8nNCWvaEJvaC51uN9hbLGeV0cFBdH+Fw==", "requires": { - "@types/json-schema": "^7.0.6", + "@types/json-schema": "^7.0.8", "ajv": "^6.12.5", "ajv-keywords": "^3.5.2" } @@ -4021,9 +4013,9 @@ } }, "readdirp": { - "version": "3.5.0", - "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.5.0.tgz", - "integrity": "sha512-cMhu7c/8rdhkHXWsY+osBhfSy0JikwpHK/5+imo+LpeasTF8ouErHrlYkwT0++njiyuDvc7OFY5T3ukvZ8qmFQ==", + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz", + "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==", "optional": true, "requires": { "picomatch": "^2.2.1" @@ -4142,9 +4134,9 @@ "integrity": "sha1-LGN/53yJOv0qZj/iGqkIAGjiBSo=" }, "resolve-url-loader": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/resolve-url-loader/-/resolve-url-loader-3.1.3.tgz", - "integrity": "sha512-WbDSNFiKPPLem1ln+EVTE+bFUBdTTytfQZWbmghroaFNFaAVmGq0Saqw6F/306CwgPXsGwXVxbODE+3xAo/YbA==", + "version": "3.1.4", + "resolved": "https://registry.npmjs.org/resolve-url-loader/-/resolve-url-loader-3.1.4.tgz", + "integrity": "sha512-D3sQ04o0eeQEySLrcz4DsX3saHfsr8/N6tfhblxgZKXxMT2Louargg12oGNfoTRLV09GXhVUe5/qgA5vdgNigg==", "requires": { "adjust-sourcemap-loader": "3.0.0", "camelcase": "5.3.1", @@ -4152,7 +4144,7 @@ "convert-source-map": "1.7.0", "es6-iterator": "2.0.3", "loader-utils": "1.2.3", - "postcss": "7.0.21", + "postcss": "7.0.36", "rework": "1.0.1", "rework-visit": "1.0.0", "source-map": "0.6.1" @@ -4177,16 +4169,6 @@ "emojis-list": "^2.0.0", "json5": "^1.0.1" } - }, - "postcss": { - "version": "7.0.21", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.21.tgz", - "integrity": "sha512-uIFtJElxJo29QC753JzhidoAhvp/e/Exezkdhfmt8AymWT6/5B7W1WmponYWkHk2eg6sONyTch0A3nkMPun3SQ==", - "requires": { - "chalk": "^2.4.2", - "source-map": "^0.6.1", - "supports-color": "^6.1.0" - } } } }, @@ -4763,9 +4745,9 @@ "integrity": "sha512-4WK/bYZmj8xLr+HUCODHGF1ZFzsYffasLUgEiMBY4fgtltdO6B4WJtlSbPaDTLpYTcGVwM2qLnFTICEcNxs3kA==" }, "tar": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/tar/-/tar-6.1.0.tgz", - "integrity": "sha512-DUCttfhsnLCjwoDoFcI+B2iJgYa93vBnDUATYEeRx6sntCTdN01VnqsIuTlALXla/LWooNg0yEGeB+Y8WdFxGA==", + "version": "6.1.6", + "resolved": "https://registry.npmjs.org/tar/-/tar-6.1.6.tgz", + "integrity": "sha512-oaWyu5dQbHaYcyZCTfyPpC+VmI62/OM2RTUYavTk1MDr1cwW5Boi3baeYQKiZbY2uSQJGr+iMOzb/JFxLrft+g==", "requires": { "chownr": "^2.0.0", "fs-minipass": "^2.0.0", @@ -4814,9 +4796,9 @@ }, "dependencies": { "cacache": { - "version": "15.1.0", - "resolved": "https://registry.npmjs.org/cacache/-/cacache-15.1.0.tgz", - "integrity": "sha512-mfx0C+mCfWjD1PnwQ9yaOrwG1ou9FkKnx0SvzUHWdFt7r7GaRtzT+9M8HAvLu62zIHtnpQ/1m93nWNDCckJGXQ==", + "version": "15.2.0", + "resolved": "https://registry.npmjs.org/cacache/-/cacache-15.2.0.tgz", + "integrity": "sha512-uKoJSHmnrqXgthDFx/IU6ED/5xd+NNGe+Bb+kLZy7Ku4P+BaiWEUflAKPZ7eAzsYGcsAGASJZsybXp+quEcHTw==", "requires": { "@npmcli/move-file": "^1.0.1", "chownr": "^2.0.0", @@ -5065,9 +5047,9 @@ } }, "chalk": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.1.tgz", - "integrity": "sha512-diHzdDKxcU+bAsUboHLPEDQiw0qEe0qd7SYUn3HgcFlWgbDcfLGswOHYeGrHKzG9z6UYf01d9VFMfZxPM1xZSg==", + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", "requires": { "ansi-styles": "^4.1.0", "supports-color": "^7.1.0" @@ -5136,9 +5118,9 @@ } }, "ts-patch": { - "version": "1.3.3", - "resolved": "https://registry.npmjs.org/ts-patch/-/ts-patch-1.3.3.tgz", - "integrity": "sha512-ZQYqwuKpXFel/FFJcrtOskykixtimCEwORboawDnoGCFChfTki9aGS99skmxd4lc4PZxZntEJdMIEwhk1QmJdQ==", + "version": "1.4.2", + "resolved": "https://registry.npmjs.org/ts-patch/-/ts-patch-1.4.2.tgz", + "integrity": "sha512-Nj3mjvQM3t8cB4wGfLKeE8zBT+cx1mDjttOcx9nb2fEl6Q/5u79w19tQniv2eLmeYEbki/+wdQc0zszPEpOxOg==", "requires": { "chalk": "^4.1.0", "global-prefix": "^3.0.0", @@ -5161,9 +5143,9 @@ } }, "chalk": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.1.tgz", - "integrity": "sha512-diHzdDKxcU+bAsUboHLPEDQiw0qEe0qd7SYUn3HgcFlWgbDcfLGswOHYeGrHKzG9z6UYf01d9VFMfZxPM1xZSg==", + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", "requires": { "ansi-styles": "^4.1.0", "supports-color": "^7.1.0" @@ -5300,12 +5282,9 @@ "integrity": "sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c=" }, "typescript": { - "version": "4.0.7", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.0.7.tgz", - "integrity": "sha512-yi7M4y74SWvYbnazbn8/bmJmX4Zlej39ZOqwG/8dut/MYoSQ119GY9ZFbbGsD4PFZYWxqik/XsP3vk3+W5H3og==", - "requires": { - "ts-node": "^9.1.1" - } + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.0.8.tgz", + "integrity": "sha512-oz1765PN+imfz1MlZzSZPtC/tqcwsCyIYA8L47EkRnRW97ztRk83SzMiWLrnChC0vqoYxSU1fcFUDA5gV/ZiPg==" }, "union-value": { "version": "1.0.1", @@ -6195,9 +6174,9 @@ "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=" }, "ws": { - "version": "6.2.1", - "resolved": "https://registry.npmjs.org/ws/-/ws-6.2.1.tgz", - "integrity": "sha512-GIyAXC2cB7LjvpgMt9EKS2ldqr0MTrORaleiOno6TweZ6r3TKtoFQWay/2PceJ3RuBasOHzXNn5Lrw1X0bEjqA==", + "version": "6.2.2", + "resolved": "https://registry.npmjs.org/ws/-/ws-6.2.2.tgz", + "integrity": "sha512-zmhltoSR8u1cnDsD43TX59mzoMZsLKqUweyYBAIvTngR3shc0W6aOZylZmq/7hqyVxPdi+5Ud2QInblgyE72fw==", "requires": { "async-limiter": "~1.0.0" } @@ -6419,19 +6398,10 @@ } } }, - "@types/anymatch": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/@types/anymatch/-/anymatch-3.0.0.tgz", - "integrity": "sha512-qLChUo6yhpQ9k905NwL74GU7TxH+9UODwwQ6ICNI+O6EDMExqH/Cv9NsbmcZ7yC/rRXJ/AHCzfgjsFRY5fKjYw==", - "dev": true, - "requires": { - "anymatch": "*" - } - }, "@types/glob": { - "version": "7.1.3", - "resolved": "https://registry.npmjs.org/@types/glob/-/glob-7.1.3.tgz", - "integrity": "sha512-SEYeGAIQIQX8NN6LDKprLjbrd5dARM5EXsd8GI/A5l0apYI1fGMWgPHSe4ZKL4eozlAyI+doUE9XbYS4xCkQ1w==", + "version": "7.1.4", + "resolved": "https://registry.npmjs.org/@types/glob/-/glob-7.1.4.tgz", + "integrity": "sha512-w+LsMxKyYQm347Otw+IfBXOv9UWVjpHpCDdbBMt8Kz/xbvCYNjP+0qPh91Km3iKfSRLBB0P7fAMf0KHrPu+MyA==", "dev": true, "requires": { "@types/minimatch": "*", @@ -6439,21 +6409,21 @@ } }, "@types/json-schema": { - "version": "7.0.7", - "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.7.tgz", - "integrity": "sha512-cxWFQVseBm6O9Gbw1IWb8r6OS4OhSt3hPZLkFApLjM8TEXROBuQGLAH2i2gZpcXdLBIrpXuTDhH7Vbm1iXmNGA==", + "version": "7.0.9", + "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.9.tgz", + "integrity": "sha512-qcUXuemtEu+E5wZSJHNxUXeCZhAfXKQ41D+duX+VYPde7xyEVZci+/oXKJL13tnRs9lR2pr4fod59GT6/X1/yQ==", "dev": true }, "@types/minimatch": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/@types/minimatch/-/minimatch-3.0.4.tgz", - "integrity": "sha512-1z8k4wzFnNjVK/tlxvrWuK5WMt6mydWWP7+zvH5eFep4oj+UkrfiJTRtjCeBXNpwaA/FYqqtb4/QS4ianFpIRA==", + "version": "3.0.5", + "resolved": "https://registry.npmjs.org/@types/minimatch/-/minimatch-3.0.5.tgz", + "integrity": "sha512-Klz949h02Gz2uZCMGwDUSDS1YBlTdDDgbWHi+81l29tQALUtvz4rAYi5uoVhE5Lagoq6DeqAUlbrHvW/mXDgdQ==", "dev": true }, "@types/node": { - "version": "15.3.1", - "resolved": "https://registry.npmjs.org/@types/node/-/node-15.3.1.tgz", - "integrity": "sha512-weaeiP4UF4XgF++3rpQhpIJWsCTS4QJw5gvBhQu6cFIxTwyxWIe3xbnrY/o2lTCQ0lsdb8YIUDUvLR4Vuz5rbw==", + "version": "16.4.12", + "resolved": "https://registry.npmjs.org/@types/node/-/node-16.4.12.tgz", + "integrity": "sha512-zxrTNFl9Z8boMJXs6ieqZP0wAhvkdzmHSxTlJabM16cf5G9xBc1uPRH5Bbv2omEDDiM8MzTfqTJXBf0Ba4xFWA==", "dev": true }, "@types/parse-json": { @@ -6469,38 +6439,38 @@ "dev": true }, "@types/tapable": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/@types/tapable/-/tapable-1.0.7.tgz", - "integrity": "sha512-0VBprVqfgFD7Ehb2vd8Lh9TG3jP98gvr8rgehQqzztZNI7o8zS8Ad4jyZneKELphpuE212D8J70LnSNQSyO6bQ==", + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/@types/tapable/-/tapable-1.0.8.tgz", + "integrity": "sha512-ipixuVrh2OdNmauvtT51o3d8z12p6LtFW9in7U79der/kwejjdNchQC5UMn5u/KxNoM7VHHOs/l8KS8uHxhODQ==", "dev": true }, "@types/uglify-js": { - "version": "3.13.0", - "resolved": "https://registry.npmjs.org/@types/uglify-js/-/uglify-js-3.13.0.tgz", - "integrity": "sha512-EGkrJD5Uy+Pg0NUR8uA4bJ5WMfljyad0G+784vLCNUkD+QwOJXUbBYExXfVGf7YtyzdQp3L/XMYcliB987kL5Q==", + "version": "3.13.1", + "resolved": "https://registry.npmjs.org/@types/uglify-js/-/uglify-js-3.13.1.tgz", + "integrity": "sha512-O3MmRAk6ZuAKa9CHgg0Pr0+lUOqoMLpc9AS4R8ano2auvsg7IE8syF3Xh/NPr26TWklxYcqoEEFdzLLs1fV9PQ==", "dev": true, "requires": { "source-map": "^0.6.1" } }, "@types/webpack": { - "version": "4.41.28", - "resolved": "https://registry.npmjs.org/@types/webpack/-/webpack-4.41.28.tgz", - "integrity": "sha512-Nn84RAiJjKRfPFFCVR8LC4ueTtTdfWAMZ03THIzZWRJB+rX24BD3LqPSFnbMscWauEsT4segAsylPDIaZyZyLQ==", + "version": "4.41.30", + "resolved": "https://registry.npmjs.org/@types/webpack/-/webpack-4.41.30.tgz", + "integrity": "sha512-GUHyY+pfuQ6haAfzu4S14F+R5iGRwN6b2FRNJY7U0NilmFAqbsOfK6j1HwuLBAqwRIT+pVdNDJGJ6e8rpp0KHA==", "dev": true, "requires": { - "@types/anymatch": "*", "@types/node": "*", "@types/tapable": "^1", "@types/uglify-js": "*", "@types/webpack-sources": "*", + "anymatch": "^3.0.0", "source-map": "^0.6.0" } }, "@types/webpack-sources": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/@types/webpack-sources/-/webpack-sources-2.1.0.tgz", - "integrity": "sha512-LXn/oYIpBeucgP1EIJbKQ2/4ZmpvRl+dlrFdX7+94SKRUV3Evy3FsfMZY318vGhkWUS5MPhtOM3w1/hCOAOXcg==", + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/@types/webpack-sources/-/webpack-sources-2.1.1.tgz", + "integrity": "sha512-MjM1R6iuw8XaVbtkCBz0N349cyqBjJHCbQiOeppe3VBeFvxqs74RKHAVt9LkxTnUWc7YLZOEsUfPUnmK6SBPKQ==", "dev": true, "requires": { "@types/node": "*", @@ -7288,9 +7258,9 @@ "dev": true }, "buffer-from": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.1.tgz", - "integrity": "sha512-MQcXEUbCKtEo7bhqEs6560Hyd4XaovZlO/k9V3hjVUF/zwW7KBVdSK4gIt/bzwS9MbR5qob+F5jusZsb0YQK2A==", + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz", + "integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==", "dev": true }, "buffer-xor": { @@ -7429,20 +7399,20 @@ "dev": true }, "chokidar": { - "version": "3.5.1", - "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.1.tgz", - "integrity": "sha512-9+s+Od+W0VJJzawDma/gvBNQqkTiqYTWLuZoyAsivsI4AaWTCzHG06/TMjsf1cYe9Cb97UCEhjz7HvnPk2p/tw==", + "version": "3.5.2", + "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.2.tgz", + "integrity": "sha512-ekGhOnNVPgT77r4K/U3GDhu+FQ2S8TnK/s2KbIGXi0SZWuwkZ2QNyfWdZW+TVfn84DpEP7rLeCt2UI6bJ8GwbQ==", "dev": true, "optional": true, "requires": { - "anymatch": "~3.1.1", + "anymatch": "~3.1.2", "braces": "~3.0.2", - "fsevents": "~2.3.1", - "glob-parent": "~5.1.0", + "fsevents": "~2.3.2", + "glob-parent": "~5.1.2", "is-binary-path": "~2.1.0", "is-glob": "~4.0.1", "normalize-path": "~3.0.0", - "readdirp": "~3.5.0" + "readdirp": "~3.6.0" } }, "chownr": { @@ -8904,9 +8874,9 @@ } }, "chalk": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.1.tgz", - "integrity": "sha512-diHzdDKxcU+bAsUboHLPEDQiw0qEe0qd7SYUn3HgcFlWgbDcfLGswOHYeGrHKzG9z6UYf01d9VFMfZxPM1xZSg==", + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", "dev": true, "requires": { "ansi-styles": "^4.1.0", @@ -8957,9 +8927,9 @@ } }, "forwarded": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.1.2.tgz", - "integrity": "sha1-mMI9qxF1ZXuMBXPozszZGw/xjIQ=", + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.2.0.tgz", + "integrity": "sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==", "dev": true }, "fragment-cache": { @@ -9577,9 +9547,9 @@ "dev": true }, "is-core-module": { - "version": "2.4.0", - "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.4.0.tgz", - "integrity": "sha512-6A2fkfq1rfeQZjxrZJGerpLCTHRNEBiSgnu0+obeJpEPZRUooHgsizvzv0ZjJwOz3iWIHdJtVWJ/tmPr3D21/A==", + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.5.0.tgz", + "integrity": "sha512-TXCMSDsEHMEEZ6eCA8rwRDbLu55MRGmrctljsBX/2v1d9/GzqHOxW5c5oPSgrUt2vBFXebu9rGqckXGPWOlYpg==", "dev": true, "requires": { "has": "^1.0.3" @@ -10083,9 +10053,9 @@ }, "dependencies": { "jasmine-core": { - "version": "3.7.1", - "resolved": "https://registry.npmjs.org/jasmine-core/-/jasmine-core-3.7.1.tgz", - "integrity": "sha512-DH3oYDS/AUvvr22+xUBW62m1Xoy7tUlY1tsxKEJvl5JeJ7q8zd1K5bUwiOxdH+erj6l2vAMM3hV25Xs9/WrmuQ==", + "version": "3.8.0", + "resolved": "https://registry.npmjs.org/jasmine-core/-/jasmine-core-3.8.0.tgz", + "integrity": "sha512-zl0nZWDrmbCiKns0NcjkFGYkVTGCPUgoHypTaj+G2AzaWus7QGoXARSlYsSle2VRpSdfJmM+hzmFKzQNhF2kHg==", "dev": true } } @@ -10225,9 +10195,9 @@ }, "dependencies": { "debug": { - "version": "4.3.1", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.1.tgz", - "integrity": "sha512-doEwdvm4PCeK4K3RQN2ZC2BYUBaxwLARCqZmMjtF8a51J2Rb0xpVloFRnCODwqjpwnAoao4pelN8l3RJdv3gRQ==", + "version": "4.3.2", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.2.tgz", + "integrity": "sha512-mOp8wKcvj7XxC78zLgw/ZA+6TSgkoE2C/ienthhRD298T7UNwAg9diBpLRxC0mOezLl4B0xV7M0cCO6P/O0Xhw==", "dev": true, "requires": { "ms": "2.1.2" @@ -10406,18 +10376,18 @@ "dev": true }, "mime-db": { - "version": "1.47.0", - "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.47.0.tgz", - "integrity": "sha512-QBmA/G2y+IfeS4oktet3qRZ+P5kPhCKRXxXnQEudYqUaEioAU1/Lq2us3D/t1Jfo4hE9REQPrbB7K5sOczJVIw==", + "version": "1.49.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.49.0.tgz", + "integrity": "sha512-CIc8j9URtOVApSFCQIF+VBkX1RwXp/oMMOrqdyXSBXq5RWNEsRfyj1kiRnQgmNXmHxPoFIxOroKA3zcU9P+nAA==", "dev": true }, "mime-types": { - "version": "2.1.30", - "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.30.tgz", - "integrity": "sha512-crmjA4bLtR8m9qLpHvgxSChT+XoSlZi8J4n/aIdn3z92e/U47Z0V/yl+Wh9W046GgFVAmoNR/fmdbZYcSSIUeg==", + "version": "2.1.32", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.32.tgz", + "integrity": "sha512-hJGaVS4G4c9TSMYh2n6SQAGrC4RnfU+daP8G7cSCmaqNjiOoUY0VHCMS42pxnQmVF1GWwFhbHWn3RIxCqTmZ9A==", "dev": true, "requires": { - "mime-db": "1.47.0" + "mime-db": "1.49.0" } }, "minimalistic-assert": { @@ -10583,9 +10553,9 @@ "dev": true }, "nan": { - "version": "2.14.2", - "resolved": "https://registry.npmjs.org/nan/-/nan-2.14.2.tgz", - "integrity": "sha512-M2ufzIiINKCuDfBSAUr1vWQ+vuVcA9kqx8JJUsbQi6yf1uGRyb7HfpdfUr5qLXf3B/t8dPvcjhKMmlfnP47EzQ==", + "version": "2.15.0", + "resolved": "https://registry.npmjs.org/nan/-/nan-2.15.0.tgz", + "integrity": "sha512-8ZtvEnA2c5aYCZYd1cvgdnU6cqwixRoYg70xPLWUws5ORTa/lnw+u4amixRS/Ac5U5mQVgp9pnlSUnbNWFaWZQ==", "dev": true, "optional": true }, @@ -11032,9 +11002,9 @@ "dev": true }, "path-parse": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.6.tgz", - "integrity": "sha512-GSmOT2EbHrINBf9SR7CDELwlJ8AENk3Qn7OikK4nFYAu3Ote2+JYNVvkpAEQm3/TLNEJFD/xZJjzyxg3KBWOzw==", + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", + "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==", "dev": true }, "path-to-regexp": { @@ -11074,9 +11044,9 @@ } }, "picomatch": { - "version": "2.2.3", - "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.2.3.tgz", - "integrity": "sha512-KpELjfwcCDUb9PeigTs2mBJzXUPzAuP2oPcA989He8Rte0+YUAjw1JVedDhuTKPkHjSYzMN3npC9luThGYEKdg==", + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.0.tgz", + "integrity": "sha512-lY1Q/PiJGC2zOv/z391WOTD+Z02bCgsFfvxoXXf6h7kv9o+WmsmzYqrAwY63sNgOxE4xEdq0WyUnXfKeBrSvYw==", "dev": true }, "pify": { @@ -11116,9 +11086,9 @@ "dev": true }, "postcss": { - "version": "7.0.35", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz", - "integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==", + "version": "7.0.36", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.36.tgz", + "integrity": "sha512-BebJSIUMwJHRH0HAQoxN4u1CN86glsrwsW0q7T+/m44eXOUAxSNdHRkNZPYz5vVUbg17hFgOQDE7fZk7li3pZw==", "dev": true, "requires": { "chalk": "^2.4.2", @@ -11229,12 +11199,12 @@ } }, "proxy-addr": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.6.tgz", - "integrity": "sha512-dh/frvCBVmSsDYzw6n926jv974gddhkFPfiN8hPOi30Wax25QZyZEGveluCgliBnqmuM+UJmBErbAUFIoDbjOw==", + "version": "2.0.7", + "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.7.tgz", + "integrity": "sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg==", "dev": true, "requires": { - "forwarded": "~0.1.2", + "forwarded": "0.2.0", "ipaddr.js": "1.9.1" } }, @@ -11392,12 +11362,12 @@ } }, "schema-utils": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-3.0.0.tgz", - "integrity": "sha512-6D82/xSzO094ajanoOSbe4YvXWMfn2A//8Y1+MUqFAJul5Bs+yn36xbK9OtNDcRVSBJ9jjeoXftM6CfztsjOAA==", + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-3.1.1.tgz", + "integrity": "sha512-Y5PQxS4ITlC+EahLuXaY86TXfR7Dc5lw294alXOq86JAHCihAIZfqv8nNCWvaEJvaC51uN9hbLGeV0cFBdH+Fw==", "dev": true, "requires": { - "@types/json-schema": "^7.0.6", + "@types/json-schema": "^7.0.8", "ajv": "^6.12.5", "ajv-keywords": "^3.5.2" } @@ -11420,9 +11390,9 @@ } }, "readdirp": { - "version": "3.5.0", - "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.5.0.tgz", - "integrity": "sha512-cMhu7c/8rdhkHXWsY+osBhfSy0JikwpHK/5+imo+LpeasTF8ouErHrlYkwT0++njiyuDvc7OFY5T3ukvZ8qmFQ==", + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz", + "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==", "dev": true, "optional": true, "requires": { @@ -11568,9 +11538,9 @@ "dev": true }, "resolve-url-loader": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/resolve-url-loader/-/resolve-url-loader-3.1.3.tgz", - "integrity": "sha512-WbDSNFiKPPLem1ln+EVTE+bFUBdTTytfQZWbmghroaFNFaAVmGq0Saqw6F/306CwgPXsGwXVxbODE+3xAo/YbA==", + "version": "3.1.4", + "resolved": "https://registry.npmjs.org/resolve-url-loader/-/resolve-url-loader-3.1.4.tgz", + "integrity": "sha512-D3sQ04o0eeQEySLrcz4DsX3saHfsr8/N6tfhblxgZKXxMT2Louargg12oGNfoTRLV09GXhVUe5/qgA5vdgNigg==", "dev": true, "requires": { "adjust-sourcemap-loader": "3.0.0", @@ -11579,7 +11549,7 @@ "convert-source-map": "1.7.0", "es6-iterator": "2.0.3", "loader-utils": "1.2.3", - "postcss": "7.0.21", + "postcss": "7.0.36", "rework": "1.0.1", "rework-visit": "1.0.0", "source-map": "0.6.1" @@ -11607,17 +11577,6 @@ "emojis-list": "^2.0.0", "json5": "^1.0.1" } - }, - "postcss": { - "version": "7.0.21", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.21.tgz", - "integrity": "sha512-uIFtJElxJo29QC753JzhidoAhvp/e/Exezkdhfmt8AymWT6/5B7W1WmponYWkHk2eg6sONyTch0A3nkMPun3SQ==", - "dev": true, - "requires": { - "chalk": "^2.4.2", - "source-map": "^0.6.1", - "supports-color": "^6.1.0" - } } } }, @@ -12418,9 +12377,9 @@ "dev": true }, "tar": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/tar/-/tar-6.1.0.tgz", - "integrity": "sha512-DUCttfhsnLCjwoDoFcI+B2iJgYa93vBnDUATYEeRx6sntCTdN01VnqsIuTlALXla/LWooNg0yEGeB+Y8WdFxGA==", + "version": "6.1.6", + "resolved": "https://registry.npmjs.org/tar/-/tar-6.1.6.tgz", + "integrity": "sha512-oaWyu5dQbHaYcyZCTfyPpC+VmI62/OM2RTUYavTk1MDr1cwW5Boi3baeYQKiZbY2uSQJGr+iMOzb/JFxLrft+g==", "dev": true, "requires": { "chownr": "^2.0.0", @@ -12474,9 +12433,9 @@ }, "dependencies": { "cacache": { - "version": "15.1.0", - "resolved": "https://registry.npmjs.org/cacache/-/cacache-15.1.0.tgz", - "integrity": "sha512-mfx0C+mCfWjD1PnwQ9yaOrwG1ou9FkKnx0SvzUHWdFt7r7GaRtzT+9M8HAvLu62zIHtnpQ/1m93nWNDCckJGXQ==", + "version": "15.2.0", + "resolved": "https://registry.npmjs.org/cacache/-/cacache-15.2.0.tgz", + "integrity": "sha512-uKoJSHmnrqXgthDFx/IU6ED/5xd+NNGe+Bb+kLZy7Ku4P+BaiWEUflAKPZ7eAzsYGcsAGASJZsybXp+quEcHTw==", "dev": true, "requires": { "@npmcli/move-file": "^1.0.1", @@ -12779,9 +12738,9 @@ } }, "chalk": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.1.tgz", - "integrity": "sha512-diHzdDKxcU+bAsUboHLPEDQiw0qEe0qd7SYUn3HgcFlWgbDcfLGswOHYeGrHKzG9z6UYf01d9VFMfZxPM1xZSg==", + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", "dev": true, "requires": { "ansi-styles": "^4.1.0", @@ -12915,9 +12874,9 @@ "dev": true }, "typescript": { - "version": "3.9.9", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-3.9.9.tgz", - "integrity": "sha512-kdMjTiekY+z/ubJCATUPlRDl39vXYiMV9iyeMuEuXZh2we6zz80uovNN2WlAxmmdE/Z/YQe+EbOEXB5RHEED3w==", + "version": "3.9.10", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-3.9.10.tgz", + "integrity": "sha512-w6fIxVE/H1PkLKcCPsFqKE7Kv7QUwhU8qQY2MueZXWx5cPZdwFupLgKK3vntcK98BtNHZtAF4LA/yl2a7k8R6Q==", "dev": true }, "ultron": { @@ -13910,9 +13869,9 @@ "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=" }, "ws": { - "version": "6.2.1", - "resolved": "https://registry.npmjs.org/ws/-/ws-6.2.1.tgz", - "integrity": "sha512-GIyAXC2cB7LjvpgMt9EKS2ldqr0MTrORaleiOno6TweZ6r3TKtoFQWay/2PceJ3RuBasOHzXNn5Lrw1X0bEjqA==", + "version": "6.2.2", + "resolved": "https://registry.npmjs.org/ws/-/ws-6.2.2.tgz", + "integrity": "sha512-zmhltoSR8u1cnDsD43TX59mzoMZsLKqUweyYBAIvTngR3shc0W6aOZylZmq/7hqyVxPdi+5Ud2QInblgyE72fw==", "dev": true, "requires": { "async-limiter": "~1.0.0" diff --git a/src/adobe-analytics.android.d.ts b/src/adobe-analytics.android.d.ts index 1d4a329..60fdb94 100644 --- a/src/adobe-analytics.android.d.ts +++ b/src/adobe-analytics.android.d.ts @@ -20,4 +20,5 @@ export declare class AdobeAnalytics extends AdobeAnalyticsCommon { getExperienceCloudId(): Promise; getIdentityInfoVariables(): Promise; private convertToHashMap; + startAssuranceSession(url: any): void; } diff --git a/src/adobe-analytics.android.ts b/src/adobe-analytics.android.ts index a38821e..1f63b14 100644 --- a/src/adobe-analytics.android.ts +++ b/src/adobe-analytics.android.ts @@ -8,6 +8,8 @@ import Signal = com.adobe.marketing.mobile.Signal; import Identity = com.adobe.marketing.mobile.Identity; import Analytics = com.adobe.marketing.mobile.Analytics; import UserProfile = com.adobe.marketing.mobile.UserProfile; +import Assurance = com.adobe.marketing.mobile.Assurance; +import Target = com.adobe.marketing.mobile.Target; import MobilePrivacyStatus = com.adobe.marketing.mobile.MobilePrivacyStatus; import AdobeCallbackWithError = com.adobe.marketing.mobile.AdobeCallbackWithError; import AdobeCallback = com.adobe.marketing.mobile.AdobeCallback; @@ -20,6 +22,8 @@ export class AdobeAnalytics extends AdobeAnalyticsCommon { this.app = app; MobileCore.setApplication(this.app); MobileCore.setLogLevel(adobeAnalyticsSetting.debug ? LoggingMode.DEBUG : LoggingMode.ERROR); + Assurance.registerExtension(); + Target.registerExtension(); UserProfile.registerExtension(); Identity.registerExtension(); Lifecycle.registerExtension(); @@ -95,4 +99,8 @@ export class AdobeAnalytics extends AdobeAnalyticsCommon { }, new java.util.HashMap()); } + public startAssuranceSession(url: any) { + //not applicable for Android + } + } diff --git a/src/adobe-analytics.common.d.ts b/src/adobe-analytics.common.d.ts index 8b62fd7..033cd4c 100644 --- a/src/adobe-analytics.common.d.ts +++ b/src/adobe-analytics.common.d.ts @@ -18,6 +18,7 @@ export declare abstract class AdobeAnalyticsCommon { abstract optOut(): void; abstract getExperienceCloudId(): Promise; abstract getIdentityInfoVariables(): Promise; + abstract startAssuranceSession(url: any): any; } export interface AdobeAnalyticsSettings { environmentId: string; diff --git a/src/adobe-analytics.common.ts b/src/adobe-analytics.common.ts index dcf9d39..0b7c2ba 100644 --- a/src/adobe-analytics.common.ts +++ b/src/adobe-analytics.common.ts @@ -22,6 +22,7 @@ export abstract class AdobeAnalyticsCommon { public abstract optOut(): void; public abstract getExperienceCloudId(): Promise; public abstract getIdentityInfoVariables(): Promise; + public abstract startAssuranceSession(url: any); } export interface AdobeAnalyticsSettings { diff --git a/src/adobe-analytics.ios.d.ts b/src/adobe-analytics.ios.d.ts index aa06af4..eae7f5f 100644 --- a/src/adobe-analytics.ios.d.ts +++ b/src/adobe-analytics.ios.d.ts @@ -18,4 +18,5 @@ export declare class AdobeAnalytics extends AdobeAnalyticsCommon { getExperienceCloudId(): Promise; getIdentityInfoVariables(): Promise; resumeCollectingLifecycleData(): void; + startAssuranceSession(url: NSURL): void; } diff --git a/src/adobe-analytics.ios.ts b/src/adobe-analytics.ios.ts index 36caa03..7c7dbbe 100644 --- a/src/adobe-analytics.ios.ts +++ b/src/adobe-analytics.ios.ts @@ -7,6 +7,8 @@ export class AdobeAnalytics extends AdobeAnalyticsCommon { public initSdk(adobeAnalyticsSettings: AdobeAnalyticsSettings, app: UIApplication): void { ACPCore.setLogLevel(adobeAnalyticsSettings.debug ? ACPMobileLogLevel.Debug : ACPMobileLogLevel.Error); ACPCore.configureWithAppId(adobeAnalyticsSettings.environmentId); + AEPAssurance.registerExtension(); + ACPTarget.registerExtension(); ACPUserProfile.registerExtension(); ACPIdentity.registerExtension(); ACPLifecycle.registerExtension(); @@ -76,4 +78,8 @@ export class AdobeAnalytics extends AdobeAnalyticsCommon { public resumeCollectingLifecycleData(): void { ACPCore.lifecycleStart(null); } + + public startAssuranceSession(url: NSURL): void { + AEPAssurance.startSession(url); + } } diff --git a/src/package-lock.json b/src/package-lock.json index d4d899f..48cde5f 100644 --- a/src/package-lock.json +++ b/src/package-lock.json @@ -26,27 +26,27 @@ } }, "@babel/code-frame": { - "version": "7.12.13", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.12.13.tgz", - "integrity": "sha512-HV1Cm0Q3ZrpCR93tkWOYiuYIgLxZXZFVG2VgK+MBWjUqZTundupbfx2aXarXuw5Ko5aMcjtJgbSs4vUGBS5v6g==", + "version": "7.14.5", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.14.5.tgz", + "integrity": "sha512-9pzDqyc6OLDaqe+zbACgFkb6fKMNG6CObKpnYXChRsvYGyEdc7CA2BaqeOM+vOtCS5ndmJicPJhKAwYRI6UfFw==", "dev": true, "requires": { - "@babel/highlight": "^7.12.13" + "@babel/highlight": "^7.14.5" } }, "@babel/helper-validator-identifier": { - "version": "7.14.0", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.14.0.tgz", - "integrity": "sha512-V3ts7zMSu5lfiwWDVWzRDGIN+lnCEUdaXgtVHJgLb1rGaA6jMrtB9EmE7L18foXJIE8Un/A/h6NJfGQp/e1J4A==", + "version": "7.14.9", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.14.9.tgz", + "integrity": "sha512-pQYxPY0UP6IHISRitNe8bsijHex4TWZXi2HwKVsjPiltzlhse2znVcm9Ace510VT1kxIHjGJCZZQBX2gJDbo0g==", "dev": true }, "@babel/highlight": { - "version": "7.14.0", - "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.14.0.tgz", - "integrity": "sha512-YSCOwxvTYEIMSGaBQb5kDDsCopDdiUGsqpatp3fOlI4+2HQSkTmEVWnVuySdAC5EWCqSWWTv0ib63RjR7dTBdg==", + "version": "7.14.5", + "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.14.5.tgz", + "integrity": "sha512-qf9u2WFWVV0MppaL877j2dBtQIDgmidgjGk5VIMw3OadXvYaXn66U1BFlH2t4+t3i+8PhedppRv+i40ABzd+gg==", "dev": true, "requires": { - "@babel/helper-validator-identifier": "^7.14.0", + "@babel/helper-validator-identifier": "^7.14.5", "chalk": "^2.0.0", "js-tokens": "^4.0.0" } @@ -168,19 +168,10 @@ "rimraf": "^3.0.2" } }, - "@types/anymatch": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/@types/anymatch/-/anymatch-3.0.0.tgz", - "integrity": "sha512-qLChUo6yhpQ9k905NwL74GU7TxH+9UODwwQ6ICNI+O6EDMExqH/Cv9NsbmcZ7yC/rRXJ/AHCzfgjsFRY5fKjYw==", - "dev": true, - "requires": { - "anymatch": "*" - } - }, "@types/glob": { - "version": "7.1.3", - "resolved": "https://registry.npmjs.org/@types/glob/-/glob-7.1.3.tgz", - "integrity": "sha512-SEYeGAIQIQX8NN6LDKprLjbrd5dARM5EXsd8GI/A5l0apYI1fGMWgPHSe4ZKL4eozlAyI+doUE9XbYS4xCkQ1w==", + "version": "7.1.4", + "resolved": "https://registry.npmjs.org/@types/glob/-/glob-7.1.4.tgz", + "integrity": "sha512-w+LsMxKyYQm347Otw+IfBXOv9UWVjpHpCDdbBMt8Kz/xbvCYNjP+0qPh91Km3iKfSRLBB0P7fAMf0KHrPu+MyA==", "dev": true, "requires": { "@types/minimatch": "*", @@ -188,21 +179,21 @@ } }, "@types/json-schema": { - "version": "7.0.7", - "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.7.tgz", - "integrity": "sha512-cxWFQVseBm6O9Gbw1IWb8r6OS4OhSt3hPZLkFApLjM8TEXROBuQGLAH2i2gZpcXdLBIrpXuTDhH7Vbm1iXmNGA==", + "version": "7.0.9", + "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.9.tgz", + "integrity": "sha512-qcUXuemtEu+E5wZSJHNxUXeCZhAfXKQ41D+duX+VYPde7xyEVZci+/oXKJL13tnRs9lR2pr4fod59GT6/X1/yQ==", "dev": true }, "@types/minimatch": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/@types/minimatch/-/minimatch-3.0.4.tgz", - "integrity": "sha512-1z8k4wzFnNjVK/tlxvrWuK5WMt6mydWWP7+zvH5eFep4oj+UkrfiJTRtjCeBXNpwaA/FYqqtb4/QS4ianFpIRA==", + "version": "3.0.5", + "resolved": "https://registry.npmjs.org/@types/minimatch/-/minimatch-3.0.5.tgz", + "integrity": "sha512-Klz949h02Gz2uZCMGwDUSDS1YBlTdDDgbWHi+81l29tQALUtvz4rAYi5uoVhE5Lagoq6DeqAUlbrHvW/mXDgdQ==", "dev": true }, "@types/node": { - "version": "15.3.1", - "resolved": "https://registry.npmjs.org/@types/node/-/node-15.3.1.tgz", - "integrity": "sha512-weaeiP4UF4XgF++3rpQhpIJWsCTS4QJw5gvBhQu6cFIxTwyxWIe3xbnrY/o2lTCQ0lsdb8YIUDUvLR4Vuz5rbw==", + "version": "16.4.12", + "resolved": "https://registry.npmjs.org/@types/node/-/node-16.4.12.tgz", + "integrity": "sha512-zxrTNFl9Z8boMJXs6ieqZP0wAhvkdzmHSxTlJabM16cf5G9xBc1uPRH5Bbv2omEDDiM8MzTfqTJXBf0Ba4xFWA==", "dev": true }, "@types/parse-json": { @@ -218,38 +209,38 @@ "dev": true }, "@types/tapable": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/@types/tapable/-/tapable-1.0.7.tgz", - "integrity": "sha512-0VBprVqfgFD7Ehb2vd8Lh9TG3jP98gvr8rgehQqzztZNI7o8zS8Ad4jyZneKELphpuE212D8J70LnSNQSyO6bQ==", + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/@types/tapable/-/tapable-1.0.8.tgz", + "integrity": "sha512-ipixuVrh2OdNmauvtT51o3d8z12p6LtFW9in7U79der/kwejjdNchQC5UMn5u/KxNoM7VHHOs/l8KS8uHxhODQ==", "dev": true }, "@types/uglify-js": { - "version": "3.13.0", - "resolved": "https://registry.npmjs.org/@types/uglify-js/-/uglify-js-3.13.0.tgz", - "integrity": "sha512-EGkrJD5Uy+Pg0NUR8uA4bJ5WMfljyad0G+784vLCNUkD+QwOJXUbBYExXfVGf7YtyzdQp3L/XMYcliB987kL5Q==", + "version": "3.13.1", + "resolved": "https://registry.npmjs.org/@types/uglify-js/-/uglify-js-3.13.1.tgz", + "integrity": "sha512-O3MmRAk6ZuAKa9CHgg0Pr0+lUOqoMLpc9AS4R8ano2auvsg7IE8syF3Xh/NPr26TWklxYcqoEEFdzLLs1fV9PQ==", "dev": true, "requires": { "source-map": "^0.6.1" } }, "@types/webpack": { - "version": "4.41.28", - "resolved": "https://registry.npmjs.org/@types/webpack/-/webpack-4.41.28.tgz", - "integrity": "sha512-Nn84RAiJjKRfPFFCVR8LC4ueTtTdfWAMZ03THIzZWRJB+rX24BD3LqPSFnbMscWauEsT4segAsylPDIaZyZyLQ==", + "version": "4.41.30", + "resolved": "https://registry.npmjs.org/@types/webpack/-/webpack-4.41.30.tgz", + "integrity": "sha512-GUHyY+pfuQ6haAfzu4S14F+R5iGRwN6b2FRNJY7U0NilmFAqbsOfK6j1HwuLBAqwRIT+pVdNDJGJ6e8rpp0KHA==", "dev": true, "requires": { - "@types/anymatch": "*", "@types/node": "*", "@types/tapable": "^1", "@types/uglify-js": "*", "@types/webpack-sources": "*", + "anymatch": "^3.0.0", "source-map": "^0.6.0" } }, "@types/webpack-sources": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/@types/webpack-sources/-/webpack-sources-2.1.0.tgz", - "integrity": "sha512-LXn/oYIpBeucgP1EIJbKQ2/4ZmpvRl+dlrFdX7+94SKRUV3Evy3FsfMZY318vGhkWUS5MPhtOM3w1/hCOAOXcg==", + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/@types/webpack-sources/-/webpack-sources-2.1.1.tgz", + "integrity": "sha512-MjM1R6iuw8XaVbtkCBz0N349cyqBjJHCbQiOeppe3VBeFvxqs74RKHAVt9LkxTnUWc7YLZOEsUfPUnmK6SBPKQ==", "dev": true, "requires": { "@types/node": "*", @@ -960,9 +951,9 @@ } }, "buffer-from": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.1.tgz", - "integrity": "sha512-MQcXEUbCKtEo7bhqEs6560Hyd4XaovZlO/k9V3hjVUF/zwW7KBVdSK4gIt/bzwS9MbR5qob+F5jusZsb0YQK2A==", + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz", + "integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==", "dev": true }, "buffer-xor": { @@ -1094,20 +1085,20 @@ "dev": true }, "chokidar": { - "version": "3.5.1", - "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.1.tgz", - "integrity": "sha512-9+s+Od+W0VJJzawDma/gvBNQqkTiqYTWLuZoyAsivsI4AaWTCzHG06/TMjsf1cYe9Cb97UCEhjz7HvnPk2p/tw==", + "version": "3.5.2", + "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.2.tgz", + "integrity": "sha512-ekGhOnNVPgT77r4K/U3GDhu+FQ2S8TnK/s2KbIGXi0SZWuwkZ2QNyfWdZW+TVfn84DpEP7rLeCt2UI6bJ8GwbQ==", "dev": true, "optional": true, "requires": { - "anymatch": "~3.1.1", + "anymatch": "~3.1.2", "braces": "~3.0.2", - "fsevents": "~2.3.1", - "glob-parent": "~5.1.0", + "fsevents": "~2.3.2", + "glob-parent": "~5.1.2", "is-binary-path": "~2.1.0", "is-glob": "~4.0.1", "normalize-path": "~3.0.0", - "readdirp": "~3.5.0" + "readdirp": "~3.6.0" } }, "chownr": { @@ -2430,9 +2421,9 @@ } }, "chalk": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.1.tgz", - "integrity": "sha512-diHzdDKxcU+bAsUboHLPEDQiw0qEe0qd7SYUn3HgcFlWgbDcfLGswOHYeGrHKzG9z6UYf01d9VFMfZxPM1xZSg==", + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", "dev": true, "requires": { "ansi-styles": "^4.1.0", @@ -2507,9 +2498,9 @@ } }, "forwarded": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.1.2.tgz", - "integrity": "sha1-mMI9qxF1ZXuMBXPozszZGw/xjIQ=", + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.2.0.tgz", + "integrity": "sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==", "dev": true }, "fragment-cache": { @@ -3080,9 +3071,9 @@ "dev": true }, "is-core-module": { - "version": "2.4.0", - "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.4.0.tgz", - "integrity": "sha512-6A2fkfq1rfeQZjxrZJGerpLCTHRNEBiSgnu0+obeJpEPZRUooHgsizvzv0ZjJwOz3iWIHdJtVWJ/tmPr3D21/A==", + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.5.0.tgz", + "integrity": "sha512-TXCMSDsEHMEEZ6eCA8rwRDbLu55MRGmrctljsBX/2v1d9/GzqHOxW5c5oPSgrUt2vBFXebu9rGqckXGPWOlYpg==", "dev": true, "requires": { "has": "^1.0.3" @@ -3524,18 +3515,18 @@ "dev": true }, "mime-db": { - "version": "1.47.0", - "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.47.0.tgz", - "integrity": "sha512-QBmA/G2y+IfeS4oktet3qRZ+P5kPhCKRXxXnQEudYqUaEioAU1/Lq2us3D/t1Jfo4hE9REQPrbB7K5sOczJVIw==", + "version": "1.49.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.49.0.tgz", + "integrity": "sha512-CIc8j9URtOVApSFCQIF+VBkX1RwXp/oMMOrqdyXSBXq5RWNEsRfyj1kiRnQgmNXmHxPoFIxOroKA3zcU9P+nAA==", "dev": true }, "mime-types": { - "version": "2.1.30", - "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.30.tgz", - "integrity": "sha512-crmjA4bLtR8m9qLpHvgxSChT+XoSlZi8J4n/aIdn3z92e/U47Z0V/yl+Wh9W046GgFVAmoNR/fmdbZYcSSIUeg==", + "version": "2.1.32", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.32.tgz", + "integrity": "sha512-hJGaVS4G4c9TSMYh2n6SQAGrC4RnfU+daP8G7cSCmaqNjiOoUY0VHCMS42pxnQmVF1GWwFhbHWn3RIxCqTmZ9A==", "dev": true, "requires": { - "mime-db": "1.47.0" + "mime-db": "1.49.0" } }, "minimalistic-assert": { @@ -3719,9 +3710,9 @@ "dev": true }, "nan": { - "version": "2.14.2", - "resolved": "https://registry.npmjs.org/nan/-/nan-2.14.2.tgz", - "integrity": "sha512-M2ufzIiINKCuDfBSAUr1vWQ+vuVcA9kqx8JJUsbQi6yf1uGRyb7HfpdfUr5qLXf3B/t8dPvcjhKMmlfnP47EzQ==", + "version": "2.15.0", + "resolved": "https://registry.npmjs.org/nan/-/nan-2.15.0.tgz", + "integrity": "sha512-8ZtvEnA2c5aYCZYd1cvgdnU6cqwixRoYg70xPLWUws5ORTa/lnw+u4amixRS/Ac5U5mQVgp9pnlSUnbNWFaWZQ==", "dev": true, "optional": true }, @@ -4073,9 +4064,9 @@ "dev": true }, "path-parse": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.6.tgz", - "integrity": "sha512-GSmOT2EbHrINBf9SR7CDELwlJ8AENk3Qn7OikK4nFYAu3Ote2+JYNVvkpAEQm3/TLNEJFD/xZJjzyxg3KBWOzw==", + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", + "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==", "dev": true }, "path-to-regexp": { @@ -4115,9 +4106,9 @@ } }, "picomatch": { - "version": "2.2.3", - "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.2.3.tgz", - "integrity": "sha512-KpELjfwcCDUb9PeigTs2mBJzXUPzAuP2oPcA989He8Rte0+YUAjw1JVedDhuTKPkHjSYzMN3npC9luThGYEKdg==", + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.0.tgz", + "integrity": "sha512-lY1Q/PiJGC2zOv/z391WOTD+Z02bCgsFfvxoXXf6h7kv9o+WmsmzYqrAwY63sNgOxE4xEdq0WyUnXfKeBrSvYw==", "dev": true }, "pify": { @@ -4157,9 +4148,9 @@ "dev": true }, "postcss": { - "version": "7.0.35", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz", - "integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==", + "version": "7.0.36", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.36.tgz", + "integrity": "sha512-BebJSIUMwJHRH0HAQoxN4u1CN86glsrwsW0q7T+/m44eXOUAxSNdHRkNZPYz5vVUbg17hFgOQDE7fZk7li3pZw==", "dev": true, "requires": { "chalk": "^2.4.2", @@ -4284,12 +4275,12 @@ } }, "proxy-addr": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.6.tgz", - "integrity": "sha512-dh/frvCBVmSsDYzw6n926jv974gddhkFPfiN8hPOi30Wax25QZyZEGveluCgliBnqmuM+UJmBErbAUFIoDbjOw==", + "version": "2.0.7", + "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.7.tgz", + "integrity": "sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg==", "dev": true, "requires": { - "forwarded": "~0.1.2", + "forwarded": "0.2.0", "ipaddr.js": "1.9.1" } }, @@ -4441,12 +4432,12 @@ } }, "schema-utils": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-3.0.0.tgz", - "integrity": "sha512-6D82/xSzO094ajanoOSbe4YvXWMfn2A//8Y1+MUqFAJul5Bs+yn36xbK9OtNDcRVSBJ9jjeoXftM6CfztsjOAA==", + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-3.1.1.tgz", + "integrity": "sha512-Y5PQxS4ITlC+EahLuXaY86TXfR7Dc5lw294alXOq86JAHCihAIZfqv8nNCWvaEJvaC51uN9hbLGeV0cFBdH+Fw==", "dev": true, "requires": { - "@types/json-schema": "^7.0.6", + "@types/json-schema": "^7.0.8", "ajv": "^6.12.5", "ajv-keywords": "^3.5.2" } @@ -4478,9 +4469,9 @@ } }, "readdirp": { - "version": "3.5.0", - "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.5.0.tgz", - "integrity": "sha512-cMhu7c/8rdhkHXWsY+osBhfSy0JikwpHK/5+imo+LpeasTF8ouErHrlYkwT0++njiyuDvc7OFY5T3ukvZ8qmFQ==", + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz", + "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==", "dev": true, "optional": true, "requires": { @@ -4616,9 +4607,9 @@ "dev": true }, "resolve-url-loader": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/resolve-url-loader/-/resolve-url-loader-3.1.3.tgz", - "integrity": "sha512-WbDSNFiKPPLem1ln+EVTE+bFUBdTTytfQZWbmghroaFNFaAVmGq0Saqw6F/306CwgPXsGwXVxbODE+3xAo/YbA==", + "version": "3.1.4", + "resolved": "https://registry.npmjs.org/resolve-url-loader/-/resolve-url-loader-3.1.4.tgz", + "integrity": "sha512-D3sQ04o0eeQEySLrcz4DsX3saHfsr8/N6tfhblxgZKXxMT2Louargg12oGNfoTRLV09GXhVUe5/qgA5vdgNigg==", "dev": true, "requires": { "adjust-sourcemap-loader": "3.0.0", @@ -4627,7 +4618,7 @@ "convert-source-map": "1.7.0", "es6-iterator": "2.0.3", "loader-utils": "1.2.3", - "postcss": "7.0.21", + "postcss": "7.0.36", "rework": "1.0.1", "rework-visit": "1.0.0", "source-map": "0.6.1" @@ -4655,17 +4646,6 @@ "emojis-list": "^2.0.0", "json5": "^1.0.1" } - }, - "postcss": { - "version": "7.0.21", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.21.tgz", - "integrity": "sha512-uIFtJElxJo29QC753JzhidoAhvp/e/Exezkdhfmt8AymWT6/5B7W1WmponYWkHk2eg6sONyTch0A3nkMPun3SQ==", - "dev": true, - "requires": { - "chalk": "^2.4.2", - "source-map": "^0.6.1", - "supports-color": "^6.1.0" - } } } }, @@ -5313,9 +5293,9 @@ "dev": true }, "tar": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/tar/-/tar-6.1.0.tgz", - "integrity": "sha512-DUCttfhsnLCjwoDoFcI+B2iJgYa93vBnDUATYEeRx6sntCTdN01VnqsIuTlALXla/LWooNg0yEGeB+Y8WdFxGA==", + "version": "6.1.6", + "resolved": "https://registry.npmjs.org/tar/-/tar-6.1.6.tgz", + "integrity": "sha512-oaWyu5dQbHaYcyZCTfyPpC+VmI62/OM2RTUYavTk1MDr1cwW5Boi3baeYQKiZbY2uSQJGr+iMOzb/JFxLrft+g==", "dev": true, "requires": { "chownr": "^2.0.0", @@ -5369,9 +5349,9 @@ }, "dependencies": { "cacache": { - "version": "15.1.0", - "resolved": "https://registry.npmjs.org/cacache/-/cacache-15.1.0.tgz", - "integrity": "sha512-mfx0C+mCfWjD1PnwQ9yaOrwG1ou9FkKnx0SvzUHWdFt7r7GaRtzT+9M8HAvLu62zIHtnpQ/1m93nWNDCckJGXQ==", + "version": "15.2.0", + "resolved": "https://registry.npmjs.org/cacache/-/cacache-15.2.0.tgz", + "integrity": "sha512-uKoJSHmnrqXgthDFx/IU6ED/5xd+NNGe+Bb+kLZy7Ku4P+BaiWEUflAKPZ7eAzsYGcsAGASJZsybXp+quEcHTw==", "dev": true, "requires": { "@npmcli/move-file": "^1.0.1", @@ -5650,9 +5630,9 @@ } }, "chalk": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.1.tgz", - "integrity": "sha512-diHzdDKxcU+bAsUboHLPEDQiw0qEe0qd7SYUn3HgcFlWgbDcfLGswOHYeGrHKzG9z6UYf01d9VFMfZxPM1xZSg==", + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", "dev": true, "requires": { "ansi-styles": "^4.1.0", @@ -5730,9 +5710,9 @@ } }, "ts-patch": { - "version": "1.3.3", - "resolved": "https://registry.npmjs.org/ts-patch/-/ts-patch-1.3.3.tgz", - "integrity": "sha512-ZQYqwuKpXFel/FFJcrtOskykixtimCEwORboawDnoGCFChfTki9aGS99skmxd4lc4PZxZntEJdMIEwhk1QmJdQ==", + "version": "1.4.2", + "resolved": "https://registry.npmjs.org/ts-patch/-/ts-patch-1.4.2.tgz", + "integrity": "sha512-Nj3mjvQM3t8cB4wGfLKeE8zBT+cx1mDjttOcx9nb2fEl6Q/5u79w19tQniv2eLmeYEbki/+wdQc0zszPEpOxOg==", "dev": true, "requires": { "chalk": "^4.1.0", @@ -5758,9 +5738,9 @@ } }, "chalk": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.1.tgz", - "integrity": "sha512-diHzdDKxcU+bAsUboHLPEDQiw0qEe0qd7SYUn3HgcFlWgbDcfLGswOHYeGrHKzG9z6UYf01d9VFMfZxPM1xZSg==", + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", "dev": true, "requires": { "ansi-styles": "^4.1.0", @@ -5915,13 +5895,10 @@ "dev": true }, "typescript": { - "version": "4.0.7", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.0.7.tgz", - "integrity": "sha512-yi7M4y74SWvYbnazbn8/bmJmX4Zlej39ZOqwG/8dut/MYoSQ119GY9ZFbbGsD4PFZYWxqik/XsP3vk3+W5H3og==", - "dev": true, - "requires": { - "ts-node": "^9.1.1" - } + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.0.8.tgz", + "integrity": "sha512-oz1765PN+imfz1MlZzSZPtC/tqcwsCyIYA8L47EkRnRW97ztRk83SzMiWLrnChC0vqoYxSU1fcFUDA5gV/ZiPg==", + "dev": true }, "union-value": { "version": "1.0.1", @@ -6901,9 +6878,9 @@ "dev": true }, "ws": { - "version": "6.2.1", - "resolved": "https://registry.npmjs.org/ws/-/ws-6.2.1.tgz", - "integrity": "sha512-GIyAXC2cB7LjvpgMt9EKS2ldqr0MTrORaleiOno6TweZ6r3TKtoFQWay/2PceJ3RuBasOHzXNn5Lrw1X0bEjqA==", + "version": "6.2.2", + "resolved": "https://registry.npmjs.org/ws/-/ws-6.2.2.tgz", + "integrity": "sha512-zmhltoSR8u1cnDsD43TX59mzoMZsLKqUweyYBAIvTngR3shc0W6aOZylZmq/7hqyVxPdi+5Ud2QInblgyE72fw==", "dev": true, "requires": { "async-limiter": "~1.0.0" diff --git a/src/package.json b/src/package.json index 911ae4e..1677c78 100644 --- a/src/package.json +++ b/src/package.json @@ -1,6 +1,6 @@ { "name": "@essent/nativescript-adobe-experience-cloud", - "version": "2.0.0", + "version": "2.1.0", "description": "Nativescript Adobe experience cloud integration plugin", "main": "adobe-analytics", "typings": "index.d.ts", diff --git a/src/platforms/android/include.gradle b/src/platforms/android/include.gradle index 0d199ee..2a3ad4c 100644 --- a/src/platforms/android/include.gradle +++ b/src/platforms/android/include.gradle @@ -5,6 +5,8 @@ android { } dependencies { + implementation 'com.adobe.marketing.mobile:assurance:1.+' + implementation 'com.adobe.marketing.mobile:target:1.+' implementation 'com.adobe.marketing.mobile:userprofile:1.+' implementation 'com.adobe.marketing.mobile:sdk-core:1.+' implementation 'com.adobe.marketing.mobile:analytics:1.+' diff --git a/src/platforms/android/typings/assurance/android-declarations.d.ts b/src/platforms/android/typings/assurance/android-declarations.d.ts new file mode 100644 index 0000000..972ba08 --- /dev/null +++ b/src/platforms/android/typings/assurance/android-declarations.d.ts @@ -0,0 +1,4 @@ +declare module native { export class Array { constructor(); length: number; [index: number]: T; } } + +import globalAndroid = android; + diff --git a/src/platforms/android/typings/assurance/android.d.ts b/src/platforms/android/typings/assurance/android.d.ts new file mode 100644 index 0000000..8e0bba7 --- /dev/null +++ b/src/platforms/android/typings/assurance/android.d.ts @@ -0,0 +1,758 @@ +/// + +declare module com { + export module adobe { + export module marketing { + export module mobile { + export class Assurance { + public static class: java.lang.Class; + public static extensionVersion(): string; + public constructor(); + public static registerExtension(): boolean; + public static startSession(param0: string): void; + } + } + } + } +} + +declare module com { + export module adobe { + export module marketing { + export module mobile { + export class AssuranceBlob { + public static class: java.lang.Class; + } + export module AssuranceBlob { + export class BlobUploadCallback { + public static class: java.lang.Class; + /** + * Constructs a new instance of the com.adobe.marketing.mobile.AssuranceBlob$BlobUploadCallback interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. + */ + public constructor(implementation: { + onSuccess(param0: string): void; + onFailure(param0: string): void; + }); + public constructor(); + public onFailure(param0: string): void; + public onSuccess(param0: string): void; + } + } + } + } + } +} + +declare module com { + export module adobe { + export module marketing { + export module mobile { + export class AssuranceClientInfo { + public static class: java.lang.Class; + } + } + } + } +} + +declare module com { + export module adobe { + export module marketing { + export module mobile { + export class AssuranceConnectionStatusUI extends com.adobe.marketing.mobile.AssuranceFullScreenTakeover.FullScreenTakeoverCallbacks { + public static class: java.lang.Class; + public onDismiss(param0: com.adobe.marketing.mobile.AssuranceFullScreenTakeover): void; + public onShow(param0: com.adobe.marketing.mobile.AssuranceFullScreenTakeover): void; + public onURLTriggered(param0: string): boolean; + } + } + } + } +} + +declare module com { + export module adobe { + export module marketing { + export module mobile { + export class AssuranceConstants { + public static class: java.lang.Class; + } + export module AssuranceConstants { + export class AssuranceEnvironment { + public static class: java.lang.Class; + public static PROD: com.adobe.marketing.mobile.AssuranceConstants.AssuranceEnvironment; + public static STAGE: com.adobe.marketing.mobile.AssuranceConstants.AssuranceEnvironment; + public static QA: com.adobe.marketing.mobile.AssuranceConstants.AssuranceEnvironment; + public static DEV: com.adobe.marketing.mobile.AssuranceConstants.AssuranceEnvironment; + public static values(): native.Array; + public static valueOf(param0: string): com.adobe.marketing.mobile.AssuranceConstants.AssuranceEnvironment; + public stringValue(): string; + public static get(param0: string): com.adobe.marketing.mobile.AssuranceConstants.AssuranceEnvironment; + } + export class AssuranceEventKeys { + public static class: java.lang.Class; + } + export class AssuranceEventType { + public static class: java.lang.Class; + } + export class AssuranceSocketError { + public static class: java.lang.Class; + public static GENERIC_ERROR: com.adobe.marketing.mobile.AssuranceConstants.AssuranceSocketError; + public static NO_ORGID: com.adobe.marketing.mobile.AssuranceConstants.AssuranceSocketError; + public static ORGID_MISMATCH: com.adobe.marketing.mobile.AssuranceConstants.AssuranceSocketError; + public static CONNECTION_LIMIT: com.adobe.marketing.mobile.AssuranceConstants.AssuranceSocketError; + public static EVENT_LIMIT: com.adobe.marketing.mobile.AssuranceConstants.AssuranceSocketError; + public static CLIENT_ERROR: com.adobe.marketing.mobile.AssuranceConstants.AssuranceSocketError; + public static values(): native.Array; + public static valueOf(param0: string): com.adobe.marketing.mobile.AssuranceConstants.AssuranceSocketError; + public toString(): string; + } + export class BlobKeys { + public static class: java.lang.Class; + } + export class ClientInfoKeys { + public static class: java.lang.Class; + } + export class ControlType { + public static class: java.lang.Class; + } + export class DataStoreKeys { + public static class: java.lang.Class; + } + export class DeeplinkURLKeys { + public static class: java.lang.Class; + } + export class GenericEventPayloadKey { + public static class: java.lang.Class; + } + export class IntentExtraKey { + public static class: java.lang.Class; + } + export class PayloadDataKeys { + public static class: java.lang.Class; + } + export class SDKConfigurationKey { + public static class: java.lang.Class; + } + export class SDKEventDataKey { + public static class: java.lang.Class; + } + export class SDKEventName { + public static class: java.lang.Class; + } + export class SDKEventType { + public static class: java.lang.Class; + } + export class SDKSharedStateName { + public static class: java.lang.Class; + } + export class SharedStateKeys { + public static class: java.lang.Class; + } + export class SocketCloseCode { + public static class: java.lang.Class; + } + export class UILogColorVisibility { + public static class: java.lang.Class; + public static LOW: com.adobe.marketing.mobile.AssuranceConstants.UILogColorVisibility; + public static NORMAL: com.adobe.marketing.mobile.AssuranceConstants.UILogColorVisibility; + public static HIGH: com.adobe.marketing.mobile.AssuranceConstants.UILogColorVisibility; + public static CRITICAL: com.adobe.marketing.mobile.AssuranceConstants.UILogColorVisibility; + public static values(): native.Array; + public static valueOf(param0: string): com.adobe.marketing.mobile.AssuranceConstants.UILogColorVisibility; + public getValue(): number; + } + } + } + } + } +} + +declare module com { + export module adobe { + export module marketing { + export module mobile { + export class AssuranceErrorDisplayActivity { + public static class: java.lang.Class; + public onCreate(param0: globalAndroid.os.Bundle): void; + } + } + } + } +} + +declare module com { + export module adobe { + export module marketing { + export module mobile { + export class AssuranceEvent { + public static class: java.lang.Class; + } + } + } + } +} + +declare module com { + export module adobe { + export module marketing { + export module mobile { + export class AssuranceExtension { + public static class: java.lang.Class; + public getVersion(): string; + public getName(): string; + public onUnregistered(): void; + public onUnexpectedError(param0: com.adobe.marketing.mobile.ExtensionUnexpectedError): void; + } + } + } + } +} + +declare module com { + export module adobe { + export module marketing { + export module mobile { + export class AssuranceFloatingButton extends com.adobe.marketing.mobile.AssuranceSessionLifecycleListener { + public static class: java.lang.Class; + public getCurrentGraphic(): com.adobe.marketing.mobile.AssuranceFloatingButtonView.Graphic; + public onActivityResumed(param0: globalAndroid.app.Activity): void; + public onActivityDestroyed(param0: globalAndroid.app.Activity): void; + } + } + } + } +} + +declare module com { + export module adobe { + export module marketing { + export module mobile { + export class AssuranceFloatingButtonView { + public static class: java.lang.Class; + public constructor(param0: globalAndroid.content.Context); + public constructor(param0: globalAndroid.content.Context, param1: globalAndroid.util.AttributeSet); + public setGraphic(param0: com.adobe.marketing.mobile.AssuranceFloatingButtonView.Graphic): void; + public setOnPositionChangedListener(param0: com.adobe.marketing.mobile.AssuranceFloatingButtonView.OnPositionChangedListener): void; + public setPosition(param0: number, param1: number): void; + public onTouch(param0: globalAndroid.view.View, param1: globalAndroid.view.MotionEvent): boolean; + public constructor(param0: globalAndroid.content.Context, param1: globalAndroid.util.AttributeSet, param2: number); + } + export module AssuranceFloatingButtonView { + export class Graphic { + public static class: java.lang.Class; + public static CONNECTED: com.adobe.marketing.mobile.AssuranceFloatingButtonView.Graphic; + public static DISCONNECTED: com.adobe.marketing.mobile.AssuranceFloatingButtonView.Graphic; + public static values(): native.Array; + public static valueOf(param0: string): com.adobe.marketing.mobile.AssuranceFloatingButtonView.Graphic; + } + export class OnPositionChangedListener { + public static class: java.lang.Class; + /** + * Constructs a new instance of the com.adobe.marketing.mobile.AssuranceFloatingButtonView$OnPositionChangedListener interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. + */ + public constructor(implementation: { + onPositionChanged(param0: number, param1: number): void; + }); + public constructor(); + public onPositionChanged(param0: number, param1: number): void; + } + } + } + } + } +} + +declare module com { + export module adobe { + export module marketing { + export module mobile { + export class AssuranceFullScreenTakeover { + public static class: java.lang.Class; + } + export module AssuranceFullScreenTakeover { + export class FullScreenTakeoverCallbacks { + public static class: java.lang.Class; + /** + * Constructs a new instance of the com.adobe.marketing.mobile.AssuranceFullScreenTakeover$FullScreenTakeoverCallbacks interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. + */ + public constructor(implementation: { + onURLTriggered(param0: string): boolean; + onShow(param0: com.adobe.marketing.mobile.AssuranceFullScreenTakeover): void; + onDismiss(param0: com.adobe.marketing.mobile.AssuranceFullScreenTakeover): void; + }); + public constructor(); + public onShow(param0: com.adobe.marketing.mobile.AssuranceFullScreenTakeover): void; + public onURLTriggered(param0: string): boolean; + public onDismiss(param0: com.adobe.marketing.mobile.AssuranceFullScreenTakeover): void; + } + export class MessageFullScreenRunner { + public static class: java.lang.Class; + public run(): void; + } + export class MessageFullScreenWebViewClient { + public static class: java.lang.Class; + public shouldOverrideUrlLoading(param0: globalAndroid.webkit.WebView, param1: globalAndroid.webkit.WebResourceRequest): boolean; + public shouldOverrideUrlLoading(param0: globalAndroid.webkit.WebView, param1: string): boolean; + public onPageFinished(param0: globalAndroid.webkit.WebView, param1: string): void; + } + } + } + } + } +} + +declare module com { + export module adobe { + export module marketing { + export module mobile { + export class AssuranceFullScreenTakeoverActivity { + public static class: java.lang.Class; + public static weakFullScreenTakeoverReference: java.lang.ref.WeakReference; + public static isDisplayed: boolean; + public static setFullscreenMessage(param0: com.adobe.marketing.mobile.AssuranceFullScreenTakeover): void; + public onCreate(param0: globalAndroid.os.Bundle): void; + public constructor(); + public onBackPressed(): void; + public onStop(): void; + public onResume(): void; + } + } + } + } +} + +declare module com { + export module adobe { + export module marketing { + export module mobile { + export class AssuranceIOUtils { + public static class: java.lang.Class; + } + } + } + } +} + +declare module com { + export module adobe { + export module marketing { + export module mobile { + export class AssuranceListenerAssuranceRequestContent { + public static class: java.lang.Class; + public hear(param0: com.adobe.marketing.mobile.Event): void; + } + } + } + } +} + +declare module com { + export module adobe { + export module marketing { + export module mobile { + export class AssuranceListenerHubPlacesRequests { + public static class: java.lang.Class; + public hear(param0: com.adobe.marketing.mobile.Event): void; + } + } + } + } +} + +declare module com { + export module adobe { + export module marketing { + export module mobile { + export class AssuranceListenerHubPlacesResponses { + public static class: java.lang.Class; + public hear(param0: com.adobe.marketing.mobile.Event): void; + } + } + } + } +} + +declare module com { + export module adobe { + export module marketing { + export module mobile { + export class AssuranceListenerHubWildcard { + public static class: java.lang.Class; + public hear(param0: com.adobe.marketing.mobile.Event): void; + } + } + } + } +} + +declare module com { + export module adobe { + export module marketing { + export module mobile { + export class AssurancePinCodeEntryURLProvider implements com.adobe.marketing.mobile.AssuranceSessionURLProvider, com.adobe.marketing.mobile.AssuranceFullScreenTakeover.FullScreenTakeoverCallbacks { + public static class: java.lang.Class; + public onDismiss(param0: com.adobe.marketing.mobile.AssuranceFullScreenTakeover): void; + public onShow(param0: com.adobe.marketing.mobile.AssuranceFullScreenTakeover): void; + public onConnectionInitialized(): void; + public onConnectionSucceeded(): void; + public isDisplayed(): boolean; + public onURLTriggered(param0: string): boolean; + public getAuthorizedSessionURL(param0: com.adobe.marketing.mobile.AuthorizedSessionURLCallback): void; + public onConnectionFailed(param0: com.adobe.marketing.mobile.AssuranceConstants.AssuranceSocketError, param1: boolean): void; + public onConnectionFinished(): void; + } + } + } + } +} + +declare module com { + export module adobe { + export module marketing { + export module mobile { + export class AssurancePlugin { + public static class: java.lang.Class; + /** + * Constructs a new instance of the com.adobe.marketing.mobile.AssurancePlugin interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. + */ + public constructor(implementation: { + getVendor(): string; + getControlType(): string; + onEventReceived(param0: com.adobe.marketing.mobile.AssuranceEvent): void; + onRegistered(param0: com.adobe.marketing.mobile.AssuranceSession): void; + onSessionConnected(): void; + onSessionDisconnected(param0: number): void; + onSessionTerminated(): void; + }); + public constructor(); + public getControlType(): string; + public onEventReceived(param0: com.adobe.marketing.mobile.AssuranceEvent): void; + public onSessionConnected(): void; + public onSessionDisconnected(param0: number): void; + public onRegistered(param0: com.adobe.marketing.mobile.AssuranceSession): void; + public getVendor(): string; + public onSessionTerminated(): void; + } + } + } + } +} + +declare module com { + export module adobe { + export module marketing { + export module mobile { + export class AssurancePluginConfigSwitcher extends com.adobe.marketing.mobile.AssurancePlugin { + public static class: java.lang.Class; + public getControlType(): string; + public onEventReceived(param0: com.adobe.marketing.mobile.AssuranceEvent): void; + public onSessionConnected(): void; + public onSessionDisconnected(param0: number): void; + public onRegistered(param0: com.adobe.marketing.mobile.AssuranceSession): void; + public getVendor(): string; + public onSessionTerminated(): void; + } + } + } + } +} + +declare module com { + export module adobe { + export module marketing { + export module mobile { + export class AssurancePluginFakeEventGenerator extends com.adobe.marketing.mobile.AssurancePlugin { + public static class: java.lang.Class; + public getControlType(): string; + public onEventReceived(param0: com.adobe.marketing.mobile.AssuranceEvent): void; + public onSessionConnected(): void; + public onSessionDisconnected(param0: number): void; + public onRegistered(param0: com.adobe.marketing.mobile.AssuranceSession): void; + public getVendor(): string; + public onSessionTerminated(): void; + } + } + } + } +} + +declare module com { + export module adobe { + export module marketing { + export module mobile { + export class AssurancePluginLogForwarder extends com.adobe.marketing.mobile.AssurancePlugin { + public static class: java.lang.Class; + public getControlType(): string; + public onEventReceived(param0: com.adobe.marketing.mobile.AssuranceEvent): void; + public onSessionConnected(): void; + public onSessionDisconnected(param0: number): void; + public onRegistered(param0: com.adobe.marketing.mobile.AssuranceSession): void; + public getVendor(): string; + public onSessionTerminated(): void; + } + export module AssurancePluginLogForwarder { + export class LogForwardThread { + public static class: java.lang.Class; + public run(): void; + } + } + } + } + } +} + +declare module com { + export module adobe { + export module marketing { + export module mobile { + export class AssurancePluginScreenshot extends com.adobe.marketing.mobile.AssurancePlugin { + public static class: java.lang.Class; + public getControlType(): string; + public onEventReceived(param0: com.adobe.marketing.mobile.AssuranceEvent): void; + public onSessionConnected(): void; + public onSessionDisconnected(param0: number): void; + public onRegistered(param0: com.adobe.marketing.mobile.AssuranceSession): void; + public getVendor(): string; + public onSessionTerminated(): void; + } + export module AssurancePluginScreenshot { + export class CaptureScreenShotListener { + public static class: java.lang.Class; + /** + * Constructs a new instance of the com.adobe.marketing.mobile.AssurancePluginScreenshot$CaptureScreenShotListener interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. + */ + public constructor(implementation: { + onCaptureScreenshot(param0: globalAndroid.graphics.Bitmap): void; + }); + public constructor(); + public onCaptureScreenshot(param0: globalAndroid.graphics.Bitmap): void; + } + } + } + } + } +} + +declare module com { + export module adobe { + export module marketing { + export module mobile { + export class AssuranceSession extends com.adobe.marketing.mobile.AssuranceWebViewSocketHandler { + public static class: java.lang.Class; + public onSocketError(param0: com.adobe.marketing.mobile.AssuranceWebViewSocket): void; + public onSocketDisconnected(param0: com.adobe.marketing.mobile.AssuranceWebViewSocket, param1: string, param2: number, param3: boolean): void; + public onSocketStateChange(param0: com.adobe.marketing.mobile.AssuranceWebViewSocket, param1: com.adobe.marketing.mobile.AssuranceWebViewSocket.SocketReadyState): void; + public onSocketDataReceived(param0: com.adobe.marketing.mobile.AssuranceWebViewSocket, param1: string): void; + public onSocketConnected(param0: com.adobe.marketing.mobile.AssuranceWebViewSocket): void; + } + export module AssuranceSession { + export class ApplicationLifecycleHandler { + public static class: java.lang.Class; + public onActivityPaused(param0: globalAndroid.app.Activity): void; + public onActivitySaveInstanceState(param0: globalAndroid.app.Activity, param1: globalAndroid.os.Bundle): void; + public onActivityDestroyed(param0: globalAndroid.app.Activity): void; + public onActivityStarted(param0: globalAndroid.app.Activity): void; + public onActivityResumed(param0: globalAndroid.app.Activity): void; + public onActivityCreated(param0: globalAndroid.app.Activity, param1: globalAndroid.os.Bundle): void; + public onActivityStopped(param0: globalAndroid.app.Activity): void; + } + export class InboundEventWorker { + public static class: java.lang.Class; + public run(): void; + } + export class OutboundEventWorker { + public static class: java.lang.Class; + public run(): void; + } + } + } + } + } +} + +declare module com { + export module adobe { + export module marketing { + export module mobile { + export class AssuranceSessionLifecycleListener { + public static class: java.lang.Class; + /** + * Constructs a new instance of the com.adobe.marketing.mobile.AssuranceSessionLifecycleListener interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. + */ + public constructor(implementation: { + onActivityResumed(param0: globalAndroid.app.Activity): void; + onActivityDestroyed(param0: globalAndroid.app.Activity): void; + }); + public constructor(); + public onActivityResumed(param0: globalAndroid.app.Activity): void; + public onActivityDestroyed(param0: globalAndroid.app.Activity): void; + } + } + } + } +} + +declare module com { + export module adobe { + export module marketing { + export module mobile { + export class AssuranceSessionURLProvider { + public static class: java.lang.Class; + /** + * Constructs a new instance of the com.adobe.marketing.mobile.AssuranceSessionURLProvider interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. + */ + public constructor(implementation: { + getAuthorizedSessionURL(param0: com.adobe.marketing.mobile.AuthorizedSessionURLCallback): void; + onConnectionInitialized(): void; + onConnectionSucceeded(): void; + onConnectionFinished(): void; + onConnectionFailed(param0: com.adobe.marketing.mobile.AssuranceConstants.AssuranceSocketError, param1: boolean): void; + isDisplayed(): boolean; + }); + public constructor(); + public onConnectionInitialized(): void; + public onConnectionSucceeded(): void; + public isDisplayed(): boolean; + public getAuthorizedSessionURL(param0: com.adobe.marketing.mobile.AuthorizedSessionURLCallback): void; + public onConnectionFailed(param0: com.adobe.marketing.mobile.AssuranceConstants.AssuranceSocketError, param1: boolean): void; + public onConnectionFinished(): void; + } + } + } + } +} + +declare module com { + export module adobe { + export module marketing { + export module mobile { + export class AssuranceState { + public static class: java.lang.Class; + } + } + } + } +} + +declare module com { + export module adobe { + export module marketing { + export module mobile { + export class AssuranceUtil { + public static class: java.lang.Class; + } + } + } + } +} + +declare module com { + export module adobe { + export module marketing { + export module mobile { + export class AssuranceWebViewSocket { + public static class: java.lang.Class; + } + export module AssuranceWebViewSocket { + export class SocketReadyState { + public static class: java.lang.Class; + public static CONNECTING: com.adobe.marketing.mobile.AssuranceWebViewSocket.SocketReadyState; + public static OPEN: com.adobe.marketing.mobile.AssuranceWebViewSocket.SocketReadyState; + public static CLOSING: com.adobe.marketing.mobile.AssuranceWebViewSocket.SocketReadyState; + public static CLOSED: com.adobe.marketing.mobile.AssuranceWebViewSocket.SocketReadyState; + public static UNKNOWN: com.adobe.marketing.mobile.AssuranceWebViewSocket.SocketReadyState; + public static valueOf(param0: string): com.adobe.marketing.mobile.AssuranceWebViewSocket.SocketReadyState; + public static values(): native.Array; + } + export class WebViewJavascriptInterface { + public static class: java.lang.Class; + public onSocketClosed(param0: string, param1: number, param2: boolean): void; + public log(param0: string): void; + public onSocketError(): void; + public onMessageReceived(param0: string): void; + public onSocketOpened(): void; + } + export class WebViewSocketClient { + public static class: java.lang.Class; + public onReceivedError(param0: globalAndroid.webkit.WebView, param1: globalAndroid.webkit.WebResourceRequest, param2: globalAndroid.webkit.WebResourceError): void; + public onPageFinished(param0: globalAndroid.webkit.WebView, param1: string): void; + } + } + } + } + } +} + +declare module com { + export module adobe { + export module marketing { + export module mobile { + export class AssuranceWebViewSocketHandler { + public static class: java.lang.Class; + /** + * Constructs a new instance of the com.adobe.marketing.mobile.AssuranceWebViewSocketHandler interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. + */ + public constructor(implementation: { + onSocketDataReceived(param0: com.adobe.marketing.mobile.AssuranceWebViewSocket, param1: string): void; + onSocketConnected(param0: com.adobe.marketing.mobile.AssuranceWebViewSocket): void; + onSocketDisconnected(param0: com.adobe.marketing.mobile.AssuranceWebViewSocket, param1: string, param2: number, param3: boolean): void; + onSocketError(param0: com.adobe.marketing.mobile.AssuranceWebViewSocket): void; + onSocketStateChange(param0: com.adobe.marketing.mobile.AssuranceWebViewSocket, param1: com.adobe.marketing.mobile.AssuranceWebViewSocket.SocketReadyState): void; + }); + public constructor(); + public onSocketError(param0: com.adobe.marketing.mobile.AssuranceWebViewSocket): void; + public onSocketDisconnected(param0: com.adobe.marketing.mobile.AssuranceWebViewSocket, param1: string, param2: number, param3: boolean): void; + public onSocketStateChange(param0: com.adobe.marketing.mobile.AssuranceWebViewSocket, param1: com.adobe.marketing.mobile.AssuranceWebViewSocket.SocketReadyState): void; + public onSocketDataReceived(param0: com.adobe.marketing.mobile.AssuranceWebViewSocket, param1: string): void; + public onSocketConnected(param0: com.adobe.marketing.mobile.AssuranceWebViewSocket): void; + } + } + } + } +} + +declare module com { + export module adobe { + export module marketing { + export module mobile { + export class AuthorizedSessionURLCallback { + public static class: java.lang.Class; + /** + * Constructs a new instance of the com.adobe.marketing.mobile.AuthorizedSessionURLCallback interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. + */ + public constructor(implementation: { + run(param0: string, param1: com.adobe.marketing.mobile.AssuranceConstants.AssuranceEnvironment): void; + }); + public constructor(); + public run(param0: string, param1: com.adobe.marketing.mobile.AssuranceConstants.AssuranceEnvironment): void; + } + } + } + } +} + +declare module com { + export module adobe { + export module marketing { + export module mobile { + export module assurance { + export class BuildConfig { + public static class: java.lang.Class; + public static DEBUG: boolean; + public static APPLICATION_ID: string; + public static BUILD_TYPE: string; + public static FLAVOR: string; + public static VERSION_CODE: number; + public static VERSION_NAME: string; + public static EXTENSION_VERSION: string; + public constructor(); + } + } + } + } + } +} + +//Generics information: + diff --git a/src/platforms/android/typings/target/android-declarations.d.ts b/src/platforms/android/typings/target/android-declarations.d.ts new file mode 100644 index 0000000..972ba08 --- /dev/null +++ b/src/platforms/android/typings/target/android-declarations.d.ts @@ -0,0 +1,4 @@ +declare module native { export class Array { constructor(); length: number; [index: number]: T; } } + +import globalAndroid = android; + diff --git a/src/platforms/android/typings/target/android.d.ts b/src/platforms/android/typings/target/android.d.ts new file mode 100644 index 0000000..a0aeae5 --- /dev/null +++ b/src/platforms/android/typings/target/android.d.ts @@ -0,0 +1,590 @@ +/// + +declare module com { + export module adobe { + export module marketing { + export module mobile { + export class Target { + public static class: java.lang.Class; + public static extensionVersion(): string; + /** @deprecated */ + public static loadRequests(param0: java.util.List, param1: java.util.Map): void; + public static clearPrefetchCache(): void; + public static setPreviewRestartDeepLink(param0: globalAndroid.net.Uri): void; + /** @deprecated */ + public static prefetchContent(param0: java.util.List, param1: java.util.Map, param2: com.adobe.marketing.mobile.AdobeCallback): void; + public static prefetchContent(param0: java.util.List, param1: com.adobe.marketing.mobile.TargetParameters, param2: com.adobe.marketing.mobile.AdobeCallback): void; + /** @deprecated */ + public static locationClicked(param0: string, param1: java.util.Map, param2: java.util.Map, param3: java.util.Map, param4: java.util.Map): void; + public static getTntId(param0: com.adobe.marketing.mobile.AdobeCallback): void; + public static locationsDisplayed(param0: java.util.List, param1: com.adobe.marketing.mobile.TargetParameters): void; + public static locationClicked(param0: string, param1: com.adobe.marketing.mobile.TargetParameters): void; + public static getThirdPartyId(param0: com.adobe.marketing.mobile.AdobeCallback): void; + public static registerExtension(): void; + public static retrieveLocationContent(param0: java.util.List, param1: com.adobe.marketing.mobile.TargetParameters): void; + public static setThirdPartyId(param0: string): void; + public static resetExperience(): void; + } + } + } + } +} + +declare module com { + export module adobe { + export module marketing { + export module mobile { + export class TargetConstants { + public static class: java.lang.Class; + } + export module TargetConstants { + export class ContextDataKeys { + public static class: java.lang.Class; + } + export class DataStoreKeys { + public static class: java.lang.Class; + } + export class EventDataKeys { + public static class: java.lang.Class; + } + export module EventDataKeys { + export class Analytics { + public static class: java.lang.Class; + } + export class Configuration { + public static class: java.lang.Class; + } + export class Identity { + public static class: java.lang.Class; + } + export class Lifecycle { + public static class: java.lang.Class; + } + export class Target { + public static class: java.lang.Class; + } + } + export class Events { + public static class: java.lang.Class; + } + export class OrderKeys { + public static class: java.lang.Class; + } + export class ProductKeys { + public static class: java.lang.Class; + } + } + } + } + } +} + +declare module com { + export module adobe { + export module marketing { + export module mobile { + export class TargetCore { + public static class: java.lang.Class; + } + } + } + } +} + +declare module com { + export module adobe { + export module marketing { + export module mobile { + export class TargetErrors { + public static class: java.lang.Class; + } + } + } + } +} + +declare module com { + export module adobe { + export module marketing { + export module mobile { + export class TargetEventDispatcher extends com.adobe.marketing.mobile.ModuleEventDispatcher { + public static class: java.lang.Class; + } + } + } + } +} + +declare module com { + export module adobe { + export module marketing { + export module mobile { + export class TargetExtension { + public static class: java.lang.Class; + public tntId: string; + public thirdPartyId: string; + public edgeHost: string; + public clientCode: string; + public prefetchedMbox: java.util.Map; + public loadedMbox: java.util.Map; + public notifications: java.util.List; + public lastKnownConfigurationState: com.adobe.marketing.mobile.EventData; + public sessionId: string; + public sessionTimestampInSeconds: number; + public getTargetRequestUrl(param0: string): string; + } + } + } + } +} + +declare module com { + export module adobe { + export module marketing { + export module mobile { + export class TargetJson { + public static class: java.lang.Class; + } + export module TargetJson { + export class AAMParameters { + public static class: java.lang.Class; + } + export class Context { + public static class: java.lang.Class; + } + export class CustomerIds { + public static class: java.lang.Class; + } + export class Mbox { + public static class: java.lang.Class; + } + export class Metric { + public static class: java.lang.Class; + } + export class MetricType { + public static class: java.lang.Class; + } + export class Notification { + public static class: java.lang.Class; + } + export class Option { + public static class: java.lang.Class; + } + export class Order { + public static class: java.lang.Class; + } + export class Product { + public static class: java.lang.Class; + } + } + } + } + } +} + +declare module com { + export module adobe { + export module marketing { + export module mobile { + export class TargetListenerConfigurationResponseContent extends com.adobe.marketing.mobile.ModuleEventListener { + public static class: java.lang.Class; + public hear(param0: com.adobe.marketing.mobile.Event): void; + } + } + } + } +} + +declare module com { + export module adobe { + export module marketing { + export module mobile { + export class TargetListenerGenericDataOS extends com.adobe.marketing.mobile.ModuleEventListener { + public static class: java.lang.Class; + public hear(param0: com.adobe.marketing.mobile.Event): void; + } + } + } + } +} + +declare module com { + export module adobe { + export module marketing { + export module mobile { + export class TargetListenerRequestContent extends com.adobe.marketing.mobile.ModuleEventListener { + public static class: java.lang.Class; + public hear(param0: com.adobe.marketing.mobile.Event): void; + } + } + } + } +} + +declare module com { + export module adobe { + export module marketing { + export module mobile { + export class TargetListenerRequestIdentity extends com.adobe.marketing.mobile.ModuleEventListener { + public static class: java.lang.Class; + public hear(param0: com.adobe.marketing.mobile.Event): void; + } + } + } + } +} + +declare module com { + export module adobe { + export module marketing { + export module mobile { + export class TargetListenerRequestReset extends com.adobe.marketing.mobile.ModuleEventListener { + public static class: java.lang.Class; + public hear(param0: com.adobe.marketing.mobile.Event): void; + } + } + } + } +} + +declare module com { + export module adobe { + export module marketing { + export module mobile { + export class TargetModuleDetails { + public static class: java.lang.Class; + public getVersion(): string; + public getName(): string; + public getAdditionalInfo(): java.util.Map; + } + } + } + } +} + +declare module com { + export module adobe { + export module marketing { + export module mobile { + export class TargetObject { + public static class: java.lang.Class; + public mboxName: string; + public targetParameters: com.adobe.marketing.mobile.TargetParameters; + public mboxParameters: java.util.Map; + public profileParameters: java.util.Map; + public orderParameters: java.util.Map; + public productParameters: java.util.Map; + public equals(param0: any): boolean; + public static deserializeMboxName(param0: java.util.Map): string; + public static deserializeParameters(param0: java.util.Map): com.adobe.marketing.mobile.TargetParameters; + public static serializeParameters(param0: java.util.Map, param1: com.adobe.marketing.mobile.TargetParameters): void; + public hashCode(): number; + public static serializeMboxName(param0: java.util.Map, param1: string): void; + } + export module TargetObject { + export abstract class Builder extends java.lang.Object { + public static class: java.lang.Class>; + public buildee: TTargetObject; + public setProfileParameters(param0: java.util.Map): TBuilder; + public build(): TTargetObject; + public setTargetParameters(param0: com.adobe.marketing.mobile.TargetParameters): TBuilder; + public setOrderParameters(param0: java.util.Map): TBuilder; + public setMboxParameters(param0: java.util.Map): TBuilder; + public constructor(param0: TTargetObject); + public setProductParameters(param0: java.util.Map): TBuilder; + } + } + } + } + } +} + +declare module com { + export module adobe { + export module marketing { + export module mobile { + export class TargetOrder { + public static class: java.lang.Class; + public equals(param0: any): boolean; + public getTotal(): number; + public getId(): string; + public constructor(param0: string, param1: number, param2: java.util.List); + public getPurchasedProductIds(): java.util.List; + public hashCode(): number; + } + export module TargetOrder { + export class TargetOrderSerializer extends com.adobe.marketing.mobile.VariantSerializer { + public static class: java.lang.Class; + public deserialize(param0: com.adobe.marketing.mobile.Variant): com.adobe.marketing.mobile.TargetOrder; + public serialize(param0: com.adobe.marketing.mobile.TargetOrder): com.adobe.marketing.mobile.Variant; + } + } + } + } + } +} + +declare module com { + export module adobe { + export module marketing { + export module mobile { + export class TargetParameters { + public static class: java.lang.Class; + public equals(param0: any): boolean; + public getProfileParameters(): java.util.Map; + public getProduct(): com.adobe.marketing.mobile.TargetProduct; + public getParameters(): java.util.Map; + public hashCode(): number; + public getOrder(): com.adobe.marketing.mobile.TargetOrder; + } + export module TargetParameters { + export class Builder { + public static class: java.lang.Class; + public constructor(); + public order(param0: com.adobe.marketing.mobile.TargetOrder): com.adobe.marketing.mobile.TargetParameters.Builder; + public build(): com.adobe.marketing.mobile.TargetParameters; + public constructor(param0: java.util.Map); + public profileParameters(param0: java.util.Map): com.adobe.marketing.mobile.TargetParameters.Builder; + public product(param0: com.adobe.marketing.mobile.TargetProduct): com.adobe.marketing.mobile.TargetParameters.Builder; + public parameters(param0: java.util.Map): com.adobe.marketing.mobile.TargetParameters.Builder; + } + export class TargetParameterSerializer extends com.adobe.marketing.mobile.VariantSerializer { + public static class: java.lang.Class; + public deserialize(param0: com.adobe.marketing.mobile.Variant): com.adobe.marketing.mobile.TargetParameters; + public serialize(param0: com.adobe.marketing.mobile.TargetParameters): com.adobe.marketing.mobile.Variant; + } + } + } + } + } +} + +declare module com { + export module adobe { + export module marketing { + export module mobile { + export class TargetPrefetch extends com.adobe.marketing.mobile.TargetObject { + public static class: java.lang.Class; + public constructor(param0: string, param1: com.adobe.marketing.mobile.TargetParameters); + } + export module TargetPrefetch { + export class Builder extends com.adobe.marketing.mobile.TargetObject.Builder { + public static class: java.lang.Class; + public setOrderParameters(param0: java.util.Map): any; + public setMboxParameters(param0: java.util.Map): com.adobe.marketing.mobile.TargetPrefetch.Builder; + public setMboxParameters(param0: java.util.Map): any; + public setProfileParameters(param0: java.util.Map): any; + public setTargetParameters(param0: com.adobe.marketing.mobile.TargetParameters): any; + /** @deprecated */ + public constructor(param0: string); + public constructor(param0: any); + public setProfileParameters(param0: java.util.Map): com.adobe.marketing.mobile.TargetPrefetch.Builder; + public setOrderParameters(param0: java.util.Map): com.adobe.marketing.mobile.TargetPrefetch.Builder; + public setProductParameters(param0: java.util.Map): any; + public setProductParameters(param0: java.util.Map): com.adobe.marketing.mobile.TargetPrefetch.Builder; + public setTargetParameters(param0: com.adobe.marketing.mobile.TargetParameters): com.adobe.marketing.mobile.TargetPrefetch.Builder; + } + export class PrefetchVariantSerializer extends com.adobe.marketing.mobile.VariantSerializer { + public static class: java.lang.Class; + public deserialize(param0: com.adobe.marketing.mobile.Variant): com.adobe.marketing.mobile.TargetPrefetch; + public serialize(param0: com.adobe.marketing.mobile.TargetPrefetch): com.adobe.marketing.mobile.Variant; + } + } + } + } + } +} + +declare module com { + export module adobe { + export module marketing { + export module mobile { + export class TargetPrefetchResult { + public static class: java.lang.Class; + } + } + } + } +} + +declare module com { + export module adobe { + export module marketing { + export module mobile { + export class TargetPreviewButtonListener { + public static class: java.lang.Class; + public onTapDetected(): void; + public onPanDetected(): void; + } + } + } + } +} + +declare module com { + export module adobe { + export module marketing { + export module mobile { + export class TargetPreviewFullscreenListener { + public static class: java.lang.Class; + public onDismiss(param0: com.adobe.marketing.mobile.UIService.UIFullScreenMessage): void; + public overrideUrlLoad(param0: com.adobe.marketing.mobile.UIService.UIFullScreenMessage, param1: string): boolean; + public onShow(param0: com.adobe.marketing.mobile.UIService.UIFullScreenMessage): void; + } + } + } + } +} + +declare module com { + export module adobe { + export module marketing { + export module mobile { + export class TargetPreviewManager { + public static class: java.lang.Class; + public previewParams: string; + public token: string; + public endPoint: string; + public webViewHtml: string; + public restartUrl: string; + public floatingButton: com.adobe.marketing.mobile.UIService.FloatingButton; + public setRestartDeepLink(param0: string): void; + public getPreviewParameters(): string; + public fetchWebView(): void; + public enterPreviewModeWithDeepLinkParams(param0: string, param1: string): void; + public previewConfirmedWithUrl(param0: com.adobe.marketing.mobile.UIService.UIFullScreenMessage, param1: string): void; + public getPreviewToken(): string; + public resetTargetPreviewProperties(): void; + } + } + } + } +} + +declare module com { + export module adobe { + export module marketing { + export module mobile { + export class TargetProduct { + public static class: java.lang.Class; + public constructor(param0: string, param1: string); + public equals(param0: any): boolean; + public getId(): string; + public hashCode(): number; + public getCategoryId(): string; + } + export module TargetProduct { + export class TargetProductSerializer extends com.adobe.marketing.mobile.VariantSerializer { + public static class: java.lang.Class; + public deserialize(param0: com.adobe.marketing.mobile.Variant): com.adobe.marketing.mobile.TargetProduct; + public serialize(param0: com.adobe.marketing.mobile.TargetProduct): com.adobe.marketing.mobile.Variant; + } + } + } + } + } +} + +declare module com { + export module adobe { + export module marketing { + export module mobile { + export class TargetRequest extends com.adobe.marketing.mobile.TargetObject { + public static class: java.lang.Class; + public equals(param0: any): boolean; + public constructor(param0: string, param1: com.adobe.marketing.mobile.TargetParameters, param2: string, param3: com.adobe.marketing.mobile.AdobeCallback); + public hashCode(): number; + } + export module TargetRequest { + export class Builder extends com.adobe.marketing.mobile.TargetObject.Builder { + public static class: java.lang.Class; + public setOrderParameters(param0: java.util.Map): any; + public setProfileParameters(param0: java.util.Map): com.adobe.marketing.mobile.TargetRequest.Builder; + public setProductParameters(param0: java.util.Map): com.adobe.marketing.mobile.TargetRequest.Builder; + public setMboxParameters(param0: java.util.Map): any; + public setProfileParameters(param0: java.util.Map): any; + public setTargetParameters(param0: com.adobe.marketing.mobile.TargetParameters): any; + public constructor(param0: any); + public setProductParameters(param0: java.util.Map): any; + public setOrderParameters(param0: java.util.Map): com.adobe.marketing.mobile.TargetRequest.Builder; + public setTargetParameters(param0: com.adobe.marketing.mobile.TargetParameters): com.adobe.marketing.mobile.TargetRequest.Builder; + public setContentCallback(param0: com.adobe.marketing.mobile.AdobeCallback): com.adobe.marketing.mobile.TargetRequest.Builder; + /** @deprecated */ + public constructor(param0: string, param1: string); + public setMboxParameters(param0: java.util.Map): com.adobe.marketing.mobile.TargetRequest.Builder; + } + export class RequestVariantSerializer extends com.adobe.marketing.mobile.VariantSerializer { + public static class: java.lang.Class; + public constructor(); + public serialize(param0: com.adobe.marketing.mobile.TargetRequest): com.adobe.marketing.mobile.Variant; + public deserialize(param0: com.adobe.marketing.mobile.Variant): com.adobe.marketing.mobile.TargetRequest; + } + } + } + } + } +} + +declare module com { + export module adobe { + export module marketing { + export module mobile { + export class TargetRequestBuilder { + public static class: java.lang.Class; + } + } + } + } +} + +declare module com { + export module adobe { + export module marketing { + export module mobile { + export class TargetResponseParser { + public static class: java.lang.Class; + } + } + } + } +} + +declare module com { + export module adobe { + export module marketing { + export module mobile { + export class TargetUtil { + public static class: java.lang.Class; + } + } + } + } +} + +declare module com { + export module adobe { + export module marketing { + export module mobile { + export module target { + export class BuildConfig { + public static class: java.lang.Class; + public static DEBUG: boolean; + public static APPLICATION_ID: string; + public static BUILD_TYPE: string; + public static FLAVOR: string; + public static VERSION_CODE: number; + public static VERSION_NAME: string; + public static FLAVOR_target: string; + public static FLAVOR_coreImplementation: string; + public static EXTENSION_VERSION: string; + public constructor(); + } + } + } + } + } +} + +//Generics information: +//com.adobe.marketing.mobile.TargetObject.Builder:2 + diff --git a/src/platforms/ios/Podfile b/src/platforms/ios/Podfile index 1bf90d3..afc7dee 100644 --- a/src/platforms/ios/Podfile +++ b/src/platforms/ios/Podfile @@ -1,6 +1,8 @@ platform :ios, '11.0' use_frameworks! +pod 'AEPAssurance', '~> 1.0' +pod 'ACPTarget', '~> 2.1' pod 'ACPUserProfile', '~> 2.0' pod 'ACPCore', '~> 2.0' pod 'ACPAnalytics', '~> 2.0' \ No newline at end of file diff --git a/src/platforms/ios/typings/objc!ACPTarget.d.ts b/src/platforms/ios/typings/objc!ACPTarget.d.ts new file mode 100644 index 0000000..272476a --- /dev/null +++ b/src/platforms/ios/typings/objc!ACPTarget.d.ts @@ -0,0 +1,154 @@ + +declare class ACPTarget extends NSObject { + + static alloc(): ACPTarget; // inherited from NSObject + + static clearPrefetchCache(): void; + + static extensionVersion(): string; + + static getThirdPartyId(callback: (p1: string) => void): void; + + static getTntId(callback: (p1: string) => void): void; + + static loadRequestsWithProfileParameters(requests: NSArray | ACPTargetRequestObject[], profileParameters: NSDictionary): void; + + static locationClickedWithNameMboxParametersProductParametersOrderParametersProfileParameters(name: string, mboxParameters: NSDictionary, productParameters: NSDictionary, orderParameters: NSDictionary, profileParameters: NSDictionary): void; + + static locationClickedWithNameTargetParameters(name: string, parameters: ACPTargetParameters): void; + + static locationsDisplayedWithTargetParameters(mboxNames: NSArray | string[], parameters: ACPTargetParameters): void; + + static new(): ACPTarget; // inherited from NSObject + + static prefetchContentWithParametersCallback(prefetchObjectArray: NSArray | ACPTargetPrefetchObject[], parameters: ACPTargetParameters, callback: (p1: NSError) => void): void; + + static prefetchContentWithProfileParametersCallback(prefetchObjectArray: NSArray | ACPTargetPrefetchObject[], profileParameters: NSDictionary, callback: (p1: boolean) => void): void; + + static registerExtension(): void; + + static resetExperience(): void; + + static retrieveLocationContentWithParameters(requests: NSArray | ACPTargetRequestObject[], parameters: ACPTargetParameters): void; + + static setPreviewRestartDeeplink(deeplink: NSURL): void; + + static setThirdPartyId(thirdPartyId: string): void; +} + +declare class ACPTargetOrder extends NSObject implements NSCoding, NSCopying { + + static alloc(): ACPTargetOrder; // inherited from NSObject + + static new(): ACPTargetOrder; // inherited from NSObject + + static targetOrderWithIdTotalPurchasedProductIds(orderId: string, total: number, purchasedProductIds: NSArray | string[]): ACPTargetOrder; + + orderId: string; + + purchasedProductIds: NSArray; + + total: number; + + constructor(o: { coder: NSCoder; }); // inherited from NSCoding + + copyWithZone(zone: interop.Pointer | interop.Reference): any; + + encodeWithCoder(coder: NSCoder): void; + + initWithCoder(coder: NSCoder): this; +} + +declare class ACPTargetParameters extends NSObject implements NSCoding, NSCopying { + + static alloc(): ACPTargetParameters; // inherited from NSObject + + static new(): ACPTargetParameters; // inherited from NSObject + + static targetParametersWithParametersProfileParametersProductOrder(parameters: NSDictionary, profileParameters: NSDictionary, product: ACPTargetProduct, order: ACPTargetOrder): ACPTargetParameters; + + order: ACPTargetOrder; + + parameters: NSDictionary; + + product: ACPTargetProduct; + + profileParameters: NSDictionary; + + constructor(o: { coder: NSCoder; }); // inherited from NSCoding + + copyWithZone(zone: interop.Pointer | interop.Reference): any; + + encodeWithCoder(coder: NSCoder): void; + + initWithCoder(coder: NSCoder): this; +} + +declare class ACPTargetPrefetchObject extends NSObject { + + static alloc(): ACPTargetPrefetchObject; // inherited from NSObject + + static new(): ACPTargetPrefetchObject; // inherited from NSObject + + static prefetchObjectWithNameMboxParameters(name: string, mboxParameters: NSDictionary): ACPTargetPrefetchObject; + + static targetPrefetchObjectWithNameTargetParameters(name: string, targetParameters: ACPTargetParameters): ACPTargetPrefetchObject; + + mboxParameters: NSDictionary; + + name: string; + + orderParameters: NSDictionary; + + productParameters: NSDictionary; + + targetParameters: ACPTargetParameters; + + setOrderParametersOrderTotalPurchasedProductIds(orderId: string, orderTotal: number, purchasedProductIds: NSArray | string[]): void; + + setProductParametersCategoryId(productId: string, categoryId: string): void; +} + +declare class ACPTargetProduct extends NSObject implements NSCoding, NSCopying { + + static alloc(): ACPTargetProduct; // inherited from NSObject + + static new(): ACPTargetProduct; // inherited from NSObject + + static targetProductWithIdCategoryId(productId: string, categoryId: string): ACPTargetProduct; + + categoryId: string; + + productId: string; + + constructor(o: { coder: NSCoder; }); // inherited from NSCoding + + copyWithZone(zone: interop.Pointer | interop.Reference): any; + + encodeWithCoder(coder: NSCoder): void; + + initWithCoder(coder: NSCoder): this; +} + +declare class ACPTargetRequestObject extends ACPTargetPrefetchObject { + + static alloc(): ACPTargetRequestObject; // inherited from NSObject + + static new(): ACPTargetRequestObject; // inherited from NSObject + + static prefetchObjectWithNameMboxParameters(name: string, mboxParameters: NSDictionary): ACPTargetRequestObject; // inherited from ACPTargetPrefetchObject + + static requestObjectWithNameDefaultContentMboxParametersCallback(name: string, defaultContent: string, mboxParameters: NSDictionary, callback: (p1: string) => void): ACPTargetRequestObject; + + static targetPrefetchObjectWithNameTargetParameters(name: string, targetParameters: ACPTargetParameters): ACPTargetRequestObject; // inherited from ACPTargetPrefetchObject + + static targetRequestObjectWithNameTargetParametersDefaultContentCallback(name: string, targetParameters: ACPTargetParameters, defaultContent: string, callback: (p1: string) => void): ACPTargetRequestObject; + + callback: (p1: string) => void; + + defaultContent: string; +} + +declare var ACPTargetVersionNumber: number; + +declare var ACPTargetVersionString: interop.Reference; diff --git a/src/platforms/ios/typings/objc!AEPAssurance.d.ts b/src/platforms/ios/typings/objc!AEPAssurance.d.ts new file mode 100644 index 0000000..19da18a --- /dev/null +++ b/src/platforms/ios/typings/objc!AEPAssurance.d.ts @@ -0,0 +1,17 @@ + +declare class AEPAssurance extends NSObject { + + static alloc(): AEPAssurance; // inherited from NSObject + + static extensionVersion(): string; + + static new(): AEPAssurance; // inherited from NSObject + + static registerExtension(): boolean; + + static startSession(url: NSURL): void; +} + +declare var AEPAssuranceVersionNumber: number; + +declare var AEPAssuranceVersionString: interop.Reference;