@aws-amplify/notifications 1.0.1-next.7206 → 1.0.1-next.7240

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.
Files changed (31) hide show
  1. package/lib/InAppMessaging/Providers/AWSPinpointProvider/index.js +3 -3
  2. package/lib/InAppMessaging/Providers/AWSPinpointProvider/index.js.map +1 -1
  3. package/lib-esm/InAppMessaging/Providers/AWSPinpointProvider/index.js +1 -1
  4. package/lib-esm/InAppMessaging/Providers/AWSPinpointProvider/index.js.map +1 -1
  5. package/package.json +10 -5
  6. package/src/InAppMessaging/Providers/AWSPinpointProvider/index.ts +1 -1
  7. package/build.js +0 -5
  8. package/dist/aws-amplify-notifications.js +0 -3908
  9. package/dist/aws-amplify-notifications.js.map +0 -1
  10. package/dist/aws-amplify-notifications.min.js +0 -2
  11. package/dist/aws-amplify-notifications.min.js.map +0 -1
  12. package/index.js +0 -7
  13. package/lib/InAppMessaging/InAppMessaging.d.ts +0 -55
  14. package/lib/InAppMessaging/Providers/AWSPinpointProvider/index.d.ts +0 -50
  15. package/lib/InAppMessaging/Providers/AWSPinpointProvider/types.d.ts +0 -25
  16. package/lib/InAppMessaging/Providers/AWSPinpointProvider/utils.d.ts +0 -18
  17. package/lib/InAppMessaging/Providers/index.d.ts +0 -1
  18. package/lib/InAppMessaging/SessionTracker/SessionTracker.d.ts +0 -9
  19. package/lib/InAppMessaging/SessionTracker/SessionTracker.native.d.ts +0 -10
  20. package/lib/InAppMessaging/SessionTracker/index.d.ts +0 -3
  21. package/lib/InAppMessaging/SessionTracker/types.d.ts +0 -6
  22. package/lib/InAppMessaging/eventListeners.d.ts +0 -3
  23. package/lib/InAppMessaging/index.d.ts +0 -4
  24. package/lib/InAppMessaging/types.d.ts +0 -99
  25. package/lib/Notifications.d.ts +0 -20
  26. package/lib/index.d.ts +0 -3
  27. package/lib/types.d.ts +0 -7
  28. package/tsconfig.json +0 -21
  29. package/tslint.json +0 -50
  30. package/webpack.config.dev.js +0 -6
  31. package/webpack.config.js +0 -48
package/tslint.json DELETED
@@ -1,50 +0,0 @@
1
- {
2
- "defaultSeverity": "error",
3
- "plugins": ["prettier"],
4
- "extends": [],
5
- "jsRules": {},
6
- "rules": {
7
- "prefer-const": true,
8
- "max-line-length": [true, 120],
9
- "no-empty-interface": true,
10
- "no-var-keyword": true,
11
- "object-literal-shorthand": true,
12
- "no-eval": true,
13
- "space-before-function-paren": [
14
- true,
15
- {
16
- "anonymous": "never",
17
- "named": "never"
18
- }
19
- ],
20
- "no-parameter-reassignment": true,
21
- "align": [true, "parameters"],
22
- "no-duplicate-imports": true,
23
- "one-variable-per-declaration": [false, "ignore-for-loop"],
24
- "triple-equals": [true, "allow-null-check"],
25
- "comment-format": [true, "check-space"],
26
- "indent": [false],
27
- "whitespace": [
28
- false,
29
- "check-branch",
30
- "check-decl",
31
- "check-operator",
32
- "check-preblock"
33
- ],
34
- "eofline": true,
35
- "variable-name": [
36
- true,
37
- "check-format",
38
- "allow-pascal-case",
39
- "allow-snake-case",
40
- "allow-leading-underscore"
41
- ],
42
- "semicolon": [
43
- true,
44
- "always",
45
- "ignore-interfaces",
46
- "ignore-bound-class-methods"
47
- ]
48
- },
49
- "rulesDirectory": []
50
- }
@@ -1,6 +0,0 @@
1
- var config = require('./webpack.config.js');
2
-
3
- var entry = {
4
- 'aws-amplify-notifications': './lib-esm/index.js',
5
- };
6
- module.exports = Object.assign(config, { entry, mode: 'development' });
package/webpack.config.js DELETED
@@ -1,48 +0,0 @@
1
- module.exports = {
2
- entry: {
3
- 'aws-amplify-notifications.min': './lib-esm/index.js',
4
- },
5
- externals: [
6
- 'react-native',
7
- {
8
- '@aws-amplify/cache': 'aws_amplify_cache',
9
- '@aws-amplify/core': 'aws_amplify_core',
10
- },
11
- '@aws-sdk/client-pinpoint',
12
- ],
13
- output: {
14
- filename: '[name].js',
15
- path: __dirname + '/dist',
16
- library: 'aws_amplify_notifications',
17
- libraryTarget: 'umd',
18
- umdNamedDefine: true,
19
- globalObject: 'this',
20
- devtoolModuleFilenameTemplate: require('../aws-amplify/webpack-utils')
21
- .devtoolModuleFilenameTemplate,
22
- },
23
- // Enable sourcemaps for debugging webpack's output.
24
- devtool: 'source-map',
25
- resolve: {
26
- extensions: ['.js', '.json'],
27
- },
28
- mode: 'production',
29
- module: {
30
- rules: [
31
- // All output '.js' files will have any sourcemaps re-processed by 'source-map-loader'.
32
- //{ enforce: 'pre', test: /\.js$/, loader: 'source-map-loader' },
33
- {
34
- test: /\.js?$/,
35
- exclude: /node_modules/,
36
- use: [
37
- 'babel-loader',
38
- {
39
- loader: 'babel-loader',
40
- options: {
41
- presets: ['@babel/preset-env'],
42
- },
43
- },
44
- ],
45
- },
46
- ],
47
- },
48
- };