@medalsocial/sdk 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.
Files changed (1) hide show
  1. package/package.json +10 -9
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@medalsocial/sdk",
3
- "version": "1.1.4",
3
+ "version": "1.1.6",
4
4
  "description": "TypeScript SDK for Medal Social API — posts, emails, contacts, deals, and GDPR compliance",
5
5
  "license": "Apache-2.0",
6
6
  "author": "Medal Social / Ali Aljumaili",
@@ -12,14 +12,14 @@
12
12
  "url": "https://github.com/Medal-Social/MedalSocial-SDK/issues"
13
13
  },
14
14
  "homepage": "https://github.com/Medal-Social/MedalSocial-SDK#readme",
15
- "main": "dist/index.js",
16
- "module": "dist/index.mjs",
17
- "types": "dist/index.d.ts",
15
+ "main": "dist/src/index.js",
16
+ "module": "dist/src/index.mjs",
17
+ "types": "dist/src/index.d.ts",
18
18
  "exports": {
19
19
  ".": {
20
- "types": "./dist/index.d.ts",
21
- "import": "./dist/index.mjs",
22
- "require": "./dist/index.js"
20
+ "types": "./dist/src/index.d.ts",
21
+ "import": "./dist/src/index.mjs",
22
+ "require": "./dist/src/index.js"
23
23
  },
24
24
  "./pilot": {
25
25
  "types": "./dist/pilot/index.d.ts",
@@ -35,7 +35,7 @@
35
35
  "access": "public"
36
36
  },
37
37
  "lint-staged": {
38
- "*.{js,jsx,ts,tsx,json,jsonc,md,yml,yaml}": [
38
+ "*.{js,cjs,mjs,jsx,ts,tsx,json,jsonc,md,yml,yaml}": [
39
39
  "biome check --write --no-errors-on-unmatched"
40
40
  ]
41
41
  },
@@ -92,8 +92,9 @@
92
92
  "lint:fix": "biome check --fix .",
93
93
  "quality": "pnpm lint && pnpm test",
94
94
  "typecheck": "tsc --noEmit",
95
+ "verify:paths": "node scripts/verify-package-paths.mjs",
95
96
  "version": "changeset version && node -e \"const fs=require('fs');const p=JSON.parse(fs.readFileSync('./package.json','utf8'));const j=JSON.parse(fs.readFileSync('./jsr.json','utf8'));j.version=p.version;fs.writeFileSync('./jsr.json',JSON.stringify(j,null,2)+'\\n')\"",
96
- "release": "pnpm build && changeset publish && pnpm exec jsr publish",
97
+ "release": "pnpm build && pnpm verify:paths && changeset publish && pnpm exec jsr publish",
97
98
  "changeset": "changeset",
98
99
  "knip:report": "knip --reporter json --no-exit-code",
99
100
  "knip:check": "knip",