tickerowl-app-base
Advanced tools
Comparing version 1.0.4 to 1.0.5
import { App, AppInfo, AppSlide } from "./index"; | ||
export declare class SampleApp implements App { | ||
export default class SampleApp implements App { | ||
getInfo(): AppInfo; | ||
getSlides(): Record<string, AppSlide>; | ||
} |
@@ -12,3 +12,2 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.SampleApp = void 0; | ||
class SampleApp { | ||
@@ -67,2 +66,2 @@ getInfo() { | ||
} | ||
exports.SampleApp = SampleApp; | ||
exports.default = SampleApp; |
{ | ||
"name": "tickerowl-app-base", | ||
"version": "1.0.4", | ||
"version": "1.0.5", | ||
"description": "", | ||
@@ -19,3 +19,6 @@ "main": "dist/index.js", | ||
"dist" | ||
] | ||
], | ||
"devDependencies": { | ||
"@types/node": "^22.7.6" | ||
} | ||
} |
@@ -15,7 +15,8 @@ # TickerOwl App SDK | ||
2. Initiate npm project `npm init -y` | ||
3. Install `tickerowl-app-base` package `npm install tickerowl-app-base` | ||
4. Create `src/index.ts` file and add the following code: | ||
3. Install & setup typescript `npm install -D typescript` & `npx tsc --init` | ||
4. Install `tickerowl-app-base` package `npm install tickerowl-app-base` | ||
5. Create `src/index.ts` file and add the following code: | ||
```ts | ||
import { App } from "tickerowl-app-base"; | ||
import { App, AppInfo, AppSlide } from "tickerowl-app-base"; | ||
@@ -33,2 +34,6 @@ export default class MyApp implements App { | ||
6. Build the app `npx tsc` | ||
7. Run the app `node dist/run.js <path-to-your-app>` | ||
8. Publish the npm package `npm publish` | ||
For more information, refer to TickerOwl.com or reach out to [@pramodk73](https://twitter.com/pramodk73) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
8237
8
178
37
1
2