autumn-js 0.0.3 → 0.0.4

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 (2) hide show
  1. package/README.md +5 -5
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
- # Autumn.js
1
+ # Autumn JS Library
2
2
 
3
- Autumn.js is a comprehensive JavaScript/TypeScript library for interacting with the Autumn pricing platform. This package provides both a server-side SDK for the Autumn API and a Next.js integration package for seamless client-side implementation.
3
+ autumn-js is a comprehensive JavaScript/TypeScript library for interacting with the Autumn pricing platform. This package provides both a server-side SDK for the Autumn API and a Next.js integration package for seamless client-side implementation.
4
4
 
5
5
  ## Features
6
6
 
@@ -42,9 +42,9 @@ await autumn.customers.create({
42
42
  })
43
43
 
44
44
  // Other available operations
45
- await autumn.products.list()
46
- await autumn.prices.create(...)
47
- await autumn.subscriptions.create(...)
45
+ await autumn.attach(...)
46
+ await autumn.entitled(...)
47
+ await autumn.event(...)
48
48
  ```
49
49
 
50
50
  ### Next.js Integration
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "autumn-js",
3
3
  "description": "Autumn JS Library",
4
- "version": "0.0.3",
4
+ "version": "0.0.4",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",
7
7
  "types": "./dist/index.d.ts",