@ownkeyhq/sdk 0.0.0-stage → 0.2.0
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/CHANGELOG.md +21 -0
- package/dist/openapi.json +19675 -0
- package/dist/src/client.d.ts +63 -0
- package/dist/src/client.js +153 -0
- package/dist/src/index.d.ts +1 -0
- package/dist/src/index.js +1 -0
- package/dist/src/openapi.d.ts +8092 -0
- package/package.json +34 -3
- package/README.md +0 -3
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
## 0.2.0
|
|
4
|
+
|
|
5
|
+
- Install the Ownkey SDK from npm as `@ownkeyhq/sdk`.
|
|
6
|
+
- Products now have an optional `install_instructions` field. The `kind` and `wp_slug` fields were removed.
|
|
7
|
+
- Use `licenses.list`, `payments.list`, `payments.get` and `customers.search` for seller support, and read the license state and renewal eligibility in the `state` and `renewal` fields of `licenses.get`.
|
|
8
|
+
- Read `periods[].origin` in `licenses.get` to see whether a payment, a person, or an EDD or Lemon Squeezy import created the period.
|
|
9
|
+
- Bundle download responses include `bundle_downloads[].source` to distinguish the bundle's own ZIP files from those of included products.
|
|
10
|
+
- Read one provider event with `providerEvents.get`.
|
|
11
|
+
- Link a match queue item to a license with `matchQueue.resolve`.
|
|
12
|
+
- Read a revenue and license summary with `overview.summary` and the items that need attention with `overview.attention`.
|
|
13
|
+
- Sort customers by their latest payment or renewal with `customers.list` and `sort=activity`. Customers without payments use their registration date.
|
|
14
|
+
- List saved EDD import jobs by source with `imports.edd.listJobs`. Lemon Squeezy import responses report progress and distinguish a skipped phase from a failure.
|
|
15
|
+
- Correct provider product and price IDs, replace the mapped plan, or remove a provider price mapping.
|
|
16
|
+
- Upload or remove a brand logo with `brands.uploadLogo` and `brands.removeLogo`.
|
|
17
|
+
|
|
18
|
+
## 0.1.0
|
|
19
|
+
|
|
20
|
+
- Use a typed client for the Ownkey API and import the OpenAPI document from `@ownkeyhq/sdk/openapi.json`.
|
|
21
|
+
- Check for a product update with `releases.checkUpdate` without a seller API key.
|