postex-auth-sdk-stage 1.2.4 → 1.2.5

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 -1
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -40,7 +40,10 @@ npm install postex-auth-sdk-stage
40
40
  ```javascript
41
41
  import { AuthSDK } from 'postex-auth-sdk-stage';
42
42
 
43
- const auth = new AuthSDK({ apiKey: 'your-api-key' });
43
+ const auth = new AuthSDK({
44
+ apiKey: 'your-api-key',
45
+ appId: 'postexglobal'
46
+ });
44
47
  ```
45
48
 
46
49
  ### Basic Authentication Flow
@@ -85,6 +88,7 @@ new AuthSDK(config: AuthSDKConfig)
85
88
  | Parameter | Description |
86
89
  |-----------|-------------|
87
90
  | `config.apiKey` | (Optional) Your API key for authentication |
91
+ | `config.appId` | (Optional) Selects which Auth environment to use. Allowed values: `'xstak'`, `'postex'`, `'callcourier'`, `'postexglobal'`. Default: `'postexglobal'` |
88
92
 
89
93
  ---
90
94
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "postex-auth-sdk-stage",
3
- "version": "1.2.4",
3
+ "version": "1.2.5",
4
4
  "description": "PostEx Auth SDK for authentication flows: OTP, magic links, passkeys, and token management",
5
5
  "main": "./dist/postex-auth-sdk-stage.umd.js",
6
6
  "module": "./dist/postex-auth-sdk-stage.es.js",