@freemius/sdk 0.0.1 → 0.0.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,7 +1,7 @@
1
1
  {
2
2
  "name": "@freemius/sdk",
3
- "version": "0.0.1",
4
- "description": "NodeJS SDK for integrating your SaaS with Freemius",
3
+ "version": "0.0.3",
4
+ "description": "JS SDK for integrating your SaaS with Freemius",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "exports": {
@@ -25,8 +25,9 @@
25
25
  "clean": "rm -rf dist",
26
26
  "typecheck": "tsc --noEmit",
27
27
  "test": "echo \"No tests yet\"",
28
- "openapi:generate": "openapi-typescript https://freemius.com/help/documentation/api/openapi.yaml -o ./api/schema.d.ts",
29
- "openapi:generate:local": "openapi-typescript http://api-doc.freemius-local.com:8080/openapi.yaml -o ./api/schema.d.ts"
28
+ "openapi:generate": "openapi-typescript https://freemius.com/help/documentation/api/openapi.yaml -o ./src/api/schema.d.ts",
29
+ "openapi:generate:local": "openapi-typescript http://api-doc.freemius-local.com:8080/openapi.yaml -o ./src/api/schema.d.ts",
30
+ "prepublish": "npm run build"
30
31
  },
31
32
  "repository": {
32
33
  "type": "git",
@@ -41,16 +42,18 @@
41
42
  "author": "Freemius Inc",
42
43
  "license": "MIT",
43
44
  "bugs": {
44
- "url": "https://github.com/Freemius/freemius-node/issues"
45
+ "url": "https://github.com/Freemius/freemius-js/issues"
45
46
  },
46
- "homepage": "https://github.com/Freemius/freemius-node#readme",
47
+ "homepage": "http://freemius.com/help/documentation/saas-sdk/js-sdk/",
47
48
  "dependencies": {
48
49
  "openapi-fetch": "^0.14.0"
49
50
  },
50
51
  "peerDependencies": {
51
- "@freemius/checkout": "*"
52
+ "zod": "^4.0.0",
53
+ "@freemius/checkout": "^1.3.1"
52
54
  },
53
55
  "devDependencies": {
56
+ "zod": "^4.0.0",
54
57
  "@types/node": "^24.2.0",
55
58
  "tsdown": "^0.14.1",
56
59
  "typescript": "^5.9.2"