assemblyai 3.1.2 → 3.1.3

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,30 +1,34 @@
1
1
  {
2
2
  "name": "assemblyai",
3
- "version": "3.1.2",
3
+ "version": "3.1.3",
4
4
  "description": "The AssemblyAI Node.js SDK provides an easy-to-use interface for interacting with the AssemblyAI API, which supports async and real-time transcription, as well as the latest LeMUR models.",
5
- "main": "dist/index.js",
6
- "module": "dist/index.esm.js",
7
- "types": "dist/index.d.ts",
8
- "typings": "dist/index.d.ts",
9
5
  "exports": {
10
- "require": "./dist/index.js",
11
- "import": "./dist/index.esm.js",
12
- "node": "./dist/index.js",
13
- "default": "./dist/index.js"
6
+ ".": {
7
+ "types": "./dist/index.d.ts",
8
+ "import": "./dist/index.mjs",
9
+ "require": "./dist/index.cjs",
10
+ "default": "./dist/index.cjs"
11
+ },
12
+ "./package.json": "./package.json"
14
13
  },
14
+ "type": "commonjs",
15
+ "main": "dist/index.cjs",
16
+ "module": "dist/index.mjs",
17
+ "types": "dist/index.d.ts",
18
+ "typings": "dist/index.d.ts",
15
19
  "repository": {
16
20
  "type": "git",
17
21
  "url": "git+https://github.com/AssemblyAI/assemblyai-node-sdk.git"
18
22
  },
19
23
  "publishConfig": {
20
- "tag": "latest",
24
+ "tag": "beta",
21
25
  "access": "public",
22
26
  "registry": "https://registry.npmjs.org/"
23
27
  },
24
28
  "scripts": {
25
29
  "build": "pnpm clean && pnpm rollup -c",
26
30
  "clean": "rimraf dist",
27
- "lint": "eslint -c .eslintrc.json '{src,tests}/**/*.{js,ts}'",
31
+ "lint": "eslint -c .eslintrc.json '{src,tests}/**/*.{js,ts}' && publint",
28
32
  "test": "pnpm lint && pnpm test:unit",
29
33
  "test:unit": "jest --config jest.config.rollup.ts",
30
34
  "format": "prettier '**/*' --write",
@@ -64,6 +68,7 @@
64
68
  "npm": "^9.7.1",
65
69
  "openapi-typescript": "^6.6.1",
66
70
  "prettier": "^2.8.8",
71
+ "publint": "^0.2.5",
67
72
  "rimraf": "^5.0.1",
68
73
  "rollup": "^3.25.1",
69
74
  "rollup-plugin-typescript2": "^0.34.1",
@@ -75,4 +80,4 @@
75
80
  "dependencies": {
76
81
  "ws": "^8.13.0"
77
82
  }
78
- }
83
+ }
File without changes
File without changes