@bprotsyk/aso-core 1.1.19 → 1.1.20

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.
@@ -1,3 +1,4 @@
1
+ import { IAsoDefaultConfig } from "./aso-default-config";
1
2
  export interface IConfig {
2
3
  id: number;
3
4
  name: string;
@@ -329,3 +330,4 @@ export interface ILocalizationMapping {
329
330
  auth_privacyPolicy: string;
330
331
  internal: [string, IColoredStringMapping][];
331
332
  }
333
+ export declare let toDefault: (config: IConfig) => IAsoDefaultConfig;
@@ -1,5 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.toDefault = void 0;
3
4
  let toDefault = (config) => {
4
5
  return {
5
6
  id: config.id,
@@ -55,3 +56,4 @@ let toDefault = (config) => {
55
56
  version: 0
56
57
  };
57
58
  };
59
+ exports.toDefault = toDefault;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bprotsyk/aso-core",
3
- "version": "1.1.19",
3
+ "version": "1.1.20",
4
4
  "main": "lib/index.js",
5
5
  "types": "lib/index.d.ts",
6
6
  "scripts": {
@@ -374,7 +374,7 @@ export interface ILocalizationMapping {
374
374
  internal: [string, IColoredStringMapping][]
375
375
  }
376
376
 
377
- let toDefault = (config: IConfig): IAsoDefaultConfig => {
377
+ export let toDefault = (config: IConfig): IAsoDefaultConfig => {
378
378
  return {
379
379
  id: config.id,
380
380
  bundle: config.bundle,