@unchainedshop/core-quotations 1.1.7 → 1.1.9

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 @@
1
- import { Db } from '@unchainedshop/types/common';
2
- import { Quotation } from '@unchainedshop/types/quotations';
3
- export declare const QuotationsCollection: (db: Db) => Promise<import("@unchainedshop/types/common").Collection<Quotation>>;
1
+ export declare const QuotationsCollection: (db: Db) => Promise<any>;
@@ -1,3 +1,2 @@
1
- import { ModuleInput } from '@unchainedshop/types/common';
2
- import { QuotationsModule, QuotationsSettingsOptions } from '@unchainedshop/types/quotations';
1
+ import { QuotationsModule } from '@unchainedshop/types/quotations';
3
2
  export declare const configureQuotationsModule: ({ db, options: quotationsOptions, }: ModuleInput<QuotationsSettingsOptions>) => Promise<QuotationsModule>;
@@ -1,10 +1,9 @@
1
1
  export namespace quotationsSettings {
2
2
  const quotationNumberHashFn: any;
3
3
  function configureSettings({ quotationNumberHashFn }?: {
4
- quotationNumberHashFn?: typeof generateRandomHash;
4
+ quotationNumberHashFn?: any;
5
5
  }): void;
6
6
  function configureSettings({ quotationNumberHashFn }?: {
7
- quotationNumberHashFn?: typeof generateRandomHash;
7
+ quotationNumberHashFn?: any;
8
8
  }): void;
9
9
  }
10
- import { generateRandomHash } from "@unchainedshop/utils";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unchainedshop/core-quotations",
3
- "version": "1.1.7",
3
+ "version": "1.1.9",
4
4
  "main": "lib/quotations-index.js",
5
5
  "types": "lib/quotations-index.d.ts",
6
6
  "type": "module",
@@ -26,8 +26,8 @@
26
26
  },
27
27
  "homepage": "https://github.com/unchainedshop/unchained#readme",
28
28
  "dependencies": {
29
- "@unchainedshop/logger": "^1.1.7",
30
- "@unchainedshop/utils": "^1.1.7",
29
+ "@unchainedshop/logger": "^1.1.9",
30
+ "@unchainedshop/utils": "^1.1.9",
31
31
  "simpl-schema": "^1.12.2"
32
32
  },
33
33
  "peerDependencies": {
@@ -37,10 +37,10 @@
37
37
  "@types/chai": "^4.3.1",
38
38
  "@types/locale": "^0.1.1",
39
39
  "@types/mocha": "^9.1.1",
40
- "@unchainedshop/types": "^1.1.7",
40
+ "@unchainedshop/types": "^1.1.9",
41
41
  "chai": "^4.3.6",
42
42
  "cross-env": "^7.0.3",
43
43
  "typescript": "^4.7.4"
44
44
  },
45
- "gitHead": "06cd41a39f57481555c743836481b9190b2ec2b5"
45
+ "gitHead": "5395cd35169a1fd13bb83ff7d11cc8a162b27b09"
46
46
  }
@@ -6,7 +6,9 @@
6
6
  "esModuleInterop": true,
7
7
  "experimentalDecorators": true,
8
8
  "forceConsistentCasingInFileNames": true,
9
- "lib": ["esnext"],
9
+ "lib": [
10
+ "esnext"
11
+ ],
10
12
  "module": "esnext",
11
13
  "moduleResolution": "node",
12
14
  "noImplicitReturns": true,
@@ -16,11 +18,17 @@
16
18
  "skipLibCheck": true,
17
19
  "sourceMap": true,
18
20
  "target": "esnext",
19
- "types": ["node"],
21
+ "types": [
22
+ "node"
23
+ ],
20
24
  "baseUrl": ".", // This must be specified if "paths" is.
21
25
  "paths": {
22
- "meteor/unchained:*": ["node_modules/@unchainedshop/types/index.d.ts"]
26
+ "@unchainedshop/*": [
27
+ "node_modules/@unchainedshop/types/index.d.ts"
28
+ ]
23
29
  }
24
30
  },
25
- "include": ["src"]
31
+ "include": [
32
+ "src"
33
+ ]
26
34
  }