indigitall-web-sdk 4.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.js ADDED
@@ -0,0 +1,27 @@
1
+ "use strict";
2
+
3
+ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ var _exportNames = {};
8
+ Object.defineProperty(exports, "default", {
9
+ enumerable: true,
10
+ get: function get() {
11
+ return _sdkMin["default"];
12
+ }
13
+ });
14
+ var _sdkMin = _interopRequireWildcard(require("./sdk.min.js"));
15
+ Object.keys(_sdkMin).forEach(function (key) {
16
+ if (key === "default" || key === "__esModule") return;
17
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
18
+ if (key in exports && exports[key] === _sdkMin[key]) return;
19
+ Object.defineProperty(exports, key, {
20
+ enumerable: true,
21
+ get: function get() {
22
+ return _sdkMin[key];
23
+ }
24
+ });
25
+ });
26
+ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
27
+ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
package/package.json ADDED
@@ -0,0 +1,44 @@
1
+ {
2
+ "name": "indigitall-web-sdk",
3
+ "description": "indigitall webpush SDK",
4
+ "version": "4.2.0",
5
+ "main": "index.js",
6
+ "author": "Smart2me S.L.",
7
+ "homepage": "https://indigitall.com",
8
+ "dependencies": {
9
+ "indigitall-web-core": "^4.2.0",
10
+ "indigitall-web-customer": "^4.2.0",
11
+ "indigitall-web-inapp": "^4.2.0",
12
+ "indigitall-web-inbox": "^4.2.0",
13
+ "indigitall-web-notification": "^4.2.0"
14
+ },
15
+ "devDependencies": {
16
+ "@babel/preset-env": "^7.18.10",
17
+ "babel-loader": "^8.2.5",
18
+ "filemanager-webpack-plugin": "^7.0.0",
19
+ "idempotent-babel-polyfill": "^7.4.4",
20
+ "webpack": "^5.74.0",
21
+ "webpack-bundle-analyzer": "^4.6.1",
22
+ "webpack-cli": "^4.10.0"
23
+ },
24
+ "scripts": {
25
+ "test": "echo 'There are not tests'",
26
+ "public": "ws --directory ./public --port 80 --log.format dev",
27
+ "build": "webpack --config webpack.config.js --mode=production",
28
+ "build-dev": "webpack --config webpack.config.js --watch --mode=development",
29
+ "build-sdk": "npm run build-install-core && npm run build-install-inapp && npm run build",
30
+ "build-install-core": "npm uninstall indigitall-web-core && npm install ../core",
31
+ "build-install-inapp": "npm uninstall indigitall-web-inapp && npm install ../inapp",
32
+ "build-install-customer": "npm uninstall indigitall-web-customer && npm install ../customer",
33
+ "build-install-inbox": "npm uninstall indigitall-web-inbox && npm install ../inbox",
34
+ "build-install-push": "npm uninstall indigitall-web-notification && npm install ../push",
35
+ "install-sdk": "npm install && npm run build",
36
+ "release-install-core": "npm uninstall indigitall-web-core && npm install indigitall-web-core@$npm_package_version",
37
+ "release-install-inapp": "npm uninstall indigitall-web-inapp && npm install indigitall-web-inapp@$npm_package_version ",
38
+ "release-install-customer": "npm uninstall indigitall-web-customer && npm install indigitall-web-customer@$npm_package_version ",
39
+ "release-install-inbox": "npm uninstall indigitall-web-inbox && npm install indigitall-web-inbox@$npm_package_version ",
40
+ "release-install-push": "npm uninstall indigitall-web-notification && npm install indigitall-web-notification@$npm_package_version && npm run release-install-core && npm run release-install-inapp && npm run release-install-inbox && npm run release-install-customer && npm run install-sdk && npm run delete-node-modules",
41
+ "simulate-release-install-sdk": "npm run install-sdk && npm run delete-node-modules",
42
+ "delete-node-modules": "rm -rf node_modules/ && rm -f package-lock.json"
43
+ }
44
+ }
package/readme.md ADDED
@@ -0,0 +1 @@
1
+ #WebPush