@tmdb-graphql-api/rest-client 0.0.6 → 0.0.8

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tmdb-graphql-api/rest-client",
3
3
  "description": "The TMDB GraphQL rest client module.",
4
- "version": "0.0.6",
4
+ "version": "0.0.8",
5
5
  "author": "Dylan Aubrey",
6
6
  "license": "MIT",
7
7
  "homepage": "https://github.com/badbatch/themoviedb-graphql-api",
@@ -16,20 +16,22 @@
16
16
  "module": "./dist/esm/index.mjs",
17
17
  "types": "./dist/types/cjs/index.d.cts",
18
18
  "exports": {
19
- "types": {
20
- "import": "./dist/types/esm/index.d.ts",
21
- "require": "./dist/types/cjs/index.d.cts"
22
- },
23
- "import": "./dist/esm/index.mjs",
24
- "require": "./dist/cjs/index.cjs"
19
+ ".": {
20
+ "types": {
21
+ "import": "./dist/types/esm/index.d.ts",
22
+ "require": "./dist/types/cjs/index.d.cts"
23
+ },
24
+ "import": "./dist/esm/index.mjs",
25
+ "require": "./dist/cjs/index.cjs"
26
+ }
25
27
  },
26
28
  "publishConfig": {
27
29
  "access": "public"
28
30
  },
29
31
  "dependencies": {
30
- "@cachemap/core": "^5.0.7",
31
- "@graphql-box/core": "^5.0.0",
32
- "getta": "^1.0.4",
32
+ "@cachemap/core": "^5.0.8",
33
+ "@graphql-box/core": "^5.0.1",
34
+ "getta": "^1.0.5",
33
35
  "type-fest": "^4.5.0"
34
36
  },
35
37
  "peerDependencies": {
@@ -42,7 +44,7 @@
42
44
  "@jest/globals": "^29.7.0",
43
45
  "@types/lodash-es": "^4.14.191",
44
46
  "core-js": "^3.33.1",
45
- "cts-types": "^0.0.4",
47
+ "cts-types": "^0.0.6",
46
48
  "del-cli": "^5.1.0",
47
49
  "lodash-es": "^4.17.21"
48
50
  },
package/src/main.test.ts CHANGED
@@ -1,4 +1,4 @@
1
- import type { Core } from '@cachemap/core';
1
+ import { type Core } from '@cachemap/core';
2
2
  import { jest } from '@jest/globals';
3
3
 
4
4
  jest.unstable_mockModule('node:perf_hooks', () => ({
package/src/main.ts CHANGED
@@ -28,7 +28,7 @@ import {
28
28
  WATCH_PROVIDER_PATH,
29
29
  } from './constants.ts';
30
30
  import { pathTemplateCallback } from './helpers/pathTemplateCallback.ts';
31
- import type { CreateRestClientParams, ShortcutMethodNames } from './types.ts';
31
+ import { type CreateRestClientParams, type ShortcutMethodNames } from './types.ts';
32
32
 
33
33
  const { NODE_ENV } = process.env;
34
34
 
package/src/types.ts CHANGED
@@ -1,6 +1,6 @@
1
- import type { Core } from '@cachemap/core';
2
- import type { DebugManagerDef } from '@graphql-box/core';
3
- import type { JsonObject } from 'type-fest';
1
+ import { type Core } from '@cachemap/core';
2
+ import { type DebugManagerDef } from '@graphql-box/core';
3
+ import { type JsonObject } from 'type-fest';
4
4
 
5
5
  export type ShortcutMethodNames =
6
6
  | 'authenticate'
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "extends": "./tsconfig.json",
3
3
  "compilerOptions": {
4
- "rootDir": "src",
5
- "outDir": "dist/types/esm"
4
+ "outDir": "dist/types/esm",
5
+ "rootDir": "src"
6
6
  },
7
7
  "exclude": [
8
8
  "**/*.test.*"
package/tsconfig.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "extends": "@repodog/ts-config/build.json",
2
+ "extends": ["@repodog/ts-config/index.json", "@repodog/ts-config/build.json"],
3
3
  "include": [
4
4
  "src/**/*",
5
5
  "src/**/*.json"