@amazon-devices/kepler-subscription-entitlement 1.1.13-rn-83

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 (32) hide show
  1. package/LICENSE +7 -0
  2. package/SystemBundles/9c5215655f67775767dc6e768f54a3f94c5de1e4446eba171c8506de0020f8bc.bundle.map +1 -0
  3. package/SystemBundles/hermes-072/9c5215655f67775767dc6e768f54a3f94c5de1e4446eba171c8506de0020f8bc.bundle.map +1 -0
  4. package/SystemBundles/hermes-072/index.amzn__kepler-subscription-entitlement-1.hermes.bundle +0 -0
  5. package/SystemBundles/hermes-083/9c5215655f67775767dc6e768f54a3f94c5de1e4446eba171c8506de0020f8bc.bundle.map +1 -0
  6. package/SystemBundles/hermes-083/index.amzn__kepler-subscription-entitlement-1.hermes.bundle +0 -0
  7. package/SystemBundles/index.amzn__kepler-subscription-entitlement-1.hermes.bundle +0 -0
  8. package/SystemModules/amzn__kepler-subscription-entitlement-1.modules.txt +7 -0
  9. package/SystemModules/amzn__kepler-subscription-entitlement-1.private.modules.txt +17 -0
  10. package/SystemModules/keplerscript-system-bundle-config.json +7 -0
  11. package/THIRD_PARTY_NOTICES.txt +12469 -0
  12. package/dist/index.d.ts +4 -0
  13. package/dist/index.js +25 -0
  14. package/dist/kepler/tm-manifest.json +1 -0
  15. package/dist/turbo-modules/AmazonNativeSubscriptionEntitlement.d.ts +18 -0
  16. package/dist/turbo-modules/AmazonNativeSubscriptionEntitlement.js +12 -0
  17. package/dist/turbo-modules/Handlers.d.ts +33 -0
  18. package/dist/turbo-modules/Handlers.js +8 -0
  19. package/dist/turbo-modules/PrivateHandlers.d.ts +28 -0
  20. package/dist/turbo-modules/PrivateHandlers.js +38 -0
  21. package/dist/turbo-modules/SubscriptionEntitlementServer.d.ts +125 -0
  22. package/dist/turbo-modules/SubscriptionEntitlementServer.js +43 -0
  23. package/dist/turbo-modules/__mocks__/AmazonNativeSubscriptionEntitlement.d.ts +7 -0
  24. package/dist/turbo-modules/__mocks__/AmazonNativeSubscriptionEntitlement.js +8 -0
  25. package/dist/turbo-modules/models/Errors.d.ts +8 -0
  26. package/dist/turbo-modules/models/Errors.js +21 -0
  27. package/dist/turbo-modules/models/SubscriptionEntitlementEntry.d.ts +90 -0
  28. package/dist/turbo-modules/models/SubscriptionEntitlementEntry.js +108 -0
  29. package/kepler-compatibility.json +17 -0
  30. package/kepler-transformed-package-info.json +3 -0
  31. package/package.json +93 -0
  32. package/react-native.config.js +19 -0
package/package.json ADDED
@@ -0,0 +1,93 @@
1
+ {
2
+ "name": "@amazon-devices/kepler-subscription-entitlement",
3
+ "version": "1.1.13-rn-83",
4
+ "main": "dist/index.js",
5
+ "types": "dist/index.d.ts",
6
+ "files": [
7
+ "dist",
8
+ "react-native.config.js",
9
+ "kepler-compatibility.json",
10
+ "SystemModules",
11
+ "SystemBundles",
12
+ "THIRD_PARTY_NOTICES.txt",
13
+ "kepler-transformed-package-info.json"
14
+ ],
15
+ "scripts": {
16
+ "clean": "rm -rf bundle kepler-build assets dist",
17
+ "test:snapshot": "jest --colors --updateSnapshot",
18
+ "start": "node node_modules/react-native/local-cli/cli.js start",
19
+ "test": "jest --colors",
20
+ "lint": "eslint --fix src --ext .ts,.tsx && eslint --fix tst --ext .ts,.tsx",
21
+ "compile": "tsc -p tsconfig-build.json",
22
+ "build": "npm-run-all version:validate lint test compile docs",
23
+ "build-system-bundle": "KEPLER_NPM_COMMAND=npm-pretty-much react-native build-system-bundle-kepler",
24
+ "check-dbg-syms": "$(brazil-path '[DebugSourceReferenceCheck]pkg.bin')/check_dbg_syms -b build -s kepler ",
25
+ "prepublishOnly": "npm-run-all check-dbg-syms build-system-bundle",
26
+ "version:major": "node scripts/version-bump.js major",
27
+ "version:minor": "node scripts/version-bump.js minor",
28
+ "version:patch": "node scripts/version-bump.js patch",
29
+ "version:dry-run-major": "node scripts/version-bump.js major --dry-run",
30
+ "version:dry-run-minor": "node scripts/version-bump.js minor --dry-run",
31
+ "version:dry-run-patch": "node scripts/version-bump.js patch --dry-run",
32
+ "version:validate": "node scripts/validate-versions.js",
33
+ "docs": "typedocked"
34
+ },
35
+ "dependencies": {
36
+ "@amazon-devices/keplerscript-turbomodule-api": "^1.0.0"
37
+ },
38
+ "peerDependencies": {
39
+ "@amazon-devices/react-native-kepler": "*",
40
+ "react-native": "*",
41
+ "react": "*"
42
+ },
43
+ "devDependencies": {
44
+ "@amazon-devices/typedocked": "*",
45
+ "@babel/core": "^7.12.9",
46
+ "@react-native-community/eslint-config": "^3.0.1",
47
+ "@types/jest": "*",
48
+ "@types/react-native": "*",
49
+ "@typescript-eslint/eslint-plugin": "^5.18.0",
50
+ "@typescript-eslint/parser": "*",
51
+ "eslint": "*",
52
+ "jest": "*",
53
+ "npm-run-all": "*",
54
+ "prettier": "^2.6.2",
55
+ "react-native": "*",
56
+ "ts-jest": "*",
57
+ "typescript": "^4.5.5",
58
+ "depcheck": "*",
59
+ "@babel/plugin-proposal-private-property-in-object": "*",
60
+ "@amazon-devices/kepler-cli-platform": "^0",
61
+ "@react-native-community/cli": "^11.2.0"
62
+ },
63
+ "kepler": {
64
+ "projectType": "turbomodule",
65
+ "toolchain": "clang",
66
+ "os": [
67
+ "vega"
68
+ ],
69
+ "targets": [
70
+ "4kmax_g1_vega",
71
+ "sim_tv_x86_64",
72
+ "sim_tv_aarch64"
73
+ ],
74
+ "api": 0.1,
75
+ "keplerInitializationSharedLibrary": "AmazonSubscriptionEntitlementLib"
76
+ },
77
+ "eslintConfig": {
78
+ "extends": "@react-native-community",
79
+ "parser": "@typescript-eslint/parser",
80
+ "plugins": [
81
+ "@typescript-eslint"
82
+ ],
83
+ "root": true
84
+ },
85
+ "prettier": {
86
+ "arrowParens": "avoid",
87
+ "bracketSameLine": true,
88
+ "bracketSpacing": false,
89
+ "singleQuote": true,
90
+ "trailingComma": "all"
91
+ },
92
+ "license": "See license in LICENSE"
93
+ }
@@ -0,0 +1,19 @@
1
+ module.exports = {
2
+ dependency: {
3
+ platforms: {
4
+ kepler: {
5
+ autolink : {
6
+ "AmazonSubscriptionEntitlementLib" : {
7
+ "libraryName": "libkeplerscript-subscription-entitlement-lib-1.so",
8
+ "linkDynamic": true,
9
+ "provider": "system",
10
+ "components": [],
11
+ "turbomodules": [
12
+ "AmazonNativeSubscriptionEntitlement"
13
+ ]
14
+ }
15
+ }
16
+ },
17
+ },
18
+ },
19
+ };