@perkamo/sdk 0.1.0 → 0.1.2

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 CHANGED
@@ -1,22 +1,13 @@
1
- # Changelog
1
+ # `@perkamo/sdk` Changelog
2
2
 
3
- ## 0.1.0 - 2026-06-02
3
+ ## 0.1.1 - 2026-06-02
4
4
 
5
- ### Added
5
+ ### Changed
6
6
 
7
- - Initial public JavaScript and TypeScript SDK package for trusted backend
8
- integrations.
9
- - Added `createPerkamoClient` with `emit`, `batch`, `profile` and preview
10
- `subscribeProfile` helpers.
11
- - Added automatic tenant API key headers for server-side REST calls.
12
- - Added automatic HMAC request signatures for mutating event ingestion calls.
13
- - Added configurable `fetch` adapter and request timeout support.
14
- - Re-exported shared public response and profile types from `@perkamo/sdk-core`.
7
+ - Replace private repository documentation links in package READMEs with npm-safe usage guidance.
15
8
 
16
- ### Security
9
+ ## 0.1.2 - 2026-06-02
17
10
 
18
- - Signs mutating API requests with `x-perkamo-timestamp` and
19
- `x-perkamo-signature`, binding the HTTP method, path and raw JSON body to the
20
- server API key.
21
- - Keeps tenant server API keys as backend-only configuration; browser/profile
22
- stream support requires short-lived tokens and remains preview-labeled.
11
+ ### Changed
12
+
13
+ - Browser CDN standalone build
package/README.md CHANGED
@@ -2,8 +2,14 @@
2
2
 
3
3
  Server-side JavaScript and TypeScript client for the Perkamo API.
4
4
 
5
- See the full customer developer guide in
6
- [`../../docs/sdk-api.md`](../../docs/sdk-api.md).
5
+ Use this package from trusted backend code. Do not bundle server API keys into
6
+ browser, mobile, or embedded widget code.
7
+
8
+ Full SDK documentation: https://www.perkamo.com/docs/v1/sdk
9
+
10
+ ```bash
11
+ npm install @perkamo/sdk
12
+ ```
7
13
 
8
14
  ## Quick Start
9
15
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@perkamo/sdk",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "description": "Browser, Node.js and React Native compatible Perkamo client.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -22,7 +22,8 @@
22
22
  }
23
23
  },
24
24
  "publishConfig": {
25
- "access": "public"
25
+ "access": "public",
26
+ "provenance": true
26
27
  },
27
28
  "scripts": {
28
29
  "build": "tsc -p tsconfig.json",
@@ -33,7 +34,7 @@
33
34
  "format:check": "prettier --check src"
34
35
  },
35
36
  "dependencies": {
36
- "@perkamo/sdk-core": "0.1.0"
37
+ "@perkamo/sdk-core": "0.1.2"
37
38
  },
38
39
  "devDependencies": {
39
40
  "vitest": "4.1.7"