@zibyn/polaris 0.1.3 → 0.1.6

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 +1 -1
  2. package/package.json +6 -1
package/README.md CHANGED
@@ -101,7 +101,7 @@ import { accessTokenVerifier, PolarisAuthError, requireEntitlements } from "@zib
101
101
 
102
102
  const verifyAccessToken = accessTokenVerifier({
103
103
  issuer: "https://auth.example.com",
104
- audience: "https://api.example.com", // API 标识符
104
+ audience: "api://orders", // API 标识符
105
105
  });
106
106
 
107
107
  try {
package/package.json CHANGED
@@ -1,8 +1,13 @@
1
1
  {
2
2
  "name": "@zibyn/polaris",
3
- "version": "0.1.3",
3
+ "version": "0.1.6",
4
4
  "description": "Polaris SDK for Node: Web Application login and access token verification",
5
5
  "license": "Apache-2.0",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "https://github.com/zibyn/polaris",
9
+ "directory": "sdk/node"
10
+ },
6
11
  "type": "module",
7
12
  "exports": {
8
13
  ".": {