@ketch-sdk/ketch-data-layer 1.1.4 → 1.1.6

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.js CHANGED
@@ -30,7 +30,7 @@ const queryString_2 = require("./queryString");
30
30
  Object.defineProperty(exports, "queryStructure", { enumerable: true, get: function () { return queryString_2.structure; } });
31
31
  const semicolon_1 = require("./semicolon");
32
32
  Object.defineProperty(exports, "semicolonStructure", { enumerable: true, get: function () { return semicolon_1.structure; } });
33
- const deep_equal_1 = tslib_1.__importDefault(require("deep-equal"));
33
+ const nano_equal_1 = tslib_1.__importDefault(require("nano-equal"));
34
34
  /**
35
35
  * Watcher provides a mechanism for watching for identities.
36
36
  */
@@ -142,7 +142,7 @@ class Watcher extends events_1.EventEmitter {
142
142
  identities[key] = value;
143
143
  }
144
144
  }
145
- if (!(0, deep_equal_1.default)(identities, this._identities)) {
145
+ if (!(0, nano_equal_1.default)(identities, this._identities)) {
146
146
  this.emit('identity', identities);
147
147
  this._identities = identities;
148
148
  }
@@ -1,2 +1,2 @@
1
- import { Mapper } from '../mapper';
1
+ import type { Mapper } from '../mapper';
2
2
  export default function jsonStructure(input: any): Mapper;
@@ -1,2 +1,2 @@
1
- import { Mapper } from '../mapper';
1
+ import type { Mapper } from '../mapper';
2
2
  export default function jwtStructure(value: any): Mapper;
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * ListenerOptions provide an interval and timeout for listening.
3
3
  */
4
- export type ListenerOptions = {
4
+ export declare type ListenerOptions = {
5
5
  interval?: number;
6
6
  timeout?: number;
7
7
  };
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Mapper is a key/value string map.
3
3
  */
4
- export type Mapper = {
4
+ export declare type Mapper = {
5
5
  [key: string]: string;
6
6
  };
@@ -1,2 +1,2 @@
1
- import { Mapper } from '../mapper';
1
+ import type { Mapper } from '../mapper';
2
2
  export default function queryStringStructure(value: any): Mapper;
@@ -1,2 +1,2 @@
1
- import { Mapper } from '../mapper';
1
+ import type { Mapper } from '../mapper';
2
2
  export default function semicolonStructure(value: any): Mapper;
@@ -1,2 +1,2 @@
1
- import { Mapper } from '../mapper';
1
+ import type { Mapper } from '../mapper';
2
2
  export default function stringStructure(value: any): Mapper;
@@ -1,2 +1,2 @@
1
- import { Mapper } from '../mapper';
2
- export type Structure = (value: any) => Mapper;
1
+ import type { Mapper } from '../mapper';
2
+ export declare type Structure = (value: any) => Mapper;
package/package.json CHANGED
@@ -1 +1 @@
1
- {"name": "@ketch-sdk/ketch-data-layer", "version": "1.1.4", "description": "Ketch Data Layer interface", "main": "dist/index.js", "types": "dist/index.d.ts", "scripts": {"all": "npm run lint && npm run format-check && npm run test && npm run build && npm run docs", "build": "tsc -p .", "format": "prettier --write \"**/*.{ts,tsx,yml,yaml}\"", "format-check": "prettier --check '**/*.ts'", "lint": "eslint src/**/*.ts", "test": "jest --runInBand --passWithNoTests", "docs": "typedoc --githubPages true --excludeExternals --excludeInternal src/index.ts"}, "repository": {"type": "git", "url": "git+https://github.com/ketch-sdk/ketch-data-layer.git"}, "homepage": "https://github.com/ketch-sdk/ketch-data-layer", "bugs": {"url": "https://github.com/ketch-sdk/ketch-data-layer/issues"}, "keywords": ["Ketch", "dataLayer"], "author": "Ketch Kloud, Inc.", "license": "MIT", "devDependencies": {"@ketch-sdk/ketch-types": "^1.4.3", "@types/deep-equal": "^1.0.1", "@types/events": "^3.0.0", "@types/jest": "^29.2.5", "@types/node": "^18.11.18", "@types/uuid": "^9.0.0", "@typescript-eslint/eslint-plugin": "^5.48.1", "@typescript-eslint/parser": "^5.48.1", "eslint": "^8.31.0", "eslint-config-prettier": "^8.6.0", "eslint-plugin-import": "^2.26.0", "eslint-plugin-jest": "^27.2.1", "eslint-plugin-prettier": "^4.2.1", "events": "^3.3.0", "jest": "^29.3.1", "jest-environment-jsdom": "^29.3.1", "jest-junit": "^15.0.0", "js-yaml": "^4.1.0", "prettier": "^2.8.2", "ts-jest": "^29.0.3", "typedoc": "^0.23.24", "typescript": "^4.9.4"}, "dependencies": {"deep-equal": "^2.2.0", "tslib": "^2.4.1", "uuid": "^9.0.0"}, "files": ["dist/"]}
1
+ {"name": "@ketch-sdk/ketch-data-layer", "version": "1.1.6", "description": "Ketch Data Layer interface", "main": "dist/index.js", "types": "dist/index.d.ts", "type": "commonjs", "scripts": {"all": "npm run lint && npm run format-check && npm run test && npm run build && npm run docs", "build": "tsc -p .", "format": "prettier --write \"**/*.{ts,tsx,yml,yaml}\"", "format-check": "prettier --check '**/*.ts'", "lint": "eslint src/**/*.ts", "test": "jest --runInBand --passWithNoTests", "docs": "typedoc --githubPages true --excludeExternals --excludeInternal src/index.ts"}, "repository": {"type": "git", "url": "git+https://github.com/ketch-sdk/ketch-data-layer.git"}, "homepage": "https://github.com/ketch-sdk/ketch-data-layer", "bugs": {"url": "https://github.com/ketch-sdk/ketch-data-layer/issues"}, "keywords": ["Ketch", "dataLayer"], "author": "Ketch Kloud, Inc.", "license": "MIT", "devDependencies": {"@ketch-sdk/ketch-types": "^1.4.3", "@types/events": "^3.0.0", "@types/jest": "^29.2.5", "@types/nano-equal": "^2.0.0", "@types/node": "^18.11.18", "@types/uuid": "^9.0.0", "@typescript-eslint/eslint-plugin": "^5.48.1", "@typescript-eslint/parser": "^5.48.1", "eslint": "^8.31.0", "eslint-config-prettier": "^8.6.0", "eslint-plugin-import": "^2.26.0", "eslint-plugin-jest": "^27.2.1", "eslint-plugin-prettier": "^4.2.1", "jest": "^29.3.1", "jest-environment-jsdom": "^29.3.1", "jest-junit": "^15.0.0", "js-yaml": "^4.1.0", "prettier": "^2.8.2", "ts-jest": "^29.0.3", "typedoc": "^0.23.24", "typescript": "^4.9.4"}, "dependencies": {"events": "^3.3.0", "nano-equal": "^2.0.2", "tslib": "^2.4.1", "uuid": "^9.0.0"}, "files": ["dist/"]}