@vroskus/library-social 1.0.9 → 1.0.10

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/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import type { Axios } from 'axios';
2
2
  import type { $Config as Config, $SocialPayload } from './types';
3
- export type $Config = Config;
3
+ export * from './types';
4
4
  declare class Social<C extends Config> {
5
5
  #private;
6
6
  connection: Axios;
package/dist/index.js CHANGED
@@ -1,4 +1,18 @@
1
1
  "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
2
16
  var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
17
  function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
18
  return new (P || (P = Promise))(function (resolve, reject) {
@@ -22,6 +36,7 @@ const axios_1 = __importDefault(require("axios"));
22
36
  const axios_mock_adapter_1 = __importDefault(require("axios-mock-adapter"));
23
37
  const library_validator_1 = require("@vroskus/library-validator");
24
38
  const mocks_1 = require("./mocks");
39
+ __exportStar(require("./types"), exports);
25
40
  const socialPayloadSchema = () => library_validator_1.Validator.object().keys({
26
41
  Email: library_validator_1.Validator.string().required(),
27
42
  EmailVerified: library_validator_1.Validator.boolean().required(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vroskus/library-social",
3
- "version": "1.0.9",
3
+ "version": "1.0.10",
4
4
  "description": "Social",
5
5
  "author": "Vilius Roškus <vilius@regattas.eu>",
6
6
  "license": "MIT",
@@ -61,10 +61,10 @@
61
61
  ],
62
62
  "coverageThreshold": {
63
63
  "global": {
64
- "branches": 63.41,
65
- "functions": 88.88,
66
- "lines": 96.42,
67
- "statements": 87.5
64
+ "branches": 50.76,
65
+ "functions": 77.27,
66
+ "lines": 88.05,
67
+ "statements": 76.25
68
68
  }
69
69
  }
70
70
  }