dymo-api 1.0.18 → 1.0.19

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 (3) hide show
  1. package/index.d.ts +14 -14
  2. package/index.ts +1 -33
  3. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -1,19 +1,19 @@
1
- declare module "dymo-api" {
2
- interface ConfigurationOptions {
3
- rootApiKey?: string;
4
- apiKey?: string;
5
- local?: boolean;
6
- serverEmailConfig?: {
7
- host: string;
8
- port: number;
9
- secure: boolean;
10
- auth: {
11
- user: string;
12
- pass: string;
13
- };
1
+ export interface ConfigurationOptions {
2
+ rootApiKey?: string;
3
+ apiKey?: string;
4
+ local?: boolean;
5
+ serverEmailConfig?: {
6
+ host: string;
7
+ port: number;
8
+ secure: boolean;
9
+ auth: {
10
+ user: string;
11
+ pass: string;
14
12
  };
15
- }
13
+ };
14
+ }
16
15
 
16
+ declare module "dymo-api" {
17
17
  class DymoAPI {
18
18
  private rootApiKey: string | null;
19
19
  private apiKey: string | null;
package/index.ts CHANGED
@@ -1,35 +1,3 @@
1
- import { ConfigurationOptions } from "dymo-api";
2
-
3
- class DymoAPI {
4
- private configuration: ConfigurationOptions;
5
-
6
- constructor(configuration: ConfigurationOptions = {}) {
7
- this.configuration = configuration;
8
- }
9
-
10
- async initializeTokens(): Promise<void> {
11
- // Implementación aquí
12
- }
13
-
14
- async isValidData(data: any): Promise<any> {
15
- // Implementación aquí
16
- }
17
-
18
- async getPrayerTimes(data: any): Promise<any> {
19
- // Implementación aquí
20
- }
21
-
22
- async inputSatinizer(data: any): Promise<any> {
23
- // Implementación aquí
24
- }
25
-
26
- async isValidPwd(data: any): Promise<any> {
27
- // Implementación aquí
28
- }
29
-
30
- async newURLEncrypt(data: any): Promise<any> {
31
- // Implementación aquí
32
- }
33
- }
1
+ import { DymoAPI } from "./src/dymo-api";
34
2
 
35
3
  export { DymoAPI };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dymo-api",
3
- "version": "1.0.18",
3
+ "version": "1.0.19",
4
4
  "description": "Flow system for Dymo API.",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",