@bprotsyk/aso-core 1.0.0 → 1.1.3
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/lib/aso/aso-offer-response.js +2 -0
- package/lib/aso/aso-offer-sections.d.ts +6 -0
- package/lib/aso/aso-offer-sections.js +2 -0
- package/lib/aso/offer/aso-customized-offer.d.ts +9 -0
- package/lib/aso/offer/aso-customized-offer.js +2 -0
- package/lib/aso/offer/aso-offer-response.d.ts +6 -0
- package/lib/aso/offer/aso-offer-response.js +2 -0
- package/lib/aso/offer/aso-offer-section.d.ts +6 -0
- package/lib/aso/offer/aso-offer-section.js +2 -0
- package/lib/index.d.ts +4 -10
- package/lib/shared/offer.d.ts +10 -0
- package/lib/shared/offer.js +2 -0
- package/package.json +11 -3
- package/src/aso/offer/aso-customized-offer.ts +10 -0
- package/src/aso/offer/aso-offer-response.ts +7 -0
- package/src/aso/offer/aso-offer-section.ts +7 -0
- package/src/index.ts +5 -0
- package/src/shared/offer.ts +10 -0
- package/tsconfig.json +16 -0
package/lib/index.d.ts
CHANGED
|
@@ -1,10 +1,4 @@
|
|
|
1
|
-
export
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
geo: string;
|
|
6
|
-
emojiIcon?: string;
|
|
7
|
-
emojiCaption?: string;
|
|
8
|
-
hidden?: boolean;
|
|
9
|
-
customUrl?: string;
|
|
10
|
-
}
|
|
1
|
+
export { IAsoCustomizedOffer } from "aso/offer/aso-customized-offer";
|
|
2
|
+
export { IAsoOfferResponse } from "aso/offer/aso-offer-response";
|
|
3
|
+
export { IAsoSection } from "aso/offer/aso-offer-section";
|
|
4
|
+
export { IOffer } from "shared/offer";
|
package/package.json
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bprotsyk/aso-core",
|
|
3
|
-
"version": "1.
|
|
4
|
-
"main": "index.js",
|
|
3
|
+
"version": "1.1.3",
|
|
4
|
+
"main": "lib/index.js",
|
|
5
|
+
"types": "lib/index.d.ts",
|
|
5
6
|
"scripts": {
|
|
7
|
+
"publish": "tsc; npm version patch; npm publish; git add .; git commit -m \"Stub\"; git push origin master;",
|
|
6
8
|
"build": "tsc",
|
|
7
9
|
"test": "echo \"Error: no test specified\" && exit 1"
|
|
8
10
|
},
|
|
@@ -17,5 +19,11 @@
|
|
|
17
19
|
},
|
|
18
20
|
"homepage": "https://bitbucket.org/bprtsk/aso-core#readme",
|
|
19
21
|
"description": "",
|
|
20
|
-
"
|
|
22
|
+
"dependencies": {
|
|
23
|
+
"@types/module-alias": "^2.0.1",
|
|
24
|
+
"module-alias": "^2.2.2"
|
|
25
|
+
},
|
|
26
|
+
"devDependencies": {
|
|
27
|
+
"typescript": "^4.8.0-dev.20220623"
|
|
28
|
+
}
|
|
21
29
|
}
|
package/src/index.ts
ADDED
package/tsconfig.json
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"target": "esnext", /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */
|
|
4
|
+
"lib": [ "esnext"],
|
|
5
|
+
"module": "NodeNext",
|
|
6
|
+
"declaration": true,
|
|
7
|
+
"outDir": "./lib",
|
|
8
|
+
"baseUrl": "./src",
|
|
9
|
+
"rootDir": "src",
|
|
10
|
+
"strict": true,
|
|
11
|
+
"moduleResolution": "nodenext"
|
|
12
|
+
},
|
|
13
|
+
|
|
14
|
+
"include": ["src"],
|
|
15
|
+
"exclude": ["node_modules", "**/__tests__/*"]
|
|
16
|
+
}
|